Mention Bug in ChangeLog for S390: Save and restore fprs/vrs while resolving symbols.
[glibc.git] / ChangeLog
blob3eaf80737ec971cf1b1086c519bb1991774e0b2e
1 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
3         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
4         32-bit displacement to avoid long nop between instructions.
6 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
8         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
9         a comment on VMOVU and VMOVA.
11 2016-04-04  Florian Weimer  <fweimer@redhat.com>
13         [BZ #19633]
14         Use specified locale for number formatting in strfmon_l.
15         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
16         (__nl_lookup_word): New inline functions.
17         * include/printf.h (__print_fp_l): Declare.
18         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
19         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
20         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
21         (___printf_fp): New function.
22         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
23         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
24         * stdlib/tst-strfmon_l.c (do_test): New test.
25         * stdlib/Makefile (tests): Add kt.
26         (LOCALES): Build additional locales.
27         (tst-strfmon_l.out): Require locales.
29 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
31         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
32         if not in libc.
33         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
34         Likewise.
35         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
36         Likewise.
37         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
38         Likewise.
40 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
42         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
43         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
44         with unaligned_erms.
45         (__memmove_erms): Skip if source == destination.
46         (__memmove_unaligned_erms): Don't check source == destination
47         first.
49 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
51         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
52         bit_arch_Fast_Copy_Backward for Intel Core proessors.
54 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
56         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
57         * string/strspn.c (strspn): Likewise.
59 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
61         * benchtests/bench-memset.c (do_test): Support 64-byte
62         alignment.
63         (test_main): Test 64-byte alignment.
65 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
67         * benchtests/bench-memmove.c (test_main): Test 64-byte
68         alignment.
70 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
72         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
74 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
76         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
77         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
78         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
80         * string/strpbrk.c (strpbrk): Rewrite function.
81         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
82         (__strpbrk_c2): Likewise.
83         (__strpbrk_c3): Likewise.
84         * string/string-inlines.c
85         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
86         Likewise.
87         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
88         Likewise.
90         * string/strspn.c (strcspn): Rewrite function.
91         * string/bits/string2.h (strspn): Use __builtin_strcspn.
92         (__strspn_c1): Remove inline function.
93         (__strspn_c2): Likewise.
94         (__strspn_c3): Likewise.
95         * string/string-inlines.c
96         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
97         compatibility symbol.
98         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
99         Likewise.
100         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
101         Likewise.
102         * string/string-inlines.c: Include generic version.
104 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
105             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
107         * string/Version (libc): Add GLIBC_2.24.
108         * string/strcspn.c (strcspn): Rewrite function.
109         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
110         (__strcspn_c1): Remove inline function.
111         (__strcspn_c2): Likewise.
112         (__strcspn_c3): Likewise.
113         * string/string-inline.c
114         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
115         compatibility symbol.
116         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
117         Likewise.
118         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
119         Likewise.
120         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
122 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
124         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
125         Use ahi instead of aghi to adjust stack pointer.
127 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
129         [BZ #19853]
130         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
131         TEST to take significant digits as second parameter.
132         [TEST]: Redefine in terms of TEST_N taking 30
133         significant digits.
134         (do_test): Add test case to demonstrate precision
135         failure in the ldbl-128ibm printf.
136         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
137         (__mpn_extract_long_double): Carry 7 extra intermediate
138         bits of precision to aide computing difference when
139         signs differ.
141 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
143         [BZ #19881]
144         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
145         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
146         memset-avx512-unaligned-erms.
147         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
148         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
149         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
150         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
151         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
152         __memset_sse2_unaligned_erms, __memset_erms,
153         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
154         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
155         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
156         file.
157         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
158         Likewise.
159         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
160         Likewise.
161         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
162         Likewise.
164 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
166         [BZ #19776]
167         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
168         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
169         memmove-avx512-unaligned-erms.
170         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
171         (__libc_ifunc_impl_list): Test
172         __memmove_chk_avx512_unaligned_2,
173         __memmove_chk_avx512_unaligned_erms,
174         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
175         __memmove_chk_sse2_unaligned_2,
176         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
177         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
178         __memmove_avx512_unaligned_erms, __memmove_erms,
179         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
180         __memcpy_chk_avx512_unaligned_2,
181         __memcpy_chk_avx512_unaligned_erms,
182         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
183         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
184         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
185         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
186         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
187         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
188         __mempcpy_chk_avx512_unaligned_erms,
189         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
190         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
191         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
192         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
193         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
194         __mempcpy_erms.
195         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
196         file.
197         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
198         Likwise.
199         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
200         Likwise.
201         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
202         Likwise.
204 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
206         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
207         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
208         (La_s390_64_regs): Likewise.
209         (La_s390_32_retval): Append vector register lrv_v24.
210         (La_s390_64_retval): Likeweise.
211         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
212         Handle extended structs La_s390_32_regs and La_s390_32_retval.
213         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
214         Handle extended structs La_s390_64_regs and La_s390_64_retval.
216 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
218         [BZ #19916]
219         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
220         to create a non-vector/vector version for _dl_runtime_resolve and
221         _dl_runtime_profile. Move implementation to ...
222         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
223         (_dl_runtime_resolve) Save and restore fpr/vrs.
224         (_dl_runtime_profile) Save and restore vrs and fix some issues
225         if _dl_call_pltexit is called.
226         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
227         Choose the correct resolver function if running on a machine with vx.
228         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
229         to create a non-vector/vector version for _dl_runtime_resolve and
230         _dl_runtime_profile. Move implementation to ...
231         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
232         (_dl_runtime_resolve) Save and restore fpr/vrs.
233         (_dl_runtime_profile) Save and restore vrs and fix some issues
234         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
235         Choose the correct resolver function if running on a machine with vx.
237 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
239         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
241 2016-03-31  Florian Weimer  <fweimer@redhat.com>
243         [BZ #19509]
244         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
245         skip_map != NULL.
246         * elf/tst-dlsym-error.c: New file.
247         * elf/Makefile (tests): Add tst-dlsym-error.
248         (tst-dlsym-error): Link against libdl.
250 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
252         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
253         (__ASSUME_FUTIMESAT): Remove macro.
254         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
256 2016-03-29  Florian Weimer  <fweimer@redhat.com>
258         [BZ #19879]
259         CVE-2016-3075
260         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
261         copy name.
263 2016-03-29  Florian Weimer  <fweimer@redhat.com>
265         [BZ #19837]
266         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
267         error if parse_line fails.
269 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
271         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
272         (index_cpu_ERMS): Likewise.
273         (reg_ERMS): Likewise.
275 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
277         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
278         PER_LINUX_FDPIC): Add.
280 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
282         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
283         memcpy-avx512-no-vzeroupper.
284         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
285         to ...
286         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
287         (MEMCPY): Don't define.
288         (MEMCPY_CHK): Likewise.
289         (MEMPCPY): Likewise.
290         (MEMPCPY_CHK): Likewise.
291         (MEMPCPY_CHK): Renamed to ...
292         (__mempcpy_chk_avx512_no_vzeroupper): This.
293         (MEMPCPY_CHK): Renamed to ...
294         (__mempcpy_chk_avx512_no_vzeroupper): This.
295         (MEMCPY_CHK): Renamed to ...
296         (__memmove_chk_avx512_no_vzeroupper): This.
297         (MEMCPY): Renamed to ...
298         (__memmove_avx512_no_vzeroupper): This.
299         (__memcpy_avx512_no_vzeroupper): New alias.
300         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
302 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
304         [BZ #18858]
305         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
306         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
307         and mempcpy-avx512-no-vzeroupper.
308         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
309         New.
310         (MEMPCPY): Likewise.
311         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
312         (MEMPCPY_CHK): New.
313         (MEMPCPY): Likewise.
314         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
315         (MEMPCPY): Likewise.
316         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
317         (MEMPCPY): Likewise.
318         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
319         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
320         Likewise.
321         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
322         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
324 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
325              Amit Pawar  <Amit.Pawar@amd.com>
327         [BZ #19583]
328         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
329         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
330         processors.  Set Fast_Copy_Backward for AMD Excavator
331         processors.
332         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
333         New.
334         (index_arch_Fast_Unaligned_Copy): Likewise.
335         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
336         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
338 2016-03-25  Florian Weimer  <fweimer@redhat.com>
340         [BZ #19791]
341         * resolv/res_send.c (close_and_return_error): New function.
342         (send_dg): Initialize *resplen2 after reopen failure.  Call
343         close_and_return_error for error returns.  On error paths without
344         __res_iclose, initialze *resplen2 explicitly.  Update comment for
345         successful return.
347 2016-03-25  Florian Weimer  <fweimer@redhat.com>
349         [BZ# 19860]
350         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
351         zero if the compiler does not provide the AVX512F bit.
353 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
355         [BZ #19848]
356         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
357         from 8 to 4.
358         (__ieee754_powl): Compare integer exponent against 4 not 8.
359         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
360         from 8 to 4.
361         (__ieee754_powl): Compare integer exponent against 4 not 8.
362         * math/auto-libm-test-in: Add more tests of pow.
363         * math/auto-libm-test-out: Regenerated.
364         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
367 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
369         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
370         Make code unconditional.
371         [!__NR_utimensat]: Remove conditional code.
372         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
373         Make code unconditional.
374         [!__NR_utimensat]: Remove conditional code.
375         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
376         Make code unconditional.
377         [!__NR_utimensat]: Remove conditional code.
379 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
381         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
382         Make code unconditional.
384 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
386         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
387         call-clobbered %eax on retry path.
388         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
390 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
392         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
393         Don't set %rcx twice before "rep movsb".
395 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
397         [BZ #19583]
398         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
399         inline.  Check family before setting family, model and
400         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
401         bits here.
402         (init_cpu_features): Replace HAS_CPU_FEATURE and
403         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
404         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
405         for Intel processors with usable AVX2.  Call get_common_indeces
406         for other processors with family == NULL.
407         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
408         (CPU_FEATURES_ARCH_P): Likewise.
409         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
410         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
412 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
414         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
415         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
416         $(shared-thread-library) instead of hardcoding the path to libpthread.
418 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
420         * sysdeps/unix/sysv/linux/kernel-features.h
421         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
422         * sysdeps/unix/sysv/linux/getdents.c
423         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
424         [!have_no_getdents64_defined]: Likewise.
425         (__GETDENTS): Remove __have_no_getdents64 conditional.
427 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
429         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
430         Remove macro.
431         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
432         <kernel-features.h>.
433         (signalfd) [__NR_signalfd4]: Make code unconditional.
434         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
436 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
438         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
439         style.
441 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
443         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
444         (__pthread_enable_asynccancel): Use JUMPTARGET to call
445         __pthread_unwind.
446         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
447         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
448         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
449         (__condvar_cleanup1): Likewise.
451 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
453         [BZ #19822]
454         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
455         move it to the final $@ location.
457 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
459         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
460         access where posix_spawn success and pid argument is null.
461         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
462         success case.
464 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
466         * sysdeps/mach/hurd/i386/c++-types.data: New file.
468         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
470         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
471         and __fcntl.
472         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
473         __fcntl only.
474         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
475         adding attribute_hidden to __open and __fcntl.
477         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
478         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
479         depend on libc-modules.h,
480         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
482 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
484         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
485         Remove macro.
486         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
487         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
488         entry.
490         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
491         Remove macro.
492         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
493         include <kernel-features.h>.
494         [!__ASSUME_FALLOCATE]: Remove conditional code.
495         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
497 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
499         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
500         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
501         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
502         (_ZGVdN4v_cos_avx2): Likewise.
503         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
504         (_ZGVdN4v_cos): Likewise.
505         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
506         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
507         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
508         (_ZGVdN4v_exp_avx2): Likewise.
509         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
510         (_ZGVdN4v_exp): Likewise.
511         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
512         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
513         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
514         (_ZGVdN4v_log_avx2): Likewise.
515         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
516         (_ZGVdN4v_log): Likewise.
517         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
518         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
519         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
520         (_ZGVdN4vv_pow_avx2): Likewise.
521         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
522         (_ZGVdN4vv_pow): Likewise.
523         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
524         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
525         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
526         (_ZGVdN4v_sin_avx2): Likewise.
527         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
528         (_ZGVdN4v_sin): Likewise.
529         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
530         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
531         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
532         (_ZGVdN4vvv_sincos_avx2): Likewise.
533         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
534         (_ZGVdN4vvv_sincos): Likewise.
535         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
536         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
537         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
538         (_ZGVbN4v_cosf_sse4): Likewise.
539         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
540         (_ZGVdN8v_cosf_avx2): Likewise.
541         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
542         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
543         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
544         (_ZGVbN4v_expf_sse4): Likewise.
545         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
546         (_ZGVdN8v_expf_avx2): Likewise.
547         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
548         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
549         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
550         (_ZGVbN4v_logf_sse4): Likewise.
551         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
552         (_ZGVdN8v_logf_avx2): Likewise.
553         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
554         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
555         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
556         (_ZGVbN4vv_powf_sse4): Likewise.
557         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
558         (_ZGVdN8vv_powf_avx2): Likewise.
559         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
560         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
561         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
562         (_ZGVbN4vvv_sincosf_sse4): Likewise.
563         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
564         (_ZGVdN8vvv_sincosf_avx2): Likewise.
565         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
566         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
567         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
568         (_ZGVbN4v_sinf_sse4): Likewise.
569         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
570         (_ZGVdN8v_sinf_avx2): Likewise.
571         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
572         Use JUMPTARGET to call callee.
573         (WRAPPER_IMPL_SSE2_ff): Likewise.
574         (WRAPPER_IMPL_SSE2_fFF): Likewise.
575         (WRAPPER_IMPL_AVX): Likewise.
576         (WRAPPER_IMPL_AVX_ff): Likewise.
577         (WRAPPER_IMPL_AVX_fFF): Likewise.
578         (WRAPPER_IMPL_AVX512): Likewise.
579         (WRAPPER_IMPL_AVX512_ff): Likewise.
580         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
581         Likewise.
582         (WRAPPER_IMPL_SSE2_ff): Likewise.
583         (WRAPPER_IMPL_SSE2_fFF): Likewise.
584         (WRAPPER_IMPL_AVX): Likewise.
585         (WRAPPER_IMPL_AVX_ff): Likewise.
586         (WRAPPER_IMPL_AVX_fFF): Likewise.
587         (WRAPPER_IMPL_AVX512): Likewise.
588         (WRAPPER_IMPL_AVX512_ff): Likewise.
589         (WRAPPER_IMPL_AVX512_fFF): Likewise.
591 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
593         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
594         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
595         qualifier.
596         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
597         internal_function qualifiers.
599 2016-03-15  Carlos O'Donell <carlos@redhat.com>
601         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
602         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
603         * math/atest-exp.c (exp_mpn): Mark chk unused.
604         * math/atest-exp2.c (exp_mpn): Likwise.
605         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
606         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
608 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
610         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
611         Remove macro.
612         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
613         <kernel-features.h>.
614         [__NR_ppoll]: Make code unconditional.
615         [!__ASSUME_PPOLL]: Remove conditional code.
617         * sysdeps/unix/sysv/linux/kernel-features.h
618         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
619         (__ASSUME_ACCEPT4): Likewise.
620         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
621         Define.
622         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
623         Likewise.
624         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
625         Likewise.
626         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
627         Likewise.
628         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
629         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
630         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
631         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
632         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
633         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
634         * sysdeps/unix/sysv/linux/arm/kernel-features.h
635         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
636         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
637         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
638         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
639         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
640         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
641         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
642         * sysdeps/unix/sysv/linux/i386/kernel-features.h
643         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
644         Likewise.
645         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
646         Likewise.
647         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
648         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
649         0x040300].
650         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
651         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
652         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
653         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
654         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
655         0x030300].
656         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
657         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
658         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
659         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
660         0x040300].
661         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
662         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
663         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
664         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
665         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
666         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
667         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
668         0x030300].
669         * sysdeps/unix/sysv/linux/mips/kernel-features.h
670         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
671         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
672         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
673         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
674         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
675         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
676         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
677         * sysdeps/unix/sysv/linux/s390/kernel-features.h
678         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
679         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
680         0x040300].
681         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
682         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
683         * sysdeps/unix/sysv/linux/sh/kernel-features.h
684         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
685         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
686         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
687         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
688         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
689         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
690         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
691         * sysdeps/unix/sysv/linux/tile/kernel-features.h
692         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
693         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
694         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
695         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
696         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
697         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
698         Likewise.
699         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
700         Likewise.
702 2016-03-15  Andreas Schwab  <schwab@suse.de>
704         [BZ #19257]
705         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
706         statp->_u._ext.nscount as loop count.
708 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
710         * math/test-signgam-finite-c99.c: Also #undef
711         __LIBC_INTERNAL_MATH_INLINES.
712         * math/test-signgam-main.c: Likewise.
714 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
716         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
717         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
718         (MADV_FREE): Likewise.
719         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
720         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
721         EPOLLEXCLUSIVE.
723 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
725         * timezone/README: Remove mention of checktab.awk. Mention wiki
726         SharedSourceFiles.
728 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
730         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
731         WUNTRACED.
733 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
735         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
736         order to match the type of p when calling atomic_exchange_acq().
738 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
740         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
741         cfi_offset calls.
742         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
743         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
744         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
745         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
746         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
748 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
750         * timezone/checktab.awk: Removed.
752 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
754         * manual/math.texi (Errors in Math Functions): Document relaxed
755         accuracy goals for IBM long double.
756         * math/libm-test.inc (test_exceptions): Always allow spurious
757         "underflow" and "inexact" exceptions for IBM long double.
759 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
761         [BZ #19762]
762         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
763         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
764         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
765         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
766         (bit_arch_*): This for feature array.
767         (bit_*): Renamed to ...
768         (bit_cpu_*): This for cpu array.
769         (index_*): Renamed to ...
770         (index_arch_*): This for feature array.
771         (index_*): Renamed to ...
772         (index_cpu_*): This for cpu array.
773         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
774         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
775         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
776         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
777         bit_##name with index_cpu_##name and bit_cpu_##name.
778         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
779         bit_##name with index_arch_##name and bit_arch_##name.
781 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
783         [BZ #19792]
784         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
785         Terminate FDE before return label.
787 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
789         [BZ #19790]
790         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
791         (rintl): Define as macro.
792         [USE_AS_NEARBYINTL] (__rintl): Likewise.
793         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
794         of fesetround.  Ensure results are evaluated before end of scope.
795         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
796         USE_AS_NEARBYINTL and include s_rintl.c.
797         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
798         Disable exception traps in new environment.
799         (libc_feholdsetround_ppc_ctx): Likewise.
801 2016-03-08  Roland McGrath  <roland@hack.frob.com>
803         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
804         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
805         (tst_audit10_aux) [__AVX512F__]: ... here.
807 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
809         * include/sys/auxv.h: New file.
811 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
813         [BZ #19759]
814         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
816 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
818         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
819         operand modifier.
820         (feclearexcept): Likewise.
822 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
824         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
825         to reflect the entire 32-bit HWCAP.
826         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
827         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
829 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
831         [BZ #19783]
832         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
833         $(test-via-rtld-prefix).
834         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
836 2016-03-08  Florian Weimer  <fweimer@redhat.com>
838         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
839         union wait.  Report any non-zero exit status as error.
841 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
843         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
844         configured with --enable-hardcoded-path-in-tests.
846 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
848         [BZ #19677]
849         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
850         (__ieee754_remainderl): Put zero low parts in canonical form.
851         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
852         file.  Based on
853         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
854         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
855         with wrapper round test-fmodrem-ldbl-128ibm.c.
856         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
857         file.
858         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
859         Likewise.
860         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
861         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
863 2016-03-07  Florian Weimer  <fweimer@redhat.com>
865         [BZ #19610]
866         * elf/ldconfig.c (opt_link): Update comment.
867         (options): Update help string for option -X.
868         (search_dir): Unlink stale symbolic link only if updating symbolic
869         links.
870         * elf/tst-ldconfig-X.sh: New file.
871         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
872         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
874 2016-03-07  Andreas Schwab  <schwab@suse.de>
876         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
877         needed arguments.
879 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
881         [BZ #15333]
882         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
883         to lstat64.
885 2016-03-07  Florian Weimer  <fweimer@redhat.com>
887         * libio/filedoalloc.c (isatty): Remove.
888         (local_isatty): Add comment.  Call __isatty directly.
889         (_IO_file_doallocate): Update comment.  Assume _LIBC.
890         * libio/wfiledoalloc.c (isatty): Remove.
891         (_IO_wfile_doallocate): Update comment.
893 2016-03-07  Florian Weimer  <fweimer@redhat.com>
895         [BZ #19269]
896         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
897         tst-audit4-aux.o.
898         (tst-audit10): Depend on tst-audit10-aux.o.
899         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
900         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
901         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
902         instead of inline AVX code.
903         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
904         instead of inline AVX512 code.
905         * sysdeps/x86_64/tst-audit4-aux.c: New file
906         * sysdeps/x86_64/tst-audit10-aux.c: New file
908         [BZ #19648]
909         * test-skeleton.c (main): Do not set RLIMIT_DATA.
911 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
913         [BZ #14750]
914         [BZ #10354]
915         [BZ #18433]
916         * include/sched.h (__clone): Add hidden prototype.
917         (__clone2): Likewise.
918         * include/unistd.h (__dup): Likewise.
919         * posix/Makefile (tests): Add tst-spawn2.
920         * posix/tst-spawn2.c: New file.
921         * sysdeps/posix/dup.c (__dup): Add hidden definition.
922         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
923         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
924         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
925         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
926         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
927         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
928         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
929         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
930         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
931         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
933         Likewise.
934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
935         Likewise.
936         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
937         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
938         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
939         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
940         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
941         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
942         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
943         * sysdeps/unix/sysv/linux/nptl-signals.h
944         (____nptl_is_internal_signal): New function.
945         * sysdeps/unix/sysv/linux/spawni.c: New file.
947         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
948         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
949         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
950         * posix/tst-execvp2.c (do_test): Likewise.
951         * posix/tst-execvp3.c (do_test): Likewise.
952         * posix/tst-execvp4.c (do_test): Likewise.
953         * posix/tst-execvpe1.c: New file.
954         * posix/tst-execvpe2.c: Likewise.
955         * posix/tst-execvpe3.c: Likewise.
956         * posix/tst-execvpe4.c: Likewise.
957         * posix/tst-execvpe5.c: Likewise.
958         * posix/tst-execvpe6.c: Likewise.
960         [BZ #19534]
961         * posix/execl.c (execl): Remove dynamic memory allocation.
962         * posix/execle.c (execle): Likewise.
963         * posix/execlp.c (execlp): Likewise.
965 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
967         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
968         Replace .text with .text.avx512.
969         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
970         Likewise.
972 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
974         * sysdeps/generic/libnsl.abilist: New file.
975         * sysdeps/generic/libutil.abilist: New file.
977 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
979         [BZ #19762]
980         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
981         HAS_ARCH_FEATURE with Fast_Rep_String.
982         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
983         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
984         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
985         Likewise.
986         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
987         Likewise.
988         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
989         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
990         Likewise.
991         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
992         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
993         Likewise.
995 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
997         [BZ #19745]
998         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
999         with *%rax in call.
1001 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1003         [BZ #19745]
1004         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
1005         with *__libc_start_main@GOTPCREL(%rip) in call.
1007 2016-03-04  Roland McGrath  <roland@hack.frob.com>
1009         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
1010         inside conditional for nonempty $(CXX).
1012         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
1013         nonempty.
1015         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
1016         to test for empty $(CXX) rather than $(CXX) of "no".
1018 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
1020         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
1022 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
1023             H.J. Lu  <hongjiu.lu@intel.com>
1025         [BZ #18880]
1026         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
1027         instead of Slow_BSF, and also check for Fast_Copy_Backward to
1028         enable __memcpy_ssse3_back.
1030 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
1032         [BZ #19758]
1033         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
1034         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
1036 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
1038         [BZ #19490]
1039         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
1040         (__fentry__): Likewise.
1042 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
1044         * gmon/Makefile (noprof): Add $(sysdep_noprof).
1045         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
1047 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1049         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
1050         __mcount_internal directly.
1051         (C_LABEL(__fentry__)): Likewise.
1052         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
1053         directly.
1055 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
1057         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
1058         (__start_context): Call __setcontext directly.
1060 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
1062         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1063         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1064         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
1065         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1066         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1067         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1068         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
1069         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1070         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1071         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
1072         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1073         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1074         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1075         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1076         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1077         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1078         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
1079         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1080         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1081         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1082         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
1083         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1084         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1085         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1086         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
1087         Remove conditional code.
1088         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1089         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
1090         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1091         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1092         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
1093         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1094         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1095         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1096         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1097         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1098         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1099         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1101 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
1103         * NEWS (2.23): Fix typo in bug 19048 text.
1105 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
1107         [BZ #14259]
1108         * Makeconfig: Rename msgcatdir to localedir.
1109         Rename inst_msgcatdir to inst_localedir.
1110         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
1111         * config.make.in: Add localedir.
1112         * elf/Makefile ($(objpfx)sotruss): Use localedir.
1113         (ldd-rewrite): Likewise.
1114         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
1115         (install-others): Use inst_localedir.
1116         (CPPFLAGS): Use localedir.
1117         * locale/Makefile (locale-CPPFLAGS): Likewise.
1118         * po/Makefile (mo-installed): Use inst_localedir.
1120         [BZ #19575]
1121         * localedata/charmaps/GB18030: Update comments regarding PAU to
1122         non-PUA mappings.
1124 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
1126         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
1127         test for header.
1128         * sysdeps/unix/sysv/linux/configure: Regenerated.
1129         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
1130         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
1131         Remove conditional code.
1132         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
1134         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1135         Define to 3.2.0.
1136         (arch_minimum_kernel): Likewise.
1137         * sysdeps/unix/sysv/linux/configure: Regenerated.
1138         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
1139         Define to 2.6.32.
1140         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
1141         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
1142         (arch_minimum_kernel): Define to 2.6.32.
1143         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
1144         * README: Document Linux 3.2 requirement.
1145         * manual/install.texi (Linux): Document Linux 3.2 headers
1146         requirement.
1147         * INSTALL: Regenerated.
1149 2016-02-24  Andreas Schwab  <schwab@suse.de>
1151         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
1152         if !NO_LONG_DOUBLE.
1154 2016-02-22  Roland McGrath  <roland@hack.frob.com>
1156         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
1157         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
1159 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
1161         [BZ #19512]
1162         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
1164 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
1166         * posix/tst-dir.c: Include libc-internal.h.
1168 2016-02-20  Florian Weimer  <fweimer@redhat.com>
1170         [BZ #19056]
1171         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
1172         * manual/filesys.texi (Reading/Closing Directory): Mention
1173         deprecaion.
1174         * posix/tst-dir.c (main): Disable deprecation warning in test.
1176 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
1178         [BZ #19679]
1179         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
1180         Renamed to ...
1181         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
1182         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1183         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
1184         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1185         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1186         * sysdeps/x86_64/dl-trampoline.h
1187         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1188         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1190 2016-02-19  Mark Wielaard  <mjw@redhat.com>
1192         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
1194 2016-02-19  Mark Wielaard  <mjw@redhat.com>
1196         * elf/elf.h (R_386_GOT32X): New.
1197         (R_386_NUM): Update.
1198         (R_X86_64_GOTPCRELX: New.
1199         (R_X86_64_REX_GOTPCRELX): New.
1200         (R_X86_64_NUM): Update.
1202 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
1204         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
1206 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
1208         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
1209         assign attr->stackaddr to it, and adjust it down when
1210         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
1211         [_STACK_GROWS_UP]: Delete assert.
1212         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
1213         Implement stack grows up logic.
1214         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
1215         stack grows up logic.
1217 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1219         * NEWS: Update with 2.24 template.
1221 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
1223         [BZ #19678]
1224         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1225         Ensure +0.0 is returned when taking the next value below the least
1226         positive value.
1228 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1230         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
1231         available.  Do not define NO_THREADS.
1232         * malloc/malloc.c: Do not check NO_THREADS.
1233         * malloc/arena.c: Likewise.
1235 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1237         * malloc/malloc.c (__libc_mallinfo): Update comment.
1238         (struct malloc_par): Remove max_total_mem member, it was always 0.
1239         (int_mallinfo): Store 0 into usmblks (no functional change).
1240         * malloc/hooks.c (struct malloc_state): Document that
1241         max_total_mem is always 0.
1242         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
1243         always 0.
1244         * manual/memory.texi (Statistics of Malloc): Likewise.
1246 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1248         * malloc/malloc.c (sysmalloc): Do not update arena_max.
1249         * malloc/arena.c (arena_max): Remove.
1250         (heap_trim, _int_new_arena): Do not update arena_max.
1252 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1254         * resolv/res_init.c (res_ninit): Update comment.
1256 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1258         [BZ #19505]
1259         * posix/spawn_int.h: Add headers and include guard.
1260         (__spawn_valid_fd): New function.
1261         * posix/spawn_faction_addopen.c
1262         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
1263         * posix/spawn_faction_addclose.c
1264         (posix_spawn_file_actions_addclose): Likewise.
1265         * posix/spawn_faction_adddup2.c
1266         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
1267         second file descriptor.
1268         * posix/spawn_valid_fd.c: New file.
1269         * posix/tst-posix_spawn-fd.c: New file.
1270         * posix/Makefile (routines): Add spawn_valid_fd.
1271         (tests): Add tst-posix_spawn-fd.
1273 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1275         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
1276         (do_test): Limit the number of arenas, so that we can use fewer
1277         outer threads.  Limit timeout to 3 seconds, in preparation for a
1278         larger TIMEOUT value.
1280 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
1282         [BZ #19674]
1283         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
1284         sign in overflowing and underflowing results when overflow or
1285         underflow is detected early.  Include sign in result before rather
1286         than after scaling.
1288         [BZ #19603]
1289         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
1290         (__ieee754_remainderl): Adjust sign of integer version of low part
1291         when taking absolute value of high part.
1292         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1293         * math/libm-test.inc (remainder_test_data): Add another test.
1294         (remquo_test_data): Likewise.
1296 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
1298         [BZ #19602]
1299         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
1300         equal high parts and both low parts zero specially.
1301         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
1302         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
1303         Add test-fmodl-ldbl-128ibm.
1305         [BZ #19595]
1306         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
1307         common logic for all cases of shifting subnormal results.  Do not
1308         insert sign bit in shifted mantissa.  Always pass -1023 as biased
1309         exponent to ldbl_insert_mantissa in subnormal case.
1311         [BZ #19594]
1312         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
1313         on high and low parts then adjust result and use
1314         ldbl_canonicalize_int if needed.
1316         [BZ #19593]
1317         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
1318         on high part and __floor or __ceil on low part then use
1319         ldbl_canonicalize_int if needed.
1321         [BZ #19592]
1322         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
1323         high and low parts then use ldbl_canonicalize_int if needed.
1325         [BZ #17899]
1326         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
1327         New function.
1328         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
1329         on high and low parts then use ldbl_canonicalize_int if needed.
1331 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1333         * configure: Regenerated.
1335         * po/libc.pot: Regenerated.
1337         * po/be.po: Updated translation.
1338         * po/bg.po: Likewise.
1339         * po/ca.po: Likewise.
1340         * po/cs.po: Likewise.
1341         * po/da.po: Likewise.
1342         * po/el.po: Likewise.
1343         * po/eo.po: Likewise.
1344         * po/es.po: Likewise.
1345         * po/fi.po: Likewise.
1346         * po/fr.po: Likewise.
1347         * po/gl.po: Likewise.
1348         * po/hr.po: Likewise.
1349         * po/hu.po: Likewise.
1350         * po/ia.po: Likewise.
1351         * po/id.po: Likewise.
1352         * po/it.po: Likewise.
1353         * po/ja.po: Likewise.
1354         * po/lt.po: Likewise.
1355         * po/nb.po: Likewise.
1356         * po/nl.po: Likewise.
1357         * po/pt_BR.po: Likewise.
1358         * po/rw.po: Likewise.
1359         * po/sk.po: Likewise.
1360         * po/sl.po: Likewise.
1361         * po/sv.po: Likewise.
1362         * po/tr.po: Likewise.
1363         * po/zh_CN.po: Likewise.
1364         * po/zh_TW.po: Likewise.
1366         * version.h (RELEAES): Set to "development".
1367         (VERSION): Set to 2.23.90.
1369         * version.h (RELEASE): Set to "stable".
1370         (VERSION): Set to 2.23.
1371         * include/feature.h (__GLIBC_MINOR__): Set to 23.
1373         * NEWS: Updated fixed bugs.
1375 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
1376             Wilco Dijkstra  <wdijkstr@arm.com>
1378         [BZ #19462]
1379         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
1380         (_STRING_INLINE_unaligned): This.
1381         * include/string.h: Include <string_private.h>.
1382         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
1383         _STRING_INLINE_unaligned.
1384         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
1385         (_STRING_INLINE_unaligned): New.
1386         * sysdeps/aarch64/string_private.h: New file.
1387         * sysdeps/generic/string_private.h: Likewise.
1388         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
1389         * sysdeps/s390/string_private.h: Likewise.
1390         * sysdeps/x86/string_private.h: Likewise.
1391         * sysdeps/m68k/m680x0/m68020/bits/string.h
1392         (_STRING_ARCH_unaligned): Renamed to ...
1393         (_STRING_INLINE_unaligned): This.
1394         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
1395         to ...
1396         (_STRING_INLINE_unaligned): This.
1397         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
1398         to ...
1399         (_STRING_INLINE_unaligned): This.
1400         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
1401         to ...
1402         (_STRING_INLINE_unaligned): This.
1404 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1405             H.J. Lu  <hongjiu.lu@intel.com>
1407         [BZ #19590]
1408         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
1409         relocation.
1411 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
1413         [BZ #18665]
1414         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
1415         *herrno_p.
1416         (gaih_getanswer): Document functional behviour. Return tryagain
1417         if any result is tryagain.
1418         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
1419         when freed.
1420         * resolv/res_send.c: Add copyright text.
1421         (__libc_res_nsend): Document that MAXPACKET is expected.
1422         (send_vc): Document. Remove buffer reuse.
1423         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
1424         size of the buffer. Add Dprint for truncated UDP buffer.
1426 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
1428         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
1429         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
1430         * INSTALL: Regenerate.
1432 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
1433             Jonathan Wakely  <jwakely@redhat.com>
1434             Carlos O'Donell  <carlos@redhat.com>
1436         [BZ 19439]
1437         * math/Makefile (tests): Add test-math-isinff.
1438         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
1439         * math/bits/mathcalls.h [__USE_MISC]: Use
1440         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
1441         functions not in C++11 and which don't conflict e.g. isinff,
1442         isinfl etc.
1443         * math/test-math-isinff.cc: New file.
1445 2016-02-12  Florian Weimer  <fweimer@redhat.com>
1447         * misc/bug18240.c (do_test): Set RLIMIT_AS.
1449 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1451         [BZ #19529]
1452         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
1454 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1456         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1458 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
1460         [BZ #19550]
1461         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
1462         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
1463         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
1464         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
1465         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
1466         New syscall entry.
1467         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
1468         New syscall entry.
1469         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
1470         syscall entry.
1472 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
1474         [BZ #18240]
1475         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
1476         unsigned int wraparound.
1478 2016-01-27  Florian Weimer  <fweimer@redhat.com>
1480         [BZ #18240]
1481         * misc/bug18240.c: New test.
1482         * misc/Makefile (tests): Add it.
1484 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
1485             Joseph Myers  <joseph@codesourcery.com>
1487         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
1488         load in branch delay slot when less than a word of input left.
1490 2016-01-27  Andreas Schwab  <schwab@suse.de>
1492         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
1493         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
1494         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
1495         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
1497 2016-01-26  David S. Miller  <davem@davemloft.net>
1499         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
1501 2016-01-25  David S. Miller  <davem@davemloft.net>
1503         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
1504         __sqrtl_finite.
1505         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
1506         instead using versioned_symbol.
1507         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
1508         of entries.
1510         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
1511         __sqrtl_finite to GLIBC_2.23
1513 2016-01-25  Ricchard Henderson  <rth@redhat.com>
1515         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1517 2016-01-25  Andreas Schwab  <schwab@suse.de>
1519         [BZ #17514]
1520         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
1521         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
1522         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
1523         * nptl/tst-mutex-errorcheck.c: New file.
1525 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1527         [BZ #18560]
1528         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
1529         (IPCOP_semop): Likewise.
1530         (IPCOP_semget): Likewise.
1531         (IPCOP_semctl): Likewise.
1532         (IPCOP_msgsnd): Likewise.
1533         (IPCOP_msgrcv): Likewise.
1534         (IPCOP_msgget): Likewise.
1535         (IPCOP_msgctl): Likewise.
1536         (IPCOP_shmat): Likewise.
1537         (IPCOP_shmdt): Likewise.
1538         (IPCOP_shmget): Likewise.
1539         (IPCOP_shmctl): Likewise.
1541 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
1543         * string/tst-endian.c: Include <libc-internal.h>.
1544         (do_test): Ignore tautological-compare warnings around
1545         "htobeXX (beXXtoh (i)) != i" and
1546         "htoleXX (leXXtoh (i)) != i" if-statements.
1548 2016-01-24  David S. Miller  <davem@davemloft.net>
1550         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
1551         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
1552         alias.
1553         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1554         __sqrtl_finite.
1556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1558 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
1560         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
1561         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
1562         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1564 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1566         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
1567         (thread_func): Use new function to simplify barrier check.
1568         (do_test): Use new function to simplify checking barrier exit
1569         code, and actually join the child thread.
1571 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1573         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
1574         semicolon.
1575         (__libc_tend): Likewise.
1576         (__libc_tabort): Likewise.
1578 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
1580         * sysdeps/nios2/libm-test-ulps: Update.
1581         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
1582         (__gtsf2): Likewise.
1583         (__unorddf2): Likewise.
1584         (__unordsf2): Likewise.
1585         (__ledf2): Likewise.
1587 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
1589         * nis/nis_table.c (__follow_path): Disable diagnostic for
1590         uninitialized variable that is a false positive for gcc 4.7.
1591         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
1593 2016-01-20  Roland McGrath  <roland@hack.frob.com>
1595         * sysdeps/nacl/lowlevellock-futex.h
1596         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
1597         Always evaluate PRIVATE argument.
1599 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
1601         [BZ #19490]
1602         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
1603         (pthread_cond_broadcast): Use ENTRY/END
1604         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
1605         (pthread_cond_signal): Likewise.
1606         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
1607         Likewise.
1608         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
1609         Likewise.
1610         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
1611         Likewise.
1613 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
1615         * sysdeps/ieee754/dbl-64/s_finite.c
1616         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
1617         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
1618         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
1619         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
1620         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
1622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1623         (__gtsf2): Add as optional for libc.so.
1624         (__unordsf2): Likewise.
1625         (__signbit): Remove for libc.so.
1626         (__signbitl): Likewise.
1628 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1630         * iconvdata/bug-iconv11.c (test_ibm93x):
1631         Use %zu printf format specifier for size_t argument.
1633 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
1635         * math/gen-libm-test.pl (parse_ulps): Do not reduce
1636         already-recorded ulps.
1637         * sysdeps/arm/libm-test-ulps: Regenerated.
1638         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1639         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1640         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1642 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1643             Paul Pluzhnikov  <ppluzhnikov@google.com>
1645         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
1646         assembler not supporting AVX-512.
1648 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1650         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1652 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
1654         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1655         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1657         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1659         * sysdeps/arm/libm-test-ulps: Regenerated.
1661 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
1663         [BZ #19451]
1664         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
1666 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1668         [BZ #19486]
1669         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
1670         * sysdeps/generic/fix-fp-int-convert-overflow.h
1671         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
1672         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
1673         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
1674         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
1675         Likewise.
1676         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
1677         Avoid conversions to long int where inexact exceptions
1678         could be raised.
1679         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
1680         Likewise.
1681         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
1682         Avoid conversions to long long int where inexact exceptions
1683         could be raised.
1684         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
1685         Likewise.
1687 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
1689         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
1690         * configure: Regenerated.
1692 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
1694         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
1696 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
1698         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
1699         outside of comment.
1701 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1703         * nptl/tst-barrier1.c: Add description on first line.
1704         * nptl/tst-barrier2.c: Likewise.
1705         * nptl/tst-barrier3.c: Likewise.
1706         * nptl/tst-barrier4.c: Likewise.
1707         * nptl/tst-barrier5.c: Likewise.
1709 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1711         [BZ #18868]
1712         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
1714 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
1716         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
1717         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1718         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
1719         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
1720         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
1721         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
1722         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1723         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1724         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1725         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1726         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1728 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1730         [BZ #13065]
1731         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
1732         new implementation.
1733         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
1734         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
1735         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
1736         (BARRIER_IN_THRESHOLD): New macro.
1737         * nptl/pthread_barrierattr_setpshared.c
1738         (pthread_barrierattr_setpshared): Clean up.
1739         * nptl/tst-barrier4.c: Correct comment.
1740         * nptl/tst-barrier5.c: New file.
1741         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
1742         (gen-as-const-headers): Remove lowlevelbarrier.sym.
1743         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
1744         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
1745         * nptl/lowlevelbarrier.sym: Remove.
1746         * nptl/DESIGN-barrier.txt: Remove.
1747         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
1748         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
1749         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
1750         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
1751         error.
1752         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
1753         implementation.
1755 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1757         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
1758         (do_child): Mask SIGRTMIN while thr is running.
1760 2016-01-15  Martin Sebor  <msebor@redhat.com>
1762         [BZ #19432]
1763         * iconvdata/Makefile: Add bug-iconv11.
1764         * iconvdata/bug-iconv11.c: New test.
1765         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
1766         * iconvdata/ibm933.c: Same.
1767         * iconvdata/ibm935.c: Same.
1768         * iconvdata/ibm937.c: Same.
1769         * iconvdata/ibm939.c: Same.
1771 2016-01-15  Martin Sebor  <msebor@redhat.com>
1773         [BZ #19443]
1774         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
1775         [DEBUG] (_ufc_set_bits): Declare used.
1776         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
1777         [DEBUG] (print_all): Declare used.
1778         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
1779         operands of the ternary ?: expression to target type.
1780         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
1781         calling the undeclared abort.
1782         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
1784 2016-01-15  Martin Sebor  <msebor@redhat.com>
1786         [BZ #18755]
1787         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
1788         warnings.
1789         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
1790         (__gai_create_helper_thread): Same.
1791         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
1792         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
1793         to suppress -Wmaybe-uninitialized warnings.
1795 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
1797         [BZ #19465]
1798         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
1799         inside if.
1800         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1801         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1802         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1804 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
1806         [BZ #19466]
1807         * time/tst-mktime2.c (time_t_max): Removed.
1808         (time_t_min): Likewise.
1809         (TYPE_SIGNED): New.
1810         (TYPE_MINIMUM): Likewise.
1811         (TYPE_MAXIMUM): Likewise.
1812         (TIME_T_MIN): Likewise.
1813         (TIME_T_MAX): Likewise.
1814         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
1815         and TIME_T_MIN.
1816         (do_test): Likewise.
1818 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
1820         [BZ #19467]
1821         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1822         index_Fast_Unaligned_Load flag for Excavator family CPUs.
1824 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
1826         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
1828 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
1830         * benchtests/Makefile (PYTHON): Define.
1831         (bench-func): Use $(PYTHON) to run python scripts.
1832         ($(objpfx)bench-%.c): Likewise.
1834 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
1836         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
1837         leading slash when `file_name' is "/".
1839 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
1841         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
1842         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
1843         Likewise.
1844         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
1845         Likewise.
1846         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
1847         Likewise.
1848         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
1849         enum constant and macro.
1850         (PTRACE_SETSIGMASK): Likewise.
1851         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1852         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1853         (PTRACE_GETSIGMASK): Likewise.
1854         (PTRACE_SETSIGMASK): Likewise.
1855         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1856         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
1857         Likewise.
1858         (PTRACE_SETSIGMASK): Likewise.
1859         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1860         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1861         (PTRACE_GETSIGMASK): Likewise.
1862         (PTRACE_SETSIGMASK): Likewise.
1863         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1864         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
1865         Likewise.
1866         (PTRACE_SETSIGMASK): Likewise.
1867         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1868         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
1869         Likewise.
1870         (PTRACE_SETSIGMASK): Likewise.
1871         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1872         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
1873         Likewise.
1874         (PTRACE_SETSIGMASK): Likewise.
1875         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1877 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
1878             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1880         [BZ #19439]
1881         * math/bits/mathcalls.h
1882         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
1883         prototype.
1884         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
1886 2016-01-11  Andreas Schwab  <schwab@suse.de>
1888         [BZ #19253]
1889         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
1890         cache when TZDEFRULES was used.
1891         * time/tst-tzname.c: New file.
1892         * time/Makefile (test): Add tst-tzname.
1893         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
1894         * timezone/Makefile (test-zones): Add $(posixrules-file).
1895         ($(testdata)/$(posixrules-file)): New rule.
1897 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
1899         Fix doc quoting problems with Texinfo 5
1900         Without this change, in the info file output, Texinfo 5 quotes code
1901         in text with undirected single quotes 'like this' and generates
1902         code examples that with many PDF readers cannot be cut out of PDFs
1903         and pasted into code.
1904         * manual/libc.texinfo: Configure the libc manual like the GNU
1905         Emacs manual, by using @documentencoding and setting
1906         txicodequoteundirected and txicodequotebacktick.  This way,
1907         Texinfo 5 quotes code in text with directed single quotes ‘like
1908         this’ and produces examples that can be cut out of PDFs.  This
1909         change causes Texinfo 5 to generate info files that contain UTF-8
1910         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
1911         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
1913 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1915         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
1916         __libc_tabort, __libc_tend): New wrappers that enforce compiler
1917         barriers to their respective compiler built-ins.
1918         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
1919         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
1920         * sysdeps/powerpc/sysdep.h: Likewise.
1921         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
1922         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
1923         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
1925 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
1927         * scripts/config.guess: Revert previous shebang change.
1928         * scripts/config.sub: Likewise.
1929         * scripts/mkinstalldirs: Likewise.
1931 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1933         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
1934         PPC_FEATURE2_HAS_IEEE128.
1935         * sysdeps/powerpc/dl-procinfo.c:
1936         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
1938 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
1940         [BZ #19415]
1941         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
1942         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
1943         (_dl_lookup_address): Rewrite using function resolver trampoline.
1944         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
1945         two bits in address.
1947 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
1949         * longlong.h: Change !__SHMEDIA__ to
1950         (!defined (__SHMEDIA__) || !__SHMEDIA__).
1951         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
1953 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
1954             Joseph Myers  <joseph@codesourcery.com>
1955             Mark Shinwell  <shinwell@codesourcery.com>
1956             Andrew Stubbs  <ams@codesourcery.com>
1957             Rich Felker <dalias@libc.org>
1959         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
1961 2016-01-07  Richard Henderson  <rth@redhat.com>
1963         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
1965 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
1967         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
1968         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
1969         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1970         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1971         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
1973 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
1974             Joseph Myers  <joseph@codesourcery.com>
1976         * timezone/private.h: Update from tzcode 2015g.
1977         * timezone/tzfile.h: Likewise.
1978         * timezone/tzselect.ksh: Likewise.
1979         * timezone/zdump.c: Likewise.
1980         * timezone/zic.c: Likewise.
1981         * timezone/ialloc.c: Remove file.
1982         * timezone/scheck.c: Likewise.
1983         * timezone/Makefile (extra-objs): Remove variable.
1984         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
1985         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
1986         -Wno-maybe-uninitialized.
1987         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
1988         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
1989         (CFLAGS-ialloc.c): Remove variable.
1990         (CFLAGS-scheck.c): Likewise.
1991         * timezone/README: Update list of files from tzcode.
1993 2016-01-07  Khem Raj  <raj.khem@gmail.com>
1995         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
1996         instead of __fxprintf when _LIBC is undefined.
1998 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
2000         * catgets/test-gencat.sh: Remove space after shebang.
2001         * conform/GlibcConform.pm: Likewise.
2002         * conform/check-header-lists.sh: Likewise.
2003         * conform/conformtest.pl: Likewise.
2004         * conform/linknamespace.pl: Likewise.
2005         * conform/list-header-symbols.pl: Likewise.
2006         * debug/catchsegv.sh: Likewise.
2007         * elf/genrtldtbl.awk: Likewise.
2008         * elf/tst-pathopt.sh: Likewise.
2009         * elf/tst-rtld-load-self.sh: Likewise.
2010         * grp/tst_fgetgrent.sh: Likewise.
2011         * iconvdata/gen-8bit-gap-1.sh: Likewise.
2012         * iconvdata/gen-8bit-gap.sh: Likewise.
2013         * iconvdata/gen-8bit.sh: Likewise.
2014         * iconvdata/run-iconv-test.sh: Likewise.
2015         * intl/tst-gettext.sh: Likewise.
2016         * intl/tst-gettext2.sh: Likewise.
2017         * intl/tst-gettext4.sh: Likewise.
2018         * intl/tst-gettext6.sh: Likewise.
2019         * intl/tst-translit.sh: Likewise.
2020         * io/ftwtest-sh: Likewise.
2021         * libio/test-freopen.sh: Likewise.
2022         * locale/gen-translit.pl: Likewise.
2023         * malloc/tst-mtrace.sh: Likewise.
2024         * manual/check-safety.sh: Likewise.
2025         * manual/libc-texinfo.sh: Likewise.
2026         * manual/tsort.awk: Likewise.
2027         * manual/xtract-typefun.awk: Likewise.
2028         * nptl/tst-cancel-wrappers.sh: Likewise.
2029         * nptl/tst-tls6.sh: Likewise.
2030         * posix/globtest.sh: Likewise.
2031         * posix/tst-getconf.sh: Likewise.
2032         * posix/wordexp-tst.sh: Likewise.
2033         * scripts/check-c++-types.sh: Likewise.
2034         * scripts/check-local-headers.sh: Likewise.
2035         * scripts/config.guess: Likewise.
2036         * scripts/config.sub: Likewise.
2037         * scripts/cpp: Likewise.
2038         * scripts/cross-test-ssh.sh: Likewise.
2039         * scripts/documented.sh: Likewise.
2040         * scripts/evaluate-test.sh: Likewise.
2041         * scripts/gen-libc-abis: Likewise.
2042         * scripts/gen-sorted.awk: Likewise.
2043         * scripts/list-fixed-bugs.py: Likewise.
2044         * scripts/merge-test-results.sh: Likewise.
2045         * scripts/mkinstalldirs: Likewise.
2046         * scripts/rellns-sh: Likewise.
2047         * scripts/test-installation.pl: Likewise.
2048         * scripts/update-copyrights: Likewise.
2049         * stdio-common/tst-printf.sh: Likewise.
2050         * stdio-common/tst-unbputc.sh: Likewise.
2051         * stdlib/tst-fmtmsg.sh: Likewise.
2052         * stdlib/tst-setcontext3.sh: Likewise.
2053         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
2054         * sysdeps/unix/make-syscalls.sh: Likewise.
2056 2016-01-06  John David Anglin  <dave.anglin@bell.net>
2058         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
2059         asm stw with atomic_exchange_rel.  Add explanatory comment.
2060         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
2061         Likewise.
2063 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
2065         [BZ #19122]
2066         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
2067         * sysdeps/generic/dl-unistd.h: New file.
2068         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
2070 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
2072          [BZ #19122]
2073          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
2074          * sysdeps/generic/dl-mman.h: New file.
2075          * sysdeps/mach/hurd/dl-mman.h: Likewise.
2077 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
2079         * manual/texinfo.tex: Update to version 2016-01-04.21 with
2080         trailing whitespace removed.
2081         * scripts/config.guess: Update to version 2016-01-01.
2082         * scripts/config.sub: Update to version 2016-01-01.
2083         * scripts/move-if-change: Update from gnulib.
2085 2016-01-04  Anton Blanchard  <anton@samba.org>
2087         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
2088         for array indices.
2089         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
2091 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
2093         * NEWS: Update copyright dates.
2094         * catgets/gencat.c (print_version): Likewise.
2095         * csu/version.c (banner): Likewise.
2096         * debug/catchsegv.sh: Likewise.
2097         * debug/pcprofiledump.c (print_version): Likewise.
2098         * debug/xtrace.sh (do_version): Likewise.
2099         * elf/ldconfig.c (print_version): Likewise.
2100         * elf/ldd.bash.in: Likewise.
2101         * elf/pldd.c (print_version): Likewise.
2102         * elf/sotruss.sh: Likewise.
2103         * elf/sprof.c (print_version): Likewise.
2104         * iconv/iconv_prog.c (print_version): Likewise.
2105         * iconv/iconvconfig.c (print_version): Likewise.
2106         * locale/programs/locale.c (print_version): Likewise.
2107         * locale/programs/localedef.c (print_version): Likewise.
2108         * login/programs/pt_chown.c (print_version): Likewise.
2109         * malloc/memusage.sh (do_version): Likewise.
2110         * malloc/memusagestat.c (print_version): Likewise.
2111         * malloc/mtrace.pl: Likewise.
2112         * manual/libc.texinfo: Likewise.
2113         * nptl/version.c (banner): Likewise.
2114         * nscd/nscd.c (print_version): Likewise.
2115         * nss/getent.c (print_version): Likewise.
2116         * nss/makedb.c (print_version): Likewise.
2117         * posix/getconf.c (main): Likewise.
2118         * scripts/test-installation.pl: Likewise.
2119         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2121         * All files with FSF copyright notices: Update copyright dates
2122         using scripts/update-copyrights.
2123         * intl/plural.c: Regenerated.
2124         * locale/programs/charmap-kw.h: Likewise.
2125         * locale/programs/locfile-kw.h: Likewise.
2127 2016-01-02  Helge Deller  <deller@gmx.de>
2129         [BZ #19285]
2130         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
2131         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
2132         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
2133         (MADV_xxK_PAGES): Remove.
2135 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
2137         [BZ #15421]
2138         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
2139         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
2140         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
2141         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
2143 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
2145         [BZ #19408]
2146         * sysdeps/unix/sysv/linux/personality.c: New file.
2147         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
2148         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
2149         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
2150         (sysdep_routines): Add personality.
2151         (tests): Add tst-personality.
2152         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
2153         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
2154         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
2155         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
2156         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
2157         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
2158         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
2159         Likewise.
2160         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
2161         Likewise.
2162         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
2163         Likewise.
2164         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
2165         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
2166         Likewise.
2168 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
2170         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
2171         (PATH_ARM_SYSTYPE): Remove.
2172         (PATH_CPUINFO): Likewise.
2173         (IO_BASE_FOOTBRIDGE): Likewise.
2174         (IO_SHIFT_FOOTBRIDGE): Likewise.
2175         (struct platform): Likewise.
2176         (init_iosys): Remove compatibility code for 2.4 kernels.
2177         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
2179 2015-12-29  Florian Weimer  <fweimer@redhat.com>
2181         * malloc/tst-malloc-thread-fail.c: New file.
2182         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
2183         (tst-malloc-thread-fail): Link against libpthread.
2185 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
2187         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
2188         (get_parser): New function.
2189         (main): New function.
2191 2015-12-29  Rob Wu  <rob@robwu.nl>
2193         [BZ #19369]
2194         * resolv/res_init.c (__res_vinit): Reset defdname before use.
2196 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
2198         [BZ #19270]
2199         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2201 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
2203         [BZ #15421]
2204         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
2206 2015-12-23  Torvald Riegel  <triegel@redhat.com>
2208         [BZ #13690]
2209         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
2210         after releasing it.
2211         (__lll_robust_unlock): Likewise.
2212         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2213         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
2214         (lll_robust_unlock): Likewise.
2215         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
2216         Prevent warnings in callers.
2218 2015-12-23  Florian Weimer  <fweimer@redhat.com>
2220         * malloc/arena.c (list_lock): Update comment.
2222 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2224         * sysdeps/powerpc/hwcapinfo.c: Export symbol
2225         __parse_hwcap_and_convert_at_platform to libc.a.
2227 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2229         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
2230         platform and feature support for POWER9.
2231         * sysdeps/powerpc/dl-procinfo.h: Likewise.
2232         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
2233         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
2234         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
2235         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
2236         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
2237         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
2238         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
2240 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2242         Harmonize generic stdio-lock support with nptl
2244         This fixes build when _IO_funlockfile is a macro, fixes build where
2245         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
2246         stack unwind.
2248         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
2249         _IO_release_lock ): Use cleanup attribute on new
2250         _IO_acquire_lock_file variable instead of assuming that
2251         _IO_release_lock will be called.
2252         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
2253         _IO_acquire_lock_needs_exceptions_enabled.
2254         (_IO_acquire_lock_clear_flags2): New macro.
2256 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2258         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2260 2015-12-21  Florian Weimer  <fweimer@redhat.com>
2262         [BZ #19182]
2263         * malloc/arena.c (list_lock): Document lock ordering requirements.
2264         (free_list_lock): New lock.
2265         (ptmalloc_lock_all): Comment on free_list_lock.
2266         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
2267         (detach_arena): Update comment.  free_list_lock is now needed.
2268         (_int_new_arena): Use free_list_lock around detach_arena call.
2269         Acquire arena lock after list_lock.  Add comment, including FIXME
2270         about incorrect synchronization.
2271         (get_free_list): Switch to free_list_lock.
2272         (reused_arena): Acquire free_list_lock around detach_arena call
2273         and attached threads counter update.  Add two FIXMEs about
2274         incorrect synchronization.
2275         (arena_thread_freeres): Switch to free_list_lock.
2276         * malloc/malloc.c (struct malloc_state): Update comments to
2277         mention free_list_lock.
2279 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
2281         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
2282         Remove functions.
2283         (sloww, sloww1): Accept argument to offset quadrant.
2284         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
2285         quadrant.
2286         (__sin, __cos): Consolidate common code into new functions.
2287         (reduce_sincos_1, do_sincos_1): New functions.
2288         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2290         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
2291         code to new functions.
2292         (reduce_sincos_2, do_sincos_2): New functions.
2293         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2295         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
2296         common code for sincos.
2297         (__cos) [!IN_SINCOS]: Likewise.
2298         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
2299         New function.
2300         (__sincos): Use it.
2302 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
2304         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
2305         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
2306         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2308 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2310         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
2311         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
2312         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
2313         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
2314         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2315         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
2316         index_Prefer_No_VZEROUPPER): New feature.
2317         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
2318         Prefer_No_VZEROUPPER for Knights Landing.
2320 015-12-18  Torvald Riegel  <triegel@redhat.com>
2322         * math/atest-exp2.c (mp_exp_m1): Remove.
2324 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2326         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
2327         syscalls.
2328         (__SYSCALL0): New macro.
2329         (__SYSCALL1): Likewise.
2330         (__SYSCALL2): Likewise.
2331         (__SYSCALL3): Likewise.
2332         (__SYSCALL4): Likewise.
2333         (__SYSCALL5): Likewise.
2334         (__SYSCALL6): Likewise.
2335         (__SYSCALL_CONCAT_X): Likewise.
2336         (__SYSCALL_CONCAT): Likewise.
2337         (__SYSCALL_DIST): Likewise.
2338         (__SYSCALL_CALL): Likewise.
2340 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
2342         [BZ #19363]
2343         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
2345 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2347         [BZ #19375]
2348         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
2349         negative subnormals.
2351 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
2353         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2354         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
2355         (INTERNAL_SYSCALL_NCS): Use it.
2356         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2358 2015-12-16  Florian Weimer  <fweimer@redhat.com>
2360         [BZ #19243]
2361         * malloc/arena.c (get_free_list): Remove assert and adjust
2362         reference count handling.  Add comment about reused_arena
2363         interaction.
2364         (reused_arena): Add comments abount get_free_list interaction.
2365         * malloc/tst-malloc-thread-exit.c: New file.
2366         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
2367         (tst-malloc-thread-exit): Link against libpthread.
2369 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
2371         [BZ #19367]
2372         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
2373         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
2374         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
2375         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
2376         (index_Prefer_MAP_32BIT_EXEC): Likewise.
2378 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
2380         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
2381         Silvermont optimizations for Knights Landing.
2383 2015-12-15  Andreas Schwab  <schwab@suse.de>
2385         [BZ #17197]
2386         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
2387         immediately after emitting SI.
2388         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
2389         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
2390         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
2391         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
2392         * iconvdata/bug-iconv10.c: New file.
2393         * iconvdata/Makefile (tests): Add bug-iconv10.
2394         ($(objpfx)bug-iconv10.out): New rule.
2396 2015-12-15  Florian Weimer  <fweimer@redhat.com>
2398         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
2399         aliasing violation.
2401 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
2403         [BZ #18472]
2404         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
2405         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
2406         conditionals for them.
2407         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
2408         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
2409         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2410         sys/kdaemon.h.
2411         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
2412         compat-only syscall, obsoleted in glibc 2.23.
2413         (create_module): Likewise.
2414         (get_kernel_syms): Likewise.
2415         (query_module): Likewise.
2416         (uselib): Likewise.
2417         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
2419 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
2421         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
2422         <linux/version.h>.
2423         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
2424         conditional code.
2425         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
2426         and ioshift_name initialization.
2428 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2430         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2431         Fix indentation.
2433 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2435         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
2437 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2439         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
2441 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
2442             Jakub Wilk  <jwilk@debian.org>
2444         [BZ #19347]
2445         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
2446         to change the group of the device to the tty group.
2448 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
2450         Split large string section; add truncation advice
2451         * manual/examples/strncat.c: Remove.
2452         This example was misleading, as the code would have undefined
2453         behavior if "hello" was longer than SIZE.  Anyway, the manual
2454         shouldn't encourage strncpy+strncat for this sort of thing.
2455         * manual/string.texi (Copying Strings and Arrays): Split into
2456         three sections Copying Strings and Arrays, Concatenating Strings,
2457         and Truncating Strings, as this section was way too long.  All
2458         cross-referenced changed.  Add advice about string-truncation
2459         functions.  Remove misleading strncat example.
2461 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
2463         * manual/nss.texi (NSS Modules Interface): Document
2464         NSS_STATUS_NOTFOUND and SUCCESS.
2466 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
2468         [BZ 18568]
2469         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2470         201505L, for Unicode 8.
2472 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
2474         * locale/C-translit.h: Regenerate.
2476 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
2478         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
2479         and U+0153.
2481 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
2483         [BZ #19351]
2484         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
2485         expanding log(1+z), compare z rather than its square with epsilon
2486         to determine when to avoid evaluating the expansion.
2488         [BZ #19350]
2489         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
2490         Increase overflow threshold.
2492         [BZ #19349]
2493         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
2494         when small.
2496         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2497         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2498         New macro.
2499         [__LINUX_KERNEL_VERSION >= 0x040300]
2500         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2501         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2502         Likewise.
2503         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2504         Likewise.
2505         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2506         Likewise.
2507         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2508         Likewise.
2509         [__LINUX_KERNEL_VERSION >= 0x040300]
2510         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2511         [__LINUX_KERNEL_VERSION >= 0x040300]
2512         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2513         [__LINUX_KERNEL_VERSION >= 0x040300]
2514         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2515         [__LINUX_KERNEL_VERSION >= 0x040300]
2516         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2517         [__LINUX_KERNEL_VERSION >= 0x040300]
2518         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2519         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2520         Likewise.
2521         [__LINUX_KERNEL_VERSION >= 0x040300]
2522         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2523         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2524         Likewise.
2525         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2526         Likewise.
2527         [__LINUX_KERNEL_VERSION >= 0x040300]
2528         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2529         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2530         Likewise.
2531         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2532         Likewise.
2533         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2534         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
2535         Likewise.
2536         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
2537         Likewise.
2538         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2539         Likewise.
2540         [__LINUX_KERNEL_VERSION >= 0x040300]
2541         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2542         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2543         Likewise.
2544         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2545         Likewise.
2546         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2547         Likewise.
2548         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2549         Likewise.
2550         [__LINUX_KERNEL_VERSION >= 0x040300]
2551         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2552         [__LINUX_KERNEL_VERSION >= 0x040300]
2553         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2554         [__LINUX_KERNEL_VERSION >= 0x040300]
2555         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2556         [__LINUX_KERNEL_VERSION >= 0x040300]
2557         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2558         [__LINUX_KERNEL_VERSION >= 0x040300]
2559         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2560         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2561         Likewise.
2562         [__LINUX_KERNEL_VERSION >= 0x040300]
2563         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2564         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2565         Likewise.
2566         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2567         Likewise.
2568         [__LINUX_KERNEL_VERSION >= 0x040300]
2569         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2570         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2571         Likewise.
2572         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2573         Likewise.
2574         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2575         (__ASSUME_SOCKET_SYSCALL): Likewise.
2576         (__ASSUME_BIND_SYSCALL): Likewise.
2577         (__ASSUME_CONNECT_SYSCALL): Likewise.
2578         (__ASSUME_LISTEN_SYSCALL): Likewise.
2579         (__ASSUME_ACCEPT_SYSCALL): Likewise.
2580         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2581         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2582         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2583         (__ASSUME_SEND_SYSCALL): Likewise.
2584         (__ASSUME_SENDTO_SYSCALL): Likewise.
2585         (__ASSUME_RECV_SYSCALL): Likewise.
2586         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2587         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
2588         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2589         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2590         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2591         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2592         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2593         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
2594         Likewise.
2595         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
2596         Likewise.
2597         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
2598         Likewise.
2599         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
2600         Likewise.
2601         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
2602         Likewise.
2603         [__LINUX_KERNEL_VERSION >= 0x020625]
2604         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2605         [__LINUX_KERNEL_VERSION >= 0x020625]
2606         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2607         [__LINUX_KERNEL_VERSION >= 0x020625]
2608         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2609         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
2610         Likewise.
2611         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
2612         Likewise.
2613         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
2614         Likewise.
2615         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
2616         Likewise.
2617         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
2618         Likewise.
2619         [__LINUX_KERNEL_VERSION >= 0x020625]
2620         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2621         [__LINUX_KERNEL_VERSION >= 0x020625]
2622         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2623         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
2624         Likewise.
2625         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
2626         Likewise.
2628 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
2630         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
2631         record the current if the current ABI and CPU support the FP64
2632         extension.
2633         (has-modd-spreg): Define to record the current if the current ABI and
2634         CPU support 32-bit floating point values in odd FPU registers.
2635         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2636         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
2637         $(has-modd-spreg) equals yes.
2638         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
2639         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
2640         $(has-modd-spreg) equal yes.
2642 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
2644         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
2645         basename.
2647 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
2649         * benchtests/Makefile (bench-math): Move ffs and ffsll...
2650         (bench-string): ... here.
2651         (bench): Add bench-string.
2652         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
2653         to *-benchset to reflect what they are.
2654         (benchset): Adjust.
2656         * benchtests/sincos-inputs: Add inputs from sin-inputs and
2657         cos-inputs.
2659 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
2661         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
2662         __attribute__ ((__simd__)) for vector math function declarations.
2664 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2666         Fix typo in strncat, wcsncat manual entries
2667         * manual/string.texi (Copying and Concatenation): Fix typos in
2668         sample implementations of strncat and wcsncat, by having them use
2669         the old value of the destination length, not the new one.
2671 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
2673         [BZ #16961]
2674         [BZ #16962]
2675         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
2676         string on the stack for strtod.
2677         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
2678         a string on the stack for strtof.
2679         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
2680         constructing a string on the stack for strtold.
2681         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
2682         __strtold_nan to GLIBC_PRIVATE.
2683         * math/test-nan-overflow.c: New file.
2684         * math/test-nan-payload.c: Likewise.
2685         * math/Makefile (tests): Add test-nan-overflow and
2686         test-nan-payload.
2688 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2690         Consistency about byte vs character in string.texi
2691         * manual/string.texi (String and Array Utilities):
2692         Distinguish more carefully among bytes, multibyte characters,
2693         and wide characters.  Use "byte" when talking about C 'char',
2694         to distinguish it more clearly from multibyte characters.
2695         Say "wide character" or "multibyte character" instead of
2696         "character", when a wide or multibyte character is intended.
2697         Similarly for "multibyte string" versus "string".
2698         Define these terms more carefully.
2700 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
2702         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
2703         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
2704         Likewise.
2705         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2706         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2707         * sysdeps/sh/math_private.h: New file.
2708         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
2709         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
2710         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
2711         long double function name.
2712         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2713         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2714         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2715         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2716         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2718         Remove __finitel, __isinfl, and __isnanl.
2719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2720         Likewise.
2721         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2723         Remove __finitel.
2724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2725         Likewise.
2726         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2728 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
2730         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
2731         installed libmvec_nonshared.a.
2733 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2735         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
2736         (sysdep_routines): Likewise.
2737         (sysdep-rtld-routines): Likewise.
2738         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
2739         [$(subdir) = nptl](tests-static): test-get_hwcap-static
2740         * sysdeps/powerpc/Versions: Added new
2741         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
2742         * sysdeps/powerpc/hwcapinfo.c: New file.
2743         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
2744         and parse hwcap, hwcap2 and platform number information.
2745         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
2746         to store HWCAP+HWCAP2 and platform number.
2747         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
2748         for HWCAP+HWCAP2 and platform number in the TCB.
2749         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
2750         the HWCAP, HWCAP2 and platform number in the TCB.
2751         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
2752         (TLS_INIT_TP): Included calls to add the hwcap and
2753         at_platform values in the TCB in TP initialization.
2754         (TLS_DEFINE_INIT_TP): Likewise.
2755         (THREAD_GET_HWCAP): New macro.
2756         (THREAD_SET_HWCAP): Likewise.
2757         (THREAD_GET_AT_PLATFORM): Likewise.
2758         (THREAD_SET_AT_PLATFORM): Likewise.
2759         * sysdeps/powerpc/powerpc32/dl-machine.h:
2760         (dl_platform_init): New function that calls
2761         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
2762         powerpc32.
2763         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
2764         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
2765         this functionality, static linking case.
2766         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
2767         linking case.
2768         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
2769         __parse_hwcap_and_convert_at_platform for the static linking case.
2770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
2771         Included the new __parse_hwcap_and_convert_at_platform symbol in the
2772         ABI list for GLIBC 2.23.
2773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
2774         Likewise.
2775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
2776         Likewise.
2778 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
2780         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
2781         * configure: Regenerate.
2782         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
2783         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
2785 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
2787         * iconvdata/ibm930.c: Add comment explaining encoding uses.
2788         * iconvdata/ibm933.c: Likewise.
2789         * iconvdata/ibm935.c: Likewise.
2790         * iconvdata/ibm937.c: Likewise.
2791         * iconvdata/ibm939.c: Likewise.
2793 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2795         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
2796         pthread_join.
2797         * nptl/tst-cancel21.c (tf): Likewise.
2799 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
2801         [BZ #19313]
2802         * bits/typesizes.h (__CPU_MASK_TYPE): New.
2803         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2804         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2805         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
2806         Likewise.
2807         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
2808         Likewise.
2809         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
2810         Likewise.
2811         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
2812         Likewise.
2813         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
2814         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
2815         unsigned long int with __CPU_MASK_TYPE.
2817 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2819         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2821 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
2823         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
2824         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
2825         t512.x.
2826         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
2828 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
2830         [BZ #19214]
2831         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
2832         argument to return extended model.  Update family and model
2833         with extended family and model when family == 0x0f.
2834         (init_cpu_features): Updated.
2836 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2838         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
2839         signed off_t, so 32bit bigger than 2GiB values are fine actually.
2841         * sysdeps/mach/hurd/mmap64.c: New file.
2843 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
2845         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
2846         rights for its main user thread in NEWTASK.
2848 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
2850         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
2851         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
2853 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
2855         [BZ #14259]
2856         * Makeconfig: Rename localedir to complocaledir.
2857         Rename inst_localedir to inst_complocaledir.
2858         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
2859         * config.make.in: Use complocaledir and libc_cv_complocaledir.
2860         * configure.ac: Use libc_cv_complocaledir.
2861         * configure: Regenerate.
2862         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
2863         -DCOMPLOCALEDIR.
2864         * locale/findlocale.c: Use COMPLOCALEDIR.
2865         * locale/loadarchive.c: Likewise.
2866         * locale/programs/locale.c: Likewise.
2867         * locale/programs/localedef.c: Likewise.
2868         * locale/programs/locarchive.c: Likewise.
2869         * localedata/Makefile: Use inst_complocaledir.
2870         * sysdeps/gnu/configure: Regenerate.
2871         * sysdeps/hppa/configure: Regenerate.
2872         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
2873         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2875         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
2876         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
2877         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
2878         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
2880 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
2882         [BZ #19058]
2883         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
2884         AS_NEEDED.
2885         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
2886         workaround.
2887         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
2888         libmvec-static-only-routines): Added new file.
2889         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
2891 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2893         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
2894         of interrupted RPC instead of restoring it.
2896         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
2897         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
2898         libc_hidden_def.
2899         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
2900         into initialized data instead of common. Define rtld_hidden_data_def.
2901         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
2902         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
2903         libc_hidden_def.
2904         (if_freenameindex): Add libc_hidden_weak.
2905         (if_nameindex): Add libc_hidden_weak.
2906         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
2907         __open64.
2908         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
2909         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
2910         * sysdeps/mach/nanosleep.c: Include <time.h>
2911         (__nanosleep): Rename to __libc_nanosleep.
2912         (__nanosleep): Add weak_alias.
2913         (nanosleep): Update alias.
2915 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
2917         * stdlib/strtod_nan.c: New file.
2918         * stdlib/strtod_nan_double.h: Likewise.
2919         * stdlib/strtod_nan_float.h: Likewise.
2920         * stdlib/strtod_nan_main.c: Likewise.
2921         * stdlib/strtod_nan_narrow.h: Likewise.
2922         * stdlib/strtod_nan_wide.h: Likewise.
2923         * stdlib/strtof_nan.c: Likewise.
2924         * stdlib/strtold_nan.c: Likewise.
2925         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
2926         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
2927         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
2928         * wcsmbs/wcstod_nan.c: Likewise.
2929         * wcsmbs/wcstof_nan.c: Likewise.
2930         * wcsmbs/wcstold_nan.c: Likewise.
2931         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
2932         strtold_nan.
2933         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
2934         wcstof_nan.
2935         * include/stdlib.h (__strtof_nan): Declare and use
2936         libc_hidden_proto.
2937         (__strtod_nan): Likewise.
2938         (__strtold_nan): Likewise.
2939         (__wcstof_nan): Likewise.
2940         (__wcstod_nan): Likewise.
2941         (__wcstold_nan): Likewise.
2942         * include/wchar.h (____wcstoull_l_internal): Declare.
2943         * stdlib/strtod_l.c: Do not include <ieee754.h>.
2944         (____strtoull_l_internal): Remove declaration.
2945         (STRTOF_NAN): Define macro.
2946         (SET_MANTISSA): Remove macro.
2947         (STRTOULL): Likewise.
2948         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
2949         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
2950         (STRTOF_NAN): Define macro.
2951         (SET_MANTISSA): Remove macro.
2952         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
2953         (SET_MANTISSA): Remove macro.
2954         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
2955         macro.
2956         (SET_MANTISSA): Remove macro.
2957         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
2958         macro.
2959         (SET_MANTISSA): Remove macro.
2960         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
2961         (SET_MANTISSA): Remove macro.
2962         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
2963         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
2964         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
2966         [BZ #19266]
2967         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
2968         upper case and lower case letters inside NAN(), not using TOLOWER.
2969         * stdlib/tst-strtod-nan-locale-main.c: New file.
2970         * stdlib/tst-strtod-nan-locale.c: Likewise.
2971         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
2972         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
2973         Depend on $(gen-locales).
2974         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
2975         * wcsmbs/tst-wcstod-nan-locale.c: New file.
2976         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
2977         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
2978         Depend on $(gen-locales).
2979         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
2981 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
2983         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
2985         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
2987         __finitel, __isinfl, and __isnanl.
2988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2989         Likewise.
2990         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
2992         __finitel.
2993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2994         Likewise.
2995         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2997 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2999         * malloc/memusage.c (me): Remove redundant getenv call.
3001 2015-10-24  Florian Weimer  <fweimer@redhat.com>
3003         [BZ #19143]
3004         [BZ #19164]
3005         * nptl/check-cpuset.h: Remove.
3006         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
3007         Remove CPU set size check.
3008         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
3009         Likewise.
3010         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
3011         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3012         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
3013         (__pthread_setaffinity_new): Remove CPU set size check.
3014         * sysdeps/unix/sysv/linux/sched_setaffinity.c
3015         (__kernel_cpumask_size): Remove.
3016         (__sched_setaffinity_new): Remove CPU set size check.
3017         * manual/threads.texi (Default Thread Attributes): Remove stale
3018         reference to check_cpuset_attr, determine_cpumask_size in comment.
3019         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
3020         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
3021         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
3022         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
3023         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
3024         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
3025         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
3026         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
3027         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
3028         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
3029         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
3030         skeleton test file.
3031         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
3032         tst-affinity-pid.
3034 2015-11-24  Florian Weimer  <fweimer@redhat.com>
3036         * scripts/update-abilist.sh: New file.
3037         * Makefile (+subdir_targets): Add subdir_update-all-abi.
3038         * Makerules (update-all-abi-%, update-all-abi)
3039         (subdir_update-all-abi): New targets.
3040         * elf/Makefile (update-all-abi): New target.
3042 2015-11-24  Florian Weimer  <fweimer@redhat.com>
3044         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
3045         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
3046         (__libc_lock_define_initialized): Use it.
3047         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
3048         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
3049         * malloc/malloc.c (main_arena): Likewise.
3050         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
3051         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
3053 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
3055         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
3056         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
3057         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3058         (PTRACE_O_MASK): Update value.
3059         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
3060         New value in enum __ptrace_setoptions.
3061         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3062         (PTRACE_O_MASK): Update value.
3063         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
3064         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3065         (PTRACE_O_MASK): Update value.
3066         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
3067         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3068         (PTRACE_O_MASK): Update value.
3069         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
3070         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
3071         (PTRACE_O_MASK): Update value.
3072         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
3073         New value in enum __ptrace_setoptions.
3074         (PTRACE_O_MASK): Update value.
3075         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
3076         New value in enum __ptrace_setoptions.
3077         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3078         (PTRACE_O_MASK): Update value.
3080         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
3081         New macro.
3082         (PACKET_AUXDATA): Likewise.
3083         (PACKET_ORIGDEV): Likewise.
3084         (PACKET_VERSION): Likewise.
3085         (PACKET_HDRLEN): Likewise.
3086         (PACKET_RESERVE): Likewise.
3087         (PACKET_TX_RING): Likewise.
3088         (PACKET_LOSS): Likewise.
3089         (PACKET_VNET_HDR): Likewise.
3090         (PACKET_TX_TIMESTAMP): Likewise.
3091         (PACKET_TIMESTAMP): Likewise.
3092         (PACKET_FANOUT): Likewise.
3093         (PACKET_TX_HAS_OFF): Likewise.
3094         (PACKET_QDISC_BYPASS): Likewise.
3095         (PACKET_ROLLOVER_STATS): Likewise.
3096         (PACKET_FANOUT_DATA): Likewise.
3097         (PACKET_MR_UNICAST): Likewise.
3099         [BZ #19242]
3100         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
3101         (TOUPPER): Likewise.
3102         * stdlib/tst-strtol-locale-main.c: New file.
3103         * stdlib/tst-strtol-locale.c: Likewise.
3104         * stdlib/Makefile (tests): Add tst-strtol-locale.
3105         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
3106         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
3107         Depend on $(gen-locales).
3108         * wcsmbs/tst-wcstol-locale.c: New file.
3109         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
3110         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
3111         tr_TR.ISO-8859-9.
3112         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
3113         Depend on $(gen-locales).
3115 2015-11-20  Roland McGrath  <roland@hack.frob.com>
3117         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
3118         __glibc_likely instead of __builtin_expect.  After falling back to
3119         dyncode_create in a non-ET_DYN case, use the allocate_code_data
3120         system interface to register the code pages as occupied.
3122 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
3124         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3125         [!ARM_MATH_PRIVATE_H].
3126         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
3127         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3128         [!HPPA_MATH_PRIVATE_H].
3129         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
3130         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
3131         to [!I386_MATH_PRIVATE_H].
3132         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
3133         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
3134         Change guard to [!M68K_MATH_PRIVATE_H].
3135         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
3136         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
3137         guard to [!MICROBLAZE_MATH_PRIVATE_H].
3138         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
3139         macro.
3140         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3141         [!MIPS_MATH_PRIVATE_H].
3142         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
3143         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3144         [!NIO2_MATH_PRIVATE_H].
3145         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
3146         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3147         [!TILE_MATH_PRIVATE_H].
3148         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
3150         [BZ #15421]
3151         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
3152         initialize with 0 and define as weak alias of __signgam.
3153         * include/math.h [!_ISOMAC] (__signgam): Declare.
3154         * math/Makefile (libm-calls): Add w_lgamma_compat.
3155         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
3156         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
3157         test-signgam-ullong-init.
3158         (tests-static): Add test-signgam-uchar-static,
3159         test-signgam-uchar-init-static, test-signgam-uint-static,
3160         test-signgam-uint-init-static, test-signgam-ullong-static and
3161         test-signgam-ullong-init-static.
3162         (CFLAGS-test-signgam-uchar.c): New variable.
3163         (CFLAGS-test-signgam-uchar-init.c): Likewise.
3164         (CFLAGS-test-signgam-uchar-static.c): Likewise.
3165         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
3166         (CFLAGS-test-signgam-uint.c): Likewise.
3167         (CFLAGS-test-signgam-uint-init.c): Likewise.
3168         (CFLAGS-test-signgam-uint-static.c): Likewise.
3169         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
3170         (CFLAGS-test-signgam-ullong.c): Likewise.
3171         (CFLAGS-test-signgam-ullong-init.c): Likewise.
3172         (CFLAGS-test-signgam-ullong-static.c): Likewise.
3173         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
3174         * math/Versions (libm): Add GLIBC_2.23.
3175         * math/lgamma-compat.h: New file.
3176         * math/test-signgam-main.c: Likewise.
3177         * math/test-signgam-uchar-init-static.c: Likewise.
3178         * math/test-signgam-uchar-init.c: Likewise.
3179         * math/test-signgam-uchar-static.c: Likewise.
3180         * math/test-signgam-uchar.c: Likewise.
3181         * math/test-signgam-uint-init-static.c: Likewise.
3182         * math/test-signgam-uint-init.c: Likewise.
3183         * math/test-signgam-uint-static.c: Likewise.
3184         * math/test-signgam-uint.c: Likewise.
3185         * math/test-signgam-ullong-init-static.c: Likewise.
3186         * math/test-signgam-ullong-init.c: Likewise.
3187         * math/test-signgam-ullong-static.c: Likewise.
3188         * math/test-signgam-ullong.c: Likewise.
3189         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
3190         wrapper of w_lgamma_main.c.
3191         * math/w_lgamma_compat.c: New file.
3192         * math/w_lgamma_compatf.c: Likewise.
3193         * math/w_lgamma_compatl.c: Likewise.
3194         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
3195         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3196         defining compatibility symbols.
3197         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
3198         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
3199         wrapper of w_lgammaf_main.c.
3200         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
3201         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3202         defining compatibility symbols.
3203         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
3204         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
3205         wrapper of w_lgammal_main.c.
3206         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
3207         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3208         defining compatibility symbols.
3209         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
3210         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
3211         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
3212         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
3213         <lgamma-compat.h>.
3214         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
3215         (__ieee754_gamma): Define as alias.
3216         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
3217         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
3218         <lgamma-compat.h>.
3219         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
3220         (__ieee754_gammaf): Define as alias.
3221         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
3222         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
3223         <lgamma-compat.h>.
3224         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
3225         (__ieee754_gammal): Define as alias.
3226         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
3227         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
3228         <math/w_lgamma_compat.c>.
3229         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
3230         Define as alias of __lgamma_compat and use in defining lgammal.
3231         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
3232         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
3233         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
3234         (USE_AS_COMPAT): New macro.
3235         (LGAMMA_OLD_VER): Undefine and redefine.
3236         (lgammal): Do not define here.
3237         (gammal): Only define here if [GAMMA_ALIAS].
3238         * conform/linknamespace.pl (@whitelist): Remove signgam.
3239         * sysdeps/nacl/libm.abilist: Update.
3240         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3241         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3242         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3243         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3244         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3245         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3246         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3247         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3248         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3249         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3250         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3251         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3253         Likewise.
3254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3255         Likewise.
3256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3257         Likewise.
3258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3259         Likewise.
3260         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3261         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3262         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3263         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3264         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3265         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3266         Likewise.
3267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3268         Likewise.
3269         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3270         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3271         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3273 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3275         [BZ #16364]
3276         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
3277         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
3279 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3281         * sysdeps/s390/fpu/bits/mathinline.h:
3282         Use __asm__ [__volatile__] instead of asm [volatile].
3283         * sysdeps/s390/abort-instr.h: Likewise.
3284         * sysdeps/s390/atomic-machine.h: Likewise.
3285         * sysdeps/s390/bits/string.h: Likewise.
3286         * sysdeps/s390/dl-tls.h: Likewise.
3287         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
3288         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
3289         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
3290         * sysdeps/s390/fpu/fesetround.c: Likewise.
3291         * sysdeps/s390/fpu/fpu_control.h: Likewise.
3292         * sysdeps/s390/fpu/s_fma.c: Likewise.
3293         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
3294         * sysdeps/s390/memusage.h: Likewise.
3295         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
3296         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3297         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3298         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3299         * sysdeps/s390/nptl/tls.h: Likewise.
3300         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
3301         * sysdeps/s390/s390-32/backtrace.c: Likewise.
3302         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3303         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
3304         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3305         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3306         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
3307         * sysdeps/s390/s390-64/backtrace.c: Likewise.
3308         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3309         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
3310         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
3311         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3312         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3313         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
3314         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
3315         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
3316         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
3317         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3318         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
3319         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3320         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
3321         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3322         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
3324 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3325             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3327         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3328         Add lwarx hint, and use macro for acquire instruction.
3329         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3330         Likewise.
3331         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
3332         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
3333         update to use new atomic macros.
3335 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3337         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3338         (__lll_trylock_elision): Fix setting of adapt_count.
3339         * sysdeps/unix/sysv/linux/powerpc/htm.h
3340         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
3341         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
3342         (_ABORT_SYSCALL): Renumber, and clarify definition.
3343         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
3345 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3347         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
3348         after system headers to prevent MIN/MAX redefinition.  Define
3349         HAVE_ALLOCA to preserve builtin alloca usage.
3351 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
3353         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
3354         static and don't set or restore rounding.
3355         (__cos)[IN_SINCOS]: Likewise.
3356         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
3357         (__sincos): Set and restore rounding mode.  Remove check for infinite
3358         or NaN input.
3360         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
3362         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
3363         as used.
3365 2015-11-16  Florian Weimer  <fweimer@redhat.com>
3367         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
3369 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
3371         * config.make.in (have-glob-dat-reloc): New.
3372         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
3373         target supports GLOB_DAT relocaton. AC_SUBST.
3374         * configure: Regenerated.
3375         * elf/Makefile (tests): Add tst-prelink.
3376         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3377         (tst-prelink-ENV): New.
3378         ($(objpfx)tst-prelink-conflict.out): Likewise.
3379         ($(objpfx)tst-prelink-cmp.out): Likewise.
3380         * sysdeps/x86/tst-prelink.c: Moved to ...
3381         * elf/tst-prelink.c: Here.
3382         * sysdeps/x86/tst-prelink.exp: Moved to ...
3383         * elf/tst-prelink.exp: Here.
3384         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
3385         (tst-prelink-ENV): Removed.
3386         ($(objpfx)tst-prelink-conflict.out): Likewise.
3387         ($(objpfx)tst-prelink-cmp.out): Likewise.
3388         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
3390 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
3392         [BZ #14551]
3393         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
3394         (__mpn_construct_long_double): If high part overflows to infinity,
3395         set errno and recompute overflowed result of the correct sign.
3396         * sysdeps/ieee754/ldbl-128ibm/Makefile
3397         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
3398         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
3399         $(libm).
3400         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
3402 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
3404         [BZ #15479]
3405         [BZ #19238]
3406         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
3407         floating-point state after first operation on input.  Restore full
3408         state rather than just rounding mode.
3409         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3410         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3411         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3413         [BZ #19235]
3414         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
3415         add 0.5 to integer arguments.
3416         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
3417         Likewise.
3418         (.LC2): New object.
3420 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
3422         * scripts/pylintrc (reports): Set to no.
3424 2015-11-10  Roland McGrath  <roland@hack.frob.com>
3426         * elf/dl-load.c (open_verify): Take new argument FD.
3427         Skip __open call if passed FD is not -1.
3428         (_dl_map_object, open_path): Update callers.
3429         * elf/dl-sysdep-open.h: New file.
3430         * elf/dl-load.c: Include it.
3431         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
3432         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
3433         * sysdeps/nacl/dl-sysdep-open.h: New file.
3434         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
3435         from libc to rtld.
3437 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
3439         [BZ #19228]
3440         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
3441         and restore full floating-point state.
3442         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3443         Likewise.
3444         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3445         Likewise.
3446         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3447         Likewise.
3448         * math/test-nearbyint-except-2.c: New file.
3449         * math/Makefile (tests): Add test-nearbyint-except-2.
3451 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
3453         [BZ #19178]
3454         * sysdeps/x86/Makefile (tests): Add tst-prelink.
3455         (tst-prelink-ENV): New.
3456         ($(objpfx)tst-prelink-conflict.out): Likewise.
3457         ($(objpfx)tst-prelink-cmp.out): Likewise.
3458         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3459         * sysdeps/x86/tst-prelink.c: New file.
3460         * sysdeps/x86/tst-prelink.exp: Likewise.
3462 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
3464         * math/auto-libm-test-in: Add another test of pow.
3465         * math/auto-libm-test-out: Regenerated.
3466         * math/libm-test.inc (pow_test_data): Add another test.
3468 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3470         [BZ #19219]
3471         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
3472         weak_alias to nearbyintl.
3474 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
3476         * sysdeps/aarch64/bits/string.h: New file.
3477         (_STRING_ARCH_unaligned): Define.
3479 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
3481         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
3482         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3483         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3484         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
3485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
3487 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
3489         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
3490         for original name of the DSO.  Add it to the name list of the DSO
3491         if it is actually given.
3492         (_dl_map_object): Keep track of whether an audit module rewrote
3493         the file name.  If yes, pass the original name to
3494         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
3495         debugging is enabled, log the change of the file name.
3496         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
3497         _dl_map_object_from_fd.
3498         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
3499         * elf/tst-audit11.c: New file
3500         * elf/tst-auditmod11.c: New file.
3501         * elf/tst-audit11mod1.c: New file.
3502         * elf/tst-audit11mod2.c: New file.
3503         * elf/tst-audit11mod2.map: New file.
3504         * elf/tst-audit12.c: New file
3505         * elf/tst-auditmod12.c: New file.
3506         * elf/tst-audit12mod1.c: New file.
3507         * elf/tst-audit12mod2.c: New file.
3508         * elf/tst-audit12mod2.map: New file.
3509         * elf/tst-audit12mod3.c: New file.
3511 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3513         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
3514         Don't create weak aliases,
3515         because versioned symbols are created later.
3516         * sysdeps/s390/s390-32/setjmp.S
3517         (setjmp, _setjmp): Remove weak and rename to an unique name
3518         in SHARED case due to existing versioned symbols.
3519         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3520         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
3521         (getcontext): Create weak alias only in non SHARED case.
3522         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3524 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3526         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
3527         (__ASSUME_*_SYSCALL) Define new macros.
3528         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
3529         Remove socketcall syscalls.
3530         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
3531         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
3532         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
3533         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
3534         * sysdeps/unix/sysv/linux/send.c (__libc_send):
3535         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
3537 2015-11-09  Florian Weimer  <fweimer@redhat.com>
3539         [BZ #12926]
3540         Terminate process on invalid netlink response.
3541         * sysdeps/unix/sysv/linux/netlinkaccess.h
3542         (__netlink_assert_response): Declare.
3543         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
3544         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
3545         (sysdep_routines): Add netlink_assert_response.
3546         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
3547         __netlink_assert_response.
3548         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3549         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3550         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
3551         __netlink_assert_response.
3553 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
3555         [BZ #19178]
3556         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
3557         (RTYPE_CLASS_PLT): Likewise.
3558         (RTYPE_CLASS_COPY): Likewise.
3559         (RTYPE_CLASS_TLS): Likewise.
3560         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
3561         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
3562         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
3563         DL_DEBUG_PRELINK.
3565 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
3567         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
3568         calls with argument -0.5.
3569         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
3571         * configure.ac (libc_cv_z_nodelete): Remove configure test.
3572         (libc_cv_z_nodlopen): Likewise.
3573         (libc_cv_z_initfirst): Likewise.
3574         * configure: Regenerated.
3576 2015-11-06  Florian Weimer  <fweimer@redhat.com>
3578         Simplify abilist format to be line-based.
3579         * scripts/abilist.awk: Collect descriptors in the descs variable.
3580         (emit): Write descs variable and sort it
3581         externally, with sort.
3582         * sysdeps/**/*.abilist: Convert to new format.
3584 2015-11-06  Mark Wielaard  <mjw@redhat.com>
3586         [BZ #11460]
3587         * io/Makefile (routines): Add fts64.
3588         (tests): Add tst-fts and tst-fts-lfs.
3589         (CFLAGS-fts64.c): New.
3590         * io/Versions (GLIBC_2.23): New.
3591         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
3592         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
3593         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
3594         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
3595         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
3596         (FTSENT64): Likewise.
3597         (fts64_children): Likewise.
3598         (fts64_close): Likewise.
3599         (fts64_open): Likewise.
3600         (fts64_read): Likewise.
3601         (fts64_set): Likewise.
3602         * io/fts64.c: New file.
3603         * io/tst-fts.c: New test.
3604         * io/tst-fts-lfs.c: Likewise.
3605         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
3606         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
3607         fts64_set.
3608         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3609         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3610         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3611         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3612         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3613         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3614         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3615         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3616         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3617         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3618         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3619         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3620         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3622         Likewise.
3623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3624         Likewise.
3625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3627         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3628         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3629         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3630         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3631         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3634         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3635         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3636         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3637         * sysdeps/wordsize-64/fts.c: New file.
3638         * sysdeps/wordsize-64/fts64.c: Likewise.
3639         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
3640         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
3641         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
3642         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
3644 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
3646         * math/libm-test.inc (NON_FINITE): New macro.
3647         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
3648         * math/gen-libm-test.pl (show_exceptions): Add argument
3649         $non_finite.
3650         (parse_args): Update call to show_exceptions.
3651         * math/test-math-finite.h: New file.
3652         * math/test-math-no-finite.h: Likewise.
3653         * math/test-double-finite.c: Likewise.
3654         * math/test-float-finite.c: Likewise.
3655         * math/test-ldouble-finite.c: Likewise.
3656         * math/test-double.c: Include "test-math-no-finite.h".
3657         * math/test-float.c: Include "test-math-no-finite.h".
3658         * math/test-ldouble.c: Include "test-math-no-finite.h".
3659         * math/test-math-inline.h (TEST_FINITE): New macro.
3660         * math/test-math-vector.h (TEST_FINITE): Likewise.
3661         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
3662         (libm-tests): Add test-float-finite and test-double-finite.
3663         ($(objpfx)test-float-finite.o): New dependency on
3664         $(objpfx)libm-test.stmp.
3665         ($(objpfx)test-double-finite.o): Likewise.
3666         ($(objpfx)test-ldouble-finite.o): Likewise.
3667         (libm-test-no-inline-cflags): New variable.
3668         (libm-test-finite-cflags): Likewise.
3669         (CFLAGS-test-float-finite.c): Likewise.
3670         (CFLAGS-test-double-finite.c): Likewise.
3671         (CFLAGS-test-ldouble-finite.c): Likewise.
3672         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
3673         (CFLAGS-test-double.c): Likewise.
3674         (CFLAGS-test-ldouble.c): Likewise.
3676 2015-11-05  Roland McGrath  <roland@hack.frob.com>
3678         * io/fcntl.c (__fcntl): Add ... to prototype.
3679         * misc/ioctl.c (__ioctl): Likewise.
3680         * misc/syscall.c (syscall): Likewise.
3682 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
3684         * scripts/list-fixed-bugs.py: New file.
3686         [BZ #19213]
3687         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
3688         returned for argument 1.
3689         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
3690         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
3691         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
3692         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
3693         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
3694         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
3696         [BZ #19211]
3697         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
3698         __USE_XOPEN], not if [!__USE_ISOC99].
3699         (lgammaf): Likewise.
3700         (lgammal): Likewise.
3701         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
3702         (gammaf): Likewise.
3703         (gammal): Likewise.
3704         * math/test-signgam-finite-c11.c: New file.
3705         * math/test-signgam-finite-c99.c: Likewise.
3706         * math/test-signgam-finite.c: Likewise.
3707         * math/Makefile (tests): Add test-signgam-finite,
3708         test-signgam-finite-c99 and test-signgam-finite-c11.
3709         (CFLAGS-test-signgam-finite.c): New variable.
3710         (CFLAGS-test-signgam-finite-c99.c): Likewise.
3711         (CFLAGS-test-signgam-finite-c11.c): Likewise.
3713         [BZ #19212]
3714         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
3715         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
3716         500].
3717         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
3718         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
3719         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
3720         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
3721         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
3722         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
3723         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
3724         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
3725         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
3726         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
3728         [BZ #19209]
3729         * math/bits/math-finite.h (ldexp): Remove declaration.
3730         (ldexpf): Likewise.
3731         (ldexpl): Likewise.
3733         [BZ #19205]
3734         * math/bits/math-finite.h (acosf): Condition declaration on
3735         [__USE_ISOC99].
3736         (acosl): Likewise.
3737         (acoshf): Likewise.
3738         (acoshl): Likewise.
3739         (asinf): Likewise.
3740         (asinl): Likewise.
3741         (atan2f): Likewise.
3742         (atan2l): Likewise.
3743         (atanhf): Likewise.
3744         (atanhl): Likewise.
3745         (coshf): Likewise.
3746         (coshl): Likewise.
3747         (expf): Likewise.
3748         (expl): Likewise.
3749         (fmodf): Likewise.
3750         (fmodl): Likewise.
3751         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
3752         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
3753         (j0l): Likewise.
3754         (y0f): Likewise.
3755         (y0l): Likewise.
3756         (j1f): Likewise.
3757         (j1l): Likewise.
3758         (y1f): Likewise.
3759         (y1l): Likewise.
3760         (jnf): Likewise.
3761         (jnl): Likewise.
3762         (ynf): Likewise.
3763         (ynl): Likewise.
3764         (lgammaf_r): Condition declaration on [__USE_ISOC99].
3765         (lgammal_r): Likewise.
3766         (__lgamma_r_finite): New declaration.
3767         (__lgammaf_r_finite): Likewise.
3768         (__lgammal_r_finite): Likewise.
3769         (lgamma): Use __lgamma_r_finite.
3770         (lgammaf): Condition definition on [__USE_ISOC99].  Use
3771         __lgammaf_r_finite.
3772         (lgammal): Condition definition on [__USE_ISOC99].  Use
3773         __lgammal_r_finite.
3774         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
3775         __lgamma_r_finite.
3776         (gammaf): Condition definition on [__USE_ISOC99].  Use
3777         __lgammaf_r_finite.
3778         (gammal): Condition definition on [__USE_ISOC99].  Use
3779         __lgammal_r_finite.
3780         (logf): Condition declaration on [__USE_ISOC99].
3781         (logl): Likewise.
3782         (log10f): Likewise.
3783         (log10l): Likewise.
3784         (ldexpf): Likewise.
3785         (ldexpl): Likewise.
3786         (powf): Likewise.
3787         (powl): Likewise.
3788         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
3789         __USE_ISOC99].
3790         (remainderf): Condition declaration on [__USE_ISOC99].
3791         (remainderl): Likewise.
3792         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
3793         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
3794         (scalbl): Likewise.
3795         (sinhf): Condition declaration on [__USE_ISOC99].
3796         (sinhl): Likewise.
3797         (sqrtf): Likewise.
3798         (sqrtl): Likewise.
3800 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
3802         * sysdeps/arm/atomic-machine.h
3803         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3804         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3805         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
3806         Remove conditional code.
3807         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3808         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3809         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
3810         Change conditional to [__ASSEMBLER__].
3811         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3812         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
3813         [!__ASSEMBLER__].
3814         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
3815         code.
3816         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
3817         conditional macro definitions.
3818         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
3819         (__arch_compare_and_exchange_val_16_acq): Likewise.
3820         (__arch_compare_and_exchange_val_32_acq): Likewise.
3821         (atomic_exchange_and_add): Likewise.
3822         (atomic_add): Likewise.
3823         (atomic_add_negative): Likewise.
3824         (atomic_add_zero): Likewise.
3825         (atomic_bit_set): Likewise.
3826         (atomic_bit_test_set): Likewise.
3827         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
3828         code unconditional.
3829         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3831         * math/test-math-errno.h: New file.
3832         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
3833         empty.
3834         (TEST_ERRNO): New macro.
3835         (TEST_EXCEPTIONS): Likewise.
3836         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
3837         (TEST_EXCEPTIONS): Likewise.
3838         * math/test-math-vector.h (TEST_ERRNO): Likewise.
3839         * math/test-double.c: Include "test-math-errno.h".
3840         * math/test-float.c: Likewise.
3841         * math/test-ldouble.c: Likewise.
3842         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
3843         code unconditional.
3844         (test_exceptions): Only run code if TEST_EXCEPTIONS.
3845         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
3846         unconditional.
3847         (test_errno): Only run code if TEST_ERRNO.
3848         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
3850 2015-11-04  Florian Weimer  <fweimer@redhat.com>
3852         * nptl/tst-once5.cc: Remove attribution.
3854 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
3856         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
3857         sqrt, tan, tanh, y0, y1 and yn.
3858         * math/auto-libm-test-out: Regenerated.
3859         * math/libm-test.inc (scalb_test_data): Add more tests.
3860         (scalbn_test_data): Likewise.
3861         (scalbln_test_data): Likewise.
3862         (signbit_test_data): Likewise.
3863         (sin_test_data): Likewise.
3864         (sincos_test_data): Likewise.
3865         (sinh_test_data): Likewise.
3866         (sqrt_test_data): Likewise.
3867         (tan_test_data): Likewise.
3868         (tanh_test_data): Likewise.
3869         (tgamma_test_data): Likewise.
3870         (y0_test_data): Likewise.
3871         (y1_test_data): Likewise.
3872         (yn_test_data): Likewise.
3873         (significand_test_data): Likewise.
3874         * sysdeps/i386/fpu/libm-test-ulps: Update.
3876 2015-11-03  David Kastrup  <dak@gnu.org>
3878         [BZ #18604]
3879         * assert/assert.h (assert): Don't macro-expand failed assertion
3880         expression in error message.
3881         * malloc/malloc.c (assert): Likewise.
3883 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
3885         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
3886         test.
3887         * configure: Regenerated.
3889 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
3891         * math/libm-test.inc (modf_test_data): Add more tests.
3892         (nearbyint_test_data): Likewise.
3893         (nextafter_test_data): Likewise.
3894         (nexttoward_test_data): Likewise.
3895         (pow_test_data): Likewise.
3896         (remainder_test_data): Likewise.
3897         (remquo_test_data): Likewise.
3898         (rint_test_data): Likewise.
3900         [BZ #19201]
3901         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3902         Check for zero remainder in case of large exponents and ensure
3903         correct sign of result in that case.
3904         * math/libm-test.inc (remainder_test_data): Add more tests.
3906         [BZ #6799]
3907         * math/s_nextafter.c: Include <errno.h>.
3908         (__nextafter): Set errno on overflow and underflow.
3909         * math/s_nexttowardf.c: Include <errno.h>.
3910         (__nexttowardf): Set errno on overflow and underflow.
3911         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
3912         (__nextafterl): Set errno on overflow and underflow.
3913         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
3914         (__nexttoward): Set errno on overflow and underflow.
3915         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
3916         (__nexttowardf): Set errno on overflow and underflow.
3917         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
3918         (__nextafterf): Set errno on overflow and underflow.
3919         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
3920         (__nextafterl): Set errno on overflow and underflow.
3921         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
3922         (__nexttoward): Set errno on overflow and underflow.
3923         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
3924         (__nexttowardf): Set errno on overflow and underflow.
3925         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
3926         (__nextafterl): Set errno on overflow and underflow.
3927         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
3928         (__nexttoward): Set errno on overflow and underflow.
3929         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
3930         (__nexttowardf): Set errno on overflow and underflow.
3931         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
3932         (__nexttoward): Set errno on overflow and underflow.
3933         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
3934         (__nexttowardf): Set errno on overflow and underflow.
3935         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
3936         (__nldbl_nexttowardf): Set errno on overflow and underflow.
3937         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
3938         (__nextafterl): Set errno on overflow and underflow.
3939         * math/libm-test.inc (nextafter_test_data): Do not allow errno
3940         setting to be missing on overflow.  Add more tests.
3941         (nexttoward_test_data): Likewise.
3943         * configure.ac (libc_cv_initfini_array): Remove configure test.
3944         * configure: Regenerated.
3946 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
3948         [BZ #19189]
3949         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
3950         non-finite argument handle arguments with negative sign.
3952         * math/libm-test.inc (j0_test_data): Do not test sign of zero
3953         result from infinite argument.
3954         (j1_test_data): Likewise.
3955         (jn_test_data): Likewise.
3956         (y0_test_data): Likewise.
3957         (y1_test_data): Likewise.
3958         (yn_test_data): Likewise.
3960         [BZ #16171]
3961         * math/w_remainder.c (drem): Define as weak alias of __remainder.
3962         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
3963         * math/w_remainderf.c (dremf): Define as weak alias of
3964         __remainderf.
3965         * math/w_remainderl.c (dreml): Define as weak alias of
3966         __remainderl.
3967         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
3968         __remainder.
3969         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
3970         __remainderf.
3971         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
3972         __remainderl.
3973         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
3974         weak alias of remainderl.
3975         * sysdeps/ieee754/ldbl-opt/w_remainder.c
3976         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
3977         alias of __remainder.
3978         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
3979         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
3980         strong alias of __remainderl.
3981         (dreml): Use long_double_symbol.
3982         * math/Makefile (libm-calls): Remove w_drem.
3983         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
3984         (CFLAGS-nldbl-drem.c): Remove variable.
3985         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
3986         * math/w_drem.c: Remove file.
3987         * math/w_dremf.c: Likewise.
3988         * math/w_dreml.c: Likewise.
3989         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
3990         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
3991         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
3993         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
3994         * sysdeps/i386/configure: Regenerated.
3995         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
3996         * sysdeps/x86_64/configure: Regenerated.
3998         * configure.ac (libc_cv_asm_protected_directive): Remove configure
3999         test.
4000         (libc_cv_visibility_attribute): Likewise.
4001         (libc_cv_protected_data): Test unconditionally.
4002         (libc_cv_broken_visibility_attribute): Remove configure test.
4003         (libc_cv_have_sdata_section): Test unconditionally.
4004         * configure: Regenerated.
4006         * include/libc-internal.h (libc_max_align_t): Remove typedef.
4007         * include/scratch_buffer.h: Include <stddef.h> instead of
4008         <libc-internal.h>.
4009         (struct scratch_buffer): Use max_align_t instead of
4010         libc_max_align_t.
4012 2015-10-29  Florian Weimer  <fweimer@redhat.com>
4014         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
4015         instead of extend_alloca.  Change control flow to avoid a goto.
4016         Remove assert which is trivially always true.
4018 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4020         [BZ #16068]
4021         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
4022         (FE_ALL_EXCEPT_X86): New macro.
4023         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
4024         FE_ALL_EXCEPT.  Ensure precision control is included in
4025         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
4026         handle "denormal operand exception" and clear FZ and DAZ bits.
4027         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
4028         (FE_ALL_EXCEPT_X86): New macro.
4029         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
4030         FE_ALL_EXCEPT.  Ensure precision control is included in
4031         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
4032         handle "denormal operand exception" and clear FZ and DAZ bits.
4033         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
4034         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
4035         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4036         test-fenv-x87 and test-fenv-sse-2.
4037         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
4039         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
4040         * math/test-double.h (BUILD_COMPLEX): New macro.
4041         * math/test-float.h (BUILD_COMPLEX): Likewise.
4042         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
4044         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
4045         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
4046         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
4047         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
4048         instead of DBL_DENORM_MIN in comment.
4049         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
4050         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
4051         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
4052         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
4053         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
4054         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
4056 2015-10-28  Florian Weimer  <fweimer@redhat.com>
4058         [BZ# 19048]
4059         * malloc/malloc.c (struct malloc_state): Update comment.  Add
4060         attached_threads member.
4061         (main_arena): Initialize attached_threads.
4062         * malloc/arena.c (list_lock): Update comment.
4063         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
4064         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
4065         (deattach_arena): New function.
4066         (_int_new_arena): Initialize arena reference count and deattach
4067         replaced arena.
4068         (get_free_list, reused_arena): Update reference count and deattach
4069         replaced arena.
4070         (arena_thread_freeres): Update arena reference count and only put
4071         unreferenced arenas on the free list.
4073 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4075         [BZ #19181]
4076         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
4077         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
4078         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
4079         * math/test-fenv-clear-main.c: New file.
4080         * math/test-fenv-clear.c: Likewise.
4081         * math/Makefile (tests): Add test-fenv-clear.
4082         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
4083         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4084         test-fenv-clear-sse.
4085         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
4087         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
4088         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
4089         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
4091 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4093         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
4094         static libc.
4096 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4098         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
4099         test.
4100         * sysdeps/i386/configure: Regenerated.
4101         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
4102         test.
4103         * sysdeps/x86_64/configure: Regenerated.
4104         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
4105         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4106         memset-avx2 unconditionally instead of conditionally on
4107         [$(config-cflags-avx2) = yes].
4108         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4109         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
4110         unconditional.
4111         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
4112         * sysdeps/x86_64/multiarch/memset_chk.S
4113         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
4114         to [IS_IN (libc) && SHARED].
4116 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4118         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
4119         configure test.
4120         * sysdeps/arm/configure: Regenerated.
4121         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
4122         Define variable if not already defined.
4124         [BZ #17404]
4125         * sysdeps/mips/atomic-machine.h
4126         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
4127         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
4128         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
4130         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
4131         unconditional.
4132         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
4133         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4134         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
4135         unconditional.
4136         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4137         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
4138         unconditional.
4139         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4140         * stdlib/setenv.c
4141         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
4142         code unconditional.
4143         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
4144         Remove conditional code.
4145         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4146         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
4147         unconditional.
4148         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4149         code.
4150         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4151         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
4152         unconditional.
4153         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4154         code.
4155         * sysdeps/ieee754/ldbl-128/k_tanl.c
4156         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4157         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4158         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
4159         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4160         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4161         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
4162         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
4163         unconditional.
4164         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4165         code.
4166         * sysdeps/ieee754/ldbl-96/k_tanl.c
4167         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4168         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4170         * nptl/tst-initializers1-c11.c: New file.
4171         * nptl/tst-initializers1-gnu11.c: Likewise.
4172         * nptl/Makefile (tests): Add these new tests.
4173         (CFLAGS-tst-initializers1-c11.c): New variable.
4174         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
4176         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
4177         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
4178         instead of -std=gnu99.
4179         * configure.ac (systemtap): Test with -std=gnu11 instead of
4180         -std=gnu99.
4181         * configure: Regenerated.
4182         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
4183         in compilation command in comment.
4185         * sysdeps/nptl/configure.ac: Remove file.
4186         * sysdeps/nptl/configure: Remove generated file.
4187         * configure.ac (libc_cv_forced_unwind): Do not substitute.
4188         * configure: Regenerated.
4189         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
4190         * config.make.in (have-forced-unwind): Remove variable.
4191         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4192         unconditional.
4193         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
4194         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
4195         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
4196         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
4197         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4198         unconditional.
4200 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4202         [BZ #19174]
4203         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
4204         .skip_lock_out_of_tbegin_retries.
4205         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4206         (__lll_lock_elision): Likewise, and respect a value of
4207         try_tbegin <= 0.
4209 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4211         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
4212         statement.
4214 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4216         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
4217         variable.
4218         (test-xfail-ISO11/stdalign.h/conform): Likewise.
4219         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4221         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
4222         of -std=c1x -D_ISOC11_SOURCE.
4224         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
4225         * configure: Regenerated.
4226         * manual/install.texi (Tools for Compilation): Document
4227         requirement for GCC 4.7 or later.
4228         * INSTALL: Regenerated.
4230 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
4232         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
4233         on CNT to a conditional jump to 'puntdata'.
4235 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4237         * configure.ac (libc_cv_gcc___thread): Remove configure test.
4238         (libc_cv_gcc_tls_model_attr): Likewise.
4239         * configure: Regenerated.
4241         * configure.ac (libc_cv_need_minus_P): Remove configure test.
4242         * configure: Regenerated.
4243         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
4245 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
4247         * configure.ac (old_glibc_headers): Remove configure test.
4248         * configure: Regenerated.
4249         * config.make.in (old-glibc-headers): Remove variable.
4250         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
4251         (install): Remove dependency on remove-old-headers.
4252         (headers2_0): Remove variable.
4253         (remove-old-headers): Remove rule.
4255         * configure.ac (libc_cv_dot_text): Remove configure test.
4256         (libc_cv_asm_set_directive): Use .text instead of
4257         ${libc_cv_dot_text} in configure test.
4258         * configure: Regenerated.
4260 2015-10-26  Florian Weimer  <fweimer@redhat.com>
4262         [BZ #19168]
4263         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4265 2015-10-26  Florian Weimer  <fweimer@redhat.com>
4267         * configure.ac (CXX): Clear the variable if the C++ toolchain does
4268         not support static linking.
4269         * configure: Regenerate.
4271 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
4273         * math/libm-test.inc (check_float_internal): Do not special-case
4274         errors up to 0.5 ulp.
4276         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4277         log2.
4278         * math/auto-libm-test-out: Regenerated.
4279         * math/libm-test.inc (MAX_EXP): New macro.
4280         (ilogb_test_data): Add more tests.
4281         (isfinite_test_data): Likewise.
4282         (isgreater_test_data): Likewise.
4283         (isgreaterequal_test_data): Likewise.
4284         (isinf_test_data): Likewise.
4285         (isless_test_data): Likewise.
4286         (islessequal_test_data): Likewise.
4287         (islessgreater_test_data): Likewise.
4288         (isnan_test_data): Likewise.
4289         (isnormal_test_data): Likewise.
4290         (issignaling_test_data): Likewise.
4291         (isunordered_test_data): Likewise.
4292         (j0_test_data): Likewise.
4293         (j1_test_data): Likewise.
4294         (jn_test_data): Likewise.
4295         (lgamma_test_data): Likewise.
4296         (log_test_data): Likewise.
4297         (log10_test_data): Likewise.
4298         (log1p_test_data): Likewise.
4299         (log2_test_data): Likewise.
4300         (logb_test_data): Likewise.
4301         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4303         [BZ #18611]
4304         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
4305         avoid excess range and precision on underflow.
4306         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4307         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
4308         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4309         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
4310         underflow.
4311         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4312         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4313         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4314         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4315         * math/auto-libm-test-in: Do not allow missing errno setting for
4316         tests of j1 and jn.
4317         * math/auto-libm-test-out: Regenerated.
4319 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
4321         [BZ #15491]
4322         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
4323         floating-point environment instead of clearing all exceptions.
4324         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4325         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
4326         merging in "invalid" exceptions from frndint.
4327         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4328         * math/test-nearbyint-except.c: New file.
4329         * math/Makefile (tests): Add test-nearbyint-except.
4331 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
4333         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
4335         * sysdeps/tile/libm-test-ulps: Regenerated.
4337 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
4340         (__NR_sync_file_range2): Assume it is always defined.
4341         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4342         (__NR_sync_file_range): Assume it is always defined.
4344 2015-10-22  Andreas Schwab  <schwab@suse.de>
4346         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
4347         INTERNAL_SYSCALL_ERRNO.
4348         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4349         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
4350         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4351         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
4352         Likewise.
4353         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4355 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4357         * io/tst-fcntl.c (fd): New static variable.
4358         (do_prepare): Open temporary file here....
4359         (do_test): ...not here.
4361         * io/ftwtest-sh: Also trap on exit to remove temporary files.
4363 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
4365         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
4366         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4367         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4368         Moved before "#ifdef __ASSEMBLER__".
4370 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4372         [BZ #19156]
4373         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
4374         arguments very close to 0.
4376 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
4378         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
4379         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
4381 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
4383         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4384         New.  Defined for GCC 5 and above when not compiling for
4385         profiling.
4386         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4388         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4389         Renamed to ...
4390         (CFLAGS-epoll_pwait.o): This.
4391         (CFLAGS-mmap.c): Renamed to ...
4392         (CFLAGS-mmap.o): This.
4393         (CFLAGS-mmap64.c): Renamed to ...
4394         (CFLAGS-mmap64.o): This.
4395         (CFLAGS-epoll_pwait.os): New.
4396         (CFLAGS-mmap.os): Likewise.
4397         (CFLAGS-mmap64.os): Likewise.
4398         (CFLAGS-semtimedop.os): Likewise.
4399         (CFLAGS-semtimedop.c): Renamed to ...
4400         (CFLAGS-semtimedop.o): This.
4402 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4404         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
4405         warning message.
4407 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4409         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
4410         * Makefile ($(objpfx)c++-types-check.out): Filter out
4411         $(+gccwarn-c) instead of -Wstrict-prototypes.
4413         * io/fts.c (fts_open): Convert to prototype-style function
4414         definition.
4415         * malloc/mcheck.c (mcheck): Likewise.
4416         (mcheck_pedantic): Likewise.
4417         * posix/regexec.c (re_search_2_stub): Likewise.  Use
4418         internal_function.
4419         (re_search_internal): Likewise.
4420         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
4421         prototype-style function definition.
4422         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4423         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4424         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
4425         (xdr_utmpptr): Likewise.
4426         (xdr_utmparr): Likewise.
4427         (xdr_utmpidle): Likewise.
4428         (xdr_utmpidleptr): Likewise.
4429         (xdr_utmpidlearr): Likewise.
4431         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
4432         log, log10 and log2.
4433         * math/auto-libm-test-out: Regenerated.
4434         * math/libm-test.inc (fmod_test_data): Add more tests.
4435         (fpclassify_test_data): Likewise.
4436         (frexp_test_data): Likewise.
4437         (hypot_test_data): Likewise.
4438         (ilogb_test_data): Likewise.
4440 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
4442         * debug/fortify_fail.c (__fortify_fail): Convert to
4443         prototype-style function definition.  Use internal_function.
4444         * libio/genops.c (save_for_backup): Convert to prototype-style
4445         function definition.
4446         * libio/wgenops.c (save_for_wbackup): Likewise.
4447         * login/grantpt.c (grantpt): Likewise.
4448         * login/ptsname.c (ptsname): Likewise.
4449         (__ptsname_r): Likewise.
4450         * login/unlockpt.c (unlockpt): Likewise.
4451         * mach/msgserver.c (__mach_msg_server): Likewise.
4452         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
4453         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
4454         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
4455         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
4456         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
4457         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
4458         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
4459         Likewise.
4460         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
4461         internal_function.
4462         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
4463         prototype-style function definition.
4464         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
4465         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
4466         (__pthread_create_2_0): Likewise.
4467         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
4468         * nptl/register-atfork.c (__register_atfork): Likewise.
4469         * posix/glob.c (glob): Likewise.
4470         * posix/regcomp.c (re_comp): Likewise.
4471         * posix/regexec.c (re_exec): Likewise.
4472         * stdlib/add_n.c [__STDC__]: Make code unconditional.
4473         [!__STDC__]: Remove conditional code.
4474         * stdlib/cmp.c [__STDC__]: Make code unconditional.
4475         [!__STDC__]: Remove conditional code.
4476         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
4477         [!__STDC__]: Remove conditional code.
4478         * stdlib/divrem.c [__STDC__]: Make code unconditional.
4479         [!__STDC__]: Remove conditional code.
4480         * stdlib/lshift.c [__STDC__]: Make code unconditional.
4481         [!__STDC__]: Remove conditional code.
4482         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
4483         [!__STDC__]: Remove conditional code.
4484         * stdlib/mul.c [__STDC__]: Make code unconditional.
4485         [!__STDC__]: Remove conditional code.
4486         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
4487         [!__STDC__]: Remove conditional code.
4488         * stdlib/rshift.c [__STDC__]: Make code unconditional.
4489         [!__STDC__]: Remove conditional code.
4490         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
4491         function definition.
4492         (STRTOF): Likewise.
4493         * stdlib/strtod_l.c (__STRTOF): Likewise.
4494         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
4495         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
4496         (__strtol_l): Likewise.
4497         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
4498         [!__STDC__]: Remove conditional code.
4499         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
4500         definition.
4501         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4502         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4503         type.
4504         (__strcasecmp): Convert to prototype-style function definition.
4505         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
4506         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4507         type.
4508         (__strncasecmp): Convert to prototype-style function definition.
4509         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
4510         * sunrpc/xdr.c (xdr_union): Likewise.
4511         * sunrpc/xdr_array.c (xdr_array): Likewise.
4512         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
4513         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
4514         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
4515         Likewise.
4516         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
4517         Likewise.
4518         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
4519         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4520         Likewise.
4521         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
4522         (LOCALE_PARAM_PROTO): Likewise.
4523         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
4524         argument type.
4525         (ut_argument_spec): Remove macro.
4526         (ut_argument_spec_iso): Rename to ut_argument_spec.
4527         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
4528         prototype-style function definition.
4529         (memcpy_uppcase): Likewise.
4530         (__strftime_internal): Likewise.
4531         (my_strftime): Likewise.
4532         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
4533         (LOCALE_PARAM_DECL): Likewise.
4534         [_LIBC] (LOCALE_PARAM): Include argument type.
4535         (__strptime_internal): Convert to prototype-style function
4536         definition.
4537         (strptime): Likewise.
4538         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4539         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4540         type.
4541         (__wcscasecmp): Convert to prototype-style function definition.
4542         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
4543         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4544         type.
4545         (__wcsncasecmp): Convert to prototype-style function definition.
4547         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
4548         function definition.
4549         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4550         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4551         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
4552         * elf/dl-minimal.c (_itoa): Likewise.
4553         * hurd/hurdmalloc.c (malloc): Likewise.
4554         (free): Likewise.
4555         (realloc): Likewise.
4556         * inet/inet6_option.c (inet6_option_space): Likewise.
4557         (inet6_option_init): Likewise.
4558         (inet6_option_append): Likewise.
4559         (inet6_option_alloc): Likewise.
4560         (inet6_option_next): Likewise.
4561         (inet6_option_find): Likewise.
4562         * io/ftw.c (FTW_NAME): Likewise.
4563         (NFTW_NAME): Likewise.
4564         (NFTW_NEW_NAME): Likewise.
4565         (NFTW_OLD_NAME): Likewise.
4566         * libio/iofwide.c (_IO_fwide): Likewise.
4567         * libio/strops.c (_IO_str_init_static_internal): Likewise.
4568         (_IO_str_init_static): Likewise.
4569         (_IO_str_init_readonly): Likewise.
4570         (_IO_str_overflow): Likewise.
4571         (_IO_str_underflow): Likewise.
4572         (_IO_str_count): Likewise.
4573         (_IO_str_seekoff): Likewise.
4574         (_IO_str_pbackfail): Likewise.
4575         (_IO_str_finish): Likewise.
4576         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
4577         (_IO_wstr_overflow): Likewise.
4578         (_IO_wstr_underflow): Likewise.
4579         (_IO_wstr_count): Likewise.
4580         (_IO_wstr_seekoff): Likewise.
4581         (_IO_wstr_pbackfail): Likewise.
4582         (_IO_wstr_finish): Likewise.
4583         * locale/programs/localedef.c (normalize_codeset): Likewise.
4584         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
4585         (add_locales_to_archive): Likewise.
4586         (delete_locales_from_archive): Likewise.
4587         * malloc/malloc.c (__libc_mallinfo): Likewise.
4588         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
4589         * misc/tsearch.c (__tfind): Likewise.
4590         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
4591         * nptl/pthread_attr_getdetachstate.c
4592         (__pthread_attr_getdetachstate): Likewise.
4593         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
4594         Likewise.
4595         * nptl/pthread_attr_getinheritsched.c
4596         (__pthread_attr_getinheritsched): Likewise.
4597         * nptl/pthread_attr_getschedparam.c
4598         (__pthread_attr_getschedparam): Likewise.
4599         * nptl/pthread_attr_getschedpolicy.c
4600         (__pthread_attr_getschedpolicy): Likewise.
4601         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
4602         Likewise.
4603         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
4604         Likewise.
4605         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
4606         Likewise.
4607         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
4608         Likewise.
4609         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
4610         (__pthread_attr_init_2_0): Likewise.
4611         * nptl/pthread_attr_setdetachstate.c
4612         (__pthread_attr_setdetachstate): Likewise.
4613         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
4614         Likewise.
4615         * nptl/pthread_attr_setinheritsched.c
4616         (__pthread_attr_setinheritsched): Likewise.
4617         * nptl/pthread_attr_setschedparam.c
4618         (__pthread_attr_setschedparam): Likewise.
4619         * nptl/pthread_attr_setschedpolicy.c
4620         (__pthread_attr_setschedpolicy): Likewise.
4621         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
4622         Likewise.
4623         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
4624         Likewise.
4625         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
4626         Likewise.
4627         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
4628         Likewise.
4629         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
4630         Likewise.
4631         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
4632         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
4633         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
4634         use internal_function.
4635         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
4636         prototype-style function definition.
4637         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
4638         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
4639         internal_function.
4640         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
4641         Convert to prototype-style function definition.
4642         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4643         Likewise.
4644         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4645         Likewise.
4646         (__pthread_mutex_unlock): Likewise.
4647         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
4648         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
4649         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
4650         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
4651         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
4652         * nss/makedb.c (process_input): Likewise.
4653         * posix/fnmatch.c (__strchrnul): Likewise.
4654         (__wcschrnul): Likewise.
4655         (fnmatch): Likewise.
4656         * posix/fnmatch_loop.c (FCT): Likewise.
4657         * posix/glob.c (globfree): Likewise.
4658         (__glob_pattern_type): Likewise.
4659         (__glob_pattern_p): Likewise.
4660         * posix/regcomp.c (re_compile_pattern): Likewise.
4661         (re_set_syntax): Likewise.
4662         (re_compile_fastmap): Likewise.
4663         (regcomp): Likewise.
4664         (regerror): Likewise.
4665         (regfree): Likewise.
4666         * posix/regexec.c (regexec): Likewise.
4667         (re_match): Likewise.
4668         (re_search): Likewise.
4669         (re_match_2): Likewise.
4670         (re_search_2): Likewise.
4671         (re_search_stub): Likewise.  Use internal_function
4672         (re_copy_regs): Likewise.
4673         (re_set_registers): Convert to prototype-style function
4674         definition.
4675         (prune_impossible_nodes): Likewise.  Use internal_function.
4676         * resolv/inet_net_pton.c (inet_net_pton): Convert to
4677         prototype-style function definition.
4678         (inet_net_pton_ipv4): Likewise.
4679         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4680         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
4681         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
4682         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
4683         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4684         Make variadic.
4685         * time/strptime_l.c (localtime_r): Convert to prototype-style
4686         function definition.
4687         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4688         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4689         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4690         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4692         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
4693         definition.
4694         (_ufc_doit_r): Likewise.
4695         * crypt/crypt_util.c (_ufc_copymem): Likewise.
4696         (_ufc_output_conversion_r): Likewise.
4697         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
4698         * inet/rcmd.c (rcmd_af): Likewise.
4699         (rcmd): Likewise.
4700         (ruserok_af): Likewise.
4701         (ruserok): Likewise.
4702         (ruserok2_sa): Likewise.
4703         (ruserok_sa): Likewise.
4704         (iruserok_af): Likewise.
4705         (iruserok): Likewise.
4706         (__ivaliduser): Likewise.
4707         (__validuser2_sa): Likewise.
4708         * inet/rexec.c (rexec_af): Likewise.
4709         (rexec): Likewise.
4710         * inet/ruserpass.c (ruserpass): Likewise.
4711         * locale/programs/xmalloc.c (xcalloc): Likewise.
4712         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
4713         * math/w_drem.c (__drem): Likewise.
4714         * math/w_dremf.c (__dremf): Likewise.
4715         * math/w_dreml.c (__dreml): Likewise.
4716         * misc/daemon.c (daemon): Likewise.
4717         * resolv/res_debug.c (p_fqnname): Likewise.
4718         * stdlib/div.c (div): Likewise.
4719         * string/memcmp.c (memcmp_bytes): Likewise.
4720         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
4721         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
4723         * crypt/cert.c (main): Convert to prototype-style function
4724         definition.
4725         * io/pipe.c (__pipe): Likewise.
4726         * io/pipe2.c (__pipe2): Likewise.
4727         * misc/futimesat.c (futimesat): Likewise.
4728         * misc/utimes.c (__utimes): Likewise.
4729         * posix/execve.c (__execve): Likewise.
4730         * posix/execvp.c (execvp): Likewise.
4731         * posix/execvpe.c (__execvpe): Likewise.
4732         * posix/fexecve.c (fexecve): Likewise.
4733         * socket/socketpair.c (socketpair): Likewise.
4734         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4735         * stdlib/erand48.c (erand48): Likewise.
4736         * stdlib/erand48_r.c (__erand48_r): Likewise.
4737         * stdlib/jrand48.c (jrand48): Likewise.
4738         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
4739         * stdlib/lcong48.c (lcong48): Likewise.
4740         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
4741         * stdlib/nrand48.c (nrand48): Likewise.
4742         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
4743         * stdlib/seed48.c (seed48): Likewise.
4744         * stdlib/seed48_r.c (__seed48_r): Likewise.
4745         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
4746         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
4747         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
4749 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
4751         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
4752         * configure: Regenerated.
4753         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
4754         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
4755         unconditional.
4756         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4757         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4758         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4759         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
4760         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
4761         unconditional.
4762         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4764         * posix/Makefile (CFLAGS-regex.c): Remove variable.
4765         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
4767         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
4768         function definition.
4769         * crypt/crypt_util.c (__encrypt_r): Likewise.
4770         * libio/genops.c (_IO_no_init): Likewise.
4771         * libio/iofopncook.c (_IO_fopencookie): Likewise.
4772         (_IO_old_fopencookie): Likewise.
4773         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4774         * libio/iogetline.c (_IO_getline): Likewise.
4775         (_IO_getline_info): Likewise.
4776         * libio/iogetwline.c (_IO_getwline): Likewise.
4777         (_IO_getwline_info): Likewise.
4778         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4779         * libio/vswprintf.c (_IO_vswprintf): Likewise.
4780         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
4781         (find_entry): Likewise.
4782         (iterate_table): Likewise.
4783         (lookup): Likewise.
4784         * login/forkpty.c (forkpty): Likewise.
4785         * misc/hsearch_r.c (__hsearch_r): Likewise.
4786         * misc/select.c (__select): Likewise.
4787         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
4788         Likewise.
4789         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
4790         Likewise.
4791         * nptl/old_pthread_cond_timedwait.c
4792         (__pthread_cond_timedwait_2_0): Likewise.
4793         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
4794         * nptl/pthread_barrierattr_getpshared.c
4795         (pthread_barrierattr_getpshared): Likewise.
4796         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4797         Likewise.
4798         * nptl/pthread_mutex_setprioceiling.c
4799         (pthread_mutex_setprioceiling): Likewise.
4800         * nptl/pthread_mutexattr_getprioceiling.c
4801         (pthread_mutexattr_getprioceiling): Likewise.
4802         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
4803         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4804         Likewise.
4805         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4806         Likewise.
4807         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
4808         Likewise.
4809         * socket/recvfrom.c (__recvfrom): Likewise.
4810         * socket/sendto.c (__sendto): Likewise.
4811         * socket/setsockopt.c (__setsockopt): Likewise.
4812         * stdio-common/_itoa.c (_itoa): Likewise.
4813         * stdio-common/_itowa.c (_itowa): Likewise.
4814         * stdio-common/reg-printf.c (__register_printf_specifier):
4815         Likewise.
4816         (__register_printf_function): Likewise.
4817         * stdio-common/tempname.c (__path_search): Likewise.
4818         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
4819         * stdlib/mul_1.c (mpn_mul_1): Likewise.
4820         * stdlib/random_r.c (__initstate_r): Likewise.
4821         * stdlib/setenv.c (__add_to_environ): Likewise.
4822         * stdlib/submul_1.c (mpn_submul_1): Likewise.
4823         * streams/getpmsg.c (getpmsg): Likewise.
4824         * streams/putmsg.c (putmsg): Likewise.
4825         * streams/putpmsg.c (putpmsg): Likewise.
4826         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
4827         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4828         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
4829         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
4830         * sunrpc/pm_getport.c (pmap_getport): Likewise.
4831         * sunrpc/svc_udp.c (cache_get): Likewise.
4832         * sunrpc/xdr_array.c (xdr_vector): Likewise.
4833         * sysdeps/mach/hurd/getcwd.c
4834         (__canonicalize_directory_name_internal): Likewise.
4835         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
4836         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
4837         * sysdeps/mach/hurd/select.c (__select): Likewise.
4838         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4839         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
4840         * sysdeps/sparc/nptl/pthread_barrier_init.c
4841         (__pthread_barrier_init): Likewise.
4842         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
4843         (__pthread_cond_timedwait): Likewise.
4844         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
4845         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
4846         Likewise.
4847         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
4848         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
4849         Likewise.
4850         * sysvipc/semtimedop.c (semtimedop): Likewise.
4851         * time/setitimer.c (__setitimer): Likewise.
4852         * time/strftime_l.c (emacs_strftime): Likewise.
4854 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
4856         * config.make.in (have-ssp): Delete.
4857         (stack-protector): New variable.
4858         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
4859         cache test for -fstack-protector-strong.  Export stack_protector to
4860         the best ssp flag.
4861         * configure: Regenerated.
4862         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
4863         * nscd/Makefile (CFLAGS-nscd): Likewise.
4864         * resolv/Makefile (CFLAGS-libresolv): Likewise.
4866 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
4868         [BZ #19122]
4869         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
4870         attribute_hidden.
4872 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4874         [BZ #18743]
4875         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
4876         code to...
4877         (ELIDE_LOCK): ...here.
4878         (__get_new_count): New function with part of the code from
4879         __elide_lock that updates the value of adapt_count after a
4880         transaction abort.
4881         (__elided_trylock): Moved this code to...
4882         (ELIDE_TRYLOCK): ...here.
4884 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
4886         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
4887         * configure: Regenerate.
4888         * INSTALL: Regenerate.
4889         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
4890         and tweak grammar.
4892 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
4894         * login/programs/pt_chown.c: Include signal.h
4895         (main): Clear any signal mask from the parent process.
4897 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
4899         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
4900         * configure: Regenerated.
4901         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
4902         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
4903         $(gnu89-inline-CFLAGS).
4905         * configure.ac (libc_cv_asm_weak_directive): Remove configure
4906         test.
4907         (libc_cv_asm_weakext_directive): Likewise.
4908         * configure: Regenerated.
4909         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
4910         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
4911         * include/libc-symbols.h
4912         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
4913         #error.
4914         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
4915         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
4917         * sysdeps/arm/backtrace.c (__backtrace): Convert to
4918         prototype-style function definition.
4919         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
4920         * sysdeps/i386/ffs.c (__ffs): Likewise.
4921         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4922         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
4923         Likewise.
4924         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4925         Likewise.
4926         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4927         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4928         Likewise.
4929         * sysdeps/m68k/ffs.c (__ffs): Likewise.
4930         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
4931         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
4932         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
4933         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
4934         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
4935         * sysdeps/mach/hurd/access.c (__access): Likewise.
4936         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
4937         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
4938         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
4939         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
4940         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
4941         (cthread_getspecific): Likewise.
4942         (cthread_setspecific): Likewise.
4943         (__libc_getspecific): Likewise.
4944         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
4945         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
4946         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
4947         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
4948         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
4949         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
4950         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
4951         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
4952         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
4953         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
4954         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
4955         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
4956         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
4957         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
4958         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
4959         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
4960         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
4961         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
4962         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
4963         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
4964         * sysdeps/mach/hurd/link.c (__link): Likewise.
4965         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
4966         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
4967         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
4968         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
4969         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4970         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
4971         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
4972         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
4973         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4974         * sysdeps/mach/hurd/rename.c (rename): Likewise.
4975         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
4976         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
4977         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
4978         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
4979         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
4980         * sysdeps/mach/hurd/send.c (__send): Likewise.
4981         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
4982         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
4983         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
4984         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
4985         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
4986         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
4987         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
4988         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
4989         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
4990         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
4991         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
4992         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
4993         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
4994         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
4995         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
4996         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4997         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
4998         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
4999         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
5000         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
5001         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
5002         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
5003         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
5004         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
5005         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
5006         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
5007         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
5008         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
5009         * sysdeps/posix/alarm.c (alarm): Likewise.
5010         * sysdeps/posix/cuserid.c (cuserid): Likewise.
5011         * sysdeps/posix/dirfd.c (dirfd): Likewise.
5012         * sysdeps/posix/dup.c (__dup): Likewise.
5013         * sysdeps/posix/dup2.c (__dup2): Likewise.
5014         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
5015         (main): Likewise.
5016         * sysdeps/posix/flock.c (__flock): Likewise.
5017         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
5018         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
5019         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
5020         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
5021         * sysdeps/posix/isatty.c (__isatty): Likewise.
5022         * sysdeps/posix/killpg.c (killpg): Likewise.
5023         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
5024         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
5025         * sysdeps/posix/raise.c (raise): Likewise.
5026         * sysdeps/posix/remove.c (remove): Likewise.
5027         * sysdeps/posix/rename.c (rename): Likewise.
5028         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
5029         * sysdeps/posix/seekdir.c (seekdir): Likewise.
5030         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
5031         * sysdeps/posix/sigignore.c (sigignore): Likewise.
5032         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
5033         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
5034         * sysdeps/posix/sigset.c (sigset): Likewise.
5035         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
5036         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
5037         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
5038         * sysdeps/posix/time.c (time): Likewise.
5039         * sysdeps/posix/ttyname.c (getttyname): Likewise.
5040         (ttyname): Likewise.
5041         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
5042         * sysdeps/posix/utime.c (utime): Likewise.
5043         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
5044         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
5045         Likewise.
5046         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
5047         (pthread_spin_trylock): Likewise.
5048         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
5049         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
5050         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
5051         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
5052         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
5053         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
5054         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
5055         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
5056         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
5057         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
5058         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
5059         * sysdeps/s390/ffs.c (__ffs): Likewise.
5060         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
5061         Likewise.
5062         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5063         Likewise.
5064         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
5065         Likewise.
5066         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
5067         (pthread_barrier_destroy): Likewise.
5068         * sysdeps/sparc/nptl/pthread_barrier_wait.c
5069         (__pthread_barrier_wait): Likewise.
5070         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
5071         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
5072         (__pthread_barrier_wait): Likewise.
5073         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
5074         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
5075         (memcmp_not_common_alignment): Likewise.
5076         (MEMCMP): Likewise.
5077         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
5078         (_wordcopy_fwd_dest_aligned): Likewise.
5079         (_wordcopy_bwd_aligned): Likewise.
5080         (_wordcopy_bwd_dest_aligned): Likewise.
5081         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
5082         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
5083         * sysdeps/unix/bsd/stty.c (stty): Likewise.
5084         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
5085         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
5086         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
5087         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
5088         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
5089         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
5090         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
5091         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
5092         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5093         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
5094         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
5095         * sysdeps/unix/stime.c (stime): Likewise.
5096         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
5097         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
5098         Likewise.  Use internal_function.
5099         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
5100         Convert to prototype-style function definition.
5101         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5102         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5103         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
5104         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5105         Likewise.  Use internal_function.
5106         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
5107         prototype-style function definition
5108         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5109         Likewise.
5110         (__getlogin_r): Likewise.
5111         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
5112         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
5113         (__pthread_cond_broadcast): Likewise.
5114         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
5115         (__pthread_cond_destroy): Likewise.
5116         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
5117         (__pthread_cond_init): Likewise.
5118         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
5119         (__pthread_cond_signal): Likewise.
5120         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5121         (__pthread_cond_wait): Likewise.
5122         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
5123         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5124         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
5125         Likewise.
5126         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
5127         Likewise.
5128         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
5129         Likewise.
5130         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
5131         Likewise.
5132         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
5133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
5134         (__ftruncate64): Likewise.
5135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
5136         (truncate64): Likewise.
5137         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
5138         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
5139         (pthread_getcpuclockid): Likewise.
5140         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
5141         Likewise.
5142         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
5143         Likewise.
5144         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
5145         Likewise.
5146         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
5147         Likewise.
5148         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
5149         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
5150         (__libc_sigaction): Likewise.
5151         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
5152         Likewise.
5153         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
5154         (__sigprocmask): Likewise.
5155         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
5156         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
5157         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
5158         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5159         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5160         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
5161         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5162         Likewise.
5163         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
5164         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
5165         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5166         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
5167         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
5168         Likewise.
5169         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
5170         (__sigprocmask): Likewise.
5171         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
5172         (cfgetispeed): Likewise.
5173         (cfsetospeed): Likewise.
5174         (cfsetispeed): Likewise.
5175         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
5176         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
5177         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5178         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5179         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
5180         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
5181         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
5182         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
5183         Likewise.
5184         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
5185         Likewise.
5186         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
5187         Likewise.
5188         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
5189         Likewise.
5190         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
5192 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5194         sunrpc: Rewrite with explicit TLS access using __thread.
5195         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
5196         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
5197         directly.
5198         (__rpc_thread_variables): Access thread_rpc_vars directly.
5199         Eliminate redundant assignment of the tvp variable.
5201 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5203         malloc: Rewrite with explicit TLS access using __thread.
5204         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
5205         (tsd_setspecific, tsd_getspecific): Remove.
5206         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
5207         (tsd_setspecific, tsd_getspecific): Likewise.
5208         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
5209         (tsd_setspecific, tsd_getspecific): Likewise.
5210         * malloc/arena.c (thread_arena): New TLS variable.
5211         (arena_key): Remove variable.
5212         (arena_get): Use thread_arena.
5213         (arena_lookup): Remove macro.
5214         (malloc_atfork, free_atfork, ptmalloc_lock_all)
5215         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
5216         (_int_new_arena, get_free_list, reused_arena)
5217         (arena_thread_freeres): Use thread_arena.
5218         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
5219         tsd_getspecific, tsd_setspecific from safety annotations.
5220         (Allocating Cleared Space): Remove arena_lookup from safety
5221         annotations.
5223 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5225         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
5226         struct scratch_buffer instead of extend_alloca.
5228 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5230         * sysdeps/unix/sysv/linux/kernel-features.h
5231         (__ASSUME_SOCK_CLOEXEC): Remove.
5232         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
5233         (__have_paccept): Remove unused macro.
5234         * include/unistd.h (__have_sock_cloexec): Remove declaration.
5235         * misc/syslog.c (openlog_internal): Remove fallback code for
5236         !__ASSUME_SOCK_CLOEXEC.
5237         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
5238         missing SOCK_CLOEXEC.
5239         * nscd/connections.c (have_sock_cloexec): Remove definition.
5240         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5241         * nscd/nscd_helper.c (open_socket): Remove fallback code for
5242         !__ASSUME_SOCK_CLOEXEC.
5243         * resolv/res_send.c (__have_o_nonblock): Remove definition.
5244         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5245         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
5246         definition.
5247         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
5248         code for !__ASSUME_SOCK_CLOEXEC.
5250 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5252         [BZ #18982]
5253         * manual/stdio.texi (Variable Arguments Output): Add portability
5254         note, explaining that vfprintf clobbers the va_list pointer.
5256 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
5258         * math/libm-test.inc (fabs_test_data): Add more tests.
5259         (fdim_test_data): Likewise.
5260         (fma_test_data): Likewise.
5261         (fmax_test_data): Likewise.
5262         (fmin_test_data): Likewise.
5263         (fmod_test_data): Likewise.
5265 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
5267         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
5268         data.
5270 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
5272         * math/libm-test.inc (ceil_test_data): Add more tests and more
5273         expectations for "inexact".
5274         (floor_test_data): Add more tests.
5275         (round_test_data): Likewise.
5276         (trunc_test_data): Likewise.
5278         * crypt/cert.c (good_bye): Convert to prototype-style function
5279         definition.
5280         (get8): Likewise.
5281         (put8): Likewise.
5282         * crypt/crypt-entry.c (crypt): Likewise.
5283         (__fcrypt): Likewise.
5284         * crypt/crypt_util.c (_ufc_prbits): Likewise.
5285         (_ufc_set_bits): Likewise.
5286         (_ufc_clearmem): Likewise.
5287         (__init_des_r): Likewise.
5288         (shuffle_sb): Likewise.
5289         (shuffle_sb): Likewise.
5290         (_ufc_setup_salt_r): Likewise.
5291         (_ufc_mk_keytab_r): Likewise.
5292         (_ufc_dofinalperm_r): Likewise.
5293         (encrypt): Likewise.
5294         (__setkey_r): Likewise.
5295         (setkey): Likewise.
5296         * crypt/md5.c (md5_init_ctx): Likewise.
5297         (md5_read_ctx): Likewise.
5298         (md5_finish_ctx): Likewise.
5299         (md5_stream): Likewise.
5300         (md5_buffer): Likewise.
5301         (md5_process_bytes): Likewise.
5302         * crypt/sha256.c (__sha256_init_ctx): Likewise.
5303         (__sha256_finish_ctx): Likewise.
5304         (__sha256_process_bytes): Likewise.
5305         * crypt/sha512.c (__sha512_init_ctx): Likewise.
5306         (__sha512_finish_ctx): Likewise.
5307         (__sha512_process_bytes): Likewise.
5308         * ctype/isctype.c (__isctype): Likewise.
5309         * debug/backtrace.c (__backtrace): Likewise.
5310         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
5311         * debug/fgets_chk.c (__fgets_chk): Likewise.
5312         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
5313         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
5314         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
5315         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
5316         * debug/memset_chk.c (__memset_chk): Likewise.
5317         * debug/strcat_chk.c (__strcat_chk): Likewise.
5318         * debug/strncat_chk.c (__strncat_chk): Likewise.
5319         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
5320         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
5321         * dirent/dirfd.c (dirfd): Likewise.
5322         * dirent/getdents.c (__getdirentries): Likewise.
5323         * dirent/getdents64.c (getdirentries64): Likewise.
5324         * dirent/rewinddir.c (__rewinddir): Likewise.
5325         * dirent/seekdir.c (seekdir): Likewise.
5326         * dirent/telldir.c (telldir): Likewise.
5327         * elf/sln.c (makesymlinks): Likewise.
5328         (makesymlink): Likewise.
5329         * gmon/gmon.c (__moncontrol): Likewise.
5330         (__monstartup): Likewise.
5331         (write_hist): Likewise.
5332         (write_call_graph): Likewise.
5333         (write_bb_counts): Likewise.
5334         * grp/setgroups.c (setgroups): Likewise.
5335         * inet/inet_lnaof.c (inet_lnaof): Likewise.
5336         * inet/inet_net.c (inet_network): Likewise.
5337         * inet/inet_netof.c (inet_netof): Likewise.
5338         * inet/rcmd.c (rresvport_af): Likewise.
5339         (rresvport): Likewise.
5340         * io/access.c (__access): Likewise.
5341         * io/chdir.c (__chdir): Likewise.
5342         * io/chmod.c (__chmod): Likewise.
5343         * io/chown.c (__chown): Likewise.
5344         * io/close.c (__close): Likewise.
5345         * io/creat.c (creat): Likewise.
5346         * io/creat64.c (creat64): Likewise.
5347         * io/dup.c (__dup): Likewise.
5348         * io/dup2.c (__dup2): Likewise.
5349         * io/dup3.c (__dup3): Likewise.
5350         * io/euidaccess.c (__euidaccess): Likewise.
5351         * io/faccessat.c (faccessat): Likewise.
5352         * io/fchmod.c (__fchmod): Likewise.
5353         * io/fchmodat.c (fchmodat): Likewise.
5354         * io/fchown.c (__fchown): Likewise.
5355         * io/fchownat.c (fchownat): Likewise.
5356         * io/fcntl.c (__fcntl): Likewise.
5357         * io/flock.c (__flock): Likewise.
5358         * io/fts.c (fts_load): Likewise.
5359         (fts_close): Likewise.
5360         (fts_read): Likewise.
5361         (fts_set): Likewise.
5362         (fts_children): Likewise.
5363         (fts_build): Likewise.
5364         (fts_stat): Likewise.
5365         (fts_sort): Likewise.
5366         (fts_alloc): Likewise.
5367         (fts_lfree): Likewise.
5368         (fts_palloc): Likewise.
5369         (fts_padjust): Likewise.
5370         (fts_maxarglen): Likewise.
5371         (fts_safe_changedir): Likewise.
5372         * io/getwd.c (getwd): Likewise.
5373         * io/isatty.c (__isatty): Likewise.
5374         * io/lchown.c (__lchown): Likewise.
5375         * io/link.c (__link): Likewise.
5376         * io/linkat.c (linkat): Likewise.
5377         * io/lseek.c (__libc_lseek): Likewise.
5378         * io/mkdir.c (__mkdir): Likewise.
5379         * io/mkdirat.c (mkdirat): Likewise.
5380         * io/mkfifo.c (mkfifo): Likewise.
5381         * io/mkfifoat.c (mkfifoat): Likewise.
5382         * io/open.c (__libc_open): Likewise.
5383         * io/open64.c (__libc_open64): Likewise.
5384         * io/readlink.c (__readlink): Likewise.
5385         * io/readlinkat.c (readlinkat): Likewise.
5386         * io/rmdir.c (__rmdir): Likewise.
5387         * io/symlink.c (__symlink): Likewise.
5388         * io/symlinkat.c (symlinkat): Likewise.
5389         * io/ttyname.c (ttyname): Likewise.
5390         * io/ttyname_r.c (__ttyname_r): Likewise.
5391         * io/umask.c (__umask): Likewise.
5392         * io/unlink.c (__unlink): Likewise.
5393         * io/unlinkat.c (unlinkat): Likewise.
5394         * io/utime.c (utime): Likewise.
5395         * libio/clearerr.c (clearerr): Likewise.
5396         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
5397         * libio/feof.c (_IO_feof): Likewise.
5398         * libio/feof_u.c (feof_unlocked): Likewise.
5399         * libio/ferror.c (_IO_ferror): Likewise.
5400         * libio/ferror_u.c (ferror_unlocked): Likewise.
5401         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5402         * libio/fileno.c (__fileno): Likewise.
5403         * libio/fputc.c (fputc): Likewise.
5404         * libio/fputc_u.c (fputc_unlocked): Likewise.
5405         * libio/fputwc.c (fputwc): Likewise.
5406         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
5407         * libio/freopen.c (freopen): Likewise.
5408         * libio/freopen64.c (freopen64): Likewise.
5409         * libio/fseek.c (fseek): Likewise.
5410         * libio/fseeko.c (fseeko): Likewise.
5411         * libio/fseeko64.c (fseeko64): Likewise.
5412         * libio/ftello.c (__ftello): Likewise.
5413         * libio/ftello64.c (ftello64): Likewise.
5414         * libio/fwide.c (fwide): Likewise.
5415         * libio/genops.c (_IO_un_link): Likewise.
5416         (_IO_link_in): Likewise.
5417         (_IO_least_marker): Likewise.
5418         (_IO_switch_to_main_get_area): Likewise.
5419         (_IO_switch_to_backup_area): Likewise.
5420         (_IO_switch_to_get_mode): Likewise.
5421         (_IO_free_backup_area): Likewise.
5422         (_IO_switch_to_put_mode): Likewise.
5423         (__overflow): Likewise.
5424         (__underflow): Likewise.
5425         (__uflow): Likewise.
5426         (_IO_setb): Likewise.
5427         (_IO_doallocbuf): Likewise.
5428         (_IO_default_underflow): Likewise.
5429         (_IO_default_uflow): Likewise.
5430         (_IO_default_xsputn): Likewise.
5431         (_IO_sgetn): Likewise.
5432         (_IO_default_xsgetn): Likewise.
5433         (_IO_sync): Likewise.
5434         (_IO_default_setbuf): Likewise.
5435         (_IO_default_seekpos): Likewise.
5436         (_IO_default_doallocate): Likewise.
5437         (_IO_init): Likewise.
5438         (_IO_old_init): Likewise.
5439         (_IO_default_sync): Likewise.
5440         (_IO_default_finish): Likewise.
5441         (_IO_default_seekoff): Likewise.
5442         (_IO_sputbackc): Likewise.
5443         (_IO_sungetc): Likewise.
5444         (_IO_set_column): Likewise.
5445         (_IO_set_column): Likewise.
5446         (_IO_adjust_column): Likewise.
5447         (_IO_get_column): Likewise.
5448         (_IO_init_marker): Likewise.
5449         (_IO_remove_marker): Likewise.
5450         (_IO_marker_difference): Likewise.
5451         (_IO_marker_delta): Likewise.
5452         (_IO_seekmark): Likewise.
5453         (_IO_unsave_markers): Likewise.
5454         (_IO_nobackup_pbackfail): Likewise.
5455         (_IO_default_pbackfail): Likewise.
5456         (_IO_default_seek): Likewise.
5457         (_IO_default_stat): Likewise.
5458         (_IO_default_read): Likewise.
5459         (_IO_default_write): Likewise.
5460         (_IO_default_showmanyc): Likewise.
5461         (_IO_default_imbue): Likewise.
5462         (_IO_iter_next): Likewise.
5463         (_IO_iter_file): Likewise.
5464         * libio/getc.c (_IO_getc): Likewise.
5465         * libio/getwc.c (_IO_getwc): Likewise.
5466         * libio/iofclose.c (_IO_new_fclose): Likewise.
5467         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
5468         * libio/iofflush.c (_IO_fflush): Likewise.
5469         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
5470         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
5471         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
5472         * libio/iofgets.c (_IO_fgets): Likewise.
5473         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
5474         * libio/iofgetws.c (fgetws): Likewise.
5475         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5476         * libio/iofopen64.c (_IO_fopen64): Likewise.
5477         * libio/iofopncook.c (_IO_cookie_read): Likewise.
5478         (_IO_cookie_write): Likewise.
5479         (_IO_cookie_seek): Likewise.
5480         (_IO_cookie_close): Likewise.
5481         (_IO_cookie_seekoff): Likewise.
5482         (_IO_old_cookie_seek): Likewise.
5483         * libio/iofputs.c (_IO_fputs): Likewise.
5484         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
5485         * libio/iofputws.c (fputws): Likewise.
5486         * libio/iofputws_u.c (fputws_unlocked): Likewise.
5487         * libio/iofread.c (_IO_fread): Likewise.
5488         * libio/iofread_u.c (__fread_unlocked): Likewise.
5489         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
5490         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
5491         * libio/ioftell.c (_IO_ftell): Likewise.
5492         * libio/iofwrite.c (_IO_fwrite): Likewise.
5493         * libio/iogetdelim.c (_IO_getdelim): Likewise.
5494         * libio/iogets.c (_IO_gets): Likewise.
5495         * libio/iopadn.c (_IO_padn): Likewise.
5496         * libio/iopopen.c (_IO_new_proc_open): Likewise.
5497         (_IO_new_popen): Likewise.
5498         (_IO_new_proc_close): Likewise.
5499         * libio/ioputs.c (_IO_puts): Likewise.
5500         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
5501         (_IO_seekoff): Likewise.
5502         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
5503         (_IO_seekpos): Likewise.
5504         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
5505         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5506         * libio/ioungetc.c (_IO_ungetc): Likewise.
5507         * libio/ioungetwc.c (ungetwc): Likewise.
5508         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5509         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5510         * libio/iowpadn.c (_IO_wpadn): Likewise.
5511         * libio/libc_fatal.c (__libc_fatal): Likewise.
5512         * libio/memstream.c (__open_memstream): Likewise.
5513         (_IO_mem_sync): Likewise.
5514         (_IO_mem_finish): Likewise.
5515         * libio/oldfileops.c (_IO_old_file_init): Likewise.
5516         (_IO_old_file_close_it): Likewise.
5517         (_IO_old_file_finish): Likewise.
5518         (_IO_old_file_fopen): Likewise.
5519         (_IO_old_file_attach): Likewise.
5520         (_IO_old_file_setbuf): Likewise.
5521         (_IO_old_do_write): Likewise.
5522         (old_do_write): Likewise.
5523         (_IO_old_file_underflow): Likewise.
5524         (_IO_old_file_overflow): Likewise.
5525         (_IO_old_file_sync): Likewise.
5526         (_IO_old_file_seekoff): Likewise.
5527         (_IO_old_file_write): Likewise.
5528         (_IO_old_file_xsputn): Likewise.
5529         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5530         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5531         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
5532         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
5533         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5534         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
5535         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
5536         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
5537         (_IO_old_popen): Likewise.
5538         (_IO_old_proc_close): Likewise.
5539         * libio/oldpclose.c (__old_pclose): Likewise.
5540         * libio/pclose.c (__new_pclose): Likewise.
5541         * libio/peekc.c (_IO_peekc_locked): Likewise.
5542         * libio/putc.c (_IO_putc): Likewise.
5543         * libio/putc_u.c (putc_unlocked): Likewise.
5544         * libio/putchar.c (putchar): Likewise.
5545         * libio/putchar_u.c (putchar_unlocked): Likewise.
5546         * libio/putwc.c (putwc): Likewise.
5547         * libio/putwc_u.c (putwc_unlocked): Likewise.
5548         * libio/putwchar.c (putwchar): Likewise.
5549         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
5550         * libio/rewind.c (rewind): Likewise.
5551         * libio/setbuf.c (setbuf): Likewise.
5552         * libio/setlinebuf.c (setlinebuf): Likewise.
5553         * libio/vasprintf.c (_IO_vasprintf): Likewise.
5554         * libio/vscanf.c (_IO_vscanf): Likewise.
5555         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
5556         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
5557         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
5558         * libio/wgenops.c (_IO_least_wmarker): Likewise.
5559         (_IO_switch_to_main_wget_area): Likewise.
5560         (_IO_switch_to_wbackup_area): Likewise.
5561         (_IO_wsetb): Likewise.
5562         (_IO_wdefault_pbackfail): Likewise.
5563         (_IO_wdefault_finish): Likewise.
5564         (_IO_wdefault_uflow): Likewise.
5565         (__woverflow): Likewise.
5566         (__wuflow): Likewise.
5567         (__wunderflow): Likewise.
5568         (_IO_wdefault_xsputn): Likewise.
5569         (_IO_wdefault_xsgetn): Likewise.
5570         (_IO_wdoallocbuf): Likewise.
5571         (_IO_wdefault_doallocate): Likewise.
5572         (_IO_switch_to_wget_mode): Likewise.
5573         (_IO_free_wbackup_area): Likewise.
5574         (_IO_switch_to_wput_mode): Likewise.
5575         (_IO_sputbackwc): Likewise.
5576         (_IO_sungetwc): Likewise.
5577         (_IO_adjust_wcolumn): Likewise.
5578         (_IO_init_wmarker): Likewise.
5579         (_IO_wmarker_delta): Likewise.
5580         (_IO_seekwmark): Likewise.
5581         (_IO_unsave_wmarkers): Likewise.
5582         * libio/wmemstream.c (open_wmemstream): Likewise.
5583         (_IO_wmem_sync): Likewise.
5584         (_IO_wmem_finish): Likewise.
5585         * locale/nl_langinfo.c (nl_langinfo): Likewise.
5586         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
5587         * locale/programs/simple-hash.c (init_hash): Likewise.
5588         (delete_hash): Likewise.
5589         (insert_entry): Likewise.
5590         (set_entry): Likewise.
5591         (next_prime): Likewise.
5592         (is_prime): Likewise.
5593         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
5594         (xmalloc): Likewise.
5595         (xrealloc): Likewise.
5596         * locale/programs/xstrdup.c (xstrdup): Likewise.
5597         * localedata/collate-test.c (xstrcoll): Likewise.
5598         * localedata/xfrm-test.c (xstrcmp): Likewise.
5599         * login/getlogin_r.c (__getlogin_r): Likewise.
5600         * login/getpt.c (__posix_openpt): Likewise.
5601         * login/login_tty.c (login_tty): Likewise.
5602         * login/setlogin.c (setlogin): Likewise.
5603         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
5604         (mach_msg_destroy_port): Likewise.
5605         (mach_msg_destroy_memory): Likewise.
5606         * malloc/mcheck.c (flood): Likewise.
5607         * misc/acct.c (acct): Likewise.
5608         * misc/brk.c (__brk): Likewise.
5609         * misc/chflags.c (chflags): Likewise.
5610         * misc/chroot.c (chroot): Likewise.
5611         * misc/fchflags.c (fchflags): Likewise.
5612         * misc/fstab.c (getfsspec): Likewise.
5613         (getfsfile): Likewise.
5614         * misc/fsync.c (fsync): Likewise.
5615         * misc/ftruncate.c (__ftruncate): Likewise.
5616         * misc/ftruncate64.c (__ftruncate64): Likewise.
5617         * misc/getdomain.c (getdomainname): Likewise.
5618         (getdomainname): Likewise.
5619         * misc/gethostname.c (__gethostname): Likewise.
5620         * misc/getpass.c (getpass): Likewise.
5621         * misc/getttyent.c (skip): Likewise.
5622         (value): Likewise.
5623         * misc/gtty.c (gtty): Likewise.
5624         * misc/hsearch.c (hsearch): Likewise.
5625         (hcreate): Likewise.
5626         * misc/hsearch_r.c (__hcreate_r): Likewise.
5627         (__hdestroy_r): Likewise.
5628         * misc/ioctl.c (__ioctl): Likewise.
5629         * misc/mkdtemp.c (mkdtemp): Likewise.
5630         * misc/mkostemp.c (mkostemp): Likewise.
5631         * misc/mkostemp64.c (mkostemp64): Likewise.
5632         * misc/mkostemps.c (mkostemps): Likewise.
5633         * misc/mkostemps64.c (mkostemps64): Likewise.
5634         * misc/mkstemp.c (mkstemp): Likewise.
5635         * misc/mkstemp64.c (mkstemp64): Likewise.
5636         * misc/mkstemps.c (mkstemps): Likewise.
5637         * misc/mkstemps64.c (mkstemps64): Likewise.
5638         * misc/mktemp.c (__mktemp): Likewise.
5639         * misc/preadv.c (preadv): Likewise.
5640         * misc/preadv64.c (preadv64): Likewise.
5641         * misc/pwritev.c (pwritev): Likewise.
5642         * misc/pwritev64.c (pwritev64): Likewise.
5643         * misc/readv.c (__readv): Likewise.
5644         * misc/revoke.c (revoke): Likewise.
5645         * misc/setdomain.c (setdomainname): Likewise.
5646         * misc/setegid.c (setegid): Likewise.
5647         * misc/seteuid.c (seteuid): Likewise.
5648         * misc/sethostid.c (sethostid): Likewise.
5649         * misc/sethostname.c (sethostname): Likewise.
5650         * misc/setregid.c (__setregid): Likewise.
5651         * misc/setreuid.c (__setreuid): Likewise.
5652         * misc/sstk.c (sstk): Likewise.
5653         * misc/stty.c (stty): Likewise.
5654         * misc/syscall.c (syscall): Likewise.
5655         * misc/syslog.c (setlogmask): Likewise.
5656         * misc/truncate.c (__truncate): Likewise.
5657         * misc/truncate64.c (truncate64): Likewise.
5658         * misc/ualarm.c (ualarm): Likewise.
5659         * misc/usleep.c (usleep): Likewise.
5660         * misc/ustat.c (ustat): Likewise.
5661         * misc/writev.c (__writev): Likewise.
5662         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
5663         * nptl/old_pthread_cond_broadcast.c
5664         (__pthread_cond_broadcast_2_0): Likewise.
5665         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
5666         Likewise.
5667         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
5668         Likewise.
5669         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
5670         Likewise.
5671         * nptl/pt-raise.c (raise): Likewise.
5672         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
5673         Likewise.
5674         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
5675         * nptl/pthread_barrierattr_destroy.c
5676         (pthread_barrierattr_destroy): Likewise.
5677         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
5678         Likewise.
5679         * nptl/pthread_barrierattr_setpshared.c
5680         (pthread_barrierattr_setpshared): Likewise.
5681         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5682         Likewise.
5683         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5684         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5685         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5686         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
5687         Likewise.
5688         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
5689         Likewise.
5690         * nptl/pthread_condattr_getpshared.c
5691         (pthread_condattr_getpshared): Likewise.
5692         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
5693         Likewise.
5694         * nptl/pthread_condattr_setpshared.c
5695         (pthread_condattr_setpshared): Likewise.
5696         * nptl/pthread_detach.c (pthread_detach): Likewise.
5697         * nptl/pthread_equal.c (__pthread_equal): Likewise.
5698         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
5699         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
5700         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
5701         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
5702         Likewise.
5703         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5704         Likewise.
5705         * nptl/pthread_mutex_getprioceiling.c
5706         (pthread_mutex_getprioceiling): Likewise.
5707         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
5708         Likewise.
5709         * nptl/pthread_mutexattr_getprotocol.c
5710         (pthread_mutexattr_getprotocol): Likewise.
5711         * nptl/pthread_mutexattr_getpshared.c
5712         (pthread_mutexattr_getpshared): Likewise.
5713         * nptl/pthread_mutexattr_getrobust.c
5714         (pthread_mutexattr_getrobust): Likewise.
5715         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5716         Likewise.
5717         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
5718         Likewise.
5719         * nptl/pthread_mutexattr_setprioceiling.c
5720         (pthread_mutexattr_setprioceiling): Likewise.
5721         * nptl/pthread_mutexattr_setprotocol.c
5722         (pthread_mutexattr_setprotocol): Likewise.
5723         * nptl/pthread_mutexattr_setpshared.c
5724         (pthread_mutexattr_setpshared): Likewise.
5725         * nptl/pthread_mutexattr_setrobust.c
5726         (pthread_mutexattr_setrobust): Likewise.
5727         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
5728         Likewise.
5729         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
5730         Likewise.
5731         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
5732         Likewise.
5733         * nptl/pthread_rwlockattr_getkind_np.c
5734         (pthread_rwlockattr_getkind_np): Likewise.
5735         * nptl/pthread_rwlockattr_getpshared.c
5736         (pthread_rwlockattr_getpshared): Likewise.
5737         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
5738         Likewise.
5739         * nptl/pthread_rwlockattr_setkind_np.c
5740         (pthread_rwlockattr_setkind_np): Likewise.
5741         * nptl/pthread_rwlockattr_setpshared.c
5742         (pthread_rwlockattr_setpshared): Likewise.
5743         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
5744         Likewise.
5745         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
5746         Likewise.
5747         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
5748         Likewise.
5749         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
5750         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
5751         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
5752         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
5753         * nptl/sem_close.c (sem_close): Likewise.
5754         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
5755         * nptl/sem_init.c (__old_sem_init): Likewise.
5756         * nptl/sigaction.c (__sigaction): Likewise.
5757         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
5758         * posix/_exit.c (_exit): Likewise.
5759         * posix/alarm.c (alarm): Likewise.
5760         * posix/confstr.c (confstr): Likewise.
5761         * posix/fpathconf.c (__fpathconf): Likewise.
5762         * posix/getgroups.c (__getgroups): Likewise.
5763         * posix/getpgid.c (__getpgid): Likewise.
5764         * posix/group_member.c (__group_member): Likewise.
5765         * posix/pathconf.c (__pathconf): Likewise.
5766         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
5767         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
5768         * posix/setgid.c (__setgid): Likewise.
5769         * posix/setpgid.c (__setpgid): Likewise.
5770         * posix/setuid.c (__setuid): Likewise.
5771         * posix/sleep.c (__sleep): Likewise.
5772         * posix/sysconf.c (__sysconf): Likewise.
5773         * posix/times.c (__times): Likewise.
5774         * posix/uname.c (__uname): Likewise.
5775         * posix/waitid.c (__waitid): Likewise.
5776         * pwd/getpw.c (__getpw): Likewise.
5777         * resolv/base64.c (b64_pton): Likewise.
5778         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
5779         * resolv/gethnamaddr.c (Dprintf): Likewise.
5780         (gethostbyname): Likewise.
5781         (gethostbyname2): Likewise.
5782         (gethostbyaddr): Likewise.
5783         (_sethtent): Likewise.
5784         (_gethtbyname): Likewise.
5785         (_gethtbyname2): Likewise.
5786         (_gethtbyaddr): Likewise.
5787         (map_v4v6_address): Likewise.
5788         (map_v4v6_hostent): Likewise.
5789         (addrsort): Likewise.
5790         (ht_sethostent): Likewise.
5791         (ht_gethostbyname): Likewise.
5792         (ht_gethostbyaddr): Likewise.
5793         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
5794         (inet_net_ntop_ipv4): Likewise.
5795         * resolv/inet_neta.c (inet_neta): Likewise.
5796         * resolv/inet_ntop.c (inet_ntop): Likewise.
5797         (inet_ntop4): Likewise.
5798         (inet_ntop6): Likewise.
5799         * resolv/inet_pton.c (__inet_pton): Likewise.
5800         (inet_pton4): Likewise.
5801         (inet_pton6): Likewise.
5802         * resolv/res_debug.c (loc_aton): Likewise.
5803         (loc_ntoa): Likewise.
5804         * resource/getpriority.c (__getpriority): Likewise.
5805         * resource/getrusage.c (__getrusage): Likewise.
5806         * resource/nice.c (nice): Likewise.
5807         * resource/setpriority.c (__setpriority): Likewise.
5808         * resource/setrlimit64.c (setrlimit64): Likewise.
5809         * resource/vlimit.c (vlimit): Likewise.
5810         * resource/vtimes.c (vtimes): Likewise.
5811         * rt/aio_error.c (aio_error): Likewise.
5812         * rt/aio_return.c (aio_return): Likewise.
5813         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
5814         * signal/kill.c (__kill): Likewise.
5815         * signal/killpg.c (killpg): Likewise.
5816         * signal/raise.c (raise): Likewise.
5817         * signal/sigaction.c (__sigaction): Likewise.
5818         * signal/sigaddset.c (sigaddset): Likewise.
5819         * signal/sigaltstack.c (sigaltstack): Likewise.
5820         * signal/sigandset.c (sigandset): Likewise.
5821         * signal/sigblock.c (__sigblock): Likewise.
5822         * signal/sigdelset.c (sigdelset): Likewise.
5823         * signal/sigempty.c (sigemptyset): Likewise.
5824         * signal/sigfillset.c (sigfillset): Likewise.
5825         * signal/sighold.c (sighold): Likewise.
5826         * signal/sigignore.c (sigignore): Likewise.
5827         * signal/sigintr.c (siginterrupt): Likewise.
5828         * signal/sigisempty.c (sigisemptyset): Likewise.
5829         * signal/sigismem.c (sigismember): Likewise.
5830         * signal/signal.c (signal): Likewise.
5831         * signal/sigorset.c (sigorset): Likewise.
5832         * signal/sigpause.c (__sigpause): Likewise.
5833         * signal/sigpending.c (sigpending): Likewise.
5834         * signal/sigprocmask.c (__sigprocmask): Likewise.
5835         * signal/sigrelse.c (sigrelse): Likewise.
5836         * signal/sigreturn.c (__sigreturn): Likewise.
5837         * signal/sigset.c (sigset): Likewise.
5838         * signal/sigsetmask.c (__sigsetmask): Likewise.
5839         * signal/sigstack.c (sigstack): Likewise.
5840         * signal/sigsuspend.c (__sigsuspend): Likewise.
5841         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
5842         * signal/sysv_signal.c (__sysv_signal): Likewise.
5843         * socket/accept.c (accept): Likewise.
5844         * socket/accept4.c (__libc_accept4): Likewise.
5845         * socket/bind.c (__bind): Likewise.
5846         * socket/connect.c (__connect): Likewise.
5847         * socket/getpeername.c (getpeername): Likewise.
5848         * socket/getsockname.c (__getsockname): Likewise.
5849         * socket/getsockopt.c (getsockopt): Likewise.
5850         * socket/listen.c (__listen): Likewise.
5851         * socket/recv.c (__recv): Likewise.
5852         * socket/recvmsg.c (__recvmsg): Likewise.
5853         * socket/send.c (__send): Likewise.
5854         * socket/sendmsg.c (__sendmsg): Likewise.
5855         * socket/shutdown.c (shutdown): Likewise.
5856         * socket/sockatmark.c (sockatmark): Likewise.
5857         * socket/socket.c (__socket): Likewise.
5858         * stdio-common/ctermid.c (ctermid): Likewise.
5859         * stdio-common/cuserid.c (cuserid): Likewise.
5860         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
5861         * stdio-common/remove.c (remove): Likewise.
5862         * stdio-common/rename.c (rename): Likewise.
5863         * stdio-common/renameat.c (renameat): Likewise.
5864         * stdio-common/tempname.c (__gen_tempname): Likewise.
5865         * stdio-common/xbug.c (InitBuffer): Likewise.
5866         (AppendToBuffer): Likewise.
5867         (ReadFile): Likewise.
5868         * stdlib/a64l.c (a64l): Likewise.
5869         * stdlib/drand48_r.c (drand48_r): Likewise.
5870         * stdlib/getcontext.c (getcontext): Likewise.
5871         * stdlib/getenv.c (getenv): Likewise.
5872         * stdlib/l64a.c (l64a): Likewise.
5873         * stdlib/llabs.c (llabs): Likewise.
5874         * stdlib/lldiv.c (lldiv): Likewise.
5875         * stdlib/lrand48_r.c (lrand48_r): Likewise.
5876         * stdlib/mrand48_r.c (mrand48_r): Likewise.
5877         * stdlib/putenv.c (putenv): Likewise.
5878         * stdlib/random.c (__srandom): Likewise.
5879         (__initstate): Likewise.
5880         (__setstate): Likewise.
5881         * stdlib/random_r.c (__srandom_r): Likewise.
5882         (__setstate_r): Likewise.
5883         (__random_r): Likewise.
5884         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
5885         * stdlib/setcontext.c (setcontext): Likewise.
5886         * stdlib/setenv.c (setenv): Likewise.
5887         (unsetenv): Likewise.
5888         * stdlib/srand48.c (srand48): Likewise.
5889         * stdlib/srand48_r.c (__srand48_r): Likewise.
5890         * stdlib/swapcontext.c (swapcontext): Likewise.
5891         * stdlib/system.c (__libc_system): Likewise.
5892         * stdlib/tst-strtod.c (expand): Likewise.
5893         * stdlib/tst-strtol.c (expand): Likewise.
5894         * stdlib/tst-strtoll.c (expand): Likewise.
5895         * streams/fattach.c (fattach): Likewise.
5896         * streams/fdetach.c (fdetach): Likewise.
5897         * streams/getmsg.c (getmsg): Likewise.
5898         * streams/isastream.c (isastream): Likewise.
5899         * string/ffs.c (__ffs): Likewise.
5900         * string/ffsll.c (ffsll): Likewise.
5901         * string/memcmp.c (memcmp_common_alignment): Likewise.
5902         (memcmp_not_common_alignment): Likewise.
5903         (MEMCMP): Likewise.
5904         * string/memcpy.c (memcpy): Likewise.
5905         * string/memmove.c (MEMMOVE): Likewise.
5906         * string/memset.c (memset): Likewise.
5907         * string/rawmemchr.c (RAWMEMCHR): Likewise.
5908         * string/strchrnul.c (STRCHRNUL): Likewise.
5909         * string/strerror.c (strerror): Likewise.
5910         * string/strndup.c (__strndup): Likewise.
5911         * string/strverscmp.c (__strverscmp): Likewise.
5912         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
5913         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
5914         (clnttcp_freeres): Likewise.
5915         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
5916         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
5917         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
5918         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
5919         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
5920         (xdr_callhdr): Likewise.
5921         * sunrpc/rpcinfo.c (udpping): Likewise.
5922         (tcpping): Likewise.
5923         (pstatus): Likewise.
5924         (pmapdump): Likewise.
5925         (brdcst): Likewise.
5926         (deletereg): Likewise.
5927         (getprognum): Likewise.
5928         (getvers): Likewise.
5929         (get_inet_address): Likewise.
5930         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
5931         * sunrpc/svc_udp.c (svcudp_create): Likewise.
5932         (svcudp_stat): Likewise.
5933         (svcudp_recv): Likewise.
5934         (svcudp_reply): Likewise.
5935         (svcudp_getargs): Likewise.
5936         (svcudp_freeargs): Likewise.
5937         (svcudp_destroy): Likewise.
5938         * sunrpc/xdr.c (xdr_bytes): Likewise.
5939         (xdr_netobj): Likewise.
5940         (xdr_string): Likewise.
5941         (xdr_wrapstring): Likewise.
5942         * sunrpc/xdr_float.c (xdr_float): Likewise.
5943         (xdr_double): Likewise.
5944         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
5945         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
5946         * sysvipc/ftok.c (ftok): Likewise.
5947         * sysvipc/msgctl.c (msgctl): Likewise.
5948         * sysvipc/msgget.c (msgget): Likewise.
5949         * sysvipc/msgrcv.c (msgrcv): Likewise.
5950         * sysvipc/msgsnd.c (msgsnd): Likewise.
5951         * sysvipc/semget.c (semget): Likewise.
5952         * sysvipc/semop.c (semop): Likewise.
5953         * sysvipc/shmat.c (shmat): Likewise.
5954         * sysvipc/shmctl.c (shmctl): Likewise.
5955         * sysvipc/shmdt.c (shmdt): Likewise.
5956         * sysvipc/shmget.c (shmget): Likewise.
5957         * termios/cfmakeraw.c (cfmakeraw): Likewise.
5958         * termios/speed.c (cfgetospeed): Likewise.
5959         (cfgetispeed): Likewise.
5960         (cfsetospeed): Likewise.
5961         (cfsetispeed): Likewise.
5962         * termios/tcflow.c (tcflow): Likewise.
5963         * termios/tcflush.c (tcflush): Likewise.
5964         * termios/tcgetattr.c (__tcgetattr): Likewise.
5965         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
5966         * termios/tcgetsid.c (tcgetsid): Likewise.
5967         * termios/tcsendbrk.c (tcsendbreak): Likewise.
5968         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
5969         * time/adjtime.c (__adjtime): Likewise.
5970         * time/dysize.c (dysize): Likewise.
5971         * time/ftime.c (ftime): Likewise.
5972         * time/getitimer.c (__getitimer): Likewise.
5973         * time/gettimeofday.c (__gettimeofday): Likewise.
5974         * time/gmtime.c (__gmtime_r): Likewise.
5975         (gmtime): Likewise.
5976         * time/localtime.c (__localtime_r): Likewise.
5977         (localtime): Likewise.
5978         * time/offtime.c (__offtime): Likewise.
5979         * time/settimeofday.c (__settimeofday): Likewise.
5980         * time/stime.c (stime): Likewise.
5981         * time/strftime_l.c (tm_diff): Likewise.
5982         (iso_week_days): Likewise.
5983         * time/strptime.c (strptime): Likewise.
5984         * time/time.c (time): Likewise.
5985         * time/timespec_get.c (timespec_get): Likewise.
5986         * time/tzset.c (tzset_internal): Likewise.
5987         (compute_change): Likewise.
5988         (__tz_compute): Likewise.
5989         * wcsmbs/btowc.c (__btowc): Likewise.
5990         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
5991         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
5992         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
5993         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
5994         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
5995         * wcsmbs/wcscat.c (__wcscat): Likewise.
5996         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5997         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
5998         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
5999         * wcsmbs/wcscspn.c (wcscspn): Likewise.
6000         * wcsmbs/wcsdup.c (wcsdup): Likewise.
6001         * wcsmbs/wcslen.c (__wcslen): Likewise.
6002         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
6003         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
6004         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
6005         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
6006         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6007         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
6008         * wcsmbs/wcsspn.c (wcsspn): Likewise.
6009         * wcsmbs/wcsstr.c (wcsstr): Likewise.
6010         * wcsmbs/wcstok.c (wcstok): Likewise.
6011         * wcsmbs/wctob.c (wctob): Likewise.
6012         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
6013         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6014         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
6015         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
6016         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
6017         * wcsmbs/wmemset.c (__wmemset): Likewise.
6018         * wctype/wcfuncs.c (__towlower): Likewise.
6019         (__towupper): Likewise.
6021         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
6022         (lll_unlock_elision): Add adapt_count parameter.
6024 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
6026         * sysdeps/nptl/configure.ac: Do not give errors based on the
6027         results of top-level configure tests.
6028         * sysdeps/nptl/configure: Regenerated.
6030         * configure.ac (libc_cv_Bgroup): Remove configure test.
6031         * configure: Regenerated.
6032         * config.make.in (have-Bgroup): Remove variable.
6034         * configure.ac (sizeof_long_double): Remove configure test.
6035         * configure: Regenerated.
6036         * config.make.in (sizeof-long-double): Remove variable.
6038         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
6039         * configure: Regenerated.
6040         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
6041         variable.
6042         (exceptions): Likewise.
6043         * sysdeps/arm/configure: Regenerated.
6044         * config.make.in (exceptions): Remove variable.
6045         * Makeconfig (uses-callbacks): Use -fexceptions instead of
6046         $(exceptions).
6047         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
6048         (CFLAGS-vdprintf_chk.c): Likewise.
6049         (CFLAGS-printf_chk.c): Likewise.
6050         (CFLAGS-fprintf_chk.c): Likewise.
6051         (CFLAGS-vprintf_chk.c): Likewise.
6052         (CFLAGS-vfprintf_chk.c): Likewise.
6053         (CFLAGS-gets_chk.c): Likewise.
6054         (CFLAGS-fgets_chk.c): Likewise.
6055         (CFLAGS-fgets_u_chk.c): Likewise.
6056         (CFLAGS-fread_chk.c): Likewise.
6057         (CFLAGS-fread_u_chk.c): Likewise.
6058         (CFLAGS-wprintf_chk.c): Likewise.
6059         (CFLAGS-fwprintf_chk.c): Likewise.
6060         (CFLAGS-vwprintf_chk.c): Likewise.
6061         (CFLAGS-vfwprintf_chk.c): Likewise.
6062         (CFLAGS-fgetws_chk.c): Likewise.
6063         (CFLAGS-fgetws_u_chk.c): Likewise.
6064         * libio/Makefile (CFLAGS-fileops.c): Likewise.
6065         (CFLAGS-fputc.c): Likewise.
6066         (CFLAGS-fputwc.c): Likewise.
6067         (CFLAGS-freopen64.c): Likewise.
6068         (CFLAGS-freopen.c): Likewise.
6069         (CFLAGS-fseek.c): Likewise.
6070         (CFLAGS-fseeko64.c): Likewise.
6071         (CFLAGS-fseeko.c): Likewise.
6072         (CFLAGS-ftello64.c): Likewise.
6073         (CFLAGS-ftello.c): Likewise.
6074         (CFLAGS-fwide.c): Likewise.
6075         (CFLAGS-genops.c): Likewise.
6076         (CFLAGS-getc.c): Likewise.
6077         (CFLAGS-getchar.c): Likewise.
6078         (CFLAGS-getwc.c): Likewise.
6079         (CFLAGS-getwchar.c): Likewise.
6080         (CFLAGS-iofclose.c): Likewise.
6081         (CFLAGS-iofflush.c): Likewise.
6082         (CFLAGS-iofgetpos64.c): Likewise.
6083         (CFLAGS-iofgetpos.c): Likewise.
6084         (CFLAGS-iofgets.c): Likewise.
6085         (CFLAGS-iofgetws.c): Likewise.
6086         (CFLAGS-iofputs.c): Likewise.
6087         (CFLAGS-iofputws.c): Likewise.
6088         (CFLAGS-iofread.c): Likewise.
6089         (CFLAGS-iofsetpos64.c): Likewise.
6090         (CFLAGS-iofsetpos.c): Likewise.
6091         (CFLAGS-ioftell.c): Likewise.
6092         (CFLAGS-iofwrite.c): Likewise.
6093         (CFLAGS-iogetdelim.c): Likewise.
6094         (CFLAGS-iogetline.c): Likewise.
6095         (CFLAGS-iogets.c): Likewise.
6096         (CFLAGS-iogetwline.c): Likewise.
6097         (CFLAGS-ioputs.c): Likewise.
6098         (CFLAGS-ioseekoff.c): Likewise.
6099         (CFLAGS-ioseekpos.c): Likewise.
6100         (CFLAGS-iosetbuffer.c): Likewise.
6101         (CFLAGS-iosetvbuf.c): Likewise.
6102         (CFLAGS-ioungetc.c): Likewise.
6103         (CFLAGS-ioungetwc.c): Likewise.
6104         (CFLAGS-oldfileops.c): Likewise.
6105         (CFLAGS-oldiofclose.c): Likewise.
6106         (CFLAGS-oldiofgetpos64.c): Likewise.
6107         (CFLAGS-oldiofgetpos.c): Likewise.
6108         (CFLAGS-oldiofsetpos64.c): Likewise.
6109         (CFLAGS-oldiofsetpos.c): Likewise.
6110         (CFLAGS-peekc.c): Likewise.
6111         (CFLAGS-putc.c): Likewise.
6112         (CFLAGS-putchar.c): Likewise.
6113         (CFLAGS-putwc.c): Likewise.
6114         (CFLAGS-putwchar.c): Likewise.
6115         (CFLAGS-rewind.c): Likewise.
6116         (CFLAGS-wfileops.c): Likewise.
6117         (CFLAGS-wgenops.c): Likewise.
6118         (CFLAGS-oldiofopen.c): Likewise.
6119         (CFLAGS-iofopen.c): Likewise.
6120         (CFLAGS-iofopen64.c): Likewise.
6121         (CFLAGS-oldtmpfile.c): Likewise.
6122         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
6123         (CFLAGS-fprintf.c): Likewise.
6124         (CFLAGS-printf.c): Likewise.
6125         (CFLAGS-vfwprintf.c): Likewise.
6126         (CFLAGS-vfscanf.c): Likewise.
6127         (CFLAGS-vfwscanf.c): Likewise.
6128         (CFLAGS-fscanf.c): Likewise.
6129         (CFLAGS-scanf.c): Likewise.
6130         (CFLAGS-isoc99_vfscanf.c): Likewise.
6131         (CFLAGS-isoc99_vscanf.c): Likewise.
6132         (CFLAGS-isoc99_fscanf.c): Likewise.
6133         (CFLAGS-isoc99_scanf.c): Likewise.
6134         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
6135         (CFLAGS-isoc99_fwscanf.c): Likewise.
6136         (CFLAGS-isoc99_vwscanf.c): Likewise.
6137         (CFLAGS-isoc99_vfwscanf.c): Likewise.
6139         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
6140         after mkstemp64.
6141         * login/tst-utmp.c (do_prepare): Likewise.
6142         * rt/tst-aio.c (do_prepare): Likewise.
6143         * rt/tst-aio64.c (do_prepare): Likewise.
6145 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6147         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6148         (__lll_lock_elision): Remove adapt_count decrement...
6149         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6150         (__lll_trylock_elision): Likewise.
6151         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6152         (__lll_unlock_elision): ... to here. And utilize
6153         new adapt_count parameter.
6154         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6155         (__lll_unlock_elision): Update to include adapt_count
6156         parameter.
6157         (lll_unlock_elision): Pass pointer to adapt_count
6158         variable.
6160 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6162         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
6163         Add elision adapt_count parameter to list of arguments.
6164         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6165         (lll_unlock_elision): Update with new parameter list
6166         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6167         (lll_unlock_elision): Likewise.
6168         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
6169         (lll_unlock_elision): Likewise.
6171 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6173         [BZ #19122]
6174         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
6175         attribute_hidden.
6177         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
6178         attribute_hidden.
6179         [IS_IN (rtld)] (__strdup): Likewise.
6180         [IS_IN (rtld)] (__strerror_r): Likewise.
6181         [IS_IN (rtld)] (__strsep_g): Likewise.
6182         [IS_IN (rtld)] (memchr): Likewise.
6183         [IS_IN (rtld)] (memcmp): Likewise.
6184         [IS_IN (rtld)] (memcpy): Likewise.
6185         [IS_IN (rtld)] (memmove): Likewise.
6186         [IS_IN (rtld)] (memset): Likewise.
6187         [IS_IN (rtld)] (rawmemchr): Likewise.
6188         [IS_IN (rtld)] (stpcpy): Likewise.
6189         [IS_IN (rtld)] (strchr): Likewise.
6190         [IS_IN (rtld)] (strcmp): Likewise.
6191         [IS_IN (rtld)] (strlen): Likewise.
6192         [IS_IN (rtld)] (strnlen): Likewise.
6193         [IS_IN (rtld)] (strsep): Likewise.
6195         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
6196         attribute_hidden.
6197         [IS_IN (rtld)] (__strtoul_internal): Likewise.
6199         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
6200         attribute_hidden.
6201         [IS_IN (rtld)] (__libc_sigaction): Likewise.
6203         * include/setjmp.h (__longjmp): Add attribute_hidden.
6204         [IS_IN (rtld)] (__sigsetjmp): Likewise.
6206         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
6207         Add attribute_hidden.
6209         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
6210         [IS_IN (rtld)] (__open): Likewise.
6211         [IS_IN (rtld)] (__fcntl): Likewise.
6213         * include/dirent.h (__opendirat): Add attribute_hidden.
6214         (__getdents): Likewise.
6215         (__getdents64): Likewise.
6216         (__alloc_dir): Likewise.
6217         [IS_IN (rtld)] (__closedir): Likewise.
6218         [IS_IN (rtld)] (__fdopendir): Likewise.
6219         [IS_IN (rtld)] (__readdir): Likewise.
6220         [IS_IN (rtld)] (__readdir64): Likewise.
6221         [IS_IN (rtld)] (__rewinddir): Likewise.
6223         * include/dlfcn.h (_dl_catch_error): Moved to ...
6224         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
6225         attribute_hidden.
6227         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
6228         (_itoa_word): Likewise.
6230         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
6231         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
6232         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
6233         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
6234         (_dl_higher_prime_number): Likewise.
6235         (_dl_debug_printf_c): Likewise.
6236         (_dl_signal_cerror): Likewise.
6237         (_dl_receive_error): Likewise.
6238         (_dl_reloc_bad_type): Likewise.
6239         (_dl_resolve_conflicts): Likewise.
6240         (_dl_check_all_versions): Likewise.
6241         (_dl_check_map_versions): Likewise.
6242         (_dl_sort_fini): Likewise.
6243         (_dl_debug_initialize): Likewise.
6244         (_dl_init_paths): Likewise.
6245         (_dl_show_auxv): Likewise.
6246         (_dl_next_ld_env_entry): Likewise.
6247         (_dl_important_hwcaps): Likewise.
6248         (_dl_load_cache_lookup): Likewise.
6249         (_dl_update_slotinfo): Likewise.
6250         (_dl_show_scope): Likewise.
6252         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
6253         attribute_hidden.
6254         (_wordcopy_fwd_dest_aligned): Likewise.
6255         (_wordcopy_bwd_aligned): Likewise.
6256         (_wordcopy_bwd_dest_aligned): Likewise.
6258         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6259         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6260         Likewise.
6261         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6262         Likewise.
6263         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
6265 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6267         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
6268         GCC 5 requirement.
6270 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
6272         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
6273         test.
6274         * sysdeps/i386/configure: Regenerated.
6275         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
6276         code unconditional.
6278         * configure.ac (libc_cv_asm_previous_directive): Remove configure
6279         test.
6280         (libc_cv_asm_popsection_directive): Likewise.
6281         * configure: Regenerated.
6282         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
6283         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
6284         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
6285         (__make_section_unallocated): Make definition unconditional.
6286         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
6287         Remove conditional definition.
6288         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
6289         (__make_section_unallocated): Likewise.
6291         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
6292         * configure: Regenerated.
6293         * config.make.in (static-libgcc): Remove variable.
6294         * Makerules (build-shlib-helper): Use -static-libgcc instead of
6295         $(static-libgcc).
6296         (build-module-helper): Likewise.
6298         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
6299         * configure: Regenerated.
6301 2015-10-15  Florian Weimer  <fweimer@redhat.com>
6303         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
6304         (struct char_buffer): New type.
6305         (char_buffer_start, char_buffer_size, char_buffer_error)
6306         (char_buffer_rewind, char_buffer_add): New functions.
6307         (ADDW): Remove macro, replaced by the char_buffer_add function.
6308         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
6309         of extend_alloca.  Make control flow more explicit.
6311 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6313         [BZ #19137]
6314         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6315         Add -fomit-frame-pointer.
6316         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
6318 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6320         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
6321         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
6322         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
6323         only if !__GNUC_PREREQ (5,0).
6324         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
6325         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
6326         (INTERNAL_SYSCALL_NCS): Likewise.
6327         (LOADREGS_0): New macro for GCC 5.
6328         (ASMARGS_0): Likewise.
6329         (LOADREGS_1): Likewise.
6330         (ASMARGS_1): Likewise.
6331         (LOADREGS_2): Likewise.
6332         (ASMARGS_2): Likewise.
6333         (LOADREGS_3): Likewise.
6334         (ASMARGS_3): Likewise.
6335         (LOADREGS_4): Likewise.
6336         (ASMARGS_4): Likewise.
6337         (LOADREGS_5): Likewise.
6338         (ASMARGS_5): Likewise.
6339         (LOADREGS_6): Likewise.
6340         (ASMARGS_6): Likewise.
6342 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6344         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
6345         -fomit-frame-pointer.
6346         (CFLAGS-mmap64.c): Likewise.
6347         (CFLAGS-semtimedop.c): Likewise.
6348         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
6349         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
6350         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6351         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6353 2015-10-15  Florian Weimer  <fweimer@redhat.com>
6355         [BZ #18928]
6356         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
6357         _dl_pointer_guard member.
6358         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
6359         initializer.
6360         (security_init): Always set up pointer guard.
6361         (process_envvars): Do not process LD_POINTER_GUARD.
6363 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
6365         [BZ #19134]
6366         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
6367         (.LC2): Likewise.
6368         (.LC3): Likewise.
6369         (__lround): Do not add 0.5 to integer or out-of-range arguments.
6371 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6373         [BZ #19129]
6374         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
6375         r0 and r1.
6377 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
6379         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
6381 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
6383         * include/stap-probe.h: Fix macro definition formatting.
6385 2015-10-14  Florian Weimer  <fweimer@redhat.com>
6387         [BZ #19074]
6388         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
6389         load and store num_ifs.
6391 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6393         [BZ #18822]
6394         * sysdeps/unix/sysv/linux/sched_getaffinity.c
6395         (__sched_getaffinity_new): Add libc_hidden_proto and
6396         libc_hidden_def.
6398 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6400         [BZ #19007]
6401         * scripts/localplt.awk: Also allow GOT references.
6402         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
6403         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
6404         with "+ REL R_386_GLOB_DAT".
6405         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
6406         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
6408 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6410         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
6411         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6412         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
6413         Likewise.
6414         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
6415         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
6416         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6417         INTERNAL_SYSCALLINTERNAL_SYSCALL and
6418         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6419         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6420         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6421         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6422         Likewise.
6423         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6425 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
6427         [BZ #19125]
6428         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
6429         <math_private.h> and <stdint.h>.
6430         (__llround): Avoid conversions to and from long long int, and
6431         subtractions, where those might raise spurious exceptions.
6432         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
6433         <math_private.h> and <stdint.h>.
6434         (__llroundf): Avoid conversions to and from long long int, and
6435         subtractions, where those might raise spurious exceptions.
6437 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6439         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
6440         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6441         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6442         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
6443         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6444         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6445         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
6446         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
6447         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
6448         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6449         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6450         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6451         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
6452         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6453         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6454         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
6455         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
6456         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6457         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
6458         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
6459         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6460         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
6461         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
6462         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6463         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
6464         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6465         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
6466         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6467         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6468         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
6469         (__xstat64_conv): Likewise.
6470         (__xstat32_conv): Likewise.
6472 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6474         * sysdeps/unix/sysv/linux/sysdep.h: New file.
6475         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
6476         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
6477         <sysdeps/unix/sysv/linux/sysdep.h>.
6478         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6479         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
6480         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
6481         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6482         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6483         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
6484         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
6485         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6486         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6489         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6490         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6491         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6492         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6493         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6494         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
6495         (sysdep-dl-routines): Add sysdep.
6496         [$(subdir) == nptl] (libpthread-routines): Likewise.
6497         [$(subdir) == rt] (librt-routines): Likewise.
6498         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
6499         PIC when branching to SYSCALL_ERROR_LABEL.
6500         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
6501         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
6502         <sysdeps/unix/sysv/linux/sysdep.h>.
6503         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
6504         (SYSCALL_ERROR_ERRNO): Removed.
6505         (SYSCALL_ERROR_HANDLER): Changed to empty.
6506         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
6507         (__syscall_error): New prototype.
6508         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
6509         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
6511 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6513         [BZ #19124]
6514         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
6515         (_dl_runtime_resolve_avx512): Make it a hidden alias of
6516         _dl_runtime_resolve_avx.
6517         (_dl_runtime_profile_avx512): Make it a hidden alias of
6518         _dl_runtime_profile_avx.
6520 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
6522         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
6523         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
6524         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
6525         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
6527         [BZ #16422]
6528         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
6529         New configure test.
6530         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
6531         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
6532         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
6533         <math_private.h> and <stdint.h>.
6534         (__llrint): Avoid conversions to long long int where those might
6535         raise spurious exceptions.
6536         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
6537         <math_private.h> and <stdint.h>.
6538         (__llrintf): Avoid conversions to long long int where those might
6539         raise spurious exceptions.
6541 2015-10-12  Andreas Schwab  <schwab@suse.de>
6543         [BZ #18969]
6544         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
6545         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
6546         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
6547         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
6548         $(gen-locales).
6549         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
6550         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
6551         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
6552         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
6553         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
6554         $(gen-locales).
6555         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
6556         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
6557         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
6558         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
6559         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
6560         ($(objpfx)tst-ftell-active-handler.out)
6561         ($(objpfx)tst-ftell-append.out)
6562         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
6563         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
6564         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
6565         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
6566         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
6567         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
6568         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
6569         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
6570         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
6571         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
6572         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
6573         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
6574         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
6575         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
6576         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
6577         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
6578         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
6579         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
6580         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
6581         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
6582         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
6583         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
6584         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
6585         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
6586         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
6587         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
6588         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
6589         $(gen-locales).
6590         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
6591         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
6592         $(gen-locales).
6593         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
6594         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
6595         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
6596         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
6597         $(gen-locales).
6598         * libio/tst_wprintf2.c (main): Use explicit locale.
6599         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
6601 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6603         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
6604         __msg_sig_post.
6605         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
6607 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
6609         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6610         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6612         * sysdeps/arm/libm-test-ulps: Regenerated.
6614         [BZ #15470]
6615         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
6617         [BZ #16399]
6618         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
6619         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
6620         and <fix-fp-int-convert-overflow.h>.
6621         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6622         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6623         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
6624         and <fix-fp-int-convert-overflow.h>.
6625         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
6626         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6627         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
6628         <fix-fp-int-convert-overflow.h>.
6629         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6630         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6631         * sysdeps/ieee754/dbl-64/s_lround.c: Include
6632         <fix-fp-int-convert-overflow.h>.
6633         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
6634         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6635         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
6636         and <fix-fp-int-convert-overflow.h>.
6637         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6638         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6639         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
6640         <limits.h> and <fix-fp-int-convert-overflow.h>.
6641         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6642         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6643         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
6644         and <fix-fp-int-convert-overflow.h>.
6645         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6646         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6647         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
6648         and <fix-fp-int-convert-overflow.h>.
6649         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6650         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6651         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
6653 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
6655         [BZ #18589]
6656         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
6657         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
6658         $(gen-locales).
6660 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6661             Phil Blundell <pb@pbcl.net>
6663         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
6664         * nptl/tst-cancel26.c: New file.
6665         * nptl/tst-cancel27.c: Likewise.
6667 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
6669         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
6670         __ILP32__ isn't defined.
6671         (lrint): Likewise.
6672         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
6673         (lrintf): Likewise.
6674         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
6675         (lrintl): Likewise.
6676         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
6677         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
6678         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
6680 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6682         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6683         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6685         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
6686         file.
6687         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
6688         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6690 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
6692         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
6693         configure test.
6694         * sysdeps/i386/configure: Regenerated.
6695         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
6696         configure test.
6697         * sysdeps/x86_64/configure: Regenerated.
6698         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
6699         Make code unconditional.
6701         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
6702         test.
6703         * sysdeps/i386/configure: Regenerated.
6704         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
6705         test.
6706         * sysdeps/x86_64/configure: Regenerated.
6707         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
6708         Make code unconditional.
6709         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6710         Likewise.
6711         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
6712         Likewise.
6713         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6714         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
6715         code unconditional.
6716         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6717         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
6718         code unconditional.
6719         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6720         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
6721         code unconditional.
6722         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
6723         code unconditional.
6724         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6725         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
6726         code unconditional.
6727         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6728         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
6729         code unconditional.
6730         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6731         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
6732         code unconditional.
6733         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6734         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
6735         code unconditional.
6736         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6737         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
6739         [BZ #19095]
6740         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
6741         mantissa to long int before shifting left.
6743 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6745         [BZ #19094]
6746         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
6747         <limits.h>.
6748         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6749         when result overflows but exception would not result from cast.
6750         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
6751         <limits.h>.
6752         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6753         when result overflows but exception would not result from cast.
6754         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
6755         <limits.h>.
6756         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6757         when result overflows but exception would not result from cast.
6758         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
6759         <limits.h>.
6760         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6761         when result overflows but exception would not result from cast.
6762         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
6763         <limits.h>.
6764         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6765         when result overflows but exception would not result from cast.
6766         * math/libm-test.inc (lrint_test_data): Add more tests.
6767         (llrint_test_data): Likewise.
6769 2015-10-08  Roland McGrath  <roland@hack.frob.com>
6771         [BZ #18872]
6772         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
6773         Move out from under [$(run-built-tests) = yes] conditional.
6774         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
6775         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
6777 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
6779         [BZ #18589]
6780         * string/Makefile (tests): Add bug-strcoll2.
6781         (LOCALES): Add cs_CZ.UTF-8.
6782         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
6784         [BZ #18589]
6785         * string/bug-strcoll2.c: New file.
6786         * locale/categories.def: Revert commit
6787         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
6788         * locale/langinfo.h: Likewise.
6789         * locale/localeinfo.h: Likewise.
6790         * locale/C-collate.c: Likewise.
6791         * locale/programs/ld-collate.c (collate_output): Likewise.
6792         * string/strcoll_l.c (STRDIFF): Likewise.
6793         (STRCOLL): Likewise.
6794         * wcsmbs/wcscoll_l.c: Likewise.
6796 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6798         * math/libm-test.inc (lround_test_data): Do not expect the absence
6799         of "inexact" for some tests with non-integer arguments.
6800         (llround_test_data): Likewise.
6802         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
6803         test.
6804         (libc_cv_cc_sse2avx): Likewise.
6805         * sysdeps/i386/configure: Regenerated.
6806         * sysdeps/i386/i686/multiarch/Makefile
6807         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
6808         [$(subdir) = math].
6809         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
6810         code unconditional.
6811         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6812         Likewise.
6813         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
6814         Likewise.
6815         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6816         Likewise.
6817         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
6818         test.
6819         (libc_cv_cc_sse2avx): Likewise.
6820         * sysdeps/x86_64/configure: Regenerated.
6821         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
6822         unconditional.
6823         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
6824         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
6825         unconditional.
6826         (_dl_runtime_profile)
6827         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
6828         conditional code.
6829         * sysdeps/x86_64/fpu/multiarch/Makefile
6830         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
6831         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6832         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6833         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6834         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6835         * sysdeps/x86_64/fpu/multiarch/e_log.c
6836         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6837         * sysdeps/x86_64/fpu/multiarch/s_atan.c
6838         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6839         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6840         Likewise.
6841         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6842         Likewise.
6843         * sysdeps/x86_64/fpu/multiarch/s_sin.c
6844         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6845         * sysdeps/x86_64/fpu/multiarch/s_tan.c
6846         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6847         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
6848         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
6849         (HAVE_SSE2AVX_SUPPORT): Likewise.
6851 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
6853         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
6854         instead of #pragma optimize.
6856 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
6858         [BZ #17195]
6859         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
6860         as is similarly done in systrim and _int_free already.
6862 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6864         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
6866 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6868         [BZ #19088]
6869         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
6870         <limits.h>.
6871         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6872         overflows but exception would not result from cast.
6873         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
6874         and <limits.h>.
6875         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6876         overflows but exception would not result from cast.
6877         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
6878         <limits.h>.
6879         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6880         overflows but exception would not result from cast.
6881         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
6882         <limits.h>.
6883         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6884         overflows but exception would not result from cast.
6885         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
6886         <limits.h>.
6887         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6888         overflows but exception would not result from cast.
6889         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
6890         <limits.h>.
6891         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6892         overflows but exception would not result from cast.
6893         * math/libm-test.inc (lround_test_data): Add more tests.
6894         (llround_test_data): Likewise.
6896 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
6898         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
6899         (CFLAGS-ialloc.c): Ditto.
6900         (CFLAGS-scheck.c): Ditto.
6902 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
6904         [BZ #19086]
6905         * manual/filesys.texi (Storage Allocation): Fix argument order for
6906         posix_fallocate64.
6908 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6910         [BZ #19085]
6911         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
6912         exponent below 48 inside case for non-overflowing exponent.
6913         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
6915 2015-10-07  Florian Weimer  <fweimer@redhat.com>
6917         * iconvdata/cp737.h (from_idx): Add const.
6918         * iconvdata/cp775.h (from_idx): Likewise.
6920 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6922         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
6923         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
6924         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
6926         [BZ #19079]
6927         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
6928         file, conditioned on [!_LP64].
6929         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
6930         [!_LP64] (__lround): Do not define as function or alias.
6931         [!_LP64] (lround): Likewise.
6932         [!_LP64] (__lroundl): Likewise.
6933         [!_LP64] (lroundl): Likewise.
6934         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
6935         macro.
6936         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6937         Likewise.
6939 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
6941         * math/libm-test.inc (lrint_test_data): Add more tests.
6942         (llrint_test_data): Likewise.
6943         (lround_test_data): Likewise.
6944         (llround_test_data): Likewise.
6946         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
6947         (llrint_test_data): Add tests used for lrint.
6949         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
6950         test.
6951         * sysdeps/i386/configure: Regenerated.
6952         * sysdeps/i386/i686/multiarch/Makefile
6953         [$(config-cflags-sse4) = yes]: Make code unconditional.
6954         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6955         Likewise.
6956         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
6957         Likewise.
6958         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
6959         test.
6960         * sysdeps/x86_64/configure: Regenerated.
6961         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
6962         Make code unconditional.
6963         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6964         Likewise.
6965         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
6966         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
6968         * scripts/rpm2dynsym.sh: Remove file.
6970 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6972         * configure.ac (libc_cv_cxx_thread_local): Define.
6973         * configure: Regenerate.
6974         * config.make.in (have-cxx-thread_local): Define.
6975         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
6976         (LDLIBS-tst-thread_local1): Define.
6977         (tests): Add tst-thread_local1.
6978         [have-cxx-thread_local != yes] (tests-unsupported): Add
6979         tst-thread_local1.
6980         * nptl/tst-thread_local1.cc: New file.
6982 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
6984         [BZ #19078]
6985         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
6986         (u_thres): Likewise.
6987         (__expl): Determine whether to call __kernel_standard_l based on
6988         value of result, not argument.
6990         * math/libm-test.inc (scalb_test_data): Add more expectations for
6991         the "inexact" exception.
6993         [BZ #19077]
6994         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
6995         0.0L for argument 1.0L.
6997         [BZ #19076]
6998         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
6999         constant 0.0L when computing infinite result.
7001 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7003         [BZ #10432]
7004         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
7005         malloc_usable_size.
7007 2015-10-06  Florian Weimer  <fweimer@redhat.com>
7009         [BZ #19018]
7010         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7011         Mangle function pointer before storing it.
7012         (__call_tls_dtors): Demangle function pointer before calling it.
7014 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7016         [BZ #19012]
7017         * iconv/gconv_db.c (gen_steps): Check for additional errors.
7018         Clean up on failure.
7020 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
7022         [BZ #19071]
7023         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
7024         long int variable to store possibly incremented high part of
7025         mantissa.
7026         * math/libm-test.inc (lround_test_data): Add tests used for
7027         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
7028         for tests requiring 64-bit long.  Do not condition tests on
7029         [TEST_FLOAT] unnecessarily.
7030         (llround_test_data): Add tests used for lround.  Add another
7031         expectation for the "inexact" exception.  Do not condition tests
7032         on [TEST_FLOAT] unnecessarily.
7034         [BZ #887]
7035         [BZ #19049]
7036         [BZ #19050]
7037         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
7038         * sysdeps/ieee754/dbl-64/e_log10.c: Include
7039         <fix-int-fp-convert-zero.h>.
7040         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7041         * sysdeps/ieee754/dbl-64/e_log2.c: Include
7042         <fix-int-fp-convert-zero.h>.
7043         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7044         * sysdeps/ieee754/dbl-64/s_erf.c: Include
7045         <fix-int-fp-convert-zero.h>.
7046         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7047         * sysdeps/ieee754/dbl-64/s_logb.c: Include
7048         <fix-int-fp-convert-zero.h>.
7049         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7050         * sysdeps/ieee754/flt-32/e_log10f.c: Include
7051         <fix-int-fp-convert-zero.h>.
7052         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7053         * sysdeps/ieee754/flt-32/e_log2f.c: Include
7054         <fix-int-fp-convert-zero.h>.
7055         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7056         * sysdeps/ieee754/flt-32/s_erff.c: Include
7057         <fix-int-fp-convert-zero.h>.
7058         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7059         * sysdeps/ieee754/flt-32/s_logbf.c: Include
7060         <fix-int-fp-convert-zero.h>.
7061         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7062         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
7063         <fix-int-fp-convert-zero.h>.
7064         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7065         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
7066         <fix-int-fp-convert-zero.h>.
7067         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
7068         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
7069         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
7070         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
7071         file.
7072         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
7074 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7076         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7078 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
7080         [BZ #19059]
7081         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
7082         overflowing computation.
7083         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7084         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7085         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7086         Likewise.
7087         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7088         Likewise.
7089         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7090         Likewise.
7091         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7092         Likewise.
7093         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7094         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7095         Likewise.
7096         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7097         Likewise.
7098         * math/libm-test.inc (nexttoward_test_data): Add more tests.
7100         * nss/rewrite_field.c (__nss_rewrite_field): Use
7101         internal_function.
7102         * nss/valid_field.c (__nss_valid_field): Likewise.
7103         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
7105 2015-10-02  Florian Weimer  <fweimer@redhat.com>
7107         [BZ #18724]
7108         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
7109         (__nss_invalid_field_characters, __nss_valid_field)
7110         (__nss_valid_list_field, __nss_rewrite_field): Declare.
7111         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
7112         tst-field.c: New file.
7113         * nss/Makefile (routines): Add valid_field, rewrite_field.
7114         (tests-static): Define unconditionally.
7115         (tests): Include tests-static.
7116         [build-static-nss] (tests-static): Use append.
7117         [build-static-nss] (tests): Remove modification.
7118         * nss/getent.c (print_group): Call putgrent.  Report error.
7119         (print_gshadow): Call putsgent.  Report error.
7120         (print_passwd): Call putpwent.  Report error.
7121         (print_shadow): Call putspent.  Report error.
7122         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
7123         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
7124         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
7125         name, password, directory, shell fields for valid syntax.  Rewrite
7126         GECOS field to match syntax.
7127         * pwd/Makefile (tests): Add tst-putpwent.
7128         * pwd/tst-putpwent.c: New file.
7129         * grp/putgrent.c (putgrent): Convert to ISO function definition.
7130         Check grName, grpasswd, gr_mem fields for valid syntax.
7131         Change loop variable i to size_t.
7132         * grp/Makefile (tests): Add tst-putgrent.
7133         * grp/tst-putgrent.c: New file.
7134         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
7135         valid syntax.
7136         * shadow/Makefile (tests): Add tst-putspent.
7137         * shadow/tst-putspent.c: New file.
7138         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
7139         sg_mem fields for valid syntax.
7140         * gshadow/Makefile (tests): Add tst-putsgent.
7141         * gshadow/tst-putsgent.c: New file.
7143 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7145         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
7146         assembly instructions.
7148 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7150         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
7151         prefix from operands.
7153 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
7155         [BZ #16347]
7156         [BZ #19046]
7157         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
7158         <libc-internal.h>.
7159         (MAXLGM): Do not use diagnostic control macros.
7160         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
7161         threshold for ldbl-128ibm.
7162         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
7163         instead of multiplying by log then subtracting.
7164         * math/auto-libm-test-in: Add more tests of lgamma.
7165         * math/auto-libm-test-out: Regenerated.
7167         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
7168         (TYPE_HEX_DIG): Likewise.
7169         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
7170         precisions when printing floating-point numbers.
7171         (check_float_internal): Likewise.
7173 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
7175         [BZ #16620]
7176         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
7177         of log (10) rounded downward to 48 bits.
7178         (log10_low): Use corresponding low part of log (10).
7180         [BZ #19032]
7181         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
7182         compute result as (x - x) / (x - x) not as 0 / 0.
7183         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7184         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
7186         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7187         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
7188         and expm1.
7189         * math/auto-libm-test-out: Regenerated.
7190         * math/libm-test.inc (acos_test_data): Add more tests.
7191         (asin_test_data): Likewise.
7192         (asinh_test_data): Likewise.
7193         (atan_test_data): Likewise.
7194         (atanh_test_data): Likewise.
7195         (atan2_test_data): Likewise.
7196         (cbrt_test_data): Likewise.
7197         (ceil_test_data): Likewise.
7198         (copysign_test_data): Likewise.
7199         (cos_test_data): Likewise.
7200         (cosh_test_data): Likewise.
7201         (erf_test_data): Likewise.
7202         (erfc_test_data): Likewise.
7203         (exp_test_data): Likewise.
7204         (exp10_test_data): Likewise.
7205         (exp2_test_data): Likewise.
7206         (expm1_test_data): Likewise.
7207         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7209 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
7211         [BZ #19006]
7212         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
7213         to ...
7214         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
7215         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
7216         to ...
7217         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
7218         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
7219         to ...
7220         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
7221         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
7222         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
7223         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
7224         to ...
7225         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
7226         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7227         Moved to ...
7228         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
7229         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7230         Moved to ...
7231         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
7232         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
7233         to ...
7234         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
7235         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7236         Moved to ...
7237         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
7238         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
7239         to ...
7240         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
7241         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
7242         Removed.
7243         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
7244         Likewise.
7245         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
7246         Likewise.
7247         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
7248         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
7249         Likewise.
7250         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7251         Likewise.
7252         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7253         Likewise.
7254         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7255         Likewise.
7256         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7257         Likewise.
7258         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
7259         Likewise.
7260         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
7261         Likewise.
7262         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
7263         Likewise.
7264         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
7265         Likewise.
7266         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
7267         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
7268         Likewise.
7269         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7270         Likewise.
7271         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7272         Likewise.
7273         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7274         Likewise.
7275         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
7276         Likewise.
7277         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7278         Replace ../i486/pthread_cond_timedwait.S with
7279         ../pthread_cond_timedwait.S.
7281 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
7283         * math/libm-test.inc (acos_test_data): Refine expectations for
7284         errno and "inexact" exceptions.
7285         (acosh_test_data): Likewise.
7286         (asin_test_data): Likewise.
7287         (asinh_test_data): Likewise.
7288         (atan_test_data): Likewise.
7289         (atanh_test_data): Likewise.
7290         (atan2_test_data): Likewise.
7291         (cbrt_test_data): Likewise.
7292         (ceil_test_data): Likewise.
7293         (copysign_test_data): Likewise.
7294         (cosh_test_data): Likewise.
7295         (erf_test_data): Likewise.
7296         (erfc_test_data): Likewise.
7297         (exp_test_data): Likewise.
7298         (exp10_test_data): Likewise.
7299         (exp2_test_data): Likewise.
7300         (expm1_test_data): Likewise.
7301         (fabs_test_data): Likewise.
7302         (floor_test_data): Likewise.
7303         (fma_test_data): Likewise.
7304         (fmax_test_data): Likewise.
7305         (fmin_test_data): Likewise.
7306         (fmod_test_data): Likewise.
7307         (fpclassify_test_data): Likewise.
7308         (frexp_test_data): Likewise.
7309         (hypot_test_data): Likewise.
7310         (ilogb_test_data): Likewise.
7311         (isgreater_test_data): Likewise.
7312         (isgreaterequal_test_data): Likewise.
7313         (isinf_test_data): Likewise.
7314         (isless_test_data): Likewise.
7315         (islessequal_test_data): Likewise.
7316         (islessgreater_test_data): Likewise.
7317         (isnan_test_data): Likewise.
7318         (isnormal_test_data): Likewise.
7319         (issignaling_test_data): Likewise.
7320         (isunordered_test_data): Likewise.
7321         (j0_test_data): Likewise.
7322         (j1_test_data): Likewise.
7323         (jn_test_data): Likewise.
7324         (lgamma_test_data): Likewise.
7325         (lrint_test_data): Likewise.
7326         (llrint_test_data): Likewise.
7327         (log_test_data): Likewise.
7328         (log10_test_data): Likewise.
7329         (log1p_test_data): Likewise.
7330         (log2_test_data): Likewise.
7331         (logb_test_data): Likewise.
7332         (lround_test_data): Likewise.
7333         (llround_test_data): Likewise.
7334         (modf_test_data): Likewise.
7335         (nearbyint_test_data): Likewise.
7336         (nextafter_test_data): Likewise.
7337         (nexttoward_test_data): Likewise.
7338         (pow_test_data): Likewise.
7339         (remainder_test_data): Likewise.
7340         (remquo_test_data): Likewise.
7341         (rint_test_data): Likewise.
7342         (round_test_data): Likewise.
7343         (signbit_test_data): Likewise.
7344         (sinh_test_data): Likewise.
7345         (sqrt_test_data): Likewise.
7346         (tanh_test_data): Likewise.
7347         (tgamma_test_data): Likewise.
7348         (trunc_test_data): Likewise.
7349         (y0_test_data): Likewise.
7350         (y1_test_data): Likewise.
7351         (yn_test_data): Likewise.
7352         (significand_test_data): Likewise.
7354 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
7356         * manual/filesys.texi (Storage Allocation): Document that
7357         posix_fallocate emulation fails when fd is open with O_WRONLY.
7359 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
7361         [BZ #19016]
7362         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
7363         allow more cases with X^2 + Y^2 >= 0.5.
7364         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
7365         normal element in sum instead of special-casing based on values of
7366         arguments.
7367         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
7368         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
7369         -1 as normal element in sum instead of special-casing based on
7370         values of arguments.
7371         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
7372         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
7373         (__x2y2m1): Update comment.
7374         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
7375         as normal element in sum instead of special-casing based on values
7376         of arguments.
7377         * math/s_clog.c (__clog): Handle more cases using log1p without
7378         hypot.
7379         * math/s_clog10.c (__clog10): Likewise.
7380         * math/s_clog10f.c (__clog10f): Likewise.
7381         * math/s_clog10l.c (__clog10l): Likewise.
7382         * math/s_clogf.c (__clogf): Likewise.
7383         * math/s_clogl.c (__clogl): Likewise.
7384         * math/auto-libm-test-in: Add more tests of clog and clog10.
7385         * math/auto-libm-test-out: Regenerated.
7386         * sysdeps/i386/fpu/libm-test-ulps: Update.
7387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7389 2015-09-28  Martin Sebor  <msebor@redhat.com>
7391         [BZ #18969]
7392         * string/Makefile (LOCALES): Define.
7393         (gen-locales.mk): Include.
7394         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
7395         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
7396         * string/tst-strxfrm2.c (do_test): Print the name of the locale
7397         on setlocale failure.
7399 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7401         [BZ #18985]
7402         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
7403         (__strftime_internal): Likewise.
7404         * time/tst-strftime.c (do_bz18985): New test.
7405         (do_test): Call it.
7407 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
7409         [BZ #18956]
7410         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
7411         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
7412         extracting high part.
7413         * math/auto-libm-test-in: Add another test of pow.
7414         * math/auto-libm-test-out: Regenerated.
7415         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7417 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
7419         [BZ #18825]
7420         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
7421         New macro.
7422         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
7423         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7424         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
7425         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
7426         DBL_NARROW_EVAL, reloading the PIC register as needed.
7427         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
7428         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
7429         FLT_NARROW_EVAL.  Use separate return path for case when first
7430         argument is NaN.
7431         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
7432         DEFINE_LDBL_MIN.
7433         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
7434         PIC register.
7435         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
7436         math_check_force_underflow_nonneg.
7437         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
7438         underflow for subnormal result.
7439         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7440         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
7441         math_check_force_underflow_nonneg.
7442         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
7443         math_check_force_underflow.
7444         * sysdeps/x86_64/fpu/x86_64-math-asm.h
7445         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
7446         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
7447         DEFINE_LDBL_MIN.
7448         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
7449         * math/auto-libm-test-in: Add more tests of pow.
7450         * math/auto-libm-test-out: Regenerated.
7452 2015-09-25  Florian Weimer  <fweimer@redhat.com>
7454         * nss/bug17079.c (init_test_items): Add diagnostic for
7455         inconsistent entries.
7456         (test_buffer_size): Skip inconsistent entries.
7458 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
7460         [BZ #13304]
7461         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
7462         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
7463         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
7465         [BZ #13304]
7466         * sysdeps/microblaze/s_fma.c: New file.
7467         * sysdeps/microblaze/s_fmaf.c: Likewise.
7468         * sysdeps/microblaze/sfp-machine.h: Likewise.
7470 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
7472         [BZ #17250]
7473         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
7474         member.
7476 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
7478         [BZ #18803]
7479         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
7480         (MO): New macro.
7481         (__ieee754_hypot) [PIC]: Load PIC register.
7482         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
7483         DBL_NARROW_EVAL.
7484         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
7485         math_check_force_underflow_nonneg in case where result might be
7486         tiny.
7487         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7488         Likewise.
7489         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7490         Likewise.
7491         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7492         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
7493         * math/auto-libm-test-in: Add more tests of hypot.
7494         * math/auto-libm-test-out: Regenerated.
7496 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
7498         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
7500 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
7502         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
7503         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
7504         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7505         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7506         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
7507         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7508         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7510         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
7511         LOAD_PIC_REG.
7513         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
7514         (FLT_CHECK_FORCE_UFLOW): Likewise.
7515         (DBL_CHECK_FORCE_UFLOW): Likewise.
7516         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
7517         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
7518         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
7519         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7520         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7521         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7522         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7523         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7524         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
7525         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7526         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
7527         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
7528         (flt_min): Replace with use of DEFINE_FLT_MIN.
7529         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
7530         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
7531         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7532         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
7533         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
7534         (flt_min): Replace with use of DEFINE_FLT_MIN.
7535         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
7536         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
7537         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7538         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
7539         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
7540         (flt_min): Replace with use of DEFINE_FLT_MIN.
7541         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
7542         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
7543         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7544         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7545         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
7546         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7547         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7548         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
7549         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7550         (__atan): Use DBL_CHECK_FORCE_UFLOW.
7551         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
7552         (flt_min): Replace with use of DEFINE_FLT_MIN.
7553         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
7554         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
7555         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7556         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
7557         main computation.
7558         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
7559         (flt_min): Replace with use of DEFINE_FLT_MIN.
7560         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
7561         main computation.
7562         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
7563         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7564         (MO): New macro.
7565         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
7566         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
7567         (flt_min): Replace with use of DEFINE_FLT_MIN.
7568         (MO): New macro.
7569         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
7570         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
7571         (__log1pl): Use MO.
7573         [BZ #19003]
7574         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
7575         $(config-cflags-nofma).
7577 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7579         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7581 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
7583         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
7584         (TWO127): Likewise.
7586         * sysdeps/generic/math_private.h (fabs_tg): New macro.
7587         (min_of_type): Likewise.
7588         (math_check_force_underflow): Likewise.
7589         (math_check_force_underflow_nonneg): Likewise.
7590         (math_check_force_underflow_complex): Likewise.
7591         * math/e_exp2l.c (__ieee754_exp2l): Use
7592         math_check_force_underflow_nonneg.
7593         * math/k_casinh.c (__kernel_casinh): Likewise.
7594         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7595         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7596         * math/s_catan.c (__catan): Use
7597         math_check_force_underflow_complex.
7598         * math/s_catanf.c (__catanf): Likewise.
7599         * math/s_catanh.c (__catanh): Likewise.
7600         * math/s_catanhf.c (__catanhf): Likewise.
7601         * math/s_catanhl.c (__catanhl): Likewise.
7602         * math/s_catanl.c (__catanl): Likewise.
7603         * math/s_ccosh.c (__ccosh): Likewise.
7604         * math/s_ccoshf.c (__ccoshf): Likewise.
7605         * math/s_ccoshl.c (__ccoshl): Likewise.
7606         * math/s_cexp.c (__cexp): Likewise.
7607         * math/s_cexpf.c (__cexpf): Likewise.
7608         * math/s_cexpl.c (__cexpl): Likewise.
7609         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
7610         * math/s_clog10.c (__clog10): Likewise.
7611         * math/s_clog10f.c (__clog10f): Likewise.
7612         * math/s_clog10l.c (__clog10l): Likewise.
7613         * math/s_clogf.c (__clogf): Likewise.
7614         * math/s_clogl.c (__clogl): Likewise.
7615         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
7616         * math/s_csinf.c (__csinf): Likewise.
7617         * math/s_csinh.c (__csinh): Likewise.
7618         * math/s_csinhf.c (__csinhf): Likewise.
7619         * math/s_csinhl.c (__csinhl): Likewise.
7620         * math/s_csinl.c (__csinl): Likewise.
7621         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
7622         * math/s_csqrtf.c (__csqrtf): Likewise.
7623         * math/s_csqrtl.c (__csqrtl): Likewise.
7624         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
7625         * math/s_ctanf.c (__ctanf): Likewise.
7626         * math/s_ctanh.c (__ctanh): Likewise.
7627         * math/s_ctanhf.c (__ctanhf): Likewise.
7628         * math/s_ctanhl.c (__ctanhl): Likewise.
7629         * math/s_ctanl.c (__ctanl): Likewise.
7630         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
7631         instead of volatile.
7632         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
7633         math_check_force_underflow.
7634         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7635         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
7636         volatile when forcing underflow.
7637         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7638         math_check_force_underflow_nonneg.
7639         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7640         Likewise.
7641         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
7642         math_check_force_underflow.
7643         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7644         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7645         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7646         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
7647         math_check_force_underflow_nonneg.
7648         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
7649         math_check_force_underflow.
7650         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
7651         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
7652         instead of volatile.
7653         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
7654         math_check_force_underflow.
7655         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7656         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7657         math_check_force_underflow_nonneg.
7658         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
7659         math_check_force_underflow.
7660         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
7661         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7662         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
7663         math_check_force_underflow_nonneg.
7664         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7665         Likewise.
7666         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
7667         math_check_force_underflow.
7668         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7669         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7670         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7671         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
7672         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7673         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
7674         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
7675         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
7676         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7677         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
7678         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
7679         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
7680         Likewise.
7681         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
7682         math_check_force_underflow_nonneg.
7683         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7684         Likewise.
7685         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
7686         math_check_force_underflow.
7687         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7688         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
7689         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7690         Likewise.
7691         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
7692         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
7693         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
7694         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
7695         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
7696         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7697         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
7698         instead of volatile.
7699         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
7700         math_check_force_underflow.
7701         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
7702         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
7703         math_check_force_underflow.
7704         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
7705         Likewise.
7706         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7707         Use math_check_force_underflow_nonneg.
7708         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
7709         math_check_force_underflow.
7710         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7711         Likewise.
7712         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7713         Likewise.
7714         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7715         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7716         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7717         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7718         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
7719         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7720         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
7721         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
7722         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
7723         math_check_force_underflow_nonneg.
7724         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
7725         math_check_force_underflow.
7726         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7727         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
7728         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
7729         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
7730         math_check_force_underflow_nonneg.
7731         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
7732         math_check_force_underflow.
7733         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
7734         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
7735         instead of volatile.
7736         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
7737         math_check_force_underflow.
7739         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
7740         * stdlib/strtod_l.c: Include <math_private.h>.
7741         (overflow_value): Use math_narrow_eval.
7742         (underflow_value): Likewise.
7743         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7744         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7745         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
7746         (__ieee754_gamma_r): Likewise.
7747         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
7748         Likewise.
7749         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7750         Likewise.
7751         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7752         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
7753         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7754         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7755         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7756         (__ieee754_gammaf_r): Likewise.
7757         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7758         Likewise.
7759         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7760         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
7761         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
7762         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
7763         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
7764         volatile.
7765         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
7766         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
7767         math_narrow_eval.
7768         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7769         Likewise.
7770         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7771         Likewise.
7772         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
7773         Likewise.
7774         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
7775         volatile.
7776         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
7777         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
7778         math_narrow_eval.
7779         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7780         Likewise.
7781         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7782         Likewise.
7784 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
7786         * nptl/Versions: Remove ignored symbols.
7788 2015-09-22  Florian Weimer  <fweimer@redhat.com>
7790         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
7791         * nss/Makefile (tests): Update.
7793 2015-09-22  Florian Weimer  <fweimer@redhat.com>
7795         * nss/bug18287.c: New file.
7796         * nss/Makefile (tests): Add bug18287.
7798 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7800         * mach/Versions (__mach_host_self_): Add symbol.
7802 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7804         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
7805         vm_page_size.
7807 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7809         Really fix sysdeps/i386/fpu/s_scalbn.S build
7811         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
7812         (libc: GLIBC_2_22): Remove unused version set.
7814 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
7816         * config.make.in (enable-timezone-tools): New variable.
7817         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
7818         (enable_timezone_tools): Export to generated files.
7819         * configure: Regenerate.
7820         * INSTALL: Regenerate.
7821         * manual/install.texi (--disable-timezone-tools): Document new flag.
7822         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
7823         ifeq ($(enable-timezone-tools),yes) check.
7825 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7827         * timezone/Makefile: Revert previous change.
7829         [BZ #18980]
7830         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
7831         (DEFINE_DBL_MIN): Likewise.
7832         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7833         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7834         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7835         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7836         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
7837         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7838         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7839         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
7840         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
7841         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7842         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7843         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
7844         (flt_min): Replace with use of DEFINE_FLT_MIN.
7845         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7846         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
7847         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7848         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7849         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
7850         (flt_min): Replace with use of DEFINE_FLT_MIN.
7851         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7852         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
7853         (flt_min): Replace with use of DEFINE_FLT_MIN.
7854         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7855         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
7856         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
7857         (__ieee754_hypot): Use DBL_NARROW_EVAL.
7858         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
7859         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
7860         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
7861         (__ieee754_pow): Use DBL_NARROW_EVAL.
7862         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
7863         (__ieee754_powf): Use FLT_NARROW_EVAL.
7864         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
7865         (__ieee754_expf_sse2): Convert double-precision result to single
7866         precision.
7867         * sysdeps/i386/fpu/libm-test-ulps: Update.
7869 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7871         * timezone/Makefile: Ignore unused variable errors due to private.h
7872         (time_t_min) and (time_t_max).
7873         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
7874         Likewise.
7876 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7878         [BZ #18981]
7879         * sysdeps/i386/fpu/i386-math-asm.h: New file.
7880         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
7881         (__ieee754_scalb): Use DBL_NARROW_EVAL.
7882         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
7883         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
7884         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
7885         (__scalbn): Use DBL_NARROW_EVAL.
7886         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
7887         (__scalbnf): Use FLT_NARROW_EVAL.
7889 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7891         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
7892         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
7893         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
7894         * stdio-common/printf_fp.c (___printf_fp):
7895         Use signbit to get the sign. Use isinf macro to allow inlining.
7896         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
7897         * stdio-common/printf_size.c (__printf_size): Likewise.
7899 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
7901         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
7903 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7905         [BZ #18980]
7906         * sysdeps/generic/math_private.h: Include <float.h>.
7907         (math_narrow_eval): New macro.
7908         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
7909         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
7910         math_narrow_eval on overflowing return value.
7911         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
7912         Likewise.
7913         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7914         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
7915         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
7916         Likewise.
7917         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7919 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7921         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
7922         * math/Makefile: Remove isinf_ns.c.
7923         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
7924         * math/multc3.c (__multc3): Likewise.
7925         * math/s_casin.c (__casin): Likewise.
7926         * math/s_casinf.c (__casinf): Likewise.
7927         * math/s_casinl.c (__casinl): Likewise.
7928         * math/s_cproj.c (__cproj): Likewise.
7929         * math/s_cprojf.c (__cprojf): Likewise.
7930         * math/s_cprojl.c (__cprofl): Likewise.
7931         * math/s_ctan.c (__ctan): Likewise.
7932         * math/s_ctanf.c (__ctanf): Likewise.
7933         * math/s_ctanh.c (__ctanh): Likewise.
7934         * math/s_ctanhf.c (__ctanhf): Likewise.
7935         * math/s_ctanhl.c (__ctanhl): Likewise.
7936         * math/s_ctanl.c (__ctanl): Likewise.
7937         * math/w_fmod.c (__fmod): Likewise.
7938         * math/w_fmodf.c (__fmodf): Likewise.
7939         * math/w_fmodl.c (_fmodl): Likewise.
7940         * math/w_remainder.c (__remainder): Likewise.
7941         * math/w_remainderf.c (__remainderf): Likewise.
7942         * math/w_remainderl.c (__remainderl): Likewise.
7943         * math/w_scalb.c (__scalb): Likewise.
7944         * math/w_scalbf.c (__scalbf): Likewise.
7945         * math/w_scalbl.c (__scalbl): Likewise.
7946         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
7947         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
7948         with isinf.
7949         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
7950         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
7951         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
7952         __isinf_nsf with isinf.
7953         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
7954         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
7955         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
7956         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
7957         with isinf.
7958         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
7959         __isinf_nsl with isinf.
7960         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
7961         with isinf.
7962         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
7963         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
7964         __isinf_nsl with isinf.
7965         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
7966         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
7967         with isinf.
7969 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7971         * resolv/base64.c (rcsid): Remove unused static.
7972         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
7973         static.  (tqpi1): Likewise.
7974         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
7975         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
7976         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
7977         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
7978         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
7979         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
7980         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
7981         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
7982         Likewise.
7984 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
7986         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
7987         <nptl/pthreadP.h>.
7988         (_longjmp_unwind): Use __libc_ptf_call.
7989         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
7991 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
7993         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
7994         * sysdeps/arm/__longjmp.S: Likewise.
7996 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7998         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
7999         Use __builtin_signbit.
8000         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
8001         Use __builtin_signbitf.
8002         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
8003         Use __builtin_signbitl.
8004         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8005         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
8007 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8009         [BZ #15367]
8010         [BZ #17441]
8012         * math/Makefile: Build test-snan.c with -fsignaling-nans.
8013         * math/math.h (fpclassify): Use __builtin_fpclassify when
8014         available.  (signbit): Use __builtin_signbit(f/l).
8015         (isfinite): Use__builtin_isfinite.  (isnormal): Use
8016         __builtin_isnormal.  (isnan): Use __builtin_isnan.
8017         (isinf): Use __builtin_isinf_sign.
8019 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
8021         * benchtests/Makefile: Add bench-math-inlines, link with libm.
8022         * benchtests/bench-math-inlines.c: New benchmark.
8023         * benchtests/bench-util.h: New file.
8024         * benchtests/bench-util.c: New file.
8025         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
8027 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
8029         * elf/tst-dlmopen1.c: Define TEST_SO.
8030         (do_test): Use TEST_SO.
8032         * elf/dl-load.c: Include libc-internal.h.
8033         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
8035 2015-09-18  Vincent Bernat  <vincent@bernat.im>
8037         [BZ #17887]
8038         * time/strptime_l.c (__strptime_internal): Make %z accept
8039         [+-]HH:MM time zones.
8041 2015-09-18  Vincent Bernat  <vincent@bernat.im>
8043         [BZ #17886]
8044         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
8045         valid time zone.
8047 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
8049         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
8050         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
8051         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8052         (__ASSUME_FDATASYNC): Delete.
8054 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8056         * conform/linknamespace.pl: Require weak undefined symbols to be
8057         in the standard namespace.
8058         (%strong_syms): Rename to %seen_syms.
8059         (%strong_seen): Rename to %seen_where.
8061 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
8063         [BZ #18970]
8064         * misc/error.c (error): Replace pthread_setcancelstate with
8065         __pthread_setcancelstate.
8066         (error_at_line): Likewise.
8067         * posix/wordexp.c (parse_comm): Likewise.
8068         * stdlib/fmtmsg.c (fmtmsg): Likewise.
8069         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
8070         (__pthread_setcancelstate): This.
8071         (pthread_setcancelstate): Add an alias.
8072         * nptl/nptl-init.c (pthread_functions): Replace
8073         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
8074         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
8075         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
8076         hidden_proto.
8077         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
8078         it with hidden_def.
8079         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
8080         (pthread_setcancelstate): Renamed to ...
8081         (__pthread_setcancelstate): This.
8082         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
8083         __libc_ptf_call with __pthread_setcancelstate.
8085 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8086             Andreas Schwab  <schwab@suse.de>
8088         [BZ #17118]
8089         * math/s_ctan.c (__ctan): Determine sign of zero real part of
8090         result when imaginary part of argument is infinite using sine and
8091         cosine.
8092         * math/s_ctanf.c (__ctanf): Likewise.
8093         * math/s_ctanl.c (__ctanl): Likewise.
8094         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
8095         of result when real part of argument is infinite using sine and
8096         cosine.
8097         * math/s_ctanhf.c (__ctanhf): Likewise.
8098         * math/s_ctanhl.c (__ctanhl): Likewise.
8099         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
8100         (ctanh_test_data): Add more tests of ctanh.
8102 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8104         [BZ #15384]
8105         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
8106         bit-mask as in subtraction.
8107         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
8108         Likewise.
8109         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
8110         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
8111         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
8113         [BZ #18951]
8114         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
8115         underflow exception for small results.
8116         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8117         Likewise.
8118         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8119         Likewise.
8120         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8121         Likewise.
8122         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8123         Likewise.
8124         * math/auto-libm-test-in: Add more tests of tgamma.
8125         * math/auto-libm-test-out: Regenerated.
8127 2015-09-17  Andreas Schwab  <schwab@suse.de>
8129         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
8131 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
8133         [BZ #18977]
8134         * math/bits/mathcalls.h
8135         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
8136         not declare.
8137         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
8138         Likewise.
8139         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
8140         Likewise.
8141         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
8142         Likewise.
8143         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
8144         Likewise.
8145         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
8146         Likewise.
8147         * conform/data/math.h-data
8148         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
8149         function.
8150         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
8151         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
8152         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
8153         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
8154         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
8155         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
8156         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
8157         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
8158         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
8159         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
8160         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
8162         [BZ #6803]
8163         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
8164         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
8165         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
8166         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
8167         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
8168         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
8169         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
8170         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
8171         [NO_LONG_DOUBLE] (scalbnl): Likewise.
8172         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
8173         Likewise.
8174         [NO_LONG_DOUBLE] (scalbnl): Likewise.
8175         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
8176         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
8177         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
8178         long_double_symbol calls.
8179         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
8180         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
8181         strong alias of __ldexpl.
8182         (scalbnl): Define using long_double_symbol.
8183         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
8184         Remove alias.
8185         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
8186         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
8187         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
8188         (scalbln_test_data): Add more errno expectations.
8190 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
8192         Cache the host port like we cache the task port.  This way we do not
8193         need to call the kernel just to get the port.  Furthermore, we no
8194         longer increase the reference count on every invocation of
8195         `mach_host_self'.
8197         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
8198         Protect declarations against the macro expansion.
8199         * mach/mach_init.c (__mach_host_self_): New variable.
8200         (mach_init): Initialize `__mach_host_self_'.
8201         * mach/mach_init.h (__mach_host_self_): New declaration.
8202         (__mach_host_self, mach_host_self): New macros.
8203         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
8204         Release reference.
8206 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
8208         [BZ #4404]
8209         * po/de.po: Update from Translation Project.
8211         [BZ #16415]
8212         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
8213         (__expm1l): Remove code to handle positive infinity and overflow.
8214         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
8215         variable.
8216         (__expm1l): Remove code to handle positive infinity and overflow.
8218 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
8219             Paul Pluzhnikov  <ppluzhnikov@google.com>
8221         [BZ #18872]
8222         * stdio-common/Makefile (tst-printf-bz18872): New test.
8223         (tst-printf-bz18872-mem.out): Likewise.
8224         * stdio-common/tst-printf-bz18872.sh: Generate new test.
8225         * stdio-common/vfprintf.c: Fix memory leaks.
8227 2015-09-16  Andreas Schwab  <schwab@suse.de>
8229         [BZ #17244]
8230         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
8231         Remove extra va_start/va_end calls.
8233         [BZ #17243]
8234         * posix/execl.c (execl): Add missing va_end.
8235         * posix/execle.c (execle): Likewise.
8236         * posix/execlp.c (execlp): Likewise.
8238 2015-09-15  Roland McGrath  <roland@hack.frob.com>
8240         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
8241         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
8243 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
8245         [BZ #18967]
8246         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
8247         undefine around includes of <bits/mathcalls.h>.
8248         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
8249         not declare function.
8250         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
8251         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
8252         (scalb): Likewise.
8253         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
8254         not define macro.
8255         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
8256         variable.
8257         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8258         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8259         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8261         [BZ #18857]
8262         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
8263         return non-finite argument without doing ordered comparisons on
8264         it.
8266         [BZ #16296]
8267         * math/fenv.h (fegetround): Use __attribute_pure__.
8268         * include/fenv.h (__fegetround): Likewise.
8270         [BZ #18595]
8271         * math/s_ctan.c (__ctan): Force underflow exception for results
8272         whose real or imaginary part has small absolute value.
8273         * math/s_ctanf.c (__ctanf): Likewise.
8274         * math/s_ctanh.c (__ctanh): Likewise.
8275         * math/s_ctanhf.c (__ctanhf): Likewise.
8276         * math/s_ctanhl.c (__ctanhl): Likewise.
8277         * math/s_ctanl.c (__ctanl): Likewise.
8278         * math/auto-libm-test-in: Do not allow missing underflow for ctan
8279         and ctanh.  Add more tests of ctan and ctanh.
8281         [BZ #15918]
8282         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
8283         handling of cases where one argument is an infinity.
8285         [BZ #18875]
8286         [BZ #18966]
8287         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
8288         (MO): New macro.
8289         (__ieee754_exp10): For small results, force underflow exception
8290         and remove excess range and precision from return value.
8291         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
8292         (MO): New macro.
8293         (__ieee754_exp10f): For small results, force underflow exception
8294         and remove excess range and precision from return value.
8295         * math/auto-libm-test-in: Add more tests of exp10.
8296         * math/auto-libm-test-out: Regenerated.
8298 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
8300         [BZ #18875]
8301         [BZ #18961]
8302         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
8303         (MO): New macro.
8304         (__ieee754_exp): For small results, force underflow exception and
8305         remove excess range and precision from return value.
8306         (__exp_finite): Likewise.
8307         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
8308         (MO): New macro.
8309         (__ieee754_expf): For small results, force underflow exception and
8310         remove excess range and precision from return value.
8311         (__expf_finite): Likewise.
8312         * math/auto-libm-test-in: Add more tests of exp.
8313         * math/auto-libm-test-out: Regenerated.
8315         [BZ #16521]
8316         [BZ #18875]
8317         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
8318         small results.
8319         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
8320         (MO): New macro.
8321         (__ieee754_exp2): For small results, force underflow exception and
8322         remove excess range and precision from return value.
8323         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
8324         (MO): New macro.
8325         (__ieee754_exp2f): For small results, force underflow exception
8326         and remove excess range and precision from return value.
8327         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
8328         (MO): New macro.
8329         (__ieee754_exp2l): Force underflow exception for small results.
8330         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8331         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8332         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
8333         (MO): New macro.
8334         (__ieee754_exp2l): Force underflow exception for small results.
8335         * math/auto-libm-test-in: Add more tests or exp2.
8336         * math/auto-libm-test-out: Regenerated.
8338 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
8340         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
8342         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
8343         /dev/null.
8345 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8347         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8348         io fs process)): Drop spurious backslash.
8350 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
8352         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
8353         Use sysinfo system call instead of parsing /proc/meminfo.
8354         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
8355         Likewise.
8357 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
8359         [BZ #16985]
8360         * programs/localedef.c (main): Display argv[remaining] when
8361         output_path is NULL.
8363 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
8365         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8366         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
8367         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
8368         tanh.
8369         * math/auto-libm-test-out: Regenerated.
8370         * sysdeps/i386/fpu/libm-test-ulps: Update.
8371         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8372         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8375 2015-09-11  Roland McGrath  <roland@hack.frob.com>
8377         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
8378         Use 'override' keyword to freeze the value here, preventing
8379         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
8381 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
8383         [BZ #14912]
8384         * sysdeps/aarch64/bits/atomic.h: Move to ...
8385         * sysdeps/aarch64/atomic-machine.h: ...here.
8386         (_AARCH64_BITS_ATOMIC_H): Rename macro to
8387         _AARCH64_ATOMIC_MACHINE_H.
8388         * sysdeps/alpha/bits/atomic.h: Move to ...
8389         * sysdeps/alpha/atomic-machine.h: ...here.
8390         * sysdeps/arm/bits/atomic.h: Move to ...
8391         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
8392         * bits/atomic.h: Move to ...
8393         * sysdeps/generic/atomic-machine.h: ...here.
8394         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8395         * sysdeps/i386/bits/atomic.h: Move to ...
8396         * sysdeps/i386/atomic-machine.h: ...here.
8397         * sysdeps/ia64/bits/atomic.h: Move to ...
8398         * sysdeps/ia64/atomic-machine.h: ...here.
8399         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
8400         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
8401         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8402         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
8403         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
8404         * sysdeps/microblaze/bits/atomic.h: Move to ...
8405         * sysdeps/microblaze/atomic-machine.h: ...here.
8406         * sysdeps/mips/bits/atomic.h: Move to ...
8407         * sysdeps/mips/atomic-machine.h: ...here.
8408         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
8409         * sysdeps/powerpc/bits/atomic.h: Move to ...
8410         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
8411         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
8412         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
8413         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
8414         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
8415         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
8416         <atomic-machine.h> instead of <bits/atomic.h>.
8417         * sysdeps/s390/bits/atomic.h: Move to ...
8418         * sysdeps/s390/atomic-machine.h: ...here.
8419         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
8420         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
8421         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8422         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
8423         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
8424         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
8425         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
8426         * sysdeps/tile/bits/atomic.h: Move to ...
8427         * sysdeps/tile/atomic-machine.h: ...here.
8428         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
8429         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
8430         <sysdeps/tile/atomic-machine.h> instead of
8431         <sysdeps/tile/bits/atomic.h>.
8432         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8433         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
8434         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
8435         <sysdeps/tile/atomic-machine.h> instead of
8436         <sysdeps/tile/bits/atomic.h>.
8437         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8438         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
8439         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
8440         <sysdeps/arm/atomic-machine.h> instead of
8441         <sysdeps/arm/bits/atomic.h>.
8442         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
8443         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
8444         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8445         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
8446         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
8447         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8448         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
8449         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
8450         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
8451         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
8452         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
8453         * sysdeps/x86_64/bits/atomic.h: Move to ...
8454         * sysdeps/x86_64/atomic-machine.h: ...here.
8455         * include/atomic.h: Include <atomic-machine.h> instead of
8456         <bits/atomic.h>.
8458         * sysdeps/mips/mips32/libm-test-ulps: Update.
8459         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8461         [BZ #18952]
8462         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
8463         not convert non-integer negative arguments to int to determine the
8464         value of signgam.
8465         * math/auto-libm-test-in: Add more tests of lgamma.
8466         * math/auto-libm-test-out: Regenerated.
8468         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
8469         cosh, csqrt, erfc, expm1 and lgamma.
8470         * math/auto-libm-test-out: Regenerated.
8471         * sysdeps/i386/fpu/libm-test-ulps: Update.
8472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8474 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
8476         [BZ #2542]
8477         [BZ #2543]
8478         [BZ #2558]
8479         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
8480         __lgamma_neg for arguments from -28.0 to -2.0.
8481         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
8482         __lgamma_negf for arguments from -15.0 to -2.0.
8483         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8484         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
8485         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
8486         Call __lgamma_negl for arguments from -33.0 to -2.0.
8487         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
8488         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
8489         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8490         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
8491         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8492         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8493         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8494         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
8495         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8496         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
8497         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
8498         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
8499         (__lgamma_neg): Likewise.
8500         (__lgamma_negl): Likewise.
8501         (__lgamma_product): Likewise.
8502         (__lgamma_productl): Likewise.
8503         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
8504         * math/auto-libm-test-in: Add more tests of lgamma.
8505         * math/auto-libm-test-out: Regenerated.
8506         * sysdeps/i386/fpu/libm-test-ulps: Update.
8507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8509 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
8511         [BZ #18675]
8512         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
8514 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
8516         [BZ #14912]
8517         * bits/libc-lock.h: Move to ...
8518         * sysdeps/generic/libc-lock.h: ...here.
8519         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8520         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
8521         * sysdeps/mach/hurd/libc-lock.h: ...here.
8522         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8523         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
8524         * sysdeps/mach/bits/libc-lock.h: Move to ...
8525         * sysdeps/mach/libc-lock.h: ...here.
8526         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8527         * sysdeps/nptl/bits/libc-lock.h: Move to ...
8528         * sysdeps/nptl/libc-lock.h: ...here.
8529         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8530         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
8531         * sysdeps/nptl/libc-lockP.h: ...here.
8532         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
8533         * crypt/crypt_util.c: Include <libc-lock.h> instead of
8534         <bits/libc-lock.h>.
8535         * dirent/scandir-tail.c: Likewise.
8536         * dlfcn/dlerror.c: Likewise.
8537         * elf/dl-close.c: Likewise.
8538         * elf/dl-iteratephdr.c: Likewise.
8539         * elf/dl-lookup.c: Likewise.
8540         * elf/dl-open.c: Likewise.
8541         * elf/dl-support.c: Likewise.
8542         * elf/dl-writev.h: Likewise.
8543         * elf/rtld.c: Likewise.
8544         * grp/fgetgrent.c: Likewise.
8545         * gshadow/fgetsgent.c: Likewise.
8546         * gshadow/sgetsgent.c: Likewise.
8547         * iconv/gconv_conf.c: Likewise.
8548         * iconv/gconv_db.c: Likewise.
8549         * iconv/gconv_dl.c: Likewise.
8550         * iconv/gconv_int.h: Likewise.
8551         * iconv/gconv_trans.c: Likewise.
8552         * include/link.h: Likewise.
8553         * inet/getnameinfo.c: Likewise.
8554         * inet/getnetgrent.c: Likewise.
8555         * inet/getnetgrent_r.c: Likewise.
8556         * intl/bindtextdom.c: Likewise.
8557         * intl/dcigettext.c: Likewise.
8558         * intl/finddomain.c: Likewise.
8559         * intl/gettextP.h: Likewise.
8560         * intl/loadmsgcat.c: Likewise.
8561         * intl/localealias.c: Likewise.
8562         * intl/textdomain.c: Likewise.
8563         * libidn/idn-stub.c: Likewise.
8564         * libio/libioP.h: Likewise.
8565         * locale/duplocale.c: Likewise.
8566         * locale/freelocale.c: Likewise.
8567         * locale/newlocale.c: Likewise.
8568         * locale/setlocale.c: Likewise.
8569         * login/getutent_r.c: Likewise.
8570         * login/getutid_r.c: Likewise.
8571         * login/getutline_r.c: Likewise.
8572         * login/utmp-private.h: Likewise.
8573         * login/utmpname.c: Likewise.
8574         * malloc/mtrace.c: Likewise.
8575         * misc/efgcvt.c: Likewise.
8576         * misc/error.c: Likewise.
8577         * misc/fstab.c: Likewise.
8578         * misc/getpass.c: Likewise.
8579         * misc/mntent.c: Likewise.
8580         * misc/syslog.c: Likewise.
8581         * nis/nis_call.c: Likewise.
8582         * nis/nis_callback.c: Likewise.
8583         * nis/nss-default.c: Likewise.
8584         * nis/nss_compat/compat-grp.c: Likewise.
8585         * nis/nss_compat/compat-initgroups.c: Likewise.
8586         * nis/nss_compat/compat-pwd.c: Likewise.
8587         * nis/nss_compat/compat-spwd.c: Likewise.
8588         * nis/nss_nis/nis-alias.c: Likewise.
8589         * nis/nss_nis/nis-ethers.c: Likewise.
8590         * nis/nss_nis/nis-grp.c: Likewise.
8591         * nis/nss_nis/nis-hosts.c: Likewise.
8592         * nis/nss_nis/nis-network.c: Likewise.
8593         * nis/nss_nis/nis-proto.c: Likewise.
8594         * nis/nss_nis/nis-pwd.c: Likewise.
8595         * nis/nss_nis/nis-rpc.c: Likewise.
8596         * nis/nss_nis/nis-service.c: Likewise.
8597         * nis/nss_nis/nis-spwd.c: Likewise.
8598         * nis/nss_nisplus/nisplus-alias.c: Likewise.
8599         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
8600         * nis/nss_nisplus/nisplus-grp.c: Likewise.
8601         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
8602         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
8603         * nis/nss_nisplus/nisplus-network.c: Likewise.
8604         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8605         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
8606         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8607         * nis/nss_nisplus/nisplus-service.c: Likewise.
8608         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
8609         * nis/ypclnt.c: Likewise.
8610         * nptl/libc_pthread_init.c: Likewise.
8611         * nss/getXXbyYY.c: Likewise.
8612         * nss/getXXent.c: Likewise.
8613         * nss/getXXent_r.c: Likewise.
8614         * nss/nss_db/db-XXX.c: Likewise.
8615         * nss/nss_db/db-netgrp.c: Likewise.
8616         * nss/nss_db/nss_db.h: Likewise.
8617         * nss/nss_files/files-XXX.c: Likewise.
8618         * nss/nss_files/files-alias.c: Likewise.
8619         * nss/nsswitch.c: Likewise.
8620         * posix/regex_internal.h: Likewise.
8621         * posix/wordexp.c: Likewise.
8622         * pwd/fgetpwent.c: Likewise.
8623         * resolv/res_hconf.c: Likewise.
8624         * resolv/res_libc.c: Likewise.
8625         * shadow/fgetspent.c: Likewise.
8626         * shadow/lckpwdf.c: Likewise.
8627         * shadow/sgetspent.c: Likewise.
8628         * socket/opensock.c: Likewise.
8629         * stdio-common/reg-modifier.c: Likewise.
8630         * stdio-common/reg-printf.c: Likewise.
8631         * stdio-common/reg-type.c: Likewise.
8632         * stdio-common/vfprintf.c: Likewise.
8633         * stdio-common/vfscanf.c: Likewise.
8634         * stdlib/abort.c: Likewise.
8635         * stdlib/cxa_atexit.c: Likewise.
8636         * stdlib/fmtmsg.c: Likewise.
8637         * stdlib/random.c: Likewise.
8638         * stdlib/setenv.c: Likewise.
8639         * string/strsignal.c: Likewise.
8640         * sunrpc/auth_none.c: Likewise.
8641         * sunrpc/bindrsvprt.c: Likewise.
8642         * sunrpc/create_xid.c: Likewise.
8643         * sunrpc/key_call.c: Likewise.
8644         * sunrpc/rpc_thread.c: Likewise.
8645         * sysdeps/arm/backtrace.c: Likewise.
8646         * sysdeps/generic/ldsodefs.h: Likewise.
8647         * sysdeps/generic/stdio-lock.h: Likewise.
8648         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
8649         * sysdeps/i386/backtrace.c: Likewise.
8650         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8651         * sysdeps/m68k/backtrace.c: Likewise.
8652         * sysdeps/mach/hurd/cthreads.c: Likewise.
8653         * sysdeps/mach/hurd/dirstream.h: Likewise.
8654         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8655         * sysdeps/nptl/malloc-machine.h: Likewise.
8656         * sysdeps/nptl/stdio-lock.h: Likewise.
8657         * sysdeps/posix/dirstream.h: Likewise.
8658         * sysdeps/posix/getaddrinfo.c: Likewise.
8659         * sysdeps/posix/system.c: Likewise.
8660         * sysdeps/pthread/aio_suspend.c: Likewise.
8661         * sysdeps/s390/s390-32/backtrace.c: Likewise.
8662         * sysdeps/s390/s390-64/backtrace.c: Likewise.
8663         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8664         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8665         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
8666         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
8667         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
8668         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8669         * sysdeps/unix/sysv/linux/system.c: Likewise.
8670         * sysdeps/x86_64/backtrace.c: Likewise.
8671         * time/alt_digit.c: Likewise.
8672         * time/era.c: Likewise.
8673         * time/tzset.c: Likewise.
8674         * wcsmbs/wcsmbsload.c: Likewise.
8675         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
8676         instead of <bits/libc-lock.h> in comment.
8678 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
8680         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
8681         Only use .set mips2 if the current ISA is below mips2.
8682         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
8683         Likewise.
8684         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
8685         mips32r2 if the current ISA is below mips32r2.
8686         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
8687         (TLS_IE): Updated to use the TLD_RDHWR macro.
8688         (TLS_LE): Likewise.
8689         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
8690         __ASSEMBLER__ condition.
8692 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8694         Fix parallel build of before-compile targets.
8696         * sysdeps/mach/Makefile ($(patsubst
8697         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
8698         mach-before-compile target.
8699         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8700         io fs process)): Move rule to dedicated hurd-before-compile target.
8702 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8704         Fix rules generating headers in hurd/ and mach/ when initial make call
8705         has subdir= explicitly set.
8707         * sysdeps/mach/Makefile ($(patsubst
8708         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
8709         calling $(MAKE).
8710         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8711         io fs process)): Force subdir to hurd when calling $(MAKE).
8712         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
8713         subdir to mach when calling $(MAKE).
8715 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
8717         Check sysheaders when looking for Mach and Hurd headers
8719         * sysdeps/mach/configure.ac: Add sysheaders check.
8720         * sysdeps/mach/configure: Regenerate.
8721         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
8722         * sysdeps/mach/hurd/configure: Regenerate.
8724 2015-09-04  Roland McGrath  <roland@hack.frob.com>
8726         [BZ #18921]
8727         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
8728         Fix inverted sense of test of 'o_directory_works' value.
8729         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
8730         Bernhard Voelker <mail@bernhard-voelker.de>.
8732 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8734         [BZ #14912]
8735         * bits/linkmap.h: Move to ...
8736         * sysdeps/generic/linkmap.h: ...here.
8737         * sysdeps/aarch64/bits/linkmap.h: Move to ...
8738         * sysdeps/aarch64/linkmap.h: ...here.
8739         * sysdeps/arm/bits/linkmap.h: Move to ...
8740         * sysdeps/arm/linkmap.h: ...here.
8741         * sysdeps/hppa/bits/linkmap.h: Move to ...
8742         * sysdeps/hppa/linkmap.h: ...here.
8743         * sysdeps/ia64/bits/linkmap.h: Move to ...
8744         * sysdeps/ia64/linkmap.h: ...here.
8745         * sysdeps/mips/bits/linkmap.h: Move to ...
8746         * sysdeps/mips/linkmap.h: ...here.
8747         * sysdeps/s390/bits/linkmap.h: Move to ...
8748         * sysdeps/s390/linkmap.h: ...here.
8749         * sysdeps/sh/bits/linkmap.h: Move to ...
8750         * sysdeps/sh/linkmap.h: ...here.
8751         * sysdeps/x86/bits/linkmap.h: Move to ...
8752         * sysdeps/x86/linkmap.h: ...here.
8753         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
8755 2015-09-04  Andreas Schwab  <schwab@suse.de>
8757         [BZ #18635]
8758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
8759         (__makecontext): Terminate FDE before return label.
8760         (__novec_makecontext): Likewise.
8762 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8764         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
8765         first member of struct sv in syscall macro.
8767 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8769         [BZ #14912]
8770         * bits/stdio-lock.h: Move to ...
8771         * sysdeps/generic/stdio-lock.h: ...here.
8772         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8773         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
8774         * sysdeps/nptl/stdio-lock.h: ...here.
8775         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8776         * include/libio.h: Include <stdio-lock.h> instead of
8777         <bits/stdio-lock.h>.
8778         * sysdeps/nptl/fork.c: Likewise.
8779         * sysdeps/pthread/flockfile.c: Likewise.
8780         * sysdeps/pthread/ftrylockfile.c: Likewise.
8781         * sysdeps/pthread/funlockfile.c: Likewise.
8783         [BZ #14912]
8784         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
8785         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
8786         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
8787         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
8788         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
8789         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8790         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
8792 2015-09-03  Roland McGrath  <roland@hack.frob.com>
8794         * elf/Makefile (test-xfail-tst-protected1a): New variable.
8795         (test-xfail-tst-protected1b): New variable.
8797 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
8799         [BZ #14912]
8800         * bits/libc-tsd.h: Move to ...
8801         * sysdeps/generic/libc-tsd.h: ...here.
8802         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
8803         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
8804         * sysdeps/mach/hurd/libc-tsd.h: ...here.
8805         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
8806         * include/ctype.h: Include <libc-tsd.h> instead of
8807         <bits/libc-tsd.h>.
8808         * include/rpc/rpc.h: Likewise.
8809         * locale/localeinfo.h: Likewise.
8810         * sunrpc/rpc_thread.c: Likewise.
8811         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8812         * sysdeps/nptl/malloc-machine.h: Likewise.
8814         * Makefile (headers): Remove bits/libc-lock.h.
8815         * libio/Makefile (headers): Remove bits/stdio-lock.h.
8817         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
8818         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
8819         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
8820         <bits/stdio-lock.h>.
8821         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
8822         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
8824 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
8826         [BZ #18757]
8827         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
8828         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
8829         BZ #18757.
8831 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
8833         * malloc/mtrace.pl: Filter out NULL entries.
8835 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
8837         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
8838         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
8839         macro.
8841         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
8842         (TCP_CC_INFO): Likewise.
8843         (TCP_SAVE_SYN): Likewise.
8844         (TCP_SAVED_SYN): Likewise.
8846 2015-08-31  Brett Neumeier <brett@neumeier.us>
8848         [BZ #18870]
8849         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
8851 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
8853         [BZ #18873]
8854         Fix broken overflow check in posix_fallocate
8855         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
8856         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
8857         Fix parenthesization typo.
8859 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
8861         [BZ #18887]
8862         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
8863         tst-mntent-blank-passno.
8864         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
8865         * misc/tst-mntent-blank-corrupt.c: New test.
8866         * misc/tst-mntent-blank-passno.c: New test ripped from ...
8867         * misc/tst-mntent.c (do_test): ... here.
8869 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
8871         [BZ #4404]
8872         * po/de.po: Fix SIGALRM typo.
8874 2015-08-28  James Perkins  <james@loowit.net>
8876         * time/tst-strptime2.c (tests): Replace short list of test
8877         strings for strptime %z specifier with code which exhaustively
8878         tests every combination of sign and 0 to 5 digits. Tests for
8879         rejection of invalid strings.
8881 2015-08-28  James Perkins  <james@loowit.net>
8883         [BZ #16141]
8884         * time/strptime_l.c (__strptime_internal): Fix %z minutes
8885         calculation, removing incorrect decimal time rounding, so that
8886         all minute values result in a valid seconds value.
8887         * time/strptime_l.c (__strptime_internal): Extend %z time zone
8888         offset range limits to UTC-99:59 through UTC+99:59 to parse
8889         current and historical use cases.
8890         * time/tst-strptime2.c (tests): Modify and add tests for the
8891         strptime %z input field descriptor, specifically conversion of
8892         minutes to seconds and validating an offset range of -9959 to
8893         +9959.
8895 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8896             Dmitry V. Levin  <ldv@altlinux.org>
8898         [BZ #18877]
8899         * posix/Makefile (tests): Add tst-mmap-offset.
8900         * posix/tst-mmap.c: New file.
8901         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
8902         offset calculation for negative values.
8904 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8906         * sysdeps/i386/init-arch.h: New file.
8907         * sysdeps/i386/i586/init-arch.h: Likewise.
8908         * sysdeps/i386/i686/init-arch.h: Likewise.
8909         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
8910         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
8911         * sysdeps/x86/cpu-features.h (bit_I586): New.
8912         (bit_I686): Likewise.
8913         (bit_CX8): Likewise.
8914         (bit_CMOV): Likewise.
8915         (index_CX8): Likewise.
8916         (index_CMOV): Likewise.
8917         (index_I586): Likewise.
8918         (index_I686): Likewise.
8919         (reg_CX8): Likewise.
8920         (reg_CMOV): Likewise.
8921         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
8922         available at compile-time.
8923         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
8924         available at compile-time.
8925         * sysdeps/x86/init-arch.h (USE_I586): New macro.
8926         (USE_I686): Likewise.
8928 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8930         * sysdeps/i386/bcopy.S: New file.
8931         * sysdeps/i386/bzero.S: Likewise.
8932         * sysdeps/i386/memcpy.S: Likewise.
8933         * sysdeps/i386/memmove.S: Likewise.
8934         * sysdeps/i386/mempcpy.S: Likewise.
8935         * sysdeps/i386/memset.S: Likewise.
8936         * sysdeps/i386/bzero.c: Removed.
8937         * sysdeps/i386/memset.c: Likewise.
8938         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
8939         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
8940         * sysdeps/i386/i586/memset_chk.S: Likewise.
8941         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
8942         * sysdeps/i386/memcpy_chk.S: Here.
8943         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
8944         * sysdeps/i386/memmove_chk.S: Here.
8945         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
8946         * sysdeps/i386/mempcpy_chk.S: Likewise.
8947         * sysdeps/i386/i686/memset_chk.S: Moved to ...
8948         * sysdeps/i386/memset_chk.S: Likewise.
8950 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
8952         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
8953         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
8954         file, move DIAG_POP_NEEDS_COMMENT to end of file.
8955         * soft-fp/fmadf4.c: Ditto.
8956         * soft-fp/fmatf4.c: Ditto.
8958 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8960         * sysdeps/i386/i586/Implies: Removed.
8961         * sysdeps/i386/i686/Implies: Likewise.
8963 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8965         * sysdeps/i386/i486/strlen.S: Moved to ...
8966         * sysdeps/i386/strlen.S: Here.
8968 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8970         * sysdeps/i386/i486/strcat.S: Moved to ...
8971         * sysdeps/i386/strcat.S: Here.
8973 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8975         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
8976         * sysdeps/i386/pthread_spin_trylock.S: Here.
8977         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
8978         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
8980 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8982         * sysdeps/i386/i486/string-inlines.c: Moved to ...
8983         * sysdeps/i386/string-inlines.c: Here.
8985 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8987         * sysdeps/i386/i486/htonl.S: Moved ...
8988         * sysdeps/i386/htonl.S: here.
8990 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8992         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
8993         * sysdeps/i386/bits/atomic.h: Here.
8995 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8997         * sysdeps/i386/i486/Versions: Removed.
8999 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9001         [BZ #2898]
9002         * misc/mktemp.c: Add mkdtemp to the link_warning message.
9003         Based on patch by Aurelien Jarno.
9005 2015-08-26  Stan Shebs  <stanshebs@google.com>
9007         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
9008         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
9010 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9012         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
9013         * sysdeps/powerpc/dl-procinfo.c:
9014         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
9015         feature so it shows when LD_SHOW_AUXV=1.
9017 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9019         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9020         (__arch_compare_and_exchange_val_32_acq): Remove and use common
9021         definition.  ISA 2.07B no longer requires full sync.
9023 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
9025         [BZ #18863]
9026         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
9027         (si_call_addr): Define.
9028         (si_syscall): Define.
9029         (si_arch): Define.
9031 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
9033         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
9034         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
9035         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
9036         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
9037         (__memset_zero_constant_len_parameter): New.
9038         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
9039         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
9040         (__memset_zero_constant_len_parameter): Don't define if
9041         __memset_chk or USE_AS_BZERO are defined.
9043         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
9044         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
9045         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
9047         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
9048         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
9049         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
9050         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
9051         comments.
9052         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
9053         -mno-mmx for $(all-rtld-routines).
9054         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
9055         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
9056         i386.
9058 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9060         * sysdeps/generic/unwind.h
9061         (_Unwind_Word): Use __mode__(__unwind_word__)
9062         instead of __mode__(__word__).
9063         (_Unwind_Sword): Likewise.
9065         * sysdeps/s390/s390-64/utf8-utf16-z9.c
9066         (MAX_NEEDED_INPUT): New define.
9067         (MAX_NEEDED_OUTPUT): New define.
9069         * NEWS: New item for IBM z13 string optimizations.
9071         * sysdeps/s390/multiarch/memrchr-c.c: New File.
9072         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
9073         * sysdeps/s390/multiarch/memrchr.c: Likewise.
9074         * sysdeps/s390/multiarch/Makefile
9075         (sysdep_routines): Add memrchr functions.
9076         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9077         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
9079         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
9080         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
9081         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
9082         * sysdeps/s390/multiarch/Makefile
9083         (sysdep_routines): Add wmemcmp functions.
9084         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9085         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
9086         * benchtests/bench-wmemcmp.c: New File.
9087         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
9089         * sysdeps/s390/multiarch/wmemset-c.c: New File.
9090         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
9091         * sysdeps/s390/multiarch/wmemset.c: Likewise.
9092         * sysdeps/s390/multiarch/Makefile
9093         (sysdep_routines): Add wmemset functions.
9094         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9095         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
9096         * wcsmbs/wmemset.c: Use WMEMSET if defined.
9097         * string/test-memset.c: Add wmemset support.
9098         * wcsmbs/test-wmemset.c: New File.
9099         * wcsmbs/Makefile (strop-tests): Add wmemset.
9100         * benchtests/bench-memset.c: Add wmemset support.
9101         * benchtests/bench-wmemset.c: New File.
9102         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
9104         * sysdeps/s390/multiarch/memccpy-c.c: New File.
9105         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
9106         * sysdeps/s390/multiarch/memccpy.c: Likewise.
9107         * sysdeps/s390/multiarch/Makefile
9108         (sysdep_routines): Add memccpy functions.
9109         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9110         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
9111         * string/memccpy.c: Use MEMCCPY if defined.
9113         * sysdeps/s390/multiarch/memchr-vx.S: New File.
9114         * sysdeps/s390/multiarch/memchr.c: Likewise.
9115         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
9116         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
9117         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9118         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
9119         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
9120         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9121         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
9122         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
9123         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
9124         and rawmemchr functions.
9125         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9126         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
9127         and wmemchr.
9128         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
9129         * string/test-memchr.c: Add wmemchr support.
9130         * wcsmbs/test-wmemchr.c: New File.
9131         * wcsmbs/Makefile (strop-tests): Add wmemchr.
9132         * benchtests/bench-memchr.c: Add wmemchr support.
9133         * benchtests/bench-wmemchr.c: New File.
9134         * benchtests/Makefile (wcsmbs-bench): wmemchr.
9136         * sysdeps/s390/multiarch/strcspn-c.c: New File.
9137         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
9138         * sysdeps/s390/multiarch/strcspn.c: Likewise.
9139         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
9140         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
9141         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
9142         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
9143         wcscspn functions.
9144         * sysdeps/s390/multiarch/ifunc-impl-list.c
9145         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
9146         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
9147         * string/test-strcspn.c: Add wcscspn support.
9148         * wcsmbs/test-wcscspn.c: New File.
9149         * wcsmbs/Makefile (strop-tests): Add wcscspn.
9150         * benchtests/bench-strcspn.c: Add wcscspn support.
9151         * benchtests/bench-wcscspn.c: New File.
9152         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
9154         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
9155         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
9156         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9157         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
9158         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
9159         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9160         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
9161         wcspbrk functions.
9162         * sysdeps/s390/multiarch/ifunc-impl-list.c
9163         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
9164         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
9165         * string/test-strpbrk.c: Add wcspbrk support.
9166         * wcsmbs/test-wcspbrk.c: New File.
9167         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
9168         * benchtests/bench-strpbrk.c: Add wcspbrk support.
9169         * benchtests/bench-wcspbrk.c: New File.
9170         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
9172         * sysdeps/s390/multiarch/strspn-c.c: New File.
9173         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
9174         * sysdeps/s390/multiarch/strspn.c: Likewise.
9175         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
9176         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
9177         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9178         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
9179         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
9180         wcsspn functions.
9181         * sysdeps/s390/multiarch/ifunc-impl-list.c
9182         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
9183         * string/test-strspn.c: Add wcsspn support.
9184         * wcsmbs/test-wcsspn.c: New File.
9185         * wcsmbs/Makefile (strop-tests): Add wcsspn.
9186         * benchtests/bench-strspn.c: Add wcsspn support.
9187         * benchtests/bench-wcsspn.c: New File.
9188         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
9190         * sysdeps/s390/multiarch/strrchr-c.c: New File.
9191         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
9192         * sysdeps/s390/multiarch/strrchr.c: Likewise.
9193         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
9194         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
9195         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
9196         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
9197         wcsrchr functions.
9198         * sysdeps/s390/multiarch/ifunc-impl-list.c
9199         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
9200         * benchtests/bench-wcsrchr.c: New File.
9201         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
9203         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
9204         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
9205         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
9206         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
9207         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
9208         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
9209         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
9210         wcschrnul functions.
9211         * sysdeps/s390/multiarch/ifunc-impl-list.c
9212         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
9213         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
9214         * string/test-strchr.c: Add wcschrnul support.
9215         * wcsmbs/test-wcschrnul.c: New File.
9216         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
9217         * benchtests/bench-strchr.c: Add wcschrnul support.
9218         * benchtests/bench-wcschrnul.c: New File.
9219         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
9221         * sysdeps/s390/multiarch/strchr-c.c: New File.
9222         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
9223         * sysdeps/s390/multiarch/strchr.c: Likewise.
9224         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
9225         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
9226         * sysdeps/s390/multiarch/wcschr.c: Likewise.
9227         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
9228         wcschr functions.
9229         * sysdeps/s390/multiarch/ifunc-impl-list.c
9230         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
9231         * string/strchr.c (STRCHR): Define and use macro.
9232         * benchtests/bench-wcschr.c: New File.
9233         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
9235         * sysdeps/s390/multiarch/strncmp-c.c: New File.
9236         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
9237         * sysdeps/s390/multiarch/strncmp.c: Likewise.
9238         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
9239         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
9240         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
9241         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
9242         wcsncmp functions.
9243         * sysdeps/s390/multiarch/ifunc-impl-list.c
9244         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
9245         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
9246         * benchtests/bench-strncmp.c: Add wcsncmp support.
9247         * benchtests/bench-wcsncmp.c: New File.
9248         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
9250         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
9251         * sysdeps/s390/multiarch/strcmp.c: Likewise.
9252         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
9253         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
9254         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9255         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
9256         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9257         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
9258         wcscmp functions.
9259         * sysdeps/s390/multiarch/ifunc-impl-list.c
9260         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
9261         * string/strcmp.c (STRCMP): Define and use macro.
9262         * benchtests/bench-wcscmp.c: New File.
9263         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
9264         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
9265         instead of _HAVE_STRING_ARCH_memchr.
9267         * sysdeps/s390/multiarch/strncat-c.c: New File.
9268         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
9269         * sysdeps/s390/multiarch/strncat.c: Likewise.
9270         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
9271         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
9272         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
9273         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
9274         wcsncat functions.
9275         * sysdeps/s390/multiarch/ifunc-impl-list.c
9276         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
9277         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
9278         * string/test-strncat.c: Add wcsncat support.
9279         * wcsmbs/test-wcsncat.c: New File.
9280         * wcsmbs/Makefile (strop-tests): Add wcsncat.
9281         * benchtests/bench-strncat.c: Add wcsncat support.
9282         * benchtests/bench-wcsncat.c: New File.
9283         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
9285         * sysdeps/s390/multiarch/strcat-c.c: New File.
9286         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
9287         * sysdeps/s390/multiarch/strcat.c: Likewise.
9288         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
9289         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
9290         * sysdeps/s390/multiarch/wcscat.c: Likewise.
9291         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
9292         wcscat functions.
9293         * sysdeps/s390/multiarch/ifunc-impl-list.c
9294         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
9295         * string/strcat.c (STRCAT): Define and use macro.
9296         * wcsmbs/wcscat.c: Use WCSCAT if defined.
9297         * string/test-strcat.c: Add wcscat support.
9298         * wcsmbs/test-wcscat.c: New File.
9299         * wcsmbs/Makefile (strop-tests): Add wcscat.
9300         * benchtests/bench-strcat.c: Add wcscat support.
9301         * benchtests/bench-wcscat.c: New File.
9302         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
9304         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
9305         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
9306         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9307         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
9308         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
9309         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
9310         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
9311         wcpncpy functions.
9312         * sysdeps/s390/multiarch/ifunc-impl-list.c
9313         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
9314         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
9315         * string/test-stpncpy.c: Add wcpncpy support.
9316         * wcsmbs/test-wcpncpy.c: New File.
9317         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
9318         * benchtests/bench-stpncpy.c: Add wcpncpy support.
9319         * benchtests/bench-wcpncpy.c: New File.
9320         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
9322         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
9323         * sysdeps/s390/multiarch/strncpy.c: Likewise.
9324         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
9325         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
9326         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
9327         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
9328         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9329         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
9330         wcsncpy functions.
9331         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
9332         * sysdeps/s390/multiarch/ifunc-impl-list.c
9333         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
9334         * string/test-strncpy.c: Add wcsncpy support.
9335         * wcsmbs/test-wcsncpy.c: New File.
9336         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
9337         * benchtests/bench-strncpy.c: Add wcsncpy support.
9338         * benchtests/bench-wcsncpy.c: New File.
9339         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
9341         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
9342         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
9343         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9344         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
9345         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
9346         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
9347         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
9348         wcpcpy functions.
9349         * string/stpcpy.c: Use STPCPY if defined.
9350         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
9351         * sysdeps/s390/multiarch/ifunc-impl-list.c
9352         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
9353         * string/test-stpcpy.c: Add wcpcpy support.
9354         * wcsmbs/test-wcpcpy.c: New File.
9355         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
9356         * benchtests/bench-stpcpy.c: Add wcpcpy support.
9357         * benchtests/bench-wcpcpy.c: New File.
9358         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
9360         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
9361         * sysdeps/s390/multiarch/strcpy.c: Likewise.
9362         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
9363         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
9364         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
9365         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
9366         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9367         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
9368         wcscpy functions.
9369         * sysdeps/s390/multiarch/ifunc-impl-list.c
9370         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
9371         * benchtests/bench-wcscpy.c: New File.
9372         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
9374         * sysdeps/s390/multiarch/strnlen-c.c: New File.
9375         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
9376         * sysdeps/s390/multiarch/strnlen.c: Likewise.
9377         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
9378         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
9379         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
9380         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
9381         wcsnlen functions.
9382         * sysdeps/s390/multiarch/ifunc-impl-list.c
9383         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
9384         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
9385         * string/test-strnlen.c: Add wcsnlen support.
9386         * wcsmbs/test-wcsnlen.c: New File.
9387         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
9388         * benchtests/bench-strnlen.c: Add wcsnlen support.
9389         * benchtests/bench-wcsnlen.c: New File.
9390         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
9392         * sysdeps/s390/multiarch/Makefile: New File.
9393         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
9394         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
9395         * sysdeps/s390/multiarch/strlen.c: Likewise.
9396         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
9397         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
9398         * sysdeps/s390/multiarch/wcslen.c: Likewise.
9399         * string/strlen.c (STRLEN): Define and use macro.
9400         * sysdeps/s390/multiarch/ifunc-impl-list.c
9401         (IFUNC_VX_IMPL): New macro function.
9402         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
9403         * benchtests/Makefile (wcsmbs-bench): New variable.
9404         (string-bench-all): Added wcsmbs-bench.
9405         * benchtests/bench-wcslen.c: New File.
9407         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
9408         s390_vx_libc_ifunc2): New macro function.
9410         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
9411         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
9412         assembler support.
9413         * sysdeps/s390/configure: Regenerated.
9415         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
9416         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
9418         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
9419         * sysdeps/s390/dl-procinfo.h: Add vector capability.
9420         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
9422         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9423         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
9424         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
9425         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
9426         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
9427         (memcmp, bcmp): Use __memcmp_default as alias source.
9428         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
9429         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
9430         Rename to __memcmp_default.
9431         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
9432         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
9433         (memcpy): Use __memcpy_default as alias source.
9434         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
9435         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
9436         Rename to __memcpy_default.
9437         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
9438         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
9439         (memset): Use __memset_default as alias source.
9440         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
9441         * sysdeps/s390/s390-32/memset.S (__memset_g5):
9442         Rename to __memset_default.
9443         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
9444         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
9445         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
9446         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
9447         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
9448         (memcmp, bcmp): Use __memcmp_default as alias source.
9449         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
9450         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
9451         Rename to __memcmp_default.
9452         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
9453         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
9454         (memcpy): Use __memcpy_default as alias source.
9455         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
9456         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
9457         Rename to __memcpy_default.
9458         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
9459         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
9460         (memset): Use __memset_default as alias source.
9461         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
9462         * sysdeps/s390/s390-64/memset.S (__memset_z900):
9463         Rename to __memset_default.
9464         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
9465         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
9467         [BZ #18610]
9468         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
9469         __ieee_instruction_pointer to __unused.
9470         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
9471         __ieee_instruction_pointer.
9472         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
9473         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
9474         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9475         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9476         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
9477         Mark dxc-field as reserved.
9479 2015-08-25  Roland McGrath  <roland@hack.frob.com>
9481         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
9482         if the weak reference is not null.
9484 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9486         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
9488         [BZ #11214]
9489         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
9491 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9493         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
9494         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
9495         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
9496         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
9497         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
9498         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
9499         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
9500         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
9501         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
9502         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
9503         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
9504         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
9505         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
9506         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
9507         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
9508         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
9509         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
9510         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
9512 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9514         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
9515         register other than r0 for tabort, it has special meaning.
9516         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
9517         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
9518         transaction before starting syscall.
9520 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9522         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
9524 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9526         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
9528         * sysdeps/x86_64/rtld-memcmp.c: Removed.
9529         * sysdeps/x86_64/rtld-memset.S: Likewise.
9530         * sysdeps/x86_64/rtld-strchr.S: Likewise.
9531         * sysdeps/x86_64/rtld-strlen.S: Likewise.
9532         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
9533         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9535         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
9537 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
9539         * debug/strcpy_chk.c: Improve performance.
9540         * debug/stpcpy_chk.c: Likewise.
9541         * sysdeps/x86_64/strcpy_chk.S: Remove.
9542         * sysdeps/x86_64/stpcpy_chk.S: Remove.
9544         [BZ #18240]
9545         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
9547 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9549         [BZ #15128]
9550         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
9551         ifuncmain8.
9552         (modules-names): Add ifuncmod8.
9553         ($(objpfx)ifuncmain8): New rule.
9554         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
9555         <cpuid.h>.
9556         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
9557         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
9558         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
9559         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
9560         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
9561         * sysdeps/x86_64/dl-trampoline.h: Likewise.
9562         * sysdeps/x86_64/ifuncmain8.c: New file.
9563         * sysdeps/x86_64/ifuncmod8.c: Likewise.
9564         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
9565         Removed.
9566         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
9567         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
9568         Change rtld_savespace_sse to __glibc_unused2.
9569         (RTLD_CHECK_FOREIGN_CALL): Removed.
9570         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
9571         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
9572         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
9574 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
9576         * sysdeps/aarch64/bzero.S (__bzero): Remove.
9578 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
9580         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
9581         Unconditionally set __fpcr to avoid uninialized warning.
9582         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
9584 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9586         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
9587         is corrupt.
9589         * malloc/arena.c (arena_get2): Drop unused argument.
9590         (arena_lock): Adjust.
9591         (arena_get_retry): Likewise.
9593 2015-08-24  Andreas Schwab  <schwab@suse.de>
9595         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
9596         Don't define.
9597         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9598         (__ASSUME_IPC64): Don't undef.
9599         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
9600         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9601         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9602         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
9603         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
9604         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
9605         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
9606         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
9607         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
9608         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
9609         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
9610         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
9611         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
9612         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
9613         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
9614         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
9615         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
9616         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
9617         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
9618         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
9619         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
9621 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
9623         * manual/Makefile (install): Only build manual when perl is available.
9625 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9627         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
9628         '#undef memcpy' by '#undef memchr'.
9630 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9632         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
9633         memchr not point to the internal __GI_memchr implementation.
9635 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
9637         * timezone/Makefile (CFLAGS-zdump.c): Remove
9638         -Wno-strict-prototypes.
9639         (CFLAGS-zic.c): Likewise.
9640         (CFLAGS-ialloc.c): Likewise.
9641         (CFLAGS-scheck.c): Likewise.
9643         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
9644         -Wno-error=undef.
9646 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9648         * i386/i686/multiarch/strcasestr-c.c: Removed.
9649         * x86_64/multiarch/strcasestr.c: Likewise.
9650         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9651         Remove strcasestr.
9653 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
9655         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
9657         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
9658         variables for high and low parts before possibly modifying them.
9660 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9662         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
9663         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
9664         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
9665         of "multiarch/init-arch.h".
9666         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
9667         * sysdeps/x86/init-arch.h: This.
9669 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9671         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
9672         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
9674 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
9676         [BZ #17787]
9677         * manual/macros.texi: Add twoexp macro.
9678         * manual/filesys.texi: Fix exponents.
9679         * manual/llio.texi: Likewise.
9680         * manual/stdio.texi: Likewise.
9682 2015-08-20  Florian Weimer  <fweimer@redhat.com>
9684         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
9685         incorrect use.
9687 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
9689         [BZ #18370]
9690         * math/s_csqrt.c (__csqrt): Force underflow exception for results
9691         whose real or imaginary part has small absolute value.
9692         * math/s_csqrtf.c (__csqrtf): Likewise.
9693         * math/s_csqrtl.c (__csqrtl): Likewise.
9694         * math/auto-libm-test-in: Add more tests of csqrt.
9695         * math/auto-libm-test-out: Regenerated.
9696         * sysdeps/i386/fpu/libm-test-ulps: Update.
9698 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9700         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
9701         __ppc_set_ppr_very_low): New functions.
9702         * manual/platform.texi: Add documentation about
9703         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
9705 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
9707         * string/stpncpy.c (stpncpy): Improve performance using
9708         __strnlen/memcpy/memset.
9710 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9712         [BZ #18796]
9713         * scripts/test-installation.pl: Don't add -lmvec to build options if
9714         libmvec wasn't built.
9716 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9718         [BZ #14341]
9719         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
9720         case when there is a gap between DT_REL and DT_JMPREL sections.
9721         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
9722         (LDFLAGS-tst-split-dynreloc): New.
9723         (tst-split-dynreloc-ENV): Likewise.
9724         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
9725         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
9727 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9729         [BZ #18822]
9730         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
9731         attribute_hidden.
9732         (__xstat64_conv): Likewise.
9733         (__xstat32_conv): Likewise.
9735 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9737         [BZ #18822]
9738         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
9739         Don't load %ebx when calling __setcontext.  Call __setcontext
9740         with HIDDEN_JUMPTARGET.
9741         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
9742         libc_hidden_def.
9744 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9746         * sysdeps/i386/i686/Makefile
9747         [$(subdir) == string] (sysdep_routines): Moved to ...
9748         * sysdeps/i386/Makefile: Here.
9749         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
9750         * sysdeps/i386/cacheinfo.c: Here.
9751         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
9752         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
9753         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
9754         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
9756 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9758         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
9759         __i586__ is defined.
9760         (HAS_I686): Defined to 1 if __i686__ is defined.
9762 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
9764         * elf/Makefile [$(have-z-execstack) = yes]
9765         (CPPFLAGS-tst-execstack.c): New variable.
9767         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
9768         conditional to [defined UTMPX || _HAVE_UT_TYPE].
9769         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
9770         UTMPX || _HAVE_UT_TV].
9771         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
9772         UTMPX || _HAVE_UT_TV - 0].
9774 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
9776         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
9777         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
9778         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
9780 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9782         * sysdeps/powerpc/dl-procinfo.c:
9783         (_dl_powerpc_cap_flags): Added missing strings for some
9784         hwcap features.
9785         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
9787 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
9789         Port the 0x7efe...feff pattern to GCC 6.
9790         See Steve Ellcey's bug report in:
9791         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
9792         * string/memrchr.c (MEMRCHR):
9793         * string/rawmemchr.c (RAWMEMCHR):
9794         * string/strchr.c (strchr):
9795         * string/strchrnul.c (STRCHRNUL):
9796         Rewrite code to avoid issues with signed shift overflow.
9798 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
9800         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
9801         whether cpuid is available only if HAS_CPUID is 0.
9802         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
9803         (HAS_I586): Likewise.
9804         (HAS_I686): Likewise.
9806 2015-08-18  Zack Weinberg  <zackw@panix.com>
9808         * misc/Versions (libc): Add GLIBC_2.23.
9810 2015-08-18  Alan Modra  <amodra@gmail.com>
9812         [BZ #18421]
9813         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
9814         .Lp__global.
9815         (_start): Load %dp via .Lp__global.
9816         [!SHARED]: Use .section .rodata.
9818 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9820         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
9821         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
9823 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9825         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
9826         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
9828 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9830         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
9831         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
9833 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9835         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
9836         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
9838 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9840         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
9841         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
9843 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9845         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
9846         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
9848 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9850         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
9852 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9854         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
9855         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
9856         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9857         (__ASSUME_LWS_CAS): Delete.
9859 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9861         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
9862         * sysdeps/hppa/configure: Regenerated.
9863         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
9864         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
9865         * sysdeps/hppa/nptl/tls.h: Likewise.
9867 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
9869         [BZ #18823]
9870         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
9871         for scaling up small arguments.
9872         * math/s_csqrtf.c (__csqrtf): Likewise.
9873         * math/s_csqrtl.c (__csqrtl): Likewise.
9874         * math/auto-libm-test-in: Add more tests of csqrt.
9875         * math/auto-libm-test-out: Regenerated.
9877 2015-08-17  Andreas Schwab  <schwab@suse.de>
9879         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
9880         version set GLIBC_2.19.
9882 2015-08-16  Zack Weinberg  <zackw@panix.com>
9884         [BZ #18681]
9885         * misc/regexp.h: This interface is no longer supported.
9886         Remove all contents, leaving only an #error directive.
9887         * misc/regexp.c (loc1, loc2, locs, step, advance):
9888         Demote to compatibility symbols.
9890 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
9892         [BZ #18084]
9893         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
9894         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
9895         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9896         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
9897         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
9898         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
9899         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
9900         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
9901         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9903 2015-08-15  Zack Weinberg  <zackw@panix.com>
9905         [BZ #18795]
9906         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
9907         buffer length is known to be too large, not if it's known to be
9908         small enough.
9909         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
9910         overflow at runtime, involving a length parameter, twice: once
9911         with a compile-time constant length parameter, once without.
9913 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
9915         [BZ #18824]
9916         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
9917         scaling x * y up instead of down.
9918         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9919         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9920         * math/auto-libm-test-in: Add more tests of fma.
9921         * math/auto-libm-test-out: Regenerated.
9923 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
9925         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9927 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9929         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
9930         unnecessary movq.
9931         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
9932         Likewise.
9934 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
9936         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9937         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
9938         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
9939         and tgamma.
9940         * math/auto-libm-test-out: Regenerated.
9941         * sysdeps/i386/fpu/libm-test-ulps: Update.
9942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9944         [BZ #16520]
9945         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
9946         (__tanh): Force underflow exception for arguments with small
9947         absolute value.
9948         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
9949         (__tanhf): Force underflow exception for arguments with small
9950         absolute value.
9951         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
9952         (__tanhl): Force underflow exception for arguments with small
9953         absolute value.
9954         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
9955         (__tanhl): Force underflow exception for arguments with small
9956         absolute value.
9957         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
9958         (__tanhl): Force underflow exception for arguments with small
9959         absolute value.
9960         * math/auto-libm-test-in: Add more tests of tanh.
9961         * math/auto-libm-test-out: Regenerated.
9962         * sysdeps/i386/fpu/libm-test-ulps: Update.
9964 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9966         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
9967         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
9969 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9971         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
9972         <cpuid.h>.
9974 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9976         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
9977         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
9979 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9981         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
9982         Remove $(objpfx)init-arch.o.
9983         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
9984         init-arch.
9985         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
9986         (INIT_ARCH_EXT): Defined as empty.
9987         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
9988         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
9989         __init_cpu_features call.  Replace HAS_XXX with
9990         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9991         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
9992         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
9993         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
9994         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
9995         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9996         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
9997         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
9998         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9999         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
10000         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
10001         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10002         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
10003         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
10004         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10005         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
10006         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
10007         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10008         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10009         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
10010         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
10011         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10012         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
10013         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
10014         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10015         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
10016         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
10017         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10018         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
10019         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
10020         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10021         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
10022         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
10023         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10024         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
10025         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
10027 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10029         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
10030         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10031         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
10032         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
10033         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
10034         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
10035         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
10036         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
10037         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
10038         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
10039         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
10040         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
10041         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10042         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10043         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10044         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10045         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10046         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10047         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10048         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10049         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10050         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10051         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10052         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10053         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10054         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10055         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10056         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10057         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10058         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10059         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10060         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10061         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10062         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10063         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10064         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10065         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10066         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10067         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10068         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10069         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10070         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10071         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10073 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10075         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
10076         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10077         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10078         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10079         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10080         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
10081         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10082         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
10083         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10084         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10085         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10086         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
10087         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
10088         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
10089         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
10090         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
10091         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
10092         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
10093         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
10094         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
10095         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
10096         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
10097         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
10098         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10099         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10100         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
10101         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
10102         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
10103         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10104         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10105         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10106         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10107         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10108         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10109         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10110         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10111         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10112         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10113         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10114         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10115         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10116         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10117         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10119 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10121         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
10122         (dl_platform_init): Call init_cpu_features.
10123         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
10124         * sysdeps/i386/i686/cacheinfo.c
10125         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
10126         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
10127         * sysdeps/i386/i686/multiarch/Versions: Removed.
10128         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
10129         Removed.
10130         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
10131         * sysdeps/unix/sysv/linux/x86/Makefile
10132         (libpthread-sysdep_routines): Remove init-arch.
10133         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
10134         <sysdeps/x86_64/dl-procinfo.c> instead of
10135         sysdeps/generic/dl-procinfo.c>.
10136         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
10137         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
10138         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
10139         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
10140         [$(subdir) == elf] (tests-static): Add
10141         tst-get-cpu-features-static.
10142         * sysdeps/x86/Versions: New file.
10143         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
10144         * sysdeps/x86/cpu-features.c: Likewise.
10145         * sysdeps/x86/cpu-features.h: Likewise.
10146         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
10147         * sysdeps/x86/libc-start.c: Likewise.
10148         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
10149         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
10150         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
10151         * sysdeps/x86_64/dl-procinfo.c: Likewise.
10152         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
10153         Assume USE_MULTIARCH is defined and don't check it.
10154         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
10155         (is_amd): Likewise.
10156         (max_cpuid): Likewise.
10157         (intel_check_word): Likewise.
10158         (__cache_sysconf): Don't call __init_cpu_features.
10159         (__x86_preferred_memory_instruction): Removed.
10160         (init_cacheinfo): Don't call __init_cpu_features. Replace
10161         __cpu_features with GLRO(dl_x86_cpu_features).
10162         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
10163         (dl_platform_init): Call init_cpu_features.
10164         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
10165         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
10166         * sysdeps/x86_64/multiarch/Versions: Removed.
10167         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
10168         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
10169         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
10170         Removed.
10171         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
10173 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10175         [BZ #18820]
10176         * libio/Makefile (test-fmemopen-mem): New test.
10177         * libio/test-fmemopen.c (do_bz18820): New test.
10178         * libio/fmemopen.c (__fmemopen): Fix memory leak.
10179         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
10181 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10183         [BZ #16734]
10184         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
10185         (FREE_BUF): Delete.
10186         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
10187         * libio/genops.c (_IO_setb): Use malloc and free directly.
10188         (_IO_default_doallocate, _IO_default_finish): Likewise.
10189         ( _IO_unbuffer_all): Likewise.
10190         ( libc_freeres_fn): Likewise.
10191         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10192         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10193         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
10194         (_IO_wdefault_doallocate): Likewise.
10196 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
10198         [BZ #18086]
10199         * sysdeps/posix/nice.c (nice): Restore old errno.
10200         * posix/tst-nice.c (do_test): Add test for BZ #18086.
10202 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
10204         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
10206 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10208         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
10209         __bcopy and add a weak_alias to bcopy.
10210         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
10211         for static build.
10213         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
10214         cleanup macro usage.
10215         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
10216         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
10217         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10218         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
10219         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10220         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
10221         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
10222         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10223         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10224         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
10225         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10226         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
10227         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10228         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
10229         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10230         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
10231         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
10232         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
10233         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10235         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
10236         libc_hidden_def.
10237         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
10239         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
10240         (sysdep_routines): Add strstr-ppc64.
10241         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
10243 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
10245         [BZ #18778]
10246         * elf/Makefile (tests): Add Add tst-nodelete2.
10247         (modules-names): Add tst-nodelete2mod.
10248         (tst-nodelete2mod.so-no-z-defs): New.
10249         ($(objpfx)tst-nodelete2): Likewise.
10250         ($(objpfx)tst-nodelete2.out): Likewise.
10251         (LDFLAGS-tst-nodelete2): Likewise.
10252         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
10253         out of loop through all loaded libraries.
10254         * elf/tst-nodelete2.c: New file.
10255         * elf/tst-nodelete2mod.c: Likewise.
10256         * elf/tst-znodelete-zlib.cc: Delete.
10258 2015-08-11  Andreas Schwab  <schwab@suse.de>
10260         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
10261         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
10262         (__openat64_nocancel): Likewise.
10264 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
10266         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
10267         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
10268         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
10269         * math/auto-libm-test-out: Regenerated.
10270         * sysdeps/i386/fpu/libm-test-ulps: Update.
10271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10273 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
10275         [BZ #18790]
10276         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
10277         threshold for returning +/- 1.
10278         * math/auto-libm-test-in: Add more tests of tanh.
10279         * math/auto-libm-test-out: Regenerated.
10280         * sysdeps/i386/fpu/libm-test-ulps: Update.
10282 2015-08-10  Andreas Schwab  <schwab@suse.de>
10284         [BZ #18781]
10285         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
10286         MORE_OFLAGS to oflag.
10287         * io/test-lfs.c (do_test): Test openat64.
10289 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
10291         [BZ #18789]
10292         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
10293         smaller threshold for returning the argument.
10294         * math/auto-libm-test-in: Add more tests of sinh.
10295         * math/auto-libm-test-out: Regenerated.
10296         * sysdeps/i386/fpu/libm-test-ulps: Update.
10298 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
10300         [BZ #18674]
10301         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
10302         break.
10304 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
10306         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
10307         (generated): Don't add $(addprefix z.,$(tzfiles)).
10309 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10311         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
10312         * scripts/sysd-rules.awk: Likewise.
10314 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10316         * iconvdata/tst-tables.sh: Change echo -n to printf.
10317         * nss/db-Makefile: Likewise.
10318         * posix/tst-getconf.sh: Likewise.
10319         * stdio-common/tst-unbputc.sh: Likewise.
10321 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10323         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
10324         MADV_*_PAGES defines behind this feature check.
10326 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
10328         [BZ #18480]
10329         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
10330         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
10331         Define.
10332         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
10333         LOAD_REGS_5, LOAD_REGS_6): Update.
10334         (INTERNAL_SYSCALL): Update using new LOAD defines.
10335         (INTERNAL_SYSCALL_NCS): Likewise.
10336         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
10338 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10340         [BZ #16734]
10341         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
10343 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10345         [BZ #17905]
10346         * catgets/Makefile (tst-catgets-mem): New test.
10347         * catgets/catgets.c (catopen): Don't use unbounded alloca.
10348         * catgets/open_catalog.c (__open_catalog): Likewise.
10349         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
10351 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
10353         [BZ #18787]
10354         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
10355         clobber registers.
10356         (atomic_compare_and_exchange_val_acq): Use register asms to assign
10357         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
10358         Cast return to __typeof (oldval).
10360 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
10362         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
10363         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
10364         and delete sys/syscall.h include.
10366 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
10368         [BZ #16517]
10369         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
10370         (tan): Force underflow exception for arguments with small absolute
10371         value.
10372         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
10373         (__kernel_tanf): Force underflow exception for arguments with
10374         small absolute value.
10375         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
10376         (__kernel_tanl): Force underflow exception for arguments with
10377         small absolute value.
10378         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
10379         (__kernel_tanl): Force underflow exception for arguments with
10380         small absolute value.
10381         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
10382         (__kernel_tanl): Force underflow exception for arguments with
10383         small absolute value.
10384         * math/auto-libm-test-in: Add more tests of tan.
10385         * math/auto-libm-test-out: Regenerated.
10387 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10389         Fix sysdeps/i386/fpu/s_scalbn.S build
10391         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
10393 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
10395         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10397 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10399         Fix gcrt0.o compilation
10401         When static-start-installed-name is different from
10402         start-installed-name, we must not use the shared objects.
10404         * csu/Makefile
10405         (extra-objs): Add gmon-start.o when building shared library and
10406         $(static-start-installed-name) is different from
10407         $(start-installed-name).
10408         $(objpfx)g$(static-start-installed-name): When building shared
10409         library and $(static-start-installed-name) is different from
10410         $(static-start-installed-name), revert to non-shared rule,
10411         i.e. using $(objpfx)% and gmon-start.o.
10413 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
10415         [BZ #16519]
10416         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
10417         (__ieee754_sinh): Force underflow exception for arguments with
10418         small absolute value.
10419         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
10420         (__ieee754_sinhf): Force underflow exception for arguments with
10421         small absolute value.
10422         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
10423         (__ieee754_sinhl): Force underflow exception for arguments with
10424         small absolute value.
10425         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
10426         (__ieee754_sinhl): Force underflow exception for arguments with
10427         small absolute value.
10428         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
10429         (__ieee754_sinhl): Force underflow exception for arguments with
10430         small absolute value.
10431         * math/auto-libm-test-in: Add more tests of sinh.
10432         * math/auto-libm-test-out: Regenerated.
10433         * sysdeps/i386/fpu/libm-test-ulps: Update.
10435 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10437         * libio/oldfileops.c: Include unistd.h.
10439 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
10441         * stdlib/isomac.c: Include ctype.h.
10443 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
10445         * dirent/tst-seekdir.c (main): Converted to ...
10446         (do_test): ... this.
10447         (TEST_FUNCTION): New macro.
10448         Include test-skeleton.c.
10449         * elf/tst-dlmodcount.c (main): Converted to ...
10450         (do_test): ... this.
10451         (TEST_FUNCTION): New macro.
10452         Include test-skeleton.c.
10453         * elf/tst-order-main.c (main): Converted to ...
10454         (do_test): ... this.
10455         (TEST_FUNCTION): New macro.
10456         Include test-skeleton.c.
10457         * elf/tst-pie2.c (main): Converted to ...
10458         (do_test): ... this.
10459         (TEST_FUNCTION): New macro.
10460         Include test-skeleton.c.
10461         * inet/tst-ether_aton.c (main): Converted to ...
10462         (do_test): ... this.
10463         (TEST_FUNCTION): New macro.
10464         Include test-skeleton.c.
10465         * misc/tst-mntent.c (main): Converted to ...
10466         (do_test): ... this.
10467         (TEST_FUNCTION): New macro.
10468         Include test-skeleton.c.
10469         * misc/tst-tsearch.c (main): Converted to ...
10470         (do_test): ... this.
10471         (TEST_FUNCTION): New macro.
10472         Include test-skeleton.c.
10473         * posix/tst-regexloc.c (main): Converted to ...
10474         (do_test): ... this.
10475         (TEST_FUNCTION): New macro.
10476         Include test-skeleton.c.
10477         * resolv/tst-aton.c (main): Converted to ...
10478         (do_test): ... this.
10479         (TEST_FUNCTION): New macro.
10480         Include test-skeleton.c.
10481         * stdio-common/test-fwrite.c (main): Converted to ...
10482         (do_test): ... this.
10483         (TEST_FUNCTION): New macro.
10484         Include test-skeleton.c.
10485         * stdio-common/tst-ferror.c (main): Converted to ...
10486         (do_test): ... this.
10487         (TEST_FUNCTION): New macro.
10488         Include test-skeleton.c.
10489         * stdio-common/tst-printf.c (main): Converted to ...
10490         (do_test): ... this.
10491         (TEST_FUNCTION): New macro.
10492         Include test-skeleton.c.
10493         * stdio-common/tst-printfsz.c (main): Converted to ...
10494         (do_test): ... this.
10495         (TEST_FUNCTION): New macro.
10496         Include test-skeleton.c.
10497         * stdlib/tst-strtod.c (main): Converted to ...
10498         (do_test): ... this.
10499         (TEST_FUNCTION): New macro.
10500         Include test-skeleton.c.
10501         * string/tst-strlen.c (main): Converted to ...
10502         (do_test): ... this.
10503         (TEST_FUNCTION): New macro.
10504         Include test-skeleton.c.
10505         * string/tst-svc.c (main): Converted to ...
10506         (do_test): ... this.
10507         (TEST_FUNCTION): New macro.
10508         Include test-skeleton.c.
10509         * time/tst-strptime.c (main): Converted to ...
10510         (do_test): ... this.
10511         (TEST_FUNCTION): New macro.
10512         Include test-skeleton.c.
10513         * timezone/tst-timezone.c (main): Converted to ...
10514         (do_test): ... this.
10515         (TEST_FUNCTION): New macro.
10516         Include test-skeleton.c.
10518 2015-08-05  Zack Weinberg  <zackw@panix.com>
10520         * misc/regexp.h: Update comments.
10522 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
10524         [BZ #18635]
10525         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
10526         before return label.
10528 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10530         [BZ #18661]
10531         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
10532         when calling __errno_location.
10533         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
10534         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
10536 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10538         [BZ #18661]
10539         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
10540         (__lll_timedwait_tid): Align stack to 16 bytes when calling
10541         __gettimeofday.
10543 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10545         [BZ #18661]
10546         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10547         (__start_context): Don't use pop to restore %rdi so that stack
10548         is aligned to 16 bytes when calling __setcontext.
10550 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10552         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
10553         only for libc.
10554         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10556 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10558         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
10559         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
10560         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
10562 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10564         * string/memccpy.c (memccpy):
10565         Improve performance by using memchr/memcpy/__mempcpy.
10567 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10569         * string/strncpy.c (strncpy):
10570         Improve performance by using __strnlen/memcpy.
10572 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10574         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10575         Optimize to avoid an unnecessary FPCR read.
10577 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10579         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10580         Optimize to reduce FPCR/FPSR accesses.
10582 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10584         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
10585         dead->data[category] != NULL.
10587 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
10589         [BZ #18647]
10590         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
10591         and |x| close to 1, use absolute value of x when computing log.
10592         * math/auto-libm-test-in: Add more tests of pow.
10593         * math/auto-libm-test-out: Regenerated.
10595 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10597         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
10598         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
10599         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
10601 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
10603         [BZ #18525]
10604         * locales/km_KH: Remove timezone definition.
10605         * locales/lo_LA: Likewise.
10606         * locales/my_MM: Likewise.
10607         * locales/nan_TW@latin: Likewise.
10608         * locales/th_TH: Likewise.
10609         * locales/uk_UA: Likewise.
10611 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
10613         [BZ #18265]
10614         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
10615         (wcsncat): Likewise.
10616         (wcscmp): Likewise.
10617         (wcsncmp): Likewise.
10619 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10621         * test-skeleton.c (usage): New function.
10622         (main): Call usage when opt is '?'.
10624 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10626         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
10627         before first use.
10629 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10631         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
10632         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
10633         in there too.
10635 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
10637         * version.h (RELEASE): Set to "development".
10638         (VERSION): Set to "2.22.90"
10640         * version.h (RELEASE): Set to "stable".
10641         (VERSION): Set to "2.22"
10642         * include/features.h (__GLIBC_MINOR__): Set to 22.
10644 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
10646         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
10647         Restructure macro to avoid "value computed is not used" warning.
10648         (atomic_compare_and_exchange_val_acq): Likewise.
10650 2015-08-04  Andreas Schwab  <schwab@suse.de>
10652         [BZ #18635]
10653         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
10654         ret.
10655         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
10657 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
10659         * po/pl.po: Updated translation.
10660         * po/uk.po: Likewise.
10661         * po/fi.po: Likewise.
10662         * po/ko.po: Likewise.
10663         * po/ru.po: Likewise.
10664         * po/vi.po: Likewise.
10666 2015-07-31  Zack Weinberg  <zackw@panix.com>
10668         [BZ #18681]
10669         * regexp.h: Add unconditional #warning stating that this header
10670         will be removed soon.  Revise banner comment to match.
10671         (compile): Consistently use ERROR instead of RETURN to report
10672         errors (partial fix for bz#18681).
10673         * regexp.c: Don't include regexp.h. Remove some unnecessary
10674         declarations.
10676 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
10678         * po/libc.pot: Regenerated.
10680 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
10682         [BZ #18740]
10683         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
10684         float-vlen4-arch-ext-cflags): Removed.
10685         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
10686         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
10688 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10690         [BZ #14113]
10691         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
10692         aligned to __aligned__.
10693         (pthread_cond_t, pthread_rwlock_t): Likewise.
10695 2015-07-30  Torvald Riegel  <triegel@redhat.com>
10697         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
10699 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10701         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
10702         (struct sigaction): Change sa_flags from a long to an int, and add
10703         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
10705 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10707         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
10708         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
10709         sysdeps/generic/sysdep.h include.
10710         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
10711         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
10712         sysdeps/hppa/sysdep.h.
10713         (ENTRY, PSEUDO): Undefine before defining.
10715 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10717         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
10718         from scratch to use INTERNAL_SYSCALL.
10720 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
10722         [BZ #18078]
10723         * scripts/check-localplt.awk: Support alternate relocations.
10724         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
10725         sections.
10726         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
10727         malloc entries with + REL R_386_GLOB_DAT.
10728         * sysdeps/x86_64/localplt.data: New file.
10730 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
10732         [BZ #18731]
10733         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
10734         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10735         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10737 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10739         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
10741 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10743         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
10744         directly in terms of __sync_fetch_and_add and delete (int) cast.
10746 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10748         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
10749         the -D_ASM_IA64_CURRENT_H flag.
10751 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10753         [BZ #18641]
10754         * pwd/pwd.h (putpwent): Delete __nonnull markings.
10756 2015-07-27  Andreas Schwab  <schwab@suse.de>
10758         * conform/conformtest.pl (checknamespace): Filter out string
10759         literals while tokenizing.
10761 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10763         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10764         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
10765         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10767 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10769         * nptl/tst-join7mod.c: Add #include <string.h>.
10771 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
10773         * sysdeps/nios2/libm-test-ulps: Update.
10775 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
10777         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
10778         Fix order of arguments to the rt_sigprocmask syscall.
10779         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
10780         Likewise.
10782 2015-07-24  Roland McGrath  <roland@hack.frob.com>
10784         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
10786 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10788         [BZ #18457]
10789         * nptl/Makefile (tests): New test case tst-join7.
10790         (modules-names): New test case module tst-join7mod.
10791         * nptl/tst-join7.c: New file.
10792         * nptl/tst-join7mod.c: New file.
10793         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
10794         all translation units in libc.so, libpthread.so and rtld.
10796 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10800 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
10802         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
10803         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10804         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10805         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10806         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10807         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10808         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10809         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10810         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10811         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10812         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10813         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10814         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
10815         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
10816         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
10817         implementation.
10819 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10821         [BZ #17711]
10822         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10823         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
10824         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10825         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10826         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
10827         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10829 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10831         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
10832         instead of just saying load lock in the comments.
10834 2015-07-23  Roland McGrath  <roland@hack.frob.com>
10836         * sysdeps/unix/Subdirs: Moved ...
10837         * sysdeps/posix/Subdirs: ... here.
10838         * login/pty.h (struct termios, struct winsize): Add forward decls.
10839         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
10840         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
10841         * sysdeps/arm/nacl/libc.abilist: Updated.
10842         * sysdeps/nacl/libutil.abilist: New file.
10844         * bits/signum.h: Update comments to mention 1003.1-2013 too.
10845         (SIGWINCH): New macro.
10847         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
10848         * sysdeps/arm/nacl/libc.abilist: Add it.
10850 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
10852         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
10854 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
10856         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10857         Swap __glibc_reserved0 and sa_flags order.
10859 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10861         [BZ #18657]
10862         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
10863         are pending TLS destructor calls.
10864         * include/link.h (struct link_map): Add concurrency note for
10865         L_TLS_DTOR_COUNT.
10866         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10867         Don't touch the link map flag.  Atomically increment
10868         l_tls_dtor_count.
10869         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
10870         Avoid taking the load lock and don't touch the link map flag.
10871         * stdlib/tst-tls-atexit-nodelete.c: New test case.
10872         * stdlib/Makefile (tests): Use it.
10873         * stdlib/tst-tls-atexit.c (do_test): dlopen
10874         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
10875         to allow tst-tls-atexit-nodelete test case to use it.
10877 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10879         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
10880         to bits/types.h.
10881         (msgqnum_t): New typedef.
10882         (msglen_t): Likewise.
10883         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
10884         and msg_qbytes type to msglen_t.
10886 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10888         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
10889         pad0 to __glibc_reserved0.
10890         (struct stat64): Likewise.
10892 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10894         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10895         Change sa_flags from a long to an int and add __glibc_reserved0 before
10896         it for padding.
10898 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10900         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
10901         anonymous by deleting "siginfo" name.
10903 2015-07-21  Roland McGrath  <roland@hack.frob.com>
10905         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
10906         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
10907         rather than __nacl_irt_filename.
10908         * sysdeps/nacl/xstat.c (__xstat): Likewise.
10910         * NEWS: New item for arm-nacl port.
10911         * sysdeps/arm/nacl/libc.abilist: New file.
10912         * sysdeps/nacl/ld.abilist: New file.
10913         * sysdeps/nacl/libBrokenLocale.abilist: New file.
10914         * sysdeps/nacl/libanl.abilist: New file.
10915         * sysdeps/nacl/libcrypt.abilist: New file.
10916         * sysdeps/nacl/libdl.abilist: New file.
10917         * sysdeps/nacl/libm.abilist: New file.
10918         * sysdeps/nacl/libpthread.abilist: New file.
10919         * sysdeps/nacl/libresolv.abilist: New file.
10920         * sysdeps/nacl/librt.abilist: New file.
10922 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
10924         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
10925         __startcontext to initialize the new context.
10926         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
10927         up CFI directive to forbid further backtracing.
10929 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
10931         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
10932         reference.
10933         * charmaps/ANSI_X3.4-1968: Likewise.
10934         * charmaps/BS_4730: Likewise.
10935         * charmaps/BS_VIEWDATA: Likewise.
10936         * charmaps/CP1250: Likewise.
10937         * charmaps/CP1251: Likewise.
10938         * charmaps/CP1252: Likewise.
10939         * charmaps/CP1253: Likewise.
10940         * charmaps/CP1254: Likewise.
10941         * charmaps/CP1255: Likewise.
10942         * charmaps/CP1256: Likewise.
10943         * charmaps/CSN_369103: Likewise.
10944         * charmaps/EBCDIC-DK-NO: Likewise.
10945         * charmaps/GB_1988-80: Likewise.
10946         * charmaps/GREEK-CCITT: Likewise.
10947         * charmaps/GREEK7: Likewise.
10948         * charmaps/INIS-8: Likewise.
10949         * charmaps/ISIRI-3342: Likewise.
10950         * charmaps/ISO_2033-1983: Likewise.
10951         * charmaps/ISO_5427-EXT: Likewise.
10952         * locales/POSIX: Likewise.
10953         * locales/ar_SA: Likewise.
10954         * locales/be_BY: Likewise.
10955         * locales/be_BY@latin: Likewise.
10956         * locales/ca_ES: Likewise.
10957         * locales/cs_CZ: Likewise.
10958         * locales/da_DK: Likewise.
10959         * locales/de_BE: Likewise.
10960         * locales/de_CH: Likewise.
10961         * locales/de_LU: Likewise.
10962         * locales/en_AU: Likewise.
10963         * locales/en_BW: Likewise.
10964         * locales/en_CA: Likewise.
10965         * locales/en_DK: Likewise.
10966         * locales/en_GB: Likewise.
10967         * locales/en_IE: Likewise.
10968         * locales/en_NZ: Likewise.
10969         * locales/en_ZA: Likewise.
10970         * locales/en_ZW: Likewise.
10971         * locales/es_AR: Likewise.
10972         * locales/es_BO: Likewise.
10973         * locales/es_CL: Likewise.
10974         * locales/es_CO: Likewise.
10975         * locales/es_DO: Likewise.
10976         * locales/es_EC: Likewise.
10977         * locales/es_ES: Likewise.
10978         * locales/es_HN: Likewise.
10979         * locales/es_MX: Likewise.
10980         * locales/es_PA: Likewise.
10981         * locales/es_PE: Likewise.
10982         * locales/es_PY: Likewise.
10983         * locales/es_SV: Likewise.
10984         * locales/es_US: Likewise.
10985         * locales/es_UY: Likewise.
10986         * locales/es_VE: Likewise.
10987         * locales/et_EE: Likewise.
10988         * locales/fa_IR: Likewise.
10989         * locales/fo_FO: Likewise.
10990         * locales/fr_CA: Likewise.
10991         * locales/fr_CH: Likewise.
10992         * locales/gv_GB: Likewise.
10993         * locales/he_IL: Likewise.
10994         * locales/hr_HR: Likewise.
10995         * locales/id_ID: Likewise.
10996         * locales/is_IS: Likewise.
10997         * locales/it_CH: Likewise.
10998         * locales/iw_IL: Likewise.
10999         * locales/kl_GL: Likewise.
11000         * locales/ko_KR: Likewise.
11001         * locales/kw_GB: Likewise.
11002         * locales/lg_UG: Likewise.
11003         * locales/lt_LT: Likewise.
11004         * locales/lv_LV: Likewise.
11005         * locales/mi_NZ: Likewise.
11006         * locales/nhn_MX: Likewise.
11007         * locales/nl_BE: Likewise.
11008         * locales/pl_PL: Likewise.
11009         * locales/sk_SK: Likewise.
11010         * locales/sl_SI: Likewise.
11011         * locales/sv_FI: Likewise.
11012         * locales/tl_PH: Likewise.
11013         * locales/tr_TR: Likewise.
11014         * locales/vi_VN: Likewise.
11016 2015-07-21  Khem Raj  <raj.khem@gmail.com>
11018         [BZ #17475]
11019         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
11020         of tu_IN and bh_IN.
11022 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
11024         [BZ #18694]
11025         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
11026         bits/wordsize.h.
11027         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
11029 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11031         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
11032         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
11033         (spawn_thread): New function.
11034         (load): Rename to reg_dtor_and_close.  Move dlopen to...
11035         (do_test): ... here.  Use IS_LOADED to test for its
11036         availability.
11038 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
11040         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11042 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
11044         [BZ #18696]
11045         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
11046         si_addr_bnd.
11047         (si_lower): New.
11048         (si_upper): Likewise.
11050 2015-07-16  David S. Miller  <davem@davemloft.net>
11052         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
11054 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11056         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
11057         buffer.
11058         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
11059         fail output information.
11061 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11063         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
11064         and strstr-ppc64..
11065         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11066         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
11067         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
11068         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
11069         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
11071 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
11073         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11074         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11075         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11076         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11078 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
11080         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
11081         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
11082         rtld_hidden_proto.
11083         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
11085 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11087         * tst-nodelete-opened.c (do_test): Add comment to clarify how
11088         the test can fail.
11090         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
11092         [BZ #18676]
11093         * elf/tst-nodelete-opened.c: New test case.
11094         * elf/tst-nodelete-opened-lib.c: New test case module.
11095         * elf/Makefile (tests, modules-names): Use them.
11096         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
11097         early.
11099 2015-07-15  David S. Miller  <davem@davemloft.net>
11101         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
11102         futex-intenal.h
11103         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
11104         * sysdeps/sparc/sparc64/Makefile: Likewise.
11105         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11106         Remove space from macro define.
11107         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
11109 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
11111         [BZ #17475]
11112         * locale/iso-639.def: Update Bhili and Tulu language codes as
11113         per iso639-3.
11115 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
11117         * elf/tst-leaks1.c (main): Converted to ...
11118         (do_test): ... this.
11119         (TEST_FUNCTION): New macro.
11120         Include test-skeleton.c.
11121         * localedata/tst-langinfo.c (main): Converted to ...
11122         (do_test): ... this.
11123         (TEST_FUNCTION): New macro.
11124         Include test-skeleton.c.
11125         * math/test-fpucw.c (main): Converted to ...
11126         (do_test): ... this.
11127         (TEST_FUNCTION): New macro.
11128         Include test-skeleton.c.
11129         * math/test-tgmath.c (main): Converted to ...
11130         (do_test): ... this.
11131         (TEST_FUNCTION): New macro.
11132         Include test-skeleton.c.
11133         * math/test-tgmath2.c (main): Converted to ...
11134         (do_test): ... this.
11135         (TEST_FUNCTION): New macro.
11136         Include test-skeleton.c.
11137         * setjmp/tst-setjmp.c (main): Converted to ...
11138         (do_test): ... this.
11139         (TEST_FUNCTION): New macro.
11140         Include test-skeleton.c.
11141         * stdio-common/tst-sscanf.c (main): Converted to ...
11142         (do_test): ... this.
11143         (TEST_FUNCTION): New macro.
11144         Include test-skeleton.c.
11145         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
11146         (do_test): ... this.
11147         (TEST_FUNCTION): New macro.
11148         Include test-skeleton.c.
11150         * elf/tst-audit9.c (main): Converted to ...
11151         (do_test): ... this.
11152         (TEST_FUNCTION): New macro.
11153         Include test-skeleton.c.
11155 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
11157         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
11159 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11161         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
11162         New variable.
11164 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11166         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11168 2015-07-14  Roland McGrath  <roland@hack.frob.com>
11170         * sysdeps/generic/dl-fileid.h: New file.
11171         * sysdeps/posix/dl-fileid.h: New file.
11172         * sysdeps/nacl/dl-fileid.h: New file.
11173         * include/link.h: Include <dl-fileid.h>.
11174         (struct link_map): Replace l_dev and l_ino with l_file_id.
11175         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
11176         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
11177         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
11179 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11181         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
11183 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11185         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
11186         Add iff $CXX is set.
11187         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
11188         Likewise.
11189         (tst-nodelete-zmodiff): Likewise.
11190         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
11192 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11194         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
11196 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
11198         * sysdeps/aarch64/fpu/math_private.h
11199         (define math_opt_barrier): Add AArch64 version.
11200         (math_force_eval): Likewise.
11202 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
11204         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
11206 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
11208         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
11209         %ld with %jd and cast to intmax_t.
11210         (do_test_length_zero): Likewise.
11212 2015-07-10  Roland McGrath  <roland@hack.frob.com>
11214         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
11216 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
11218         * sysdeps/tile/libm-test-ulps: Regenerated.
11220         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
11221         Comment out the whole function, not just its body.
11223 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11225         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
11226         locks.
11228         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
11230 2015-07-10  Torvald Riegel  <triegel@redhat.com>
11232         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
11233         (sem_assume_only_signals_cause_futex_EINTR): Remove.
11235 2015-07-10  Torvald Riegel  <triegel@redhat.com>
11237         * sysdeps/nptl/futex-internal.h: New file.
11238         * sysdeps/nacl/futex-internal.h: New file.
11239         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
11240         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
11241         error checking.
11242         (setxid_unmark_thread): Likewise.
11243         (__nptl_setxid): Likewise.
11244         (__wait_lookup_done): Likewise.
11245         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
11246         * nptl/nptl-init.c (sighandler_setxid): Likewise.
11247         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
11248         * nptl/pthread_once.c (clear_once_control): Likewise.
11249         (__pthread_once_slow): Likewise.
11250         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11251         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
11252         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
11253         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11254         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
11255         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
11256         Likewise.
11257         (__pthread_rwlock_rdlock): Likewise.
11258         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11259         Likewise.
11260         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11261         Likewise.
11262         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
11263         Likewise.
11264         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
11265         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
11266         Likewise.
11267         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
11268         __ASSUME_PRIVATE_FUTEX check.
11269         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
11270         Check that shared futexes are supported.
11271         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
11272         wrappers with error checking.
11273         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
11274         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
11275         * nptl/pthread_barrierattr_setpshared.c
11276         (pthread_barrierattr_setpshared): Check that shared futexes are
11277         supported.
11278         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
11279         Likewise.
11280         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
11281         Likewise.
11282         * nptl/sem_init.c (futex_private_if_supported): Remove.
11283         (__new_sem_init): Adapt and check that shared futexes are supported.
11284         * nptl/sem_open.c (sem_open): Likewise.
11285         * nptl/sem_post.c (futex_wake): Remove.
11286         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
11287         (do_futex_wait): Use futex wrappers with error checking.
11288         * nptl/sem_wait.c: Include lowlevellock.h.
11289         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
11290         Use futex_supports_pshared.
11291         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
11292         Use futex wrappers with error checking.
11293         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
11294         Likewise.
11295         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
11296         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
11297         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
11298         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
11299         (futex_wake): Likewise.
11300         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
11301         (do_futex_wait): Use futex wrappers with error checking.
11302         (__new_sem_wait_slow): Update EINTR handling.
11303         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
11305 2015-07-09  Martin Sebor  <msebor@redhat.com>
11307         [BZ #18435]
11308         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11309         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
11310         * nptl/Makefile (test-xfail-tst-once5): Define.
11312 2015-07-09  Roland McGrath  <roland@hack.frob.com>
11314         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
11315         * elf/dl-minimal.c: For readability, reorder some definitions and
11316         introduce more page breaks.  Include <stdio.h>.
11317         (__libc_fatal): New function.
11319         * include/unistd.h: Add rtld_hidden_proto for _exit.
11320         * posix/_exit.c: Add rtld_hidden_def.
11321         * sysdeps/mach/hurd/_exit.c: Likewise.
11322         * sysdeps/nacl/_exit.c: Likewise.
11323         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
11324         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
11326 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
11328         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
11329         bndmov encoding with zero displacement.
11331 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11332             H.J. Lu  <hongjiu.lu@intel.com>
11334         [BZ #18134]
11335         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
11336         * sysdeps/i386/configure: Regenerated.
11337         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
11338         (_dl_runtime_profile): Save and restore Intel MPX return bound
11339         registers when calling _dl_call_pltexit.  Add
11340         PRESERVE_BND_REGS_PREFIX before return.
11341         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
11342         (LRV_BND1_OFFSET): Likewise.
11343         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
11344         lrv_bnd1.
11345         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
11346         typo in bndmov encoding.
11347         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
11348         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
11349         branch instructions to preserve bounds.
11351 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11354         [GLIBC_2.22]: Add fmemopen.
11356 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11358         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
11359         returns an error, also try to use host port from __mach_host_self for
11360         the __vm_wire call.
11361         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
11363 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11365         [BZ #18400]
11366         [BZ #18648]
11367         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
11368         Fix pr_uid and pr_gid members.
11369         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
11370         definition to elf_greg_t.
11372 2015-07-08  Roland McGrath  <roland@hack.frob.com>
11374         [BZ #18383]
11375         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
11376         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
11377         * sysdeps/arm/configure: Regenerated.
11378         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
11379         (test-xfail-tst-tlsalign-static): Variable removed.
11381         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
11382         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
11383         rather than explicit 'ln -s'.
11385         * resolv/rpc/netdb.h: New file.
11386         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
11388 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11390         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
11391         length buffers.
11392         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11393         test-skeleton.c.
11395         [BZ #6544]
11396         [BZ #11216]
11397         [BZ #12836]
11398         [BZ #13151]
11399         [BZ #13152]
11400         [BZ #14292]
11401         * include/stdio.h (fmemopen): Remove hidden prototype.
11402         (__fmemopen): Add new hidden prototype.
11403         * libio/Makefile: Add oldfmemopen object.
11404         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
11405         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
11406         compliance.
11407         * libio/oldfmemopen.c: New file: old fmemopen implementation for
11408         symbol compatibility.
11409         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
11410         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
11411         fmemopen.
11412         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
11413         on append and read mode.
11414         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
11415         fmemopen.
11416         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
11417         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
11418         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
11419         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
11420         Likewise.
11421         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11422         [GLIBC_2.22]: Likewise.
11423         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
11424         Likewise.
11425         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
11426         Likewise.
11427         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11428         [GLIBC_2.22]: Likewise.
11429         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11430         [GLIBC_2.22]: Likewise.
11431         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11432         [GLIBC_2.22]: Likewise.
11433         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11434         [GLIBC_2.22]: Likewise.
11435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11436         [GLIBC_2.22]: Likewise.
11437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11438         [GLIBC_2.22]: Likewise.
11439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11440         [GLIBC_2.22]: Likewise.
11441         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
11442         Likewise.
11443         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
11444         Likewise.
11445         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
11446         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11447         [GLIBC_2.22]: Likewise.
11448         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11449         [GLIBC_2.22]: Likewise.
11450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11451         [GLIBC_2.22]: Likewise.
11452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11453         [GLIBC_2.22]: Likewise.
11454         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
11455         Likewise.
11456         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
11457         Likewise.
11458         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
11459         Likewise.
11460         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
11461         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
11463 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
11465         [BZ #18643]
11466         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
11467         IPV6_PATHMTU, and IPV6_DONTFRAG.
11469 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
11471         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
11472         and _IO_UNBUFFERED.
11473         * libio/oldfileops.c: Likewise.
11474         * libio/wfileops.c: Likewise.
11476 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
11478         * nscd/selinux.c: Delete selinux/flask.h include.
11480 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
11482         [BZ #18641]
11483         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
11484         (putpwent): Likewise.
11485         (getpwnam): Likewise.
11486         (getpwent_r): Likewise.
11487         (getpwuid_r): Likewise.
11488         (getpwnam_r): Likewise.
11489         (fgetpwent_r): Likewise.
11491 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
11493         [BZ #18557]
11494         * inet/rcmd.c (__validuser2_sa): Check user first to
11495         short-circuit host check.
11497 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
11498             Mikhail Ilin  <m.ilin@samsung.com>
11500         [BZ #17833]
11501         * elf/Makefile (tests): Add tst-nodelete.
11502         (modules-names): Add tst-nodelete-uniquemod.
11503         (tst-nodelete-uniquemod.so-no-z-defs): New.
11504         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
11505         (tst-nodelete-zmod.so-no-z-defs): Likewise.
11506         ($(objpfx)tst-nodelete): Likewise.
11507         ($(objpfx)tst-nodelete.out): Likewise.
11508         (LDFLAGS-tst-nodelete): Likewise.
11509         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
11510         * elf/dl-close.c (_dl_close_worker): Add a parameter to
11511         implement forced object deletion.
11512         (_dl_close): Pass false to _dl_close_worker.
11513         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
11514         * elf/tst-nodelete.cc: New file.
11515         * elf/tst-nodeletelib.cc: Likewise.
11516         * elf/tst-znodeletelib.cc: Likewise.
11517         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
11519 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11521         [BZ #18508]
11522         * stdlib/Makefile ($(objpfx)tst-makecontext3):
11523         Depend on $(libdl).
11524         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
11525         is not called infinitely times.
11526         (backtrace_helper): New function.
11527         (trace_arg): New struct.
11528         (st1): Enlarge stack size.
11529         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11530         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
11531         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11532         Likewise.
11534 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11536         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11538 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11540         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
11541         Include sys/types.h instead of bits/types.h.
11542         Remove inclusion of bits/wordsize.h.
11544 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11546         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
11547         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
11548         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
11549         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
11550         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
11551         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
11553 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11555         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
11556         link-defines.sym.
11557         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
11558         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
11559         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
11560         and LR_SIZE.
11561         * sysdeps/i386/link-defines.sym: New file.
11563 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11565         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
11566         (modules-names): Add tst-auditmod3a tst-auditmod3b.
11567         ($(objpfx)tst-audit3): New rule.
11568         ($(objpfx)tst-audit3.out): Likewise.
11569         * sysdeps/i386/tst-audit3.c: New file.
11570         * sysdeps/i386/tst-audit3.h: Likewise.
11571         * sysdeps/i386/tst-auditmod3a.c: Likewise.
11572         * sysdeps/i386/tst-auditmod3b.c: Likewise.
11574 2015-07-07  Torvald Riegel  <triegel@redhat.com>
11576         [BZ #18633]
11577         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
11578         pointer in C code.
11579         (__strcat_c): Likewise.
11580         (__strcat_g): Likewise.
11582 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
11584         [BZ #18592]
11585         * misc/sbrk.c: Set errno to ENOMEM on overflow.
11587 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
11589         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
11590         New function.  (__ieee754_sqrtf): New function.
11591         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
11592         New function.
11593         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
11594         New function.
11596 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
11598         * sysdeps/ieee754/support.c: Remove unused file.
11600 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11602         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
11603         registers instead of d ones so the layout is kernel abi compatible.
11604         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
11605         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
11606         Likewise.
11608 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11610         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11612 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
11614         [BZ #18619]
11615         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
11616         and return argument in case of subnormal argument.
11618 2015-07-01  Martin Sebor  <msebor@redhat.com>
11620         [BZ #18435]
11621         * nptl/Makefile: Add tst-once5.cc.
11622         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11623         Remove macro redefinitions.
11624         * nptl/tst-once5.cc: New test.
11626 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
11628         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11630         * sysdeps/arm/libm-test-ulps: Regenerated.
11632         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11633         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11635 2015-06-30  Torvald Riegel  <triegel@redhat.com>
11637         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
11638         lll_lock_wait_private and lll_futex_wake probes.
11640         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11641         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
11642         Likewise.
11643         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
11644         atomic_spin_nop.
11645         * sysdeps/x86_64/bits/atomic.h: Likewise.
11646         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
11647         to atomic_spin_nop and move ...
11648         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11649         ... here and ...
11650         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
11651         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
11652         atomic_spin_nop instead of BUSY_WAIT_NOP.
11653         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
11654         Likewise.
11655         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
11656         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11657         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
11658         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
11659         instead of atomic_delay.
11661 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
11663         [BZ #18613]
11664         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
11665         X_ADJ not X when adjusting exponent.
11666         (__ieee754_gamma_r): Do intermediate computations in
11667         round-to-nearest then adjust overflowing and underflowing results
11668         as needed.
11669         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
11670         of X_ADJ not X when adjusting exponent.
11671         (__ieee754_gammaf_r): Do intermediate computations in
11672         round-to-nearest then adjust overflowing and underflowing results
11673         as needed.
11674         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
11675         log of X_ADJ not X when adjusting exponent.
11676         (__ieee754_gammal_r): Do intermediate computations in
11677         round-to-nearest then adjust overflowing and underflowing results
11678         as needed.  Use 1.0L not 1.0f as numerator of division.
11679         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
11680         log of X_ADJ not X when adjusting exponent.
11681         (__ieee754_gammal_r): Do intermediate computations in
11682         round-to-nearest then adjust overflowing and underflowing results
11683         as needed.  Use 1.0L not 1.0f as numerator of division.
11684         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
11685         of X_ADJ not X when adjusting exponent.
11686         (__ieee754_gammal_r): Do intermediate computations in
11687         round-to-nearest then adjust overflowing and underflowing results
11688         as needed.  Use 1.0L not 1.0f as numerator of division.
11689         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
11690         to auto-libm-test-in.
11691         (tgamma_test): Use ALL_RM_TEST.
11692         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
11693         tests of tgamma with spurious-overflow.
11694         * math/auto-libm-test-out: Regenerated.
11695         * math/gen-libm-have-vector-test.sh: Do not check for START.
11696         * sysdeps/i386/fpu/libm-test-ulps: Update.
11697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11699         [BZ #18612]
11700         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
11701         arguments, just return 0.5 times the argument, with underflow
11702         forced as needed.
11703         * math/auto-libm-test-in: Add more tests of j1.
11704         * math/auto-libm-test-out: Regenerated.
11706         [BZ #16559]
11707         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
11708         (__ieee754_j1): Force underflow exception for small results.
11709         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11710         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
11711         (__ieee754_j1f): Force underflow exception for small results.
11712         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11713         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11714         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11715         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
11716         (__ieee754_j1l): Force underflow exception for small results.
11717         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11718         * math/auto-libm-test-in: Add more tests of j1 and jn.
11719         * math/auto-libm-test-out: Regenerated.
11721         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
11722         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
11723         (PF_MPLS): Likewise.
11724         (AF_IB): Likewise.
11725         (AF_MPLS): Likewise.
11726         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
11727         value and macro.
11728         (MS_RMT_MASK): Include MS_LAZYTIME.
11730 2015-06-26  Mel Gorman  <mgorman@suse.de>
11732         [BZ #18502]
11733         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
11734         already minimal.
11736 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
11738         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
11739         (DT_MIPS_NUM): Update.
11740         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
11741         DT_MIPS_RLD_MAP_REL.
11743 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
11745         [BZ #16559]
11746         [BZ #18602]
11747         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
11748         round-to-nearest internally then recompute results that
11749         underflowed to zero in the original rounding mode.
11750         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11751         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11752         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11753         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11754         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
11755         * sysdeps/i386/fpu/libm-test-ulps: Update.
11756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11758 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11760         * NEWS: Fixed description of link with vector math library.
11762 2015-06-25  Andreas Schwab  <schwab@suse.de>
11764         [BZ #18549]
11765         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
11766         * libio/test-fmemopen.c (do_test): Add test for it.
11768 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
11770         [BZ #17841]
11771         * Makeconfig (no-pie-ldflag): New.
11772         (+link): Set to $(+link-pie) if default to PIE.
11773         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
11774         * config.make.in (build-pie-default): New.
11775         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
11776         is default.  AC_SUBST.
11777         * configure: Regenerated.
11778         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
11780 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11782         * nptl/descr.h (struct pthread): Change type of field setxid_futex
11783         to 'unsigned int'.
11785         * resolv/gai_misc.h (struct waitlist): Change type of field
11786         counterp to 'volatile unsigned int *'.
11787         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
11788         FUTEXADDR and OLDVAL.
11789         * resolv/getaddrinfo_a.c (getaddrinfo_a):
11790         Give local variable TOTAL type 'volatile unsigned int'.
11791         (struct async_waitlist): Change type of field counter to 'unsigned int'.
11792         * resolv/gai_suspend.c (gai_suspend):
11793         Give local variable CNTR type 'unsigned int'.
11795         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
11796         counterp to 'volatile unsigned int *'.
11797         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
11798         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
11799         (aio_suspend): Give local variable CNTR type 'unsigned int'.
11800         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
11801         Give local variable TOTAL type 'volatile unsigned int'.
11802         (struct async_waitlist): Change type of field counter to 'unsigned int'.
11804 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11806         [BZ #18383]
11807         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
11808         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
11809         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
11810         comment for i386/x86-64.
11811         (test-xfail-tst-tlsalign-extern-static): Removed.
11813 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11815         * math/test-double.h: New file.
11816         * math/test-float.h: Likewise.
11817         * math/test-ldouble.h: Likewise.
11818         * math/test-math-inline.h: Likewise.
11819         * math/test-math-no-inline.h: Likewise.
11820         * math/test-math-scalar.h: Likewise.
11821         * math/test-math-vector.h: Likewise.
11822         * math/test-vec-loop.h: Remove file.  Contents moved into
11823         test-math-vector.h.
11824         * math/libm-test.inc (MATHCONST): Do not document macro.
11825         * math/test-double.c: Include test-double.h, test-math-no-inline.h
11826         and test-math-scalar.h.
11827         (FUNC): Remove macro.
11828         (FUNC_TEST): Likewise.
11829         (FLOAT): Likewise.
11830         (MATHCONST): Likewise.
11831         (PRINTF_EXPR): Likewise.
11832         (PRINTF_XEXPR): Likewise.
11833         (PRINTF_NEXPR): Likewise.
11834         (TEST_DOUBLE): Likewise.
11835         (TEST_MATHVEC): Likewise.
11836         (__NO_MATH_INLINES): Likewise.
11837         * math/test-float.c: Include test-float.h, test-math-no-inline.h
11838         and test-math-scalar.h.
11839         (FUNC): Remove macro.
11840         (FUNC_TEST): Likewise.
11841         (FLOAT): Likewise.
11842         (MATHCONST): Likewise.
11843         (PRINTF_EXPR): Likewise.
11844         (PRINTF_XEXPR): Likewise.
11845         (PRINTF_NEXPR): Likewise.
11846         (TEST_FLOAT): Likewise.
11847         (TEST_MATHVEC): Likewise.
11848         (__NO_MATH_INLINES): Likewise.
11849         * math/test-idouble.c: Include test-double.h, test-math-inline.h
11850         and test-math-scalar.h.
11851         (FUNC): Remove macro.
11852         (FUNC_TEST): Likewise.
11853         (FLOAT): Likewise.
11854         (MATHCONST): Likewise.
11855         (PRINTF_EXPR): Likewise.
11856         (PRINTF_XEXPR): Likewise.
11857         (PRINTF_NEXPR): Likewise.
11858         (TEST_DOUBLE): Likewise.
11859         (TEST_MATHVEC): Likewise.
11860         (TEST_INLINE): Likewise.
11861         (__NO_MATH_INLINES): Likewise.
11862         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
11863         test-math-scalar.h.
11864         (FUNC): Remove macro.
11865         (FUNC_TEST): Likewise.
11866         (FLOAT): Likewise.
11867         (MATHCONST): Likewise.
11868         (PRINTF_EXPR): Likewise.
11869         (PRINTF_XEXPR): Likewise.
11870         (PRINTF_NEXPR): Likewise.
11871         (TEST_FLOAT): Likewise.
11872         (TEST_MATHVEC): Likewise.
11873         (TEST_INLINE): Likewise.
11874         (__NO_MATH_INLINES): Likewise.
11875         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
11876         and test-math-scalar.h.
11877         (FUNC): Remove macro.
11878         (FUNC_TEST): Likewise.
11879         (FLOAT): Likewise.
11880         (MATHCONST): Likewise.
11881         (PRINTF_EXPR): Likewise.
11882         (PRINTF_XEXPR): Likewise.
11883         (PRINTF_NEXPR): Likewise.
11884         (TEST_LDOUBLE): Likewise.
11885         (TEST_MATHVEC): Likewise.
11886         (TEST_INLINE): Likewise.
11887         (__NO_MATH_INLINES): Likewise.
11888         * math/test-ldouble.c: Include test-ldouble.h,
11889         test-math-no-inline.h and test-math-scalar.h.
11890         (FUNC): Remove macro.
11891         (FUNC_TEST): Likewise.
11892         (FLOAT): Likewise.
11893         (MATHCONST): Likewise.
11894         (PRINTF_EXPR): Likewise.
11895         (PRINTF_XEXPR): Likewise.
11896         (PRINTF_NEXPR): Likewise.
11897         (TEST_LDOUBLE): Likewise.
11898         (TEST_MATHVEC): Likewise.
11899         (__NO_MATH_INLINES): Likewise.
11900         * math/test-double-vlen2.h: Include test-double.h,
11901         test-math-no-inline.h and test-math-vector.h.
11902         (FLOAT): Remove macro.
11903         (FUNC): Likewise.
11904         (MATHCONST): Likewise.
11905         (PRINTF_EXPR): Likewise.
11906         (PRINTF_XEXPR): Likewise.
11907         (PRINTF_NEXPR): Likewise.
11908         (TEST_DOUBLE): Likewise.
11909         (TEST_MATHVEC): Likewise.
11910         (__NO_MATH_INLINES): Likewise.
11911         (CNCT): Likewise.
11912         (CONCAT): Likewise.
11913         (WRAPPER_NAME): Likewise.
11914         (WRAPPER_DECL): Likewise.
11915         (WRAPPER_DECL_ff): Likewise.
11916         (WRAPPER_DECL_fFF): Likewise.
11917         (VECTOR_WRAPPER): Likewise.
11918         (VECTOR_WRAPPER_ff): Likewise.
11919         (VECTOR_WRAPPER_fFF): Likewise.
11920         (VEC_LEN): New macro.
11921         * math/test-double-vlen4.h: Include test-double.h,
11922         test-math-no-inline.h and test-math-vector.h.
11923         (FLOAT): Remove macro.
11924         (FUNC): Likewise.
11925         (MATHCONST): Likewise.
11926         (PRINTF_EXPR): Likewise.
11927         (PRINTF_XEXPR): Likewise.
11928         (PRINTF_NEXPR): Likewise.
11929         (TEST_DOUBLE): Likewise.
11930         (TEST_MATHVEC): Likewise.
11931         (__NO_MATH_INLINES): Likewise.
11932         (CNCT): Likewise.
11933         (CONCAT): Likewise.
11934         (WRAPPER_NAME): Likewise.
11935         (WRAPPER_DECL): Likewise.
11936         (WRAPPER_DECL_ff): Likewise.
11937         (WRAPPER_DECL_fFF): Likewise.
11938         (VECTOR_WRAPPER): Likewise.
11939         (VECTOR_WRAPPER_ff): Likewise.
11940         (VECTOR_WRAPPER_fFF): Likewise.
11941         (VEC_LEN): New macro.
11942         * math/test-double-vlen8.h: Include test-double.h,
11943         test-math-no-inline.h and test-math-vector.h.
11944         (FLOAT): Remove macro.
11945         (FUNC): Likewise.
11946         (MATHCONST): Likewise.
11947         (PRINTF_EXPR): Likewise.
11948         (PRINTF_XEXPR): Likewise.
11949         (PRINTF_NEXPR): Likewise.
11950         (TEST_DOUBLE): Likewise.
11951         (TEST_MATHVEC): Likewise.
11952         (__NO_MATH_INLINES): Likewise.
11953         (CNCT): Likewise.
11954         (CONCAT): Likewise.
11955         (WRAPPER_NAME): Likewise.
11956         (WRAPPER_DECL): Likewise.
11957         (WRAPPER_DECL_ff): Likewise.
11958         (WRAPPER_DECL_fFF): Likewise.
11959         (VECTOR_WRAPPER): Likewise.
11960         (VECTOR_WRAPPER_ff): Likewise.
11961         (VECTOR_WRAPPER_fFF): Likewise.
11962         (VEC_LEN): New macro.
11963         * math/test-float-vlen4.h: Include test-float.h,
11964         test-math-no-inline.h and test-math-vector.h.
11965         (FLOAT): Remove macro.
11966         (FUNC): Likewise.
11967         (MATHCONST): Likewise.
11968         (PRINTF_EXPR): Likewise.
11969         (PRINTF_XEXPR): Likewise.
11970         (PRINTF_NEXPR): Likewise.
11971         (TEST_FLOAT): Likewise.
11972         (TEST_MATHVEC): Likewise.
11973         (__NO_MATH_INLINES): Likewise.
11974         (CNCT): Likewise.
11975         (CONCAT): Likewise.
11976         (WRAPPER_NAME): Likewise.
11977         (WRAPPER_DECL): Likewise.
11978         (WRAPPER_DECL_ff): Likewise.
11979         (WRAPPER_DECL_fFF): Likewise.
11980         (VECTOR_WRAPPER): Likewise.
11981         (VECTOR_WRAPPER_ff): Likewise.
11982         (VECTOR_WRAPPER_fFF): Likewise.
11983         (VEC_LEN): New macro.
11984         * math/test-float-vlen8.h: Include test-float.h,
11985         test-math-no-inline.h and test-math-vector.h.
11986         (FLOAT): Remove macro.
11987         (FUNC): Likewise.
11988         (MATHCONST): Likewise.
11989         (PRINTF_EXPR): Likewise.
11990         (PRINTF_XEXPR): Likewise.
11991         (PRINTF_NEXPR): Likewise.
11992         (TEST_FLOAT): Likewise.
11993         (TEST_MATHVEC): Likewise.
11994         (__NO_MATH_INLINES): Likewise.
11995         (CNCT): Likewise.
11996         (CONCAT): Likewise.
11997         (WRAPPER_NAME): Likewise.
11998         (WRAPPER_DECL): Likewise.
11999         (WRAPPER_DECL_ff): Likewise.
12000         (WRAPPER_DECL_fFF): Likewise.
12001         (VECTOR_WRAPPER): Likewise.
12002         (VECTOR_WRAPPER_ff): Likewise.
12003         (VECTOR_WRAPPER_fFF): Likewise.
12004         (VEC_LEN): New macro.
12005         * math/test-float-vlen16.h: Include test-float.h,
12006         test-math-no-inline.h and test-math-vector.h.
12007         (FLOAT): Remove macro.
12008         (FUNC): Likewise.
12009         (MATHCONST): Likewise.
12010         (PRINTF_EXPR): Likewise.
12011         (PRINTF_XEXPR): Likewise.
12012         (PRINTF_NEXPR): Likewise.
12013         (TEST_FLOAT): Likewise.
12014         (TEST_MATHVEC): Likewise.
12015         (__NO_MATH_INLINES): Likewise.
12016         (CNCT): Likewise.
12017         (CONCAT): Likewise.
12018         (WRAPPER_NAME): Likewise.
12019         (WRAPPER_DECL): Likewise.
12020         (WRAPPER_DECL_ff): Likewise.
12021         (WRAPPER_DECL_fFF): Likewise.
12022         (VECTOR_WRAPPER): Likewise.
12023         (VECTOR_WRAPPER_ff): Likewise.
12024         (VECTOR_WRAPPER_fFF): Likewise.
12025         (VEC_LEN): New macro.
12026         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
12027         test-vec-loop.h.
12028         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12029         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12030         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12031         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12032         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12033         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12034         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12036 2015-06-24  Roland McGrath  <roland@hack.frob.com>
12038         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
12039         (__getlogin_r): ... this.
12041 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12043         [BZ #18594]
12044         * math/s_ccosh.c (__ccosh): Compare with least normal value
12045         instead of comparing class with FP_SUBNORMAL.
12046         * math/s_ccoshf.c (__ccoshf): Likewise.
12047         * math/s_ccoshl.c (__ccoshl): Likewise.
12048         * math/s_cexp.c (__cexp): Likewise.
12049         * math/s_cexpf.c (__cexpf): Likewise.
12050         * math/s_cexpl.c (__cexpl): Likewise.
12051         * math/s_csin.c (__csin): Likewise.
12052         * math/s_csinf.c (__csinf): Likewise.
12053         * math/s_csinh.c (__csinh): Likewise.
12054         * math/s_csinhf.c (__csinhf): Likewise.
12055         * math/s_csinhl.c (__csinhl): Likewise.
12056         * math/s_csinl.c (__csinl): Likewise.
12057         * math/s_ctan.c (__ctan): Likewise.
12058         * math/s_ctanf.c (__ctanf): Likewise.
12059         * math/s_ctanh.c (__ctanh): Likewise.
12060         * math/s_ctanhf.c (__ctanhf): Likewise.
12061         * math/s_ctanhl.c (__ctanhl): Likewise.
12062         * math/s_ctanl.c (__ctanl): Likewise.
12063         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
12064         csin, csinh, ctan and ctanh.
12065         * math/auto-libm-test-out: Regenerated.
12066         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
12067         * sysdeps/i386/fpu/libm-test-ulps: Update.
12068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12070 2015-06-24  Roland McGrath  <roland@hack.frob.com>
12072         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
12073         return value is wrong, print the expected value too.
12075 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
12077         [BZ #18585]
12078         * elf/readlib.c (is_gdb_python_file): New.
12079         (process_file): Don't issue errors on filenames with -gdb.py
12080         suffix.
12082 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12084         * math/auto-libm-test-in: Add more tests of csin and csinh.
12085         * math/auto-libm-test-out: Regenerated.
12086         * math/libm-test.inc (csin_test_data): Remove tests moved to
12087         auto-libm-test-in.
12088         (csinh_test_data): Likewise.
12090         [BZ #18593]
12091         * math/s_csin.c (__csin): Negate before rather than after possibly
12092         overflowing multiplication.
12093         * math/s_csinf.c (__csinf): Likewise.
12094         * math/s_csinh.c (__csinh): Likewise.
12095         * math/s_csinhf.c (__csinhf): Likewise.
12096         * math/s_csinhl.c (__csinhl): Likewise.
12097         * math/s_csinl.c (__csinl): Likewise.
12098         * math/auto-libm-test-in: Add some tests of csin and csinh.
12099         * math/auto-libm-test-out: Regenerated.
12100         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
12101         (csinh_test_data): Likewise.
12102         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12104         [BZ #18586]
12105         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
12106         underflow exception for small results.
12108 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
12110         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12111         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
12112         variable and included header.
12113         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
12114         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
12115         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
12116         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
12117         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
12118         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
12119         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
12120         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
12121         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
12122         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
12123         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
12124         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
12125         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
12126         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
12127         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
12128         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
12130 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12132         [BZ #16526]
12133         [BZ #16538]
12134         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
12135         (__sin): Force underflow exception for arguments with small
12136         absolute value.
12137         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
12138         (__kernel_sinf): Force underflow exception for arguments with
12139         small absolute value.
12140         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
12141         (__kernel_sincosl): Force underflow exception for arguments with
12142         small absolute value.
12143         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
12144         (__kernel_sinl): Force underflow exception for arguments with
12145         small absolute value.
12146         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
12147         (__kernel_sincosl): Force underflow exception for arguments with
12148         small absolute value.
12149         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
12150         (__kernel_sinl): Force underflow exception for arguments with
12151         small absolute value.
12152         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
12153         (__kernel_sinl): Force underflow exception for arguments with
12154         small absolute value.
12155         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
12156         (__kernel_sinf): Force underflow exception for arguments with
12157         small absolute value.
12158         * math/auto-libm-test-in: Add more tests of sin and sincos.
12159         * math/auto-libm-test-out: Regenerated.
12161         [BZ #18245]
12162         [BZ #18583]
12163         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
12164         (__kernel_standard_l): Use feholdexcept and fesetenv around
12165         conversion to double instead of special-casing overflow and
12166         underflow.
12167         * math/libm-test.inc (fmod_test_data): Add more tests.
12168         (remainder_test_data): Likewise.
12169         (sqrt_test_data): Likewise.
12171 2015-06-23  Torvald Riegel  <triegel@redhat.com>
12173         [BZ #17403]
12174         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
12175         atomic_read_barrier, atomic_write_barrier): Define.
12176         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
12177         atomic_read_barrier, atomic_write_barrier): Define.
12179 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12181         * math/Makefile [$(PERL) != no]
12182         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
12183         dependency on libm-test.stmp below the inclusion of Rules.
12185 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
12187         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12188         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
12189         and included header.
12190         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
12191         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
12192         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
12193         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
12194         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
12195         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
12196         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
12197         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
12198         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
12199         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
12200         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
12201         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
12202         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
12203         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
12204         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
12205         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
12206         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
12207         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
12208         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
12210 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12212         [BZ #18371]
12213         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
12214         intermediate but not final result might underflow.
12215         * math/s_csqrtf.c (__csqrtf): Likewise.
12216         * math/s_csqrtl.c (__csqrtl): Likewise.
12217         * math/auto-libm-test-in: Add more tests of csqrt.
12218         * math/auto-libm-test-out: Regenerated.
12219         * sysdeps/i386/fpu/libm-test-ulps: Update.
12221         [BZ #18219]
12222         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
12223         threshold on absolute value of exponent for which scaling is used.
12224         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12225         * math/auto-libm-test-in: Add more tests of exp2.
12226         * math/auto-libm-test-out: Regenerated.
12228 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
12230         [BZ #17977]
12231         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
12232         when initializing interface list, based on the bug analysis
12233         and the patch proposed by Eric Newton.
12234         * resolv/tst-res_hconf_reorder.c: New test.
12235         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
12236         tst-res_hconf_reorder.
12237         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
12238         and $(shared-thread-library).
12239         (tst-res_hconf_reorder-ENV): New variable.
12241         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
12242         in comment.
12244 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
12246         [BZ #16353]
12247         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
12248         (__expm1): Force underflow exception for arguments with small
12249         absolute value.
12250         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
12251         (__expm1f): Force underflow exception for arguments with small
12252         absolute value.
12253         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
12254         (__expm1): Force underflow exception for arguments with small
12255         absolute value.
12256         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
12257         (__expm1f): Force underflow exception for arguments with small
12258         absolute value.
12259         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12260         Check for small arguments before calling __expm1.
12261         * math/auto-libm-test-in: Do not mark underflow exceptions as
12262         possibly missing for bug 16353.
12263         * math/auto-libm-test-out: Regenerated.
12265 2015-06-22  Andreas Schwab  <schwab@suse.de>
12267         [BZ #18513]
12268         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
12269         PTR queries.
12271 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
12273         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
12275         * string/strcoll_l.c: Remove unused struct element idxnow.
12277 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
12279         [BZ #18569]
12280         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
12281         underflow and return argument in case of subnormal argument.
12282         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12283         Likewise.
12284         * math/auto-libm-test-in: Add more tests of expm1.
12285         * math/auto-libm-test-out: Regenerated.
12287         [BZ #16361]
12288         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12289         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12290         tiny results.
12291         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12292         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12293         tiny results.
12294         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
12295         mark underflow exceptions as possibly missing for bug 16361.
12296         * math/auto-libm-test-out: Regenerated.
12298 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
12300         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
12301         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
12302         Remove variable.
12303         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12304         (test-xfail-XOPEN2K8/utmpx.h/conform).
12306         * conform/conformtest.pl ($xerrors): New variable.
12307         (note_error): New function.
12308         (compiletest): New argument $xfail.  Use not_error.
12309         (runtest): Likewise.
12310         (top level): Handle xfail- lines.  Update calls to compiletest and
12311         runtest.  Handle xfail- and optional- in headers listed with
12312         allow-header.
12313         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
12314         (O_EXEC): Likewise.
12315         (O_SEARCH): Likewise.
12316         * conform/data/stropts.h-data (ioctl): Likewise.
12317         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
12318         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
12319         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
12320         (msghdr.msg_controllen): Likewise.
12321         (cmsghdr.cmsg_len): Likewise.
12322         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
12323         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
12324         variable.
12325         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12326         (test-xfail-XPG4/stropts.h/conform): Likewise.
12327         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12328         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12329         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12330         (test-xfail-UNIX98/stropts.h/conform): Likewise.
12331         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12332         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12333         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12334         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12335         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12336         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12337         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12338         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12339         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12340         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12341         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12342         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12343         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12344         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12345         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12347 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12349         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
12350         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
12351         definitions for proper unfolding of __MATHDECL_VEC.
12353 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12355         * benchtests/bench-strcoll.c:
12356         Include string.h.
12357         (main): Remove unused variable res.
12359 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12361         * timezone/Makefile (%/UTC %/Universal):
12362         Generate test-result files for UTC and Universal.
12364 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12366         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12368 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
12370         [BZ #16350]
12371         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
12372         for arguments with small absolute value.
12373         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
12374         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
12375         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
12376         (__asinh): Force underflow exception for arguments with small
12377         absolute value.
12378         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
12379         (__asinhf): Force underflow exception for arguments with small
12380         absolute value.
12381         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
12382         (__asinhl): Force underflow exception for arguments with small
12383         absolute value.
12384         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
12385         (__asinhl): Force underflow exception for arguments with small
12386         absolute value.
12387         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
12388         (__asinhl): Force underflow exception for arguments with small
12389         absolute value.
12390         * math/auto-libm-test-in: Do not mark underflow exceptions as
12391         possibly missing for bug 16350.
12392         * math/auto-libm-test-out: Regenerated.
12394         * include/bits/ipc.h: Remove file.
12395         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
12396         variable.
12397         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12398         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12399         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12400         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12401         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12402         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12403         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12404         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12405         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12407         * math/auto-libm-test-in: Remove spurious underflow allowance for
12408         tests of cexp.
12409         * math/auto-libm-test-out: Regenerated.
12411         [BZ #18558]
12412         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
12413         unconditional definition.
12414         (MCAST_BLOCK_SOURCE): Likewise.
12415         (MCAST_UNBLOCK_SOURCE): Likewise.
12416         (MCAST_LEAVE_GROUP): Likewise.
12417         (MCAST_JOIN_SOURCE_GROUP): Likewise.
12418         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12419         (MCAST_MSFILTER): Likewise.
12420         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
12421         Remove variable.
12422         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12423         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12424         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12425         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12426         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12428 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
12430         * NEWS: Mention addition of x86_64 vector sincosf.
12431         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
12432         * math/test-float-vlen4.h: Likewise.
12433         * math/test-float-vlen8.h: Likewise.
12434         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12435         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
12436         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12437         * sysdeps/x86_64/fpu/Versions: New versions added.
12438         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12439         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12440         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12441         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
12442         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12443         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
12444         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12445         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
12446         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12447         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
12448         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
12449         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
12450         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
12451         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
12452         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
12453         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
12454         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
12455         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12456         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12457         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12458         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12459         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12460         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12461         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12463         * NEWS: Mention addition of x86_64 vector sincos.
12464         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
12465         * math/math.h (__MATHDECL_VEC): New macro.
12466         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
12467         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
12468         declaration under condition.
12469         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
12470         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
12471         TEST_VEC_LOOP change.
12472         * math/test-double-vlen4.h: Likewise.
12473         * math/test-double-vlen8.h: Likewise.
12474         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
12475         * math/test-float-vlen4.h: Likewise.
12476         * math/test-float-vlen8.h: Likewise.
12477         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12478         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
12479         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12480         * sysdeps/x86_64/fpu/Versions: New versions added.
12481         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12482         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12483         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12484         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
12485         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
12486         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
12487         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
12488         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
12489         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
12490         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
12491         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
12492         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
12493         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
12494         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
12495         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
12496         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
12497         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
12498         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12499         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12500         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12501         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12502         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12503         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12504         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12506         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12507         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12508         redirections for powf.
12509         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12510         * sysdeps/x86_64/fpu/Versions: New versions added.
12511         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12512         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12513         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12514         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
12515         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
12516         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
12517         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
12518         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
12519         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
12520         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
12521         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
12522         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
12523         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
12524         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
12525         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
12526         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
12527         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
12528         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12529         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12530         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12531         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12532         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12533         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12534         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12535         * math/test-float-vlen16.h: Fixed 2 argument macro.
12536         * math/test-float-vlen4.h: Likewise.
12537         * math/test-float-vlen8.h: Likewise.
12538         * NEWS: Mention addition of x86_64 vector powf.
12540 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
12542         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12543         and redefine.
12544         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12545         and redefine.
12546         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
12547         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12548         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12550         [BZ #18553]
12551         * resource/getpriority.c (getpriority): Rename to __getpriority
12552         and define as weak alias of __getpriority.
12553         * resource/setpriority.c (setpriority): Rename to __setpriority
12554         and define as weak alias of __setpriority.
12555         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
12556         __getpriority and define as weak alias of __getpriority.
12557         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
12558         __setpriority and define as weak alias of __setpriority.
12559         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
12560         strong name.
12561         (setpriority): Use __setpriority as strong name.
12562         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
12563         __getpriority and define as weak alias of __getpriority.
12564         * include/sys/resource.h (__getpriority): Declare.  Use
12565         libc_hidden_proto.
12566         (__setpriority): Likewise.
12567         (getpriority): Don't use libc_hidden_proto.
12568         (setpriority): Likewise.
12569         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
12570         getpriority.  Call __setpriority instead of setpriority.
12571         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
12572         Remove variable.
12574         [BZ #18547]
12575         * misc/getttyent.c (getttynam): Rename to __getttynam and define
12576         as weak alias of __getttynam.  Use prototype function definition.
12577         Call __setttyent, __getttyent and __endttyent instead of
12578         setttyent, getttyent and endttyent.
12579         (getttyent): Rename to __getttyent and define as weak alias of
12580         __getttyent.  Call __setttyent instead of setttyent.  Call
12581         __fgets_unlocked instead of fgets_unlocked.
12582         (setttyent): Rename to __setttyent and define as weak alias of
12583         __setttyent.
12584         (endttyent): Rename to __endttyent and define as weak alias of
12585         __endttyent.
12586         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
12587         (__setttyent): Likewise.
12588         (__endttyent): Likewise.
12589         (getttyent): Don't use libc_hidden_proto.
12590         (setttyent): Likewise.
12591         (endttyent): Likewise.
12592         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
12593         __endttyent instead of setttyent, getttyent and endttyent.
12594         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
12595         Remove variable.
12597         [BZ #18546]
12598         * socket/recv.c (__recv): Use libc_hidden_def.
12599         * socket/socket.c (__socket): Likewise.
12600         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12601         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12602         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
12603         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
12604         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
12605         libc_hidden_def.
12606         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
12607         libc_hidden_weak.
12608         * include/sys/socket.h (__socket): Do not use attribute_hidden.
12609         Use libc_hidden_proto.
12610         (__recv): Likewise.
12611         * socket/Versions (libc): Export __recv and __socket at version
12612         GLIBC_PRIVATE.
12613         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
12614         instead of recv.
12615         (init_mq_netlink): Call __socket instead of socket.
12616         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
12617         Remove variable.
12619         [BZ #18545]
12620         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
12621         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
12622         hidden_weak.
12623         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
12624         define as alias of __mq_timedsend.  Use hidden_weak.
12625         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
12626         __mq_timedsend as strong name.
12627         (mq_timedreceive): Use __mq_timedreceive as strong name.
12628         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
12629         (__mq_timedreceive): Likewise.
12630         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
12631         __mq_timedreceive instead of mq_timedreceive.
12632         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
12633         instead of mq_timedsend.
12634         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
12635         Remove variable.
12637         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
12638         hidden_def and hidden_weak instead of libc_hidden_def and
12639         libc_hidden_weak.
12640         (top level): Refer to hidden_def in comment.
12641         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
12642         macro.  Use it instead of libc_hidden_def.
12643         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
12644         specify __GI_* name explicitly.
12645         (mq_timedreceive): Likewise.
12646         (mq_setattr): Likewise.
12648         [BZ #18544]
12649         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
12650         __pthread_barrier_init and define as weak alias of
12651         __pthread_barrier_init.
12652         * sysdeps/sparc/nptl/pthread_barrier_init.c
12653         (pthread_barrier_init): Likewise.
12654         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
12655         __pthread_barrier_wait and define as weak alias of
12656         __pthread_barrier_wait.
12657         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12658         (pthread_barrier_wait): Likewise.
12659         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12660         (pthread_barrier_wait): Likewise.
12661         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
12662         (pthread_barrier_wait): Likewise.
12663         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
12664         (pthread_barrier_wait): Likewise.
12665         * nptl/Versions (libpthread): Export __pthread_barrier_init and
12666         __pthread_barrier_wait at version GLIBC_PRIVATE.
12667         * include/pthread.h (__pthread_barrier_init): Declare.
12668         (__pthread_barrier_wait): Likewise.
12669         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
12670         Call __pthread_barrier_wait instead of pthread_barrier_wait.
12671         (helper_thread): Likewise.
12672         (init_mq_netlink): Call __pthread_barrier_init instead of
12673         pthread_barrier_init.
12675         [BZ #18542]
12676         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
12677         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
12678         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
12679         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
12680         vswscanf.
12681         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
12682         Remove variable.
12684         [BZ #18540]
12685         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
12686         strong alias of _IO_fflush.  Use libc_hidden_def.
12687         * libio/iofflush_u.c (fflush_unlocked): Rename to
12688         __fflush_unlocked and define as weak alias of __fflush_unlocked.
12689         Use libc_hidden_weak.
12690         * include/stdio.h (__fflush_unlocked): Declare.  Use
12691         libc_hidden_proto.
12692         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
12693         fflush_unlocked.
12694         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
12695         Remove variable.
12697         [BZ #18539]
12698         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
12699         define as weak alias of __addseverity.
12700         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
12701         Remove variable.
12702         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12703         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12704         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12706         [BZ #18536]
12707         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
12708         (__tfind): Likewise.
12709         (__tdelete): Likewise.
12710         (__twalk): Likewise.
12711         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
12712         __twalk to GLIBC_PRIVATE.
12713         * include/search.h (__tsearch): Use libc_hidden_proto.
12714         (__tfind): Likewise.
12715         (__tdelete): Likewise.
12716         (__twalk): Likewise.
12717         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
12718         Call __tdelete instead of tdelete.
12719         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
12720         tfind.  Call __tsearch instead of tsearch.
12721         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
12722         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
12723         Remove variable.
12724         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12726         [BZ #18534]
12727         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
12728         (dprintf): Define as a weak alias of __dprintf, not a strong
12729         alias.
12730         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
12731         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
12732         dprintf.
12733         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
12734         Remove variable.
12735         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12736         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12738         [BZ #18533]
12739         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
12740         not a strong alias.
12741         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
12742         Remove variable.
12744         [BZ #18532]
12745         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
12746         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
12747         (in6addr_loopback): Rename to __in6addr_loopback and define as
12748         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
12749         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
12750         libc_hidden_proto.
12751         (__in6addr_any): Likewise.
12752         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
12753         in6addr_any.
12754         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
12755         variable.
12756         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12758 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
12760         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
12761         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
12762         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12763         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12764         redirections for pow.
12765         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12766         * sysdeps/x86_64/fpu/Versions: New versions added.
12767         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12768         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12769         build of SSE, AVX2 and AVX512 IFUNC versions.
12770         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
12771         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
12772         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
12773         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
12774         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
12775         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
12776         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
12777         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
12778         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
12779         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
12780         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
12781         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
12782         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
12783         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
12784         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12785         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12786         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12787         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12788         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12789         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12790         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12791         * NEWS: Mention addition of x86_64 vector pow.
12793         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12794         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12795         redirections for expf.
12796         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12797         * sysdeps/x86_64/fpu/Versions: New versions added.
12798         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12799         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12800         build of SSE, AVX2 and AVX512 IFUNC versions.
12801         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
12802         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
12803         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
12804         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
12805         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
12806         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
12807         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
12808         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
12809         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
12810         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
12811         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
12812         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
12813         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
12814         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12815         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12816         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12817         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12818         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12819         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12820         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12821         * NEWS: Mention addition of x86_64 vector expf.
12823         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
12824         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
12825         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12826         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12827         redirections for exp.
12828         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12829         * sysdeps/x86_64/fpu/Versions: New versions added.
12830         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12831         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12832         build of SSE, AVX2 and AVX512 IFUNC versions.
12833         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
12834         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
12835         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
12836         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
12837         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
12838         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
12839         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
12840         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
12841         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
12842         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
12843         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
12844         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
12845         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
12846         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12847         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12848         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12849         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12850         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12851         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12852         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12853         * NEWS: Mention addition of x86_64 vector exp.
12855         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12856         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12857         redirections for logf.
12858         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12859         * sysdeps/x86_64/fpu/Versions: New versions added.
12860         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12861         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12862         build of SSE, AVX2 and AVX512 IFUNC versions.
12863         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
12864         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
12865         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
12866         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
12867         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
12868         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
12869         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
12870         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
12871         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
12872         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
12873         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
12874         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
12875         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
12876         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12877         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12878         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12879         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12880         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12881         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12882         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12883         * NEWS: Mention addition of x86_64 vector logf.
12885         * bits/libm-simd-decl-stubs.h: Added stubs for log.
12886         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
12887         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12888         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12889         redirections for log.
12890         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12891         * sysdeps/x86_64/fpu/Versions: New versions added.
12892         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12893         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12894         build of SSE, AVX2 and AVX512 IFUNC versions.
12895         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
12896         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
12897         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
12898         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
12899         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
12900         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
12901         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
12902         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
12903         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
12904         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
12905         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
12906         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
12907         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
12908         test.
12909         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12910         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12911         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12912         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12913         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12914         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12915         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12916         * NEWS: Mention addition of x86_64 vector log.
12918 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12920         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
12921         cfi_adjust_cfa_offset argument.
12922         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
12923         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
12925         [BZ #18034]
12926         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
12927         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
12928         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
12929         ordering using ldar.
12930         (_dl_tlsdesc_dynamic): Likewise.
12931         (_dl_tlsdesc_return_lazy): Likewise.
12932         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
12933         relaxed atomics instead of volatile and synchronize with release store.
12934         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
12935         volatile.
12936         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12938 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
12940         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12941         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
12942         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12943         * sysdeps/x86_64/fpu/Versions: New versions added.
12944         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12945         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12946         build of SSE, AVX2 and AVX512 IFUNC versions.
12947         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
12948         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
12949         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
12950         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
12951         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
12952         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
12953         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
12954         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
12955         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
12956         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
12957         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
12958         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
12959         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
12960         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12961         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12962         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12963         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12964         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12965         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12966         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12967         * NEWS: Mention addition of x86_64 vector sinf.
12969 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
12971         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
12972         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
12973         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
12974         Remove variable.
12975         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12976         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12978 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
12980         [BZ #18530]
12981         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
12982         strong alias of _IO_fputs.  Use libc_hidden_def.
12983         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
12984         and define as weak alias of __fputs_unlocked.  Use
12985         libc_hidden_weak.
12986         * include/stdio.h (__fputs_unlocked): Declare.  Use
12987         libc_hidden_proto.
12988         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
12989         fputs_unlocked.
12991         [BZ #18529]
12992         * resolv/netdb.h [__USE_POSIX]: Change condition to
12993         [__USE_XOPEN2K].
12994         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
12995         not expect.
12996         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
12997         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
12998         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
12999         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
13000         [XPG4 || UNIX98] (AI_ALL): Likewise.
13001         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
13002         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
13003         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
13004         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
13005         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
13006         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
13007         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
13008         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
13009         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
13010         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
13011         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
13012         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
13013         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
13014         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
13015         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
13016         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
13017         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
13018         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
13019         [XPG4 || UNIX98] (gai_strerror): Likewise.
13020         [XPG4 || UNIX98] (getaddrinfo): Likewise.
13021         [XPG4 || UNIX98] (getnameinfo): Likewise.
13023         [BZ #18528]
13024         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
13025         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
13026         __USE_XOPEN2K8].
13027         (getgrent): Likewise.
13028         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
13029         expect.
13030         [XPG3 || POSIX2008] (endgrent): Likewise.
13031         [XPG3] (setgrent): Likewise.
13032         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
13033         variable.
13034         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13036         [BZ #18527]
13037         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
13038         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
13039         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
13040         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
13041         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
13042         * include/unistd.h (__getlogin_r): Declare.  Use
13043         libc_hidden_proto.
13044         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
13045         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
13046         variable.
13047         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13048         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13049         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13051 2015-06-12  Martin Sebor  <msebor@redhat.com>
13053         [BZ #18512]
13054         * Makerules (check-install-supported): New target.
13055         (install): Add check-install-supported as a dependency.
13056         * manual/install.texi (Installing the C Library): Document
13057         that overriding prefix and exec_prefix is not supported.
13058         Mention DESTDIR.
13059         * INSTALL: Regenerate from the above.
13061 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
13063         [BZ #18519]
13064         * posix/Versions (libc): Export __libc_pread at version
13065         GLIBC_PRIVATE.
13066         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
13067         instead of pread.
13068         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
13069         variable.
13071         [BZ #18522]
13072         * misc/efgcvt_r.c
13073         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
13074         (cvt_symbol): Use weak_alias instead of strong_alias.
13075         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
13076         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
13077         Remove variable.
13078         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13079         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13081         [BZ #18520]
13082         * inet/herrno.c (h_errno): Rename to __h_errno.
13083         (__libc_h_errno): Define as alias of __h_errno not h_errno.
13084         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
13085         to __h_errno instead of h_errno.
13086         * nptl/herrno.c (h_errno): Rename to __h_errno.
13087         (__h_errno_location): Refer to __h_errno not h_errno.
13088         * resolv/Versions (h_errno): Rename to __h_errno.
13089         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
13090         Remove variable.
13091         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13093 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
13095         * configure.ac: More strict check for AVX512 assembler support.
13096         * configure: Regenerated.
13098         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
13099         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
13100         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13101         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
13102         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13103         * sysdeps/x86_64/fpu/Versions: New versions added.
13104         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13105         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13106         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13107         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
13108         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
13109         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
13110         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
13111         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
13112         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
13113         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
13114         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
13115         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
13116         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
13117         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
13118         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
13119         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
13120         test.
13121         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13122         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13123         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13124         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13125         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13126         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13127         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13128         * NEWS: Mention addition of x86_64 vector sin.
13130 2015-06-11  Florian Weimer  <fweimer@redhat.com>
13132         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
13133         comment.
13135 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13137         [BZ #18479]
13138         * nptl/pt-interp.c: New file.
13139         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
13140         Add pt-interp.
13141         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
13142         $(common-objpfx)runtime-linker.h.
13144 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
13146         * Makeconfig (+interp): Remove unused variable.
13147         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
13148         only.  Depend on $(common-objpfx)runtime-linker.h instead of
13149         $(elf-objpfx)runtime-linker.h.
13150         ($(elf-objpfx)runtime-linker.h): Rename to
13151         $(common-objpfx)runtime-linker.h and move ...
13152         * Makerules [$(build-shared) = yes]: ... here.
13153         * elf/interp.c: Include <runtime-linker.h> instead of
13154         <elf/runtime-linker.h>.
13156 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13158         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
13159         (__gettimeofday_syscall): Remove vsyscall fallback.
13160         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
13161         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
13162         Add syscall fallback function.
13163         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
13164         if vDSO is not present.
13165         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
13166         fallback function.
13167         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
13168         present.
13169         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
13170         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13172 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
13174         [BZ #18497]
13175         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
13176         of wcscmp.
13177         (wcscmp): Define as weak alias of WCSCMP.
13178         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
13179         wcscoll.
13180         (USE_HIDDEN_DEF): Define.
13181         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
13182         __wcscoll.  Don't use libc_hidden_weak.
13183         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
13184         wcscmp.
13185         * sysdeps/i386/i686/multiarch/wcscmp-c.c
13186         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
13187         __GI_wcscmp.
13188         (weak_alias): Undefine and redefine.
13189         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
13190         __wcscmp and define as weak alias of __wcscmp.
13191         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
13192         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
13193         (__wcscoll): Likewise.
13194         (wcscmp): Don't use libc_hidden_proto.
13195         (wcscoll): Likewise.
13196         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
13197         wcscoll.
13198         * posix/regexec.c (check_node_accept_bytes): Likewise.
13199         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
13200         variable.
13201         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13202         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13204         [BZ #18507]
13205         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
13206         __fstatvfs and define as weak alias of __fstatvfs.  Use
13207         libc_hidden_weak.
13208         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
13209         and define as weak alias of __statvfs.  Use libc_hidden_weak.
13210         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
13211         Define as alias of __fstatvfs, not fstatvfs.
13212         (fstatvfs64): Likewise.
13213         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
13214         Define as alias of __statvfs, not statvfs.
13215         (statvfs64): Likewise.
13216         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
13217         Remove variable.
13219 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13222         (HAVE_GETCPU_VSYSCALL): Define.
13223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13224         (HAVE_GETCPU_VSYSCALL): Likewise.
13225         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
13226         * sysdeps/unix/sysv/linux/sched_getcpu.c
13227         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
13228         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
13229         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
13230         prototype.
13231         * sysdeps/unix/sysv/linux/x86_64/init-first.c
13232         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
13233         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
13234         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
13235         Define.
13236         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
13237         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13238         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
13239         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13241 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
13243         * sysdeps/x86_64/fpu/Makefile: New file.
13244         * sysdeps/x86_64/fpu/Versions: New file.
13245         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
13246         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
13247         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
13248         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
13249         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
13250         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
13251         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
13252         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
13253         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
13254         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
13255         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
13256         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
13257         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
13258         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13259         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13260         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
13261         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
13262         * sysdeps/x86_64/configure.ac: Options for libmvec build.
13263         * sysdeps/x86_64/configure: Regenerated.
13264         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
13265         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
13266         * manual/install.texi (Configuring and compiling): Document
13267         --disable-mathvec.
13268         * INSTALL: Regenerated.
13269         * NEWS: Mention addition of libmvec and x86_64 vector cos.
13271         * math/Makefile: Added rules for vector tests.
13272         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
13273         declaration under condition.
13274         * math/test-double-vlen2.h: New file.
13275         * math/test-double-vlen4.h: New file.
13276         * math/test-double-vlen8.h: New file.
13277         * math/test-vec-loop.h: Added initialization macro.
13278         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
13279         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
13280         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
13281         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
13282         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
13283         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
13284         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
13285         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
13286         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
13287         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
13288         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
13290         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13291         * sysdeps/x86_64/fpu/Versions: New versions added.
13292         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
13293         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
13294         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
13295         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
13296         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
13297         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
13298         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
13299         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
13300         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
13301         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
13302         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
13303         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
13304         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
13305         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13306         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13307         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13308         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
13309         * NEWS: Mention addition of x86_64 vector cosf.
13311         * math/Makefile: Added CFLAGS for new tests.
13312         * math/test-float-vlen16.h: New file.
13313         * math/test-float-vlen4.h: New file.
13314         * math/test-float-vlen8.h: New file.
13315         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
13316         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
13317         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13318         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
13319         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
13320         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
13321         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
13322         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
13323         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
13324         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
13325         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
13327 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
13329         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
13330         * locale/programs/ld-ctype.c: Likewise.
13332 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
13334         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
13335         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
13336         bit_ZMM16_31_state): New macro.
13337         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13338         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
13340 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
13342         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
13344 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
13346         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
13348 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
13350         [BZ #18498]
13351         * libio/memstream.c (open_memstream): Rename to __open_memstream
13352         and define as weak alias of __open_memstream.
13353         * include/stdio.h (__open_memstream): Declare.  Use
13354         libc_hidden_proto.
13355         (open_memstream): Don't use libc_hidden_proto.
13356         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
13357         open_memstream.
13358         * posix/getopt.c (_getopt_internal_r): Likewise.
13359         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
13360         variable.
13361         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13362         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13363         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13365         [BZ #18496]
13366         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
13367         instead of wcrtomb.
13369         [BZ #18483]
13370         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
13371         [__USE_XOPEN2K8].  Remove redundant #endif.
13372         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
13373         Remove redundant #if.
13374         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
13375         Remove variable.
13376         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13377         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13379         [BZ #18495]
13380         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
13381         (__iswlower): Likewise.
13382         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
13383         (__iswlower): Likewise.
13384         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
13385         instead of towlower.
13386         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
13387         instead of iswlower.  Call __towupper instead of towupper.
13388         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
13389         instead of iswalnum.
13391 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13393         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
13394         errors to stderr.
13396 2015-06-05  Florian Weimer  <fweimer@redhat.com>
13398         [BZ #15661]
13399         [BZ #17322]
13400         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13401         Check for overflow properly.  Check for O_APPEND.  Ignore large
13402         file system block sizes.  Add comments about problems.
13403         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
13404         * manual/filesys.texi (Storage Allocation): New node.
13406 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13408         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
13409         cancellable syscalls.
13410         (SYS_ify): Add guard to no redefine it.
13411         (INLINE_SYSCALL): Likewise.
13412         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
13413         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
13414         SYSCALL_CANCEL instead.
13415         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
13416         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
13417         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
13418         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
13419         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
13420         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
13421         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
13422         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
13423         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13424         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13425         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
13426         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
13427         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
13428         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
13429         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
13430         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
13431         Likewise.
13432         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
13433         (__libc_pread64): Likewise.
13434         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
13435         (__libc_preadv): Likewise.
13436         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
13437         (__libc_readv64): Likewise.
13438         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
13439         (__libc_pwrite): Likewise.
13440         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
13441         (__libc_pwrite64): Likewise.
13442         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
13443         (__libc_pwritev): Likewise.
13444         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
13445         (__libc_pwritev64): Likewise.
13446         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
13447         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
13448         (sync_file_range): Likewise.
13449         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
13450         Likewise.
13451         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
13452         Likewise.
13453         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
13454         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
13455         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
13456         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
13457         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
13458         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
13459         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13460         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
13461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
13462         Likewise.
13463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13464         (__libc_read64): Likewise.
13465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
13466         Likewise.
13467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
13468         Likewise.
13469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
13470         Likewise.
13471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
13472         Likewise.
13473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13474         (__libc_pread64): Likewise.
13475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
13476         Likewise.
13477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13478         (__libc_pwrite64): Likewise.
13479         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
13480         (sync_file_range): Likewise.
13481         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
13482         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
13483         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
13484         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
13485         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
13486         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13487         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13488         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
13489         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
13490         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13491         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13492         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
13493         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
13494         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
13495         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
13496         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
13497         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
13498         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
13499         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
13500         Likewise.
13501         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
13502         Likewise.
13503         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
13504         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
13505         Likewise.
13506         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
13507         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
13508         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
13509         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
13510         Likewise.
13511         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
13512         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
13513         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
13514         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
13515         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
13517 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
13519         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
13520         Include dl-vdso.
13521         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
13522         Use VDSO routines for gettimeofday, clock_gettime if
13523         available.
13524         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
13525         Declare VDSO symbols.
13526         * sysdeps/unix/sysv/linux/arm/sysdep.h:
13527         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
13528         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13529         * sysdeps/unix/sysv/linux/arm/Versions: Add
13530         __vdso_clock_gettime.
13532 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13534         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
13535         be an inline implementation regardless of library is built within.
13536         (open_not_cancel_2): Likewise.
13537         (__read_nocancel): Likewise.
13538         (__write_nocancel): Likewise.
13539         (openat_not_cancel): Likewise.
13540         (openat_not_cancel_3): Likewise.
13541         (openat64_not_cancel): Likewise.
13542         (openat64_not_cancel_3): Likewise.
13543         (__close_nocancel): Likewise.
13544         (pause_not_cancel): Likewise.
13545         (nanosleep_not_cancel): Likewise.
13546         (sigsuspend_not_cancel): Likewise.
13548 2015-06-04  Torvald Riegel  <triegel@redhat.com>
13550         [BZ #14958]
13551         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
13552         wake-up.
13553         (__pthread_rwlock_rdlock_slow): Likewise.
13554         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13555         Likewise.
13556         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
13557         Likewise.
13558         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
13559         * nptl/tst-rwlock16.c: New file.
13560         * nptl/Makefile (tests): Add new test.
13562 2015-06-04  Torvald Riegel  <triegel@redhat.com>
13564         [BZ #18324]
13565         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
13566         missing wake-up of readers.
13567         * nptl/tst-rwlock15.c: New file.
13568         * nptl/Makefile (tests): Add new test.
13570 2015-06-03  Roland McGrath  <roland@hack.frob.com>
13572         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
13573         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
13574         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
13575         and __nacl_supply_interface_rtld.
13576         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
13577         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
13578         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
13579         Add __nacl_supply_interface_rtld.
13580         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
13582 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
13584         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
13585         isfinite.
13586         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13587         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
13589 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
13591         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
13592         __signbit* with standard C99 macros.
13593         * math/e_exp10l.c: Likewise.
13594         * math/e_exp2l.c: Likewise.
13595         * math/e_scalb.c: Likewise.
13596         * math/e_scalbf.c: Likewise.
13597         * math/e_scalbl.c: Likewise.
13598         * math/s_ldexp.c: Likewise.
13599         * math/s_ldexpf.c: Likewise.
13600         * math/s_ldexpl.c: Likewise.
13601         * math/w_atan2.c: Likewise.
13602         * math/w_atan2f.c: Likewise.
13603         * math/w_atan2l.c: Likewise.
13604         * math/w_cosh.c: Likewise.
13605         * math/w_coshf.c: Likewise.
13606         * math/w_coshl.c: Likewise.
13607         * math/w_exp10.c: Likewise.
13608         * math/w_exp10f.c: Likewise.
13609         * math/w_exp10l.c: Likewise.
13610         * math/w_exp2.c: Likewise.
13611         * math/w_exp2f.c: Likewise.
13612         * math/w_exp2l.c: Likewise.
13613         * math/w_fmod.c: Likewise.
13614         * math/w_fmodf.c: Likewise.
13615         * math/w_fmodl.c: Likewise.
13616         * math/w_hypot.c: Likewise.
13617         * math/w_hypotf.c: Likewise.
13618         * math/w_hypotl.c: Likewise.
13619         * math/w_jnl.c: Likewise.
13620         * math/w_lgamma.c: Likewise.
13621         * math/w_lgamma_r.c: Likewise.
13622         * math/w_lgammaf.c: Likewise.
13623         * math/w_lgammaf_r.c: Likewise.
13624         * math/w_lgammal.c: Likewise.
13625         * math/w_lgammal_r.c: Likewise.
13626         * math/w_pow.c: Likewise.
13627         * math/w_powf.c: Likewise.
13628         * math/w_powl.c: Likewise.
13629         * math/w_remainder.c: Likewise.
13630         * math/w_remainderf.c: Likewise.
13631         * math/w_remainderl.c: Likewise.
13632         * math/w_scalb.c: Likewise.
13633         * math/w_scalbf.c: Likewise.
13634         * math/w_scalbl.c: Likewise.
13635         * math/w_scalbln.c: Likewise.
13636         * math/w_scalblnf.c: Likewise.
13637         * math/w_scalblnl.c: Likewise.
13638         * math/w_sinh.c: Likewise.
13639         * math/w_sinhf.c: Likewise.
13640         * math/w_sinhl.c: Likewise.
13641         * math/w_tgamma.c: Likewise.
13642         * math/w_tgammaf.c: Likewise.
13643         * math/w_tgammal.c: Likewise.
13644         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13645         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
13646         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13647         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13648         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13649         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13650         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13651         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13652         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13653         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13654         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13655         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13656         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13657         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13658         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13659         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13660         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13661         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13662         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13663         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13664         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13665         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13666         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13667         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13668         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13669         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13670         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
13671         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13672         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13673         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13674         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
13675         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
13676         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
13677         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
13678         * stdio-common/printf_fp.c: Likewise.
13679         * stdio-common/printf_fphex.c: Likewise.
13680         * stdio-common/printf_size.c: Likewise.
13682 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
13684         [BZ #18470]
13685         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
13686         strnlen.
13687         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
13688         Remove variable.
13689         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13690         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13691         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13692         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13693         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13694         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13695         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13696         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13697         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13698         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13700         [BZ #18468]
13701         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
13702         weak alias of __wmemchr.  Use libc_hidden_weak.
13703         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
13704         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
13705         instead of wmemchr.
13707 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13709         [BZ #18383]
13710         * elf/tst-tlsalign-extern.c: New file.
13711         * elf/tst-tlsalign-extern-static.c: New file.
13712         * elf/tst-tlsalign-vars.c: New file.
13713         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
13714         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
13715         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
13716         ($(objpfx)tst-tlsalign-extern-static): Likewise.
13717         (test-xfail-tst-tlsalign-extern-static): New variable.
13719 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
13721         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
13722         Use variable name _sc_err instead of err.
13723         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
13724         instead of ret.
13725         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
13726         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
13727         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
13728         (INLINE_SYSCALL): Likewise.
13730         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
13731         * include/string.h (__strnlen): Use libc_hidden_proto.
13732         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
13733         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
13734         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
13735         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
13736         (libc_hidden_def): Undefine and redefine.
13737         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
13738         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
13739         __GI_strnlen.
13740         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
13741         libc_hidden_def.
13742         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
13744         [BZ #18469]
13745         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
13746         weak alias of __towlower.  Use libc_hidden_weak.
13747         (towupper): Rename to __towupper and define as weak alias of
13748         __towupper.  Use libc_hidden_weak.
13749         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
13750         (__towupper): Likewise.
13751         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
13752         __towlower instead of towlower.
13754 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13756         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
13757         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
13759 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13761         * sysdeps/aarch64/libm-test-ulps: Update.
13763 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13765         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
13766         Define.
13767         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13768         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13769         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13770         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13771         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
13772         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
13773         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
13775 2015-06-01  Martin Sebor  <msebor@redhat.com>
13777         [BZ #18116]
13778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13779         (__setcontext): Use extended four-operand version of mtsf whenever
13780         possible.
13781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13782         (__novec_swapcontext): Likewise.
13784 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13786         * benchtests/scripts/compare_bench.py: New file.
13787         * benchtests/scripts/import_bench.py (mean): New function.
13788         (split_list): Likewise.
13789         (do_for_all_timings): Likewise.
13790         (compress_timings): Likewise.
13792         * benchtests/scripts/import_bench.py: New file.
13793         * benchtests/scripts/validate_benchout.py: Import import_bench
13794         instead of jsonschema.
13795         (validate_bench): Remove function.
13796         (main): Use import_bench.
13798 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
13800         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
13801         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
13803 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13807 2015-05-28  Roland McGrath  <roland@hack.frob.com>
13809         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
13810         set THREAD_SELF->tid to a magic value and futex-wake it.
13811         Pass its address to the thread_exit system call.
13812         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
13813         bit is clear.
13814         * sysdeps/nacl/lowlevellock.h: New file.
13815         * sysdeps/nacl/lll_timedwait_tid.c: New file.
13817         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
13818         Add TIMEOUT to current time, don't subtract it.
13820 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
13822         [BZ #2981]
13823         [BZ #18422]
13824         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
13825         ($(objpfx)tst-audit2.out): Also depend on
13826         $(objpfx)tst-auditmod9b.so.
13827         * elf/tst-audit2.c: Include <dlfcn.h>.
13828         (calloc_called): New.
13829         (calloc): Allow to be called more than once.
13830         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
13832 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
13834         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
13835         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
13837 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
13839         * stdlib/monetary.h: Fix comment.
13841 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
13843         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
13844         Avoid using variables in #defines that might cause shadowing.
13845         (INTERNAL_VSYSCALL_CALL): Likewise.
13847 2015-05-26  Roland McGrath  <roland@hack.frob.com>
13849         * sysdeps/nacl/lll_timedlock_wait.c: New file.
13851         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
13852         * nptl/lll_timedlock_wait.c: ... to this new file.
13853         * nptl/Makefile (libpthread-routines): Add it.
13854         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
13855         * nptl/lll_timedwait_tid.c: ... to this new file.
13856         * nptl/Makefile (libpthread-routines): Add it.
13857         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
13858         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
13859         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
13860         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
13861         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
13862         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
13863         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
13864         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
13865         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
13866         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
13868 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13870         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
13871         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13872         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13873         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
13874         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
13875         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13876         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13877         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13878         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13879         * sysdeps/unix/sysv/linux/tile/sysdep.h
13880         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13881         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
13882         using vDSO syscall macro.
13884 2015-05-26  Andriy Rysin  <arysin@gmail.com>
13886         [BZ #17293]
13887         * uk_UA: Fix sorting order for Ukrainian locale
13889 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
13891         * stdlib/monetary.h: Fix comment.
13893 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13895         [BZ #18234]
13896         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
13897         st_mtim and st_ctim members.
13898         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
13899         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
13900         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
13901         (struct stat64): Likewise.
13902         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
13903         (struct stat64): Likewise.
13904         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
13905         (struct stat64): Likewise.
13907 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13909         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
13910         Define and include sysdep-vdso.h.
13911         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
13912         Likewise.
13913         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
13914         Likewise.
13915         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
13916         Define with VDSO_SYMBOL and use PTR_MANGLE.
13917         (__vdso_clock_gettime): Likewise.
13918         (__vdso_clock_getres): Likewise.
13919         (_libc_vdso_platform_setup): Likewise.
13920         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
13921         Likewise.
13922         (_libc_vdso_platform_setup): Likewise.
13923         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
13924         Likewise.
13925         (__vdso_clock_gettime): Likewise.
13926         (__vdso_clock_getres): Likewise.
13927         (__vdso_get_tbfreq): Likewise.
13928         (__vdso_getcpu): Likewise.
13929         (__vdso_time): Likewise.
13930         (__vdso_sigtramp_rt64): Likewise.
13931         (__vdso_signtramp32): Likewise.
13932         (__vdso_sigtramp_rt32): Likewise.
13933         (_libc_vdso_platform_setup): Likewise.
13934         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
13935         Likewise.
13936         (__vdso_clock_gettime): Likewise.
13937         (__vdso_clock_getres): Likewise.
13938         (_libc_vdso_platform_setup): Likewise.
13939         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
13940         Likewise.
13941         (__vdso_clock_gettime): Likewise.
13942         (_libc_vdso_platform_setup): Likewise.
13943         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13944         Likewise.
13945         (__vdso_getcpu): Likewise.
13946         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
13947         Use VDSO_SYMBOL macro to define.
13948         (__vdso_clock_gettime): Likewise.
13949         (__vdso_clock_getres): Likewise.
13950         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
13951         Likewise.
13952         (__vdso_clock_gettime): Likewise.
13953         (__vdso_clock_getres): Likewise.
13954         (__vdso_get_tbfreq): Likewise.
13955         (__vdso_getcpu): Likewise.
13956         (__vdso_time): Likewise.
13957         (__vdso_sigtramp_rt64): Likewise.
13958         (__vdso_signtramp32): Likewise.
13959         (__vdso_sigtramp_rt32): Likewise.
13960         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
13961         Likewise.
13962         (__vdso_clock_gettime): Likewise.
13963         (__vdso_clock_getres): Likewise.
13964         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
13965         Likewise.
13966         (__vdso_clock_gettime): Likewise.
13967         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
13968         Likewise.
13969         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
13970         macro.
13971         (INTERNAL_VSYSCALL): Likewise.
13972         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
13973         Remove macro.
13974         (INTERNAL_VSYSCALL): Likewise.
13975         (INTERNAL_VSYSCALL_NCS): Likewise.
13976         (INTERNAL_VSYSCALL_CALL): New macro.
13977         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13978         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
13979         Likewise.
13980         (INTERNAL_VSYSCALL): Likewise.
13981         (INTERNAL_VSYSCALL_NCS): Likewise.
13982         (INTERNAL_VSYSCALL_CALL): New macro.
13983         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13985         (INLINE_VSYSCALL): Remove macro.
13986         (INTERNAL_VSYSCALL): Remove macro.
13987         (INTERNAL_VSYSCALL_NCS): Remove macro.
13988         (INTERNAL_VSYSCALL_CALL): New macro.
13989         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
13990         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
13991         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13992         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
13993         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13995         (INLINE_VSYSCALL): Remove macro.
13996         (INTERNAL_VSYSCALL): Likewise.
13997         (INTERNAL_VSYSCALL_NCS): Likewise.
13998         (INTERNAL_VSYSCALL_CALL): New macro.
13999         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
14000         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
14001         PTR_DEMANGLE on vDSO pointer.
14002         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
14003         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
14004         macro.
14005         (INTERNAL_SYSCALL): Likewise.
14006         (INTERNAL_VSYSCALL_NCS): Remove macro.
14007         (INTERNAL_VSYSCALL_CALL): New macro.
14008         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
14009         Remove macro.
14010         (INTERNAL_VSYSCALL): Likewise.
14011         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
14012         sysdep-vdso.h instead of libc-vdso.h.
14013         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
14014         definition.
14015         (INLINE_VSYSCALL): Likewise.
14016         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
14017         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
14018         definition.
14019         (INLINE_VSYSCALL): Likewise.
14020         (INTERNAL_VSYSCALL): Likewise.
14021         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14022         * sysdeps/unix/sysv/linux/timespec_get.c
14023         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
14024         (timespec_get): Use ANSI prototype.
14025         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
14026         and definition for Linux.
14028 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
14030         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
14031         * include/libc-symbols.h: libmvec_hidden_* macro series added.
14033 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
14035         [BZ #2981]
14036         [BZ #18410]
14037         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
14038         for missing DT_PLTRELSZ.
14040 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
14042         Remove obsolete aliases that broke 'locale -a'
14043         [BZ #18412]
14044         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
14045         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
14046         breaking some applications that use 'locale -a' output.
14047         Change the encoding of this file from Latin-1 to ASCII to avoid
14048         other potential problems with people grepping this file.
14050 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14052         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
14053         -fasynchronous-unwind-tables.
14054         (CFLAGS-sendto.c): Likewise.
14055         (CFLAGS-sendmsg.c): Likewise.
14056         (CFLAGS-connect.c): Likewise.
14057         (CFLAGS-recvmsg.c): Likewise.
14058         (CFLAGS-recvfrom.c): Likewise.
14059         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
14060         (SOCKETCALL): New macro: non-cancellable socketcall.
14061         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
14062         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
14063         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
14064         * sysdeps/unix/sysv/linux/accept.c: New file.
14065         * sysdeps/unix/sysv/linux/bind.c: Likewise.
14066         * sysdeps/unix/sysv/linux/connect.c: Likewise.
14067         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
14068         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
14069         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
14070         * sysdeps/unix/sysv/linux/listen.c: Likewise.
14071         * sysdeps/unix/sysv/linux/recv.c: Likewise.
14072         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
14073         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14074         * sysdeps/unix/sysv/linux/send.c: Likewise.
14075         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14076         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
14077         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
14078         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
14079         * sysdeps/unix/sysv/linux/socket.c: Likewise.
14080         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
14081         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
14082         prototype.
14083         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
14084         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14085         instead of __internal_xxx function.
14086         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
14087         prototype.
14088         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
14089         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14090         instead of __internal_xxx function.
14091         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
14092         prototype.
14093         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
14094         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14095         instead of __internal_xxx function.
14096         * sysdeps/unix/sysv/linux/accept.S: Remove file.
14097         * sysdeps/unix/sysv/linux/bind.S: Likewise.
14098         * sysdeps/unix/sysv/linux/connect.S: Likewise.
14099         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
14100         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
14101         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
14102         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
14103         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
14104         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
14105         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
14106         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
14107         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14108         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
14109         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
14110         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
14111         * sysdeps/unix/sysv/linux/listen.S: Likewise.
14112         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
14113         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
14114         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
14115         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
14116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
14117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
14118         * sysdeps/unix/sysv/linux/recv.S: Likewise.
14119         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
14120         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
14121         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
14122         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14123         * sysdeps/unix/sysv/linux/send.S: Likewise.
14124         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
14125         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
14126         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
14127         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
14128         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
14129         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
14130         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
14131         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
14132         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
14133         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
14134         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
14135         socketcall is implemented in GLIBC.
14137 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
14139         * soft-fp/fmadf4.c: Include <libc-internal.h>.
14140         (__fma): Ignore uninitialized warnings around packing.
14141         * soft-fp/fmasf4.c: Include <libc-internal.h>.
14142         (__fmaf): Ignore uninitialized warnings around packing.
14143         * soft-fp/fmatf4.c: Include <libc-internal.h>.
14144         (__fmal): Ignore uninitialized warnings around packing.
14146         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
14147         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14148         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
14149         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14151         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
14152         switch statement into default case.
14153         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
14155         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
14156         a conditional in forcing "inexact".
14157         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14158         Likewise.
14160 2015-05-22  Roland McGrath  <roland@hack.frob.com>
14162         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14163         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
14164         for each INTERNAL_SYSCALL use.
14166 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
14168         [BZ #438]
14169         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
14170         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
14171         variable.
14173         [BZ #18444]
14174         * string/basename.c (basename): Rename to __basename and define as
14175         weak alias of __basename.  Use libc_hidden_weak.
14176         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
14177         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
14178         __basename instead of basename.
14179         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
14180         Remove variable.
14181         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14183 2015-05-18  Florian Weimer  <fweimer@redhat.com>
14185         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
14186         (_IO_JUMPS_FILE_plus): New.
14187         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
14188         _IO_CAST_FIELD_ACCESS.
14189         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
14190         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
14191         * libio/freopen.c (freopen): Likewise.
14192         * libio/freopen64.c (freopen64): Likewise.
14193         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
14194         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
14195         * libio/iofwide.c (_IO_fwide): Likewise.
14196         * libio/memstream.c (open_memstream): Likewise.
14197         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14198         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14199         * libio/oldiopopen.c (_IO_old_popen): Likewise.
14201 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
14203         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
14204         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
14205         NADJ.
14206         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
14207         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
14208         NADJ.
14209         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
14210         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
14211         NADJ.
14213         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
14214         (p == 4) case.
14216         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
14217         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
14218         Remove variable.
14219         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14220         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14221         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14223 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14225         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
14226         Adjust jump table label generation macros.
14228 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14230         * stdio-common/vfprintf.c (vfprintf): Move local variables
14231         args_malloced, specs, specs_malloced, and the code after
14232         do_positional to the printf_positional function.
14233         (printf_positional): New function.
14235 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14237         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
14238         function.
14239         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
14240         STEP4_TABLE, process_arg): Move macro definitions
14241         out of the vfprintf function.  (Cosmetic change only.)
14243 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
14245         * benchtests/Makefile (stdio-common-bench): Define.
14246         (benchset): Add stdio-common-bench.
14247         * sprintf-inputs: New file.
14248         * sprintf-source.c: New file.
14250 2015-05-21  Andreas Schwab  <schwab@suse.de>
14252         [BZ #13028]
14253         [BZ #17053]
14254         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
14255         of struct __res_state.
14256         * resolv/res_send.c (__libc_res_nsend): Likewise.
14257         (get_nsaddr): New function.
14258         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
14259         statp directly.
14261 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
14263         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
14264         -D_POSIX_C_SOURCE=199506L.
14266         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
14268         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
14269         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
14270         Do not mention otherwise.
14271         [POSIX] (_XOPEN_VERSION): Do not expect.
14272         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
14273         [POSIX] (_POSIX2_C_BIND): Likewise.
14274         [POSIX] (_POSIX2_VERSION): Likewise.
14275         [POSIX] (_XOPEN_XPG2): Likewise.
14276         [POSIX] (_XOPEN_XPG3): Likewise.
14277         [POSIX] (_XOPEN_XPG4): Likewise.
14278         [POSIX] (_XOPEN_UNIX): Likewise.
14279         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
14280         [POSIX] (_POSIX_BARRIERS): Likewise.
14281         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
14282         [POSIX] (_POSIX_CPUTIME): Likewise.
14283         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
14284         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
14285         [POSIX] (_POSIX_SHELL): Likewise.
14286         [POSIX] (_POSIX_SPAWN): Likewise.
14287         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
14288         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
14289         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
14290         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
14291         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
14292         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
14293         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
14294         [POSIX] (_XBS5_LP64_OFF64): Likewise.
14295         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
14296         [POSIX] (_POSIX_TIMEOUTS): Likewise.
14297         [POSIX] (_POSIX2_PBS): Likewise.
14298         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
14299         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
14300         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
14301         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
14302         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
14303         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
14304         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
14305         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
14306         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
14307         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
14308         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
14309         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
14310         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
14311         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
14312         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
14313         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
14314         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
14315         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
14316         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
14317         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
14318         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
14319         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
14320         [POSIX] (_SC_2_C_BIND): Likewise.
14321         [POSIX] (_SC_2_C_VERSION): Likewise.
14322         [POSIX] (_SC_2_PBS): Likewise.
14323         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
14324         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
14325         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
14326         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
14327         [POSIX] (_SC_2_PBS_TRACK): Likewise.
14328         [POSIX] (_SC_ATEXIT_MAX): Likewise.
14329         [POSIX] (_SC_BARRIERS): Likewise.
14330         [POSIX] (_SC_BASE): Likewise.
14331         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
14332         [POSIX] (_SC_DEVICE_IO): Likewise.
14333         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
14334         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
14335         [POSIX] (_SC_FD_MGMT): Likewise.
14336         [POSIX] (_SC_FIFO): Likewise.
14337         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
14338         [POSIX] (_SC_FILE_LOCKING): Likewise.
14339         [POSIX] (_SC_FILE_SYSTEM): Likewise.
14340         [POSIX] (_SC_IOV_MAX): Likewise.
14341         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
14342         [POSIX] (_SC_NETWORKING): Likewise.
14343         [POSIX] (_SC_PAGE_SIZE): Likewise.
14344         [POSIX] (_SC_PASS_MAX): Likewise.
14345         [POSIX] (_SC_PIPE): Likewise.
14346         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
14347         [POSIX] (_SC_REGEXP): Likewise.
14348         [POSIX] (_SC_SHELL): Likewise.
14349         [POSIX] (_SC_SIGNALS): Likewise.
14350         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
14351         [POSIX] (_SC_SPIN_LOCKS): Likewise.
14352         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
14353         [POSIX] (_SC_USER_GROUPS): Likewise.
14354         [POSIX] (_SC_USER_GROUPS_R): Likewise.
14355         [POSIX] (_SC_STREAMS): Likewise.
14356         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
14357         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
14358         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
14359         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
14360         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
14361         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
14362         [POSIX] (_PC_FILESIZEBITS): Likewise.
14363         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
14364         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
14365         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
14366         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
14367         [POSIX] (uid_t): Likewise.
14368         [POSIX] (gid_t): Likewise.
14369         [POSIX] (off_t): Likewise.
14370         [POSIX] (pid_t): Likewise.
14371         [POSIX] (cuserid): Allow.
14372         (_SC_2_CHAR_TERM): Require constant.
14373         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
14374         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
14375         variable.
14377 2015-05-20  Roland McGrath  <roland@hack.frob.com>
14379         * sysdeps/nacl/pthread-pids.h: New file.
14380         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
14381         (create_thread): Use __nacl_get_tid to initialize PD->tid.
14383         * nptl/pthread-pids.h: New file.
14384         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
14385         * nptl/nptl-init.c: Include <pthread-pids.h>.
14386         (__pthread_initialize_minimal_internal):
14387         Call __pthread_initialize_pids instead of set_tid_address syscall.
14389         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
14390         * sysdeps/posix/usleep.c: ... here.
14392 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14394         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
14395         call_pselect6 object.
14396         [$(subdir) = io]: Remove call_sync_file_range object.
14397         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
14398         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
14399         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
14400         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
14402 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
14404         * math/s_cproj.c: Add include "math_private.h".
14405         * math/s_cprojf.c: Likewise.
14406         * math/s_cprojl.c: Likewise.
14408 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
14410         [BZ #18244]
14411         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
14412         high mantissa bit when testing whether P is a NaN.
14413         * math/libm-test.inc (remainder_test_data): Add more tests.
14414         (remquo_test_data): Likewise.
14416         [BZ #18049]
14417         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
14418         below -32, return the argument, with underflow if subnormal.
14419         * math/auto-libm-test-in: Add more tests of atanh.
14420         * math/auto-libm-test-out: Regenerated.
14422 2015-05-19  Roland McGrath  <roland@hack.frob.com>
14424         [BZ #18434]
14425         * nptl/tst-sem15.c: New file.
14426         * nptl/Makefile (tests): Add it.
14427         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
14428         s/<</>>/ to fix typo in EOVERFLOW check.
14429         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
14431 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14433         * manual/strings.texi (envz_remove): Fix typo in safety
14434         annotations.
14436 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
14437             Steve Ellcey  <sellcey@imgtec.com>
14439         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
14440         in order to avoid strict alias warnings.
14441         (iruserok_af): Ditto for ra.
14443 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
14445         [BZ #17581]
14446         * malloc/hooks.c
14447         (magicbyte): Convert to a function and avoid returning 0x01.
14448         (mem2mem_check): Avoid using a length byte equal to the magic byte.
14449         (mem2chunk_check): Fix unsigned comparisons to zero.
14450         Hoist defs of sz and magic.
14452 2015-05-19  Richard Henderson  <rth@redhat.com>
14454         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
14456         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14458 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14460         [BZ #16159]
14461         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
14462         * malloc/arena.c (arena_lock): Check if arena is corrupt.
14463         (reused_arena): Find a non-corrupt arena.
14464         (heap_trim): Pass arena to unlink.
14465         * malloc/hooks.c (malloc_check_get_size): Pass arena to
14466         malloc_printerr.
14467         (top_check): Likewise.
14468         (free_check): Likewise.
14469         (realloc_check): Likewise.
14470         * malloc/malloc.c (malloc_printerr): Add arena argument.
14471         (unlink): Likewise.
14472         (munmap_chunk): Adjust.
14473         (ARENA_CORRUPTION_BIT): New macro.
14474         (arena_is_corrupt): Likewise.
14475         (set_arena_corrupt): Likewise.
14476         (sysmalloc): Use mmap if there are no usable arenas.
14477         (_int_malloc): Likewise.
14478         (__libc_malloc): Don't fail if arena_get returns NULL.
14479         (_mid_memalign): Likewise.
14480         (__libc_calloc): Likewise.
14481         (__libc_realloc): Adjust for additional argument to
14482         malloc_printerr.
14483         (_int_free): Likewise.
14484         (malloc_consolidate): Likewise.
14485         (_int_realloc): Likewise.
14486         (_int_memalign): Don't touch corrupt arenas.
14487         * malloc/tst-malloc-backtrace.c: New test case.
14489         * Makefile (summarize-tests): Fix return value on success.
14491         * manual/string.texi (Envz Functions): Add envz_remove.
14493 2015-05-18  Roland McGrath  <roland@hack.frob.com>
14495         * sysdeps/posix/opendir.c: Include <stdbool.h>.
14496         (invalid_name): New function, broken out of ...
14497         (__opendirat): ... here.  Call it.
14498         (need_isdir_precheck): New function, broken out of ...
14499         (__opendirat): ... here.  Call it.
14500         Use __fxstatat64, not __xstatat64.
14501         (opendir_oflags): New function, broken out of ...
14502         (__opendirat): ... here.  Call it.
14503         (opendir_tail): New function, broken out of ...
14504         (__opendirat): ... here.  Call it.
14505         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
14506         opendir_tail, rather than punting to __opendirat.
14507         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
14509 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14511         * .gitignore: Ignore generated *.pyc.
14513 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
14515         * include/stdio.h: Define __need_wint_t.
14516         * test-skeleton.c: Avoid `for' loop initial declaration.
14517         * nptl/tst-initializers1.c: Use test-skeleton.c.
14519 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14521         [BZ #18418]
14522         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
14524 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
14526         [BZ #16352]
14527         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
14528         (__ieee754_atanh): Force underflow exception for results with
14529         small absolute value.
14530         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
14531         (__ieee754_atanhf): Force underflow exception for results with
14532         small absolute value.
14533         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
14534         (__ieee754_atanh): Force underflow exception for results with
14535         small absolute value.
14536         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
14537         (__ieee754_atanhf): Force underflow exception for results with
14538         small absolute value.
14539         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
14540         (__ieee754_atanhl): Force underflow exception for results with
14541         small absolute value.
14542         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
14543         (__ieee754_atanhl): Force underflow exception for results with
14544         small absolute value.
14545         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
14546         (__ieee754_atanhl): Force underflow exception for results with
14547         small absolute value.
14548         * math/auto-libm-test-in: Do not allow missing underflow
14549         exceptions from atanh.
14550         * math/auto-libm-test-out: Regenerated.
14552         [BZ #18221]
14553         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
14554         2**-28 as threshold for returning x or +/- 1/x.
14555         * math/auto-libm-test-in: Add more tests of tan.
14556         * math/auto-libm-test-out: Regenerated.
14558         [BZ #18220]
14559         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14560         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
14561         * math/auto-libm-test-in: Add another test of lgamma.
14562         * math/auto-libm-test-out: Regenerated.
14564 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
14566         * stdio-common/printf_fp.c (___printf_fp): Use abs.
14567         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
14568         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
14569         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
14570         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
14571         (ADD2A): Use fabs.  (SUB2A): Use fabs.
14572         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
14573         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
14574         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
14575         (log1): Use fabs.  (my_log2): Use fabs.
14576         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
14577         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
14578         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
14579         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
14580         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
14581         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
14582         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
14583         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
14584         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
14585         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
14586         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
14588 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
14590         [BZ #18217]
14591         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
14592         as threshold for returning 1 - x.
14593         * math/auto-libm-test-in: Add more tests of erfc.
14594         * math/auto-libm-test-out: Regenerated.
14596 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
14598         [BZ #18196]
14599         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
14600         threshold for large arguments.
14601         * math/auto-libm-test-in: Add another test of atan.
14602         * math/auto-libm-test-out: Regenerated.
14604         [BZ #16339]
14605         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
14606         (__log1p): Force underflow exception for results with small
14607         absolute value.
14608         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
14609         (__log1pf): Force underflow exception for results with small
14610         absolute value.
14611         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
14612         (__log1p): Force underflow exception for results with small
14613         absolute value.
14614         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
14615         (__log1pf): Force underflow exception for results with small
14616         absolute value.
14617         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
14618         (__log1pl): Force underflow exception for results with small
14619         absolute value.
14620         * math/auto-libm-test-in: Do not allow missing underflow
14621         exceptions from log1p.
14622         * math/auto-libm-test-out: Regenerated.
14624 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
14625             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14627         [BZ #16704]
14628         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
14630 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
14632         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
14633         (libmvec): New variable.
14634         * configure.ac: Added option for mathvec build.
14635         * configure: Regenerated.
14636         * mathvec/Depend: New file.
14637         * mathvec/Makefile: New file.
14638         * shlib-versions: Added libmvec.
14639         * math/Makefile: Added rule for libm.so installation.
14641         * bits/math-vector.h: New file.
14642         * bits/libm-simd-decl-stubs.h: New header.
14643         * math/Makefile (headers): Added new header
14644         libm-simd-decl-stubs.h.
14645         * math/math.h (__MATHCALL_VEC): New macro.
14647         * math/gen-libm-have-vector-test.sh: Script generates series of macros
14648         for conditions in testing functions.
14649         * math/Makefile: Added call of libm-have-vector-test.sh.
14650         * math/libm-test.inc (HAVE_VECTOR): New macros.
14652         * math/libm-test.inc: START refactored.
14653         * math/test-double.c (TEST_MATHVEC): Add define.
14654         * math/test-float.c: Likewise.
14655         * math/test-idouble.c: Likewise.
14656         * math/test-ifloat.c: Likewise.
14657         * math/test-ildoubl.c: Likewise.
14658         * math/test-ldouble.c: Likewise.
14659         * sysdeps/generic/math-tests-arch.h
14660         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
14661         architecture check.
14663         * math/test-double.c (FUNC_TEST): New macro.
14664         * math/test-float.c: Likewise.
14665         * math/test-idouble.c: Likewise.
14666         * math/test-ifloat.c: Likewise.
14667         * math/test-ildoubl.c: Likewise.
14668         * math/test-ldouble.c: Likewise.
14669         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
14671 2015-05-13  Roland McGrath  <roland@hack.frob.com>
14673         * sysdeps/nacl/fdopendir.c: New file.
14675         * dirent/scandir-tail.c: New file.
14676         * dirent/scandir64-tail.c: New file.
14677         * dirent/Makefile (routines): Add them.
14678         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
14679         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
14680         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
14681         [!SCANDIR] (SCANDIR_TAIL): New macro.
14682         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
14683         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
14684         (SCANDIRAT): Macro removed.
14685         (SCANDIR_TAIL): New macro.
14686         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
14687         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
14688         (SCANDIRAT): Just call __opendirat and __scandir_tail.
14689         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
14690         (READDIR): Macro removed.
14691         (SCANDIR_TAIL): New macro.
14692         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
14693         (SCANDIR_TAIL): New macro.
14695         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
14696         * dirent/scandir-cancel.c: ... to this new file.
14697         * dirent/Makefile (routines): Add it.
14698         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
14699         * sysdeps/unix/sysv/linux/i386/scandir64.c
14700         (SKIP_SCANDIR_CANCEL): Macro removed.
14701         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
14703         * dirent/tst-scandir.c: New file.
14704         * dirent/tst-scandir64.c: New file.
14705         * dirent/Makefile (tests): Add them.
14707 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14709         [BZ #18409]
14710         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
14712 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14714         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
14715         list.
14717 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
14719         * benchtests/bench-strcoll.c: New benchmark.
14720         * benchtests/Makefile: Generate locales and run benchmark.
14721         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
14722         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
14723         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
14724         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
14725         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
14726         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
14727         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
14728         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
14729         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
14730         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
14731         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
14732         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
14733         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
14734         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
14735         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
14736         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
14737         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
14738         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
14739         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
14740         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
14741         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
14742         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
14743         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
14744         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
14746 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
14748         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
14749         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14751 2015-05-12  Roland McGrath  <roland@hack.frob.com>
14753         * posix/uname-values.h: New file.
14754         * posix/uname.c: Include that instead of <config-name.h>.
14755         * sysdeps/nacl/uname-values.h: New file.
14756         * sysdeps/arm/nacl/uname-values.h: New file.
14758 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
14760         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
14761         splitting into fields.
14763 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
14765         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
14766         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
14767         * locale/localeinfo.h: Add enum collation_encoding_type.
14768         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
14769         * programs/ld-collate.c (collate_output): Add encoding type info.
14770         * string/strcoll_l.c (STRDIFF): New function.
14771         * (STRCOLL): Use STRDIFF to skip over equal prefix.
14772         * wcsmbs/wcscoll_l.c: Define STRDIFF.
14774 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
14776         [BZ #18397]
14777         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
14778         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
14779         <fpu_control.h> instead of <math/fpu_control.c>.
14780         * sysdeps/mips/mips32/fpu/Makefile: New file.
14782 2015-05-11  Andreas Schwab  <schwab@suse.de>
14784         [BZ #18007]
14785         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
14786         nss_endgrent.
14787         (_nss_compat_endgrent): Call nss_endgrent.
14788         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
14789         nss_endpwent.
14790         (_nss_compat_endpwent): Call nss_endpwent.
14791         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
14792         needent, call nss_setspent only if non-zero.
14793         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
14794         (internal_endspent): Don't call nss_endspent.
14795         (_nss_compat_endspent): Call nss_endspent.
14796         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
14797         Remove.  All uses removed.
14798         (internal_setent): Remove parameter stayopen, add parameter
14799         stream.  Use it instead of global variable.
14800         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
14801         (internal_endent, internal_getent): Add parameter stream.  Use it
14802         instead of global variable.
14803         (CONCAT(_nss_files_end,ENTNAME))
14804         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
14805         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
14806         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
14807         uses removed.
14808         (internal_setent, internal_endent): Add parameter stream.  Use it
14809         instead of global variable.
14810         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
14811         stream.
14812         (get_next_alias): Add parameter stream.
14813         (_nss_files_getaliasent_r): Pass global stream.
14814         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
14815         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
14816         (_nss_files_gethostbyname4_r): Pass local stream to
14817         internal_setent, internal_getent and internal_endent.  Remove
14818         locking.
14820 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14822         * tst-strfmon1.c (tests): Update expected currency symbol.
14824 2015-05-08  Roland McGrath  <roland@hack.frob.com>
14826         * sysdeps/nacl/gethostname.c: New file.
14828 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
14830         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
14831         and sinh.
14832         * math/auto-libm-test-out: Regenerated.
14833         * sysdeps/i386/fpu/libm-test-ulps: Update.
14834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14836 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
14838         [BZ #18125]
14839         * stdlib/tst-setcontext3.c: New file.
14840         * stdlib/tst-setcontext3.sh: New file.
14841         * stdlib/Makefile (tests): Add tst-setcontext3.
14842         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
14843         to verify test program created output file.
14844         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
14845         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
14846         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
14847         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
14849 2015-05-06  Roland McGrath  <roland@hack.frob.com>
14851         [BZ #18383]
14852         * elf/tst-tlsalign.c: New file.
14853         * elf/tst-tlsalign-static.c: New file.
14854         * elf/tst-tlsalign-lib.c: New file.
14855         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
14856         (tests-static): Add tst-tlsalign-static.
14857         (modules-names): Add tst-tlsalign-lib.
14858         (test-xfail-tst-tlsalign): New variable.
14859         (test-xfail-tst-tlsalign-static): New variable.
14861         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
14862         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
14864 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
14866         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
14867         csqrt, erfc, sin and sincos.
14868         * math/auto-libm-test-out: Regenerated.
14869         * sysdeps/i386/fpu/libm-test-ulps: Update.
14870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14872 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14874         * sysdeps/aarch64/libm-test-ulps: Update.
14876 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
14878         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
14879         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
14880         * math/auto-libm-test-out: Regenerated.
14881         * sysdeps/i386/fpu/libm-test-ulps: Update.
14882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14884 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14886         [BZ #18265]
14887         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
14888         (wcsncpy): Likewise.
14890 2015-05-05  Florian Weimer  <fweimer@redhat.com>
14892         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14893         Assume __ASSUME_FALLOCATE is always true.
14894         * sysdeps/unix/sysv/linux/posix_fallocate64.c
14895         (__posix_fallocate64_l64): Likweise.
14896         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
14897         (posix_fallocate): Likewise.
14898         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
14899         (__posix_fallocate64_l64): Likewise.
14900         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14901         [!__ASSUME_FALLOCATE]: Add comment.
14903 2015-05-05  Florian Weimer  <fweimer@redhat.com>
14905         * sysdeps/unix/sysv/linux/i386/Makefile
14906         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
14907         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
14908         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
14909         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14910         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14911         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
14912         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
14914 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
14916         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
14917         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
14918         tgamma.
14919         * math/auto-libm-test-out: Regenerated.
14920         * sysdeps/i386/fpu/libm-test-ulps: Update.
14921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14923 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
14925         * math/auto-libm-test-in: Add more tests of tgamma.
14926         * math/auto-libm-test-out: Regenerated.
14927         * sysdeps/i386/fpu/libm-test-ulps: Update.
14928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14930         * math/auto-libm-test-in: Add more tests of tanh.
14931         * math/auto-libm-test-out: Regenerated.
14932         * sysdeps/i386/fpu/libm-test-ulps: Update.
14933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14935         * math/auto-libm-test-in: Add more tests of tan.
14936         * math/auto-libm-test-out: Regenerated.
14937         * sysdeps/i386/fpu/libm-test-ulps: Update.
14938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14940         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
14941         * math/auto-libm-test-out: Regenerated.
14942         * sysdeps/i386/fpu/libm-test-ulps: Update.
14943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14945         * math/auto-libm-test-in: Add another test of pow.
14946         * math/auto-libm-test-out: Regenerated.
14947         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14949         * math/auto-libm-test-in: Add more tests of lgamma.
14950         * math/auto-libm-test-out: Regenerated.
14951         * sysdeps/i386/fpu/libm-test-ulps: Update.
14952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14954         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
14955         log1p.
14956         * math/auto-libm-test-out: Regenerated.
14957         * sysdeps/i386/fpu/libm-test-ulps: Update.
14958         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14960 2015-05-01  Mark Wielaard  <mjw@redhat.com>
14962         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
14963         Elf64_Chdr structs and ELFCOMPRESS constants.
14965 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
14967         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
14968         expm1.
14969         * math/auto-libm-test-out: Regenerated.
14970         * sysdeps/i386/fpu/libm-test-ulps: Update.
14971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14973         * math/auto-libm-test-in: Add more tests of erf and erfc.
14974         * math/auto-libm-test-out: Regenerated.
14975         * sysdeps/i386/fpu/libm-test-ulps: Update.
14976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14978 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14980         * config.h.in (HAVE_AARCH64_BE): Add.
14982 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
14984         * math/auto-libm-test-in: Add more tests of csqrt.
14985         * math/auto-libm-test-out: Regenerated.
14986         * sysdeps/i386/fpu/libm-test-ulps: Update.
14987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14989         * math/auto-libm-test-in: Add more tests of cosh and sinh.
14990         * math/auto-libm-test-out: Regenerated.
14991         * sysdeps/i386/fpu/libm-test-ulps: Update.
14992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14994         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
14996 2015-04-29  Roland McGrath  <roland@hack.frob.com>
14998         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
14999         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
15001         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
15002         (euidaccess, eaccess): Define as weak aliases.
15004         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
15005         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
15006         but __suseconds_t is often 'long int' so some sources assume that
15007         type is being used (e.g. they use %ld to print tv_usec).
15009 2015-04-29  Florian Weimer  <fweimer@redhat.com>
15011         [BZ #18007]
15012         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
15013         (CVE-2014-8121)
15014         * nss/tst-nss-getpwent.c: New file.
15015         * nss/Makefile (tests): Add new test.
15017 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
15019         [BZ #18346]
15020         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
15021         exponents less than 48 as cases where high part of mantissa needs
15022         examining to determine whether argument is integral.
15023         * math/libm-test.inc (round_test_data): Add more tests.
15025 2015-04-28  Mark Wielaard  <mjw@redhat.com>
15027         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
15029 2015-04-27  David S. Miller  <davem@davemloft.net>
15031         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
15032         __tls_get_addr.
15033         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
15035 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
15037         [BZ#18333]
15038         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
15040 2015-04-27  Florian Weimer  <fweimer@redhat.com>
15042         [BZ#18333]
15043         * time/tzset.c (parse_tzname): Return error on memory allocation
15044         failure.
15045         * test-skeleton.c (struct temp_name_list): Change type of name
15046         member to non-const.
15047         (add_temp_file): Create a copy of the file name.
15048         (delete_temp_files): Deallocate memory.
15049         (create_temp_file): Add comment.
15051 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15053         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
15054         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
15056 2015-04-24  Roland McGrath  <roland@hack.frob.com>
15058         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
15059         * sysdeps/arm/configure: Regenerated.
15061 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15063         [BZ #17715]
15064         * time/tzfile.c (__tzfile_read): Check for large values of
15065         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
15066         * time/tzset.c (__tzstring_len): New function, based on the old
15067         __tzstring function.
15068         (__tzstring): Call __tzstring_len.
15069         (parse_tzname): New helper function extracted from
15070         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
15071         the input string.
15072         (parse_offset): New helper function extracted from
15073         __tzset_parse_tz.  Replace switch with fallthrough with
15074         initialization before sscanf.
15075         (parse_rule): Likewise.
15076         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
15077         new-style function definition.
15078         * timezone/Makefile (tests): Add tst-tzset.
15079         (tst-tzset.out): Dependencies on time zone files.
15080         (tst-tzset-ENV): Set TZDIR.
15081         (testdata/XT%): Copy crafted time zone files.
15082         * timezone/README: Mention crafted time zone files.
15083         * timezone/testdata/XT1, timezone/testdata/XT2,
15084         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
15085         files.
15086         * timezone/tst-tzset.c: New test.
15088 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15090         * Makeconfig (+gccwarn): Remove -Winline.
15092 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15094         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
15096 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15098         * NEWS: Mention sysconf() cache information support for s390.
15099         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
15101 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
15103         * math/k_casinh.c (__kernel_casinh): Use __copysign.
15104         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
15105         (__nearbyint): Likewise.
15106         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
15107         (copysignl): Likewise.
15109 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
15111         [BZ #18287]
15112         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
15113         based on padding.  (CVE-2015-1781)
15115 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15117         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
15118         libc-vdso.h.
15119         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
15120         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
15121         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
15122         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15123         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15124         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
15125         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
15126         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15127         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15128         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
15129         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15130         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15131         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
15132         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
15133         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15134         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
15135         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
15136         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
15137         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
15138         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
15139         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
15140         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
15141         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
15143 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
15145         * stdlib/setenv.c (__add_to_environ):
15146         Dump core quickly if setenv (..., NULL, ...) is called.
15147         This time, do it the right way, and pacify GCC with a pragma.
15149 2015-04-17  Roland McGrath  <roland@hack.frob.com>
15151         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
15152         IMAP->l_prev cannot be null, and #if out the code for the contrary
15153         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
15154         believe that NS (&_dl_ns[NSID]) could point outside the array.
15156         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
15157         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
15158         before using NSID as an index.
15160 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
15162         [BZ #17825]
15163         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
15164         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
15165         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15167 2015-04-17  Roland McGrath  <roland@hack.frob.com>
15169         Add preliminary port to Google Native Client on ARM.
15170         * abi-tags (.*-.*-nacl.*): New entry.
15171         * sysdeps/arm/nacl: New directory.
15172         * sysdeps/nacl: New directory.
15174 2015-04-16  David S. Miller  <davem@davemloft.net>
15176         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
15177         lowlevellock-futex.h
15179 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
15181         * sysdeps/tile/configure.ac: New file.
15182         * sysdeps/tile/configure: Regenerated.
15184 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15186         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
15187         conditionals for weak_alias and libc_hidden_weak.
15188         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
15189         libc_hidden_weak and weak_alias.
15190         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
15191         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
15192         and weak_alias for static one.
15194 2015-04-15  David S. Miller  <davem@davemloft.net>
15196         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15198 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15200         [BZ #18206]
15201         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
15202           Use signed comparision instead of substraction to avoid
15203           overflow bug.
15204         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
15205           Take the sign of ret.
15206         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
15207           Do not expect precise return values. Only the sign matters.
15208         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
15209         * wcsmbs/test-wcsncmp.c: New File.
15210         * string/test-strncmp.c: Add wcsncmp support.
15212 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15214         [BZ #6792]
15215         * math/w_log1p.c: New file.
15216         * math/w_log1pf.c: Likewise.
15217         * math/w_log1pl.c: Likewise.
15218         * math/Makefile (libm-calls): Add w_log1p.
15219         * math/s_log1pl.c (log1pl): Remove weak_alias.
15220         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
15221         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
15222         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
15223         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
15224         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
15225         [NO_LONG_DOUBLE] (log1pl): Likewise.
15226         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
15227         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
15228         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
15229         (log1p): Remove long_double_symbol.
15230         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
15231         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
15232         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
15233         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
15234         remove weak_alias for corresponding log1p function.
15235         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
15236         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15237         * sysdeps/ia64/fpu/w_log1p.c: New file.
15238         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
15239         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
15240         * math/libm-test.inc (log1p_test_data): Add errno expectations.
15242 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
15244         [BZ #18247]
15245         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
15246         decimal exponent by 1.
15247         * stdlib/tst-strtod-round-data: Add more tests.
15248         * stdlib/tst-strtod-round.c (tests): Regenerated.
15250 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
15252         * math/auto-libm-test-in: Add more tests of clog and clog10.
15253         * math/auto-libm-test-out: Regenerated.
15254         * sysdeps/i386/fpu/libm-test-ulps: Update.
15255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15257 2015-04-09  Roland McGrath  <roland@hack.frob.com>
15259         * Makeconfig (module-cppflags): Exclude all .v.i files.
15260         (skip-module-cppflags): Variable removed.
15262         * configure.ac (libc_config_ok): Initialize before reading
15263         preconfigure scripts, not after.
15264         * configure: Regenerated.
15266         * test-skeleton.c (TIMEOUT): Move #define to top level.
15267         (main): Grok environment variable TEST_DIRECT.  If set, print
15268         test expectation details into that file and then behave as if
15269         given --direct.
15271 2015-04-09  Florian Weimer  <fweimer@redhat.com>
15273         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
15274         warning on 32-bit.
15276 2015-04-08  David S. Miller  <davem@davemloft.net>
15278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15280 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
15282         * math/auto-libm-test-in: Add more tests of atanh.
15283         * math/auto-libm-test-out: Regenerated.
15284         * sysdeps/i386/fpu/libm-test-ulps: Update.
15285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15287         * math/auto-libm-test-in: Add more tests of atan.
15288         * math/auto-libm-test-out: Regenerated.
15289         * sysdeps/i386/fpu/libm-test-ulps: Update.
15290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15292 2015-04-08  Florian Weimer  <fweimer@redhat.com>
15294         * elf/pldd.c (main): Rewrite to use struct
15295         scratch_buffer instead of extend_alloca.
15296         * elf/pldd-xx.c (find_maps): Likewise.
15297         * grp/initgroups.c: Include <scratch_buffer.h> instead of
15298         <alloca.h>.
15299         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
15300         scratch_buffer instead of extend_alloca.
15301         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
15302         grp/compat-initgroups.c.
15303         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
15304         Rewrite to use struct scratch_buffer instead of extend_alloca.
15305         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
15306         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15308 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
15310         * math/auto-libm-test-in: Add more tests of cbrt.
15311         * math/auto-libm-test-out: Regenerated.
15312         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15314         * math/auto-libm-test-in: Add more tests of cabs.
15315         * math/auto-libm-test-out: Regenerated.
15316         * sysdeps/i386/fpu/libm-test-ulps: Update.
15317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15319         [BZ #18210]
15320         [BZ #18211]
15321         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
15322         (__ieee754_atan2): Set FE_TONEAREST mode for internal
15323         computations.
15324         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
15325         clog10.
15326         * math/auto-libm-test-out: Regenerated.
15327         * sysdeps/i386/fpu/libm-test-ulps: Update.
15328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15330         [BZ #18197]
15331         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
15332         (atan): Set FE_TONEAREST mode for internal computations.
15333         * math/auto-libm-test-in: Add more tests of atan.
15334         * math/auto-libm-test-out: Regenerated.
15336 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
15338         [BZ #17930]
15339         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
15341 2015-04-07  Florian Weimer  <fweimer@redhat.com>
15343         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
15345 2015-04-07  Florian Weimer  <fweimer@redhat.com>
15347         * include/scratch_buffer.h: New file.
15348         * malloc/scratch_buffer_grow.c: Likewise.
15349         * malloc/scratch_buffer_grow_preserve.c: Likewise.
15350         * malloc/scratch_buffer_set_array_size.c: Likewise.
15351         * malloc/tst-scratch_buffer.c: Likewise.
15352         * malloc/Makefile (routines): Add scratch_buffer_grow.
15353         (tests): Add test case.
15354         * malloc/Versions (GLIBC_PRIVATE): Export
15355         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
15356         __libc_scratch_buffer_set_array_size.
15358 2015-04-06  Richard Henderson  <rth@redhat.com>
15360         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
15361         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15363         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
15364         unsigned int before printing.
15366 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15368         [BZ #17596]
15369         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
15370         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15372 2015-04-02  Florian Weimer  <fweimer@redhat.com>
15374         * include/libc-internal.h (libc_max_align_t): Define.
15376 2015-04-02  Andreas Schwab  <schwab@suse.de>
15378         [BZ #16850]
15379         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
15381 2015-04-02  Mel Gorman  <mgorman@suse.de>
15383         [BZ #17195]
15384         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
15385         as well as the main arena.
15387 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15389         [BZ #18185]
15390         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
15391         sharing L2 cache to 2 for Silvermont/Knights Landing.
15393 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15395         [BZ #17711]
15396         * config.make.in (have-protected-data): New.
15397         * configure.ac: Check linker support for protected data symbol.
15398         * configure: Regenerated.
15399         * elf/Makefile (modules-names): Add tst-protected1moda and
15400         tst-protected1modb if $(have-protected-data) is yes.
15401         (tests): Add tst-protected1a and tst-protected1b if
15402         $(have-protected-data) is yes.
15403         ($(objpfx)tst-protected1a): New.
15404         ($(objpfx)tst-protected1b): Likewise.
15405         (tst-protected1modb.so-no-z-defs): Likewise.
15406         * elf/tst-protected1a.c: New file.
15407         * elf/tst-protected1b.c: Likewise.
15408         * elf/tst-protected1mod.h: Likewise.
15409         * elf/tst-protected1moda.c: Likewise.
15410         * elf/tst-protected1modb.c: Likewise.
15412 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15414         [BZ #17711]
15415         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
15416         indicates it is called from do_lookup_x on relocation against
15417         protected data, skip the data definion in the executable from
15418         copy reloc.
15419         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
15420         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
15421         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
15422         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
15423         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
15424         otherwise to 0.
15425         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15426         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
15427         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
15428         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15429         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
15430         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
15432 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
15434         * sysdeps/nptl/pthread.h: Remove duplicate definition of
15435         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
15437 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
15439         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
15440         THREAD_SETMEM_NC.
15441         * sysdeps/x86_64/nptl/tls.h: Ditto.
15443 2015-03-27  Roland McGrath  <roland@hack.frob.com>
15445         * dlfcn/tststatic.c (main): Converted to ...
15446         (do_test): ... this.
15447         (TEST_FUNCTION): New macro.
15448         Include test-skeleton.c.
15450 2015-03-26  Alan Modra  <amodra@gmail.com>
15452         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
15453         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
15454         zero for undefined weak.
15455         (elf_machine_plt_conflict): Similarly.
15457 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
15459         * math/auto-libm-test-in: Add more tests of acosh, asinh and
15460         atanh.
15461         * math/auto-libm-test-out: Regenerated.
15462         * sysdeps/i386/fpu/libm-test-ulps: Update.
15463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15465         * math/auto-libm-test-in: Add another test of asin.
15466         * math/auto-libm-test-out: Regenerated.
15467         * sysdeps/i386/fpu/libm-test-ulps: Update.
15468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15470         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
15471         Remove macro.
15472         (LLL_EBX_REG): Likewise.
15473         (LLL_ENTER_KERNEL): Likewise.
15475         * math/auto-libm-test-in: Add more tests of asin.
15476         * math/auto-libm-test-out: Regenerated.
15477         * sysdeps/i386/fpu/libm-test-ulps: Update.
15478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15480         [BZ #18138]
15481         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
15482         libc_do_syscall_args): New structure.
15483         (INTERNAL_SYSCALL_MAIN_0): New macro.
15484         (INTERNAL_SYSCALL_MAIN_1): Likewise.
15485         (INTERNAL_SYSCALL_MAIN_2): Likewise.
15486         (INTERNAL_SYSCALL_MAIN_3): Likewise.
15487         (INTERNAL_SYSCALL_MAIN_4): Likewise.
15488         (INTERNAL_SYSCALL_MAIN_5): Likewise.
15489         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
15490         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
15491         Replace conditional definitions by conditional definitions of ....
15492         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
15493         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
15494         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
15495         (libpthread-sysdep_routines): Add libc-do-syscall.
15496         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
15497         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
15498         to __NR_futex not 240.
15500 2015-03-25  Alan Modra  <amodra@gmail.com>
15502         * NEWS: Advertise TLS optimization.
15503         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
15504         (DT_PPC_NUM): Increment.
15505         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
15506         (CHECK_STATIC_TLS): Use here.
15507         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
15508         TLS descriptors.
15509         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15510         * sysdeps/powerpc/dl-tls.c: New file.
15511         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
15512         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
15513         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
15514         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
15515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
15516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15519 2015-03-25  Alan Modra  <amodra@gmail.com>
15521         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
15522         for overlapping .opd entries" to "support...".
15523         * sysdeps/powerpc/powerpc64/configure: Regenerate
15525 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
15527         * math/auto-libm-test-in: Add more tests of acos.
15528         * math/auto-libm-test-out: Regenerated.
15529         * sysdeps/i386/fpu/libm-test-ulps: Update.
15530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15532         * math/auto-libm-test-in: Add more tests of expm1.
15533         * math/auto-libm-test-out: Regenerated.
15534         * sysdeps/i386/fpu/libm-test-ulps: Update.
15535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15537 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
15539         * math/auto-libm-test-in: Add more tests of cosh and sinh.
15540         * math/auto-libm-test-out: Regenerated.
15541         * sysdeps/i386/fpu/libm-test-ulps: Update.
15542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15544         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15547         * math/auto-libm-test-in: Add more tests of log2.
15548         * math/auto-libm-test-out: Regenerated.
15549         * sysdeps/i386/fpu/libm-test-ulps: Update.
15550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15552 2015-03-23  Roland McGrath  <roland@hack.frob.com>
15554         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
15555         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
15556         _IO_IS_APPENDING bit in READ_WRITE instead.
15558 2015-03-23  Florian Weimer  <fweimer@redhat.com>
15560         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15561         (__determine_cpumask_size): Replace extend_alloca with a
15562         variable-length array.  Do not treat res == 0 as an error.
15564 2015-03-23  Florian Weimer  <fweimer@redhat.com>
15566         [BZ #18100]
15567         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
15568         and integer overflow.
15569         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
15570         (main): Add integer overflow tests.
15571         * manual/pattern.texi (Calling Wordexp): Document additional use
15572         for WRDE_SYNTAX.
15574 2015-03-23  Alan Modra  <amodra@gmail.com>
15576         * config.h.in: Remove HAVE_ASM_PPC_REL16.
15577         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
15578         and false branch of conditional.
15579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15580         Likewise.
15582 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
15584         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
15585         libc-modules.h
15586         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
15587         unused declaration of _hurd_intr_rpc_msg_in_trap.
15588         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
15589         defined instead of whether it is non-zero.
15590         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
15591         input constraint instead of both input and output constraint.  Use ecx
15592         clobber instead of %ecx.
15593         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
15594         mutex_unlock): Use a statement expression instead of an expression list.
15595         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
15596         type to vm_size_t instead of vm_address_t.
15597         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
15598         defined instead of whether it is non-zero.
15599         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
15600         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
15601         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
15602         comparisons with mapaddr.
15603         * nscd/nscd-client.h: Include <time.h>.
15604         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
15605         9th parameter to __vm_region instead of int.
15606         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
15607         * scripts/check-local-headers.sh (exclude): Add device/,
15608         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
15609         cthreads.h.
15611 2015-03-19  Roland McGrath  <roland@hack.frob.com>
15613         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
15614         to account for alignment padding.
15615         * sysdeps/arm/memmove.S: Likewise.
15617 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
15619         * sysdeps/unix/sysv/linux/generic/README: New file.
15621 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
15623         [BZ #18138]
15624         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
15625         (futex_abstimed_wait)
15626         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
15627         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
15628         of lll_futex_timed_wait.
15630 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
15632         [BZ #17542]
15633         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
15635 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
15637         [BZ #17090]
15638         [BZ #17620]
15639         [BZ #17621]
15640         [BZ #17628]
15641         * NEWS: Update.
15642         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
15643         entries with Static TLS too.  Skip entries past the end of the
15644         allocated DTV, from Alan Modra.
15645         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
15646         Static TLS DTV entry set up from...
15647         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
15648         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
15649         * nptl/allocatestack.c (init_one_static_tls): ... and here...
15650         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
15651         for Static TLS.
15652         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
15653         that the slot we find is associated with the given map before
15654         using its generation count.
15655         * nptl_db/db_info.c: Include ldsodefs.h.
15656         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
15657         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
15658         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
15659         (link_map::l_tls_offset): New struct field.
15660         (dtv_t::counter): Likewise.
15661         (rtld_global): New struct.
15662         (_rtld_global): New rtld variable.
15663         (dl_tls_dtv_slotinfo_list): New rtld global field.
15664         (dtv_slotinfo_list): New struct.
15665         (dtv_slotinfo): Likewise.
15666         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
15667         (td_lookup): Rename to...
15668         (td_mod_lookup): ... this.  Use new mod parameter instead of
15669         LIBPTHREAD_SO.
15670         * nptl_db/td_thr_tlsbase.c: Include link.h.
15671         (dtv_slotinfo_list, dtv_slotinfo): New functions.
15672         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
15673         addresses even if the DTV is out of date or missing them.
15674         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
15675         index zero-length arrays.
15676         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
15677         (td_lookup): Make it a macro implemented in terms of...
15678         (td_mod_lookup): ... this declaration.
15679         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
15680         (DB_MAIN_VARIABLE): Likewise.
15682 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15684         [BZ #18134]
15685         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15687 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
15689         * stdlib/setenv.c (__add_to_environ): Revert previous change.
15691 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
15693         [BZ #18128]
15694         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
15695         (atomic_add, atomic_increment_and_test)
15696         (atomic_decrement_and_test): Fix 64-bit arithmetic.
15698 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
15700         * stdlib/setenv.c (__add_to_environ):
15701         Dump core quickly if setenv (..., NULL, ...) is called.
15703 2015-03-13  Roland McGrath  <roland@hack.frob.com>
15705         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
15706         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
15707         all the necessary asm magic in one place.
15708         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
15709         using those.
15711 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
15713         [BZ #14906]
15714         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
15715         traced file mtime. Use consistent log message.
15716         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
15717         (register_traced_file): Call install_watches. Always set mtime.
15718         (invalidate_cache): Iterate over all trace files. Call install_watches.
15719         (inotify_check_files): Don't inline. Handle watching parent
15720         directories and configuration file movement in and out.
15721         (handle_inotify_events): New function.
15722         (main_loop_poll): Call handle_inotify_events.
15723         (main_loop_epoll): Likewise.
15724         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
15725         (struct traced_file): Use array of inotify fds. Add parent directory,
15726         and basename.
15727         (struct database_dyn): Remove unused file_mtime.
15728         (init_traced_file): New inline function.
15729         (define_traced_file): New macro.
15730         * nss/nss_db/db-init.c: Use define_traced_file.
15731         (_nss_db_init): Use init_traced_file.
15732         * nss/nss_files/files-init.c: Use define_traced_file.
15733         (_nss_files_init): Use init_traced_file.
15735 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
15737         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
15738         [_LIBC]: Do not include <stdlib.h>.
15739         [!_LIBC] (abort): Remove declaration.
15740         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
15741         _FP_STATIC_ASSERT instead of conditionally calling abort.
15742         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
15743         (_FP_EXTEND_CNAN): Likewise.
15744         (FP_TRUNC): Likewise.
15745         (__FP_CLZ): Likewise.
15746         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
15748 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
15750         * manual/string.texi (XPG basename): Fix prototype.
15752 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15754         [BZ #18080]
15755         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
15756         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15757         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
15758         (__setcontext): Likewise.
15759         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
15760         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15761         Call rt_sigprocmask syscall one time to set new signal mask
15762         and retrieve the current signal mask instead of two calls.
15763         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
15764         (__swapcontext): Likewise.
15765         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
15766         * stdlib/tst-setcontext2.c: New file.
15768 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15770         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15772 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
15774         [BZ #18093]
15775         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
15776         the wrong size.
15778 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15780         [BZ #18043]
15781         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
15783 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15785         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
15786         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
15787         Remove define.
15788         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
15789         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
15790         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
15791         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
15792         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
15793         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
15794         define.
15795         * nptl_db/td_symbol_list.c (td_lookup): Remove
15796         HAVE_ASM_GLOBAL_DOT_NAME code.
15797         * sysdeps/powerpc/powerpc64/configure.ac: Remove
15798         HAVE_ASM_GLOBAL_DOT_NAME check.
15799         * sysdeps/powerpc/powerpc64/configure: Regenerate.
15800         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
15801         (DOT_LABEL): Remove define.
15802         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
15803         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
15804         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
15805         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
15806         (__TLS_GET_ADDR): Likewise.
15807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
15808         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
15810 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
15812         [BZ #18111]
15813         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
15814         (_FPU_SETCW): Initialize cw from fpsr before storing.
15815         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
15816         (fesetexceptflag): Rewrite using fpu_control.h.
15817         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
15819 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
15821         [BZ #18110]
15822         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
15823         asms.
15824         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15826 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
15828         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
15829         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
15830         abort.
15831         (_FP_FMA): Likewise.
15832         (_FP_DIV): Likewise.
15834 2015-03-10  Roland McGrath  <roland@hack.frob.com>
15836         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
15837         with 0 in that case.
15838         * Makefile (summarize-tests): New canned sequence, factored out of
15839         commands for targets tests and xtests.  Display summary lines that
15840         don't start with PASS: or XFAIL: rather than ones that do start with
15841         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
15842         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
15843         do start with ERROR: or FAIL:.
15844         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
15845         (except for [$(build-shared) = yes]).
15846         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
15847         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
15848         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
15849         * nptl/Makefile: Revert 2015-03-04 changes.
15850         [$(CXX) empty] (tests-unsupported): New variable.
15851         * debug/Makefile: Likewise.
15853         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
15854         gnulib file.  Replace __attribute with __attribute__ throughout.
15856 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
15858         * sysdeps/hppa/fpu/libm-test-ulps: Update.
15860 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
15862         [BZ #18104]
15863         * math/auto-libm-test-in: Add another test of pow.
15864         * math/auto-libm-test-out: Regenerated.
15866 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15868         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
15869         $(config-cflags-nofma).
15871 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
15873         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
15874         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
15875         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
15876         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
15877         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
15878         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
15879         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
15880         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
15881         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
15882         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
15883         Add comment on closing #endif.
15885 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15887         * posix/wordexp.c (CHAR_IN_SET): New macro.
15888         (parse_param): Use it.
15890 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15892         * sysdeps/powerpc/fpu/libm-test-ulps: update.
15894 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15896         [BZ #18043]
15897         * posix/wordexp.c (parse_param): Fix buffer overflow.
15898         * posix/wordexp-test.c (test_case): Add test case.
15900 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15902         [BZ #18042]
15903         * posix/wordexp.c (parse_backtick): Fix off-by-one.
15904         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
15906 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15908         [BZ #18043]
15909         * posix/wordexp-test.c (test_case): Add test for BZ #18043
15910         (do_bz18043): Delete.
15911         (at_page_end): New.
15912         (testit): Refactor to have words at the edge of unreadable page.
15914 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15916         [BZ #16734]
15917         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
15918         Cleanup read-only streams as well.
15919         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
15921 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15923         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
15924         <bits/libc-lockP.h>
15926 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
15928         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
15929         on [__KERNEL__].
15930         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
15931         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
15932         * soft-fp/op-common.h (_FP_DECL): Likewise.
15934 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15936         * elf/ifuncdep2.c (global): Replace
15937         __attribute__((visibility("protected"))) with
15938         asm (".protected global").
15939         * elf/ifuncmod1.c (global): Likewise.
15940         * elf/ifuncmod5.c (global): Likewise.
15942 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
15944         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
15945         <asm/sfp-machine.h> instead of <sfp-machine.h>.
15947 2015-03-06  Roland McGrath  <roland@hack.frob.com>
15949         * manual/install.texi (Configuring and compiling):
15950         Document test-wrapper-env-only.
15951         * INSTALL: Regenerated.
15953 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15955         [BZ #18043]
15956         * posix/wordexp.c (parse_param): Fix buffer overflow.
15957         * posix/wordexp-test.c (do_bz18043): Add test case.
15959 2015-03-06  Vincent Bernat  <vincent@bernat.im>
15961         * time/tst-strptime2.c (do_test): Ensure failing tests are
15962         reported correctly.
15963         * time/tst-strptime3.c (do_test): Likewise.
15965 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
15967         Fix aio_error thread-safety.
15968         * sysdeps/pthread/aio_error.c: New file
15969         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
15970         synchronization.
15972 2015-03-06  Florian Weimer  <fweimer@redhat.com>
15974         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
15975         (group_number, vfprintf): Use it.
15976         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
15977         (JUMP, REF): Use it.
15978         (WORK_BUFFER_SIZE): New enum constant.
15979         (process_arg, vfprintf): Use it.
15981 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
15983         * manual/errno.texi (Error Messages): Complete example function
15984         by adding missing #define.
15985         (program_invocation_name): Add statement indicating GNU
15986         extension and reference which header file declares the variable.
15987         (program_invocation_short_name): Likewise.
15989 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
15991         * manual/errno.texi (Error Messages): Delete strerror ISO C89
15992         compatibility note.
15994 2015-03-05  Roland McGrath  <roland@hack.frob.com>
15996         * Makeconfig (test-wrapper-env-only): New variable.
15997         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
15998         then use that with $(test-wrapper-env-only) rather than using
15999         $(test-wrapper-env) $(run-program-env) $($*-ENV).
16001 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
16003         [BZ #18082]
16004         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
16005         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
16006         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
16007         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
16008         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
16009         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
16010         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
16011         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
16012         Likewise.
16013         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
16014         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
16015         Likewise.
16016         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
16017         Likewise.
16018         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
16019         Likewise.
16020         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
16021         Likewise.
16022         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
16023         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
16024         Likewise.
16025         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
16026         Likewise.
16027         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
16028         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
16030 2015-03-04  Roland McGrath  <roland@hack.frob.com>
16032         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
16033         (ETH_ALEN): New macro.
16034         (struct ether_addr): Use it for length of ether_addr_octet.
16036         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
16037         (setdb): Don't call __nss_configure_lookup for "rpc".
16038         (do_test): Don't call test_rpc.
16039         (output_rpcent, test_rpc): Functions moved ...
16040         * sunrpc/test-rpcent.c: ... to this new file.
16041         * sunrpc/Makefile (tests): Add it.
16043         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
16044         __xpg_sigpause.
16045         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
16046         * nptl/tst-signal6.c: Likewise.
16047         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
16048         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
16050         * configure.ac (libc_cv_cxx_link_ok): New check.
16051         Reset CXX to empty if it fails to link.
16052         * configure: Regenerated.
16053         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
16054         bug-atexit3-lib only if $(CXX) is nonempty.
16055         * nptl/Makefile (tests): Likewise for tst-cancel24.
16056         (tests, tests-static): Likewise for tst-cancel24-static.
16057         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
16058         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
16059         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
16060         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
16062 2015-03-04  Andreas Schwab  <schwab@suse.de>
16064         [BZ #17631]
16065         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
16066         for non-GCC compilers.
16067         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16068         Likewise.
16070 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16072         [BZ #17776]
16073         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
16074         integer before bitwise and assembly operations.
16075         (feclearexcept): Likewise.
16076         * math/test-fenvinline.c: New file.
16077         * math/Makefile: Add test-fenvinline test.
16079 2015-03-03  Alan Modra  <amodra@gmail.com>
16081         [BZ #16512]
16082         * scripts/localplt.awk: Strip off symbol version.
16083         * NEWS: Mention bug fix.
16085 2015-03-02  Roland McGrath  <roland@hack.frob.com>
16087         * sysdeps/pthread/timer_routines.c
16088         (timer_free_list, thread_free_list, thread_active_list): Make static.
16090 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
16092         [BZ #17779]
16093         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16094         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16095         Undefine.
16096         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16097         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16098         Likewise.
16099         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16100         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16101         Likewise.
16103 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
16105         [BZ #18036]
16106         * posix/fnmatch_loop.c (END): Detect invalid pattern.
16107         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
16109 2015-03-02  Andreas Schwab  <schwab@suse.de>
16111         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
16112         variable name.
16114 2015-03-02  Florian Weimer  <fweimer@redhat.com>
16116         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
16117         Return error status.
16119 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
16121         [BZ #15969]
16122         * locale/findlocale.c (_nl_find_locale): Introduce const
16123         version of loc_name and drop unsafe type casts.
16125 2015-02-27  Roland McGrath  <roland@hack.frob.com>
16127         * dlfcn/tststatic2.c (main): Converted to ...
16128         (do_test): ... this.
16129         (TEST_FUNCTION): New macro.
16130         Include test-skeleton.c.
16132 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
16134         [BZ #17711]
16135         * elf/Makefile (tests): Add vismain only if PIE is enabled.
16136         (tests-pie): Add vismain.
16137         (CFLAGS-vismain.c): New.
16138         * elf/vismain.c: Add comments for PIE requirement.
16140 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
16142         [BZ #18046]
16143         [BZ #18047]
16144         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
16145         0x1p-56L as threshold for just returning the argument.
16146         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
16147         0x1p-32L as threshold for just returning the argument.
16148         * math/auto-libm-test-in: Add more tests of atanh.
16149         * math/auto-libm-test-out: Regenerated.
16150         * sysdeps/i386/fpu/libm-test-ulps: Update.
16151         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
16153 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
16155         * string/bcopy.c (bcopy): Call memmove for performance.
16157 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
16159         * string/bzero.c (__bzero): Call memset for performance.
16161 2015-02-27  John David Anglin  <dave.anglin@bell.net>
16163         [BZ #18068]
16164         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
16165         to 00100000.
16167 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
16169         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
16171 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
16173         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
16174         (__kernel_standard): Use CSTR macro when setting exc.name.
16175         * sysdeps/ieee754/Makefile [$(subdir) = math]
16176         (CFLAGS-k_standard.c): Remove variable.
16178         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
16179         setting p and q from "else if" to "else".
16180         (qzero): Likewise.
16181         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
16182         (qone): Likewise.
16183         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
16184         (qzerof): Likewise.
16185         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
16186         (qonef): Likewise.
16187         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
16188         (qzero): Likewise.
16189         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
16190         (qone): Likewise.
16192         [BZ #18038]
16193         [BZ #18039]
16194         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
16195         return pi/2 for arguments below 0x1p-113L.
16196         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
16197         return pi/2 for arguments below 0x1p-106L.
16198         * math/auto-libm-test-in: Add more tests of acos.
16199         * math/auto-libm-test-out: Regenerated.
16201         [BZ #16351]
16202         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
16203         (MO): New macro.
16204         (__ieee754_asin): Force underflow exception for results with small
16205         absolute value.
16206         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
16207         (MO): New macro.
16208         (__ieee754_asinf): Force underflow exception for results with
16209         small absolute value.
16210         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
16211         (__ieee754_asin): Force underflow exception for results with small
16212         absolute value.
16213         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
16214         (__ieee754_asinf): Force underflow exception for results with
16215         small absolute value.
16216         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
16217         (__ieee754_asinl): Force underflow exception for results with
16218         small absolute value.
16219         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
16220         (__ieee754_asinl): Force underflow exception for results with
16221         small absolute value.
16222         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
16223         (__ieee754_asinl): Force underflow exception for results with
16224         small absolute value.
16225         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16226         Include <math.h>.
16227         * math/auto-libm-test-in: Do not mark underflow exceptions as
16228         possibly missing for bug 16351.
16229         * math/auto-libm-test-out: Regenerated.
16231         [BZ #18030]
16232         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
16233         of power of 2 down when low part has opposite sign.
16234         * math/libm-test.inc (logb_test_data): Add more tests.
16236 2015-02-26  Andreas Schwab  <schwab@suse.de>
16238         [BZ #18032]
16239         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
16240         over collating symbol inside a bracket expression.  Minor cleanup.
16241         * posix/tst-fnmatch3.c (do_test): Add test case.
16243 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
16245         [BZ #18029]
16246         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
16247         Adjust exponent of power of 2 down when low part has opposite
16248         sign.
16249         * math/libm-test.inc (ilogb_test_data): Add more tests.
16251 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
16253         [BZ #15969]
16254         * locale/findlocale.c (_nl_find_locale): Fix constness error in
16255         the previous change.
16257         [BZ #15969]
16258         * locale/findlocale.c (_nl_find_locale): Retry archive search
16259         after alias expansion.
16261 2015-02-25  Roland McGrath  <roland@hack.frob.com>
16263         * iconv/tst-iconv3.c (main): Converted to ...
16264         (do_test): ... this.
16265         (TEST_FUNCTION): New macro.
16266         Include test-skeleton.c.
16268         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
16269         (convert): Make function static.
16270         (test_unalign): Likewise.  Add const to argument pointee types.
16271         (main): Replace with static function do_test.
16272         Print "Succeeded." only if RET is zero.
16273         (TEST_FUNCTION): New macro.
16274         Include test-skeleton.c.
16276         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
16277         returns a null pointer.
16279 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16281         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
16282         to __memcpy_ppc only for static builds.
16284 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
16286         [BZ #18020]
16287         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
16288         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
16289         * math/auto-libm-test-in: Add more tests of asinh.
16290         * math/auto-libm-test-out: Regenerated.
16291         * sysdeps/i386/fpu/libm-test-ulps: Update.
16292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16294 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
16296         [BZ #15850]
16297         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
16298         and ip6_mtuinfo definitions here.
16299         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
16300         in this define too.  Update comment.
16302 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
16304         * elf/sprof.c (load_shobj): Tweak error message to match others.
16306 2015-02-24  Kevin Easton  <kevin@guarana.org>
16308         [BZ #16145] (partial fix)
16309         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
16310         to reduce lock contention.
16312 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
16314         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
16315         (struct timex): Update time comment.
16316         (ADJ_SETOFFSET): Define.
16318 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
16320         [BZ #18019]
16321         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16322         2**56 not 2**28 as threshold for log (2x) formula.
16323         * math/auto-libm-test-in: Add more tests of acosh.
16324         * math/auto-libm-test-out: Regenerated.
16325         * sysdeps/i386/fpu/libm-test-ulps: Update.
16326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16328 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
16330         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
16331         parenthesis around the buf assignment.
16332         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
16334 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
16336         [BZ #16783]
16337         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
16338         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
16339         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
16340         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16341         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16342         * math/libm-test.inc (scalb_test_data): Add more tests.
16344 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
16346         [BZ #17916]
16347         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
16348         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
16350 2015-02-24  Eric Rannaud  <e@nanocritical.com>
16352         [BZ #17523]
16353         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
16354         * io/bits/fcntl2.h (open): Use it.
16355         (openat): Likewise.
16356         * io/open.c (__libc_open): Likewise.
16357         * io/open64.c (__libc_open64): Likewise.
16358         * io/open64_2.c (__open64_2): Likewise.
16359         * io/open_2.c (__open_2): Likewise.
16360         * io/openat.c (__openat): Likewise.
16361         * io/openat64.c (__openat64): Likewise.
16362         * io/openat64_2.c (__openat64_2): Likewise.
16363         * io/openat_2.c (__openat_2): Likewise.
16364         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
16365         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16366         * sysdeps/posix/open64.c (__libc_open64): Likewise.
16367         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16368         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
16369         (__open_nocancel): Likewise.
16370         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
16371         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
16372         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
16374 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16376         [BZ #14841]
16377         * resolv/gethnamaddr.c (getanswer): Skip logging if
16378         RES_USE_DNSSEC is set.
16379         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16381 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
16383         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
16385 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
16387         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
16388         201304L, for Unicode 7.
16390 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
16392         [BZ #17836]
16393         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
16394         shared library.  Add gmon-start.os otherwise.
16395         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
16396         $(objpfx)gmon-start.os if builing shared library.
16397         ($(objpfx)g$(static-start-installed-name)): Likewise.
16399 2015-02-23  Andreas Schwab  <schwab@suse.de>
16401         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
16403 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
16405         [BZ #17269]
16406         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
16407         (enlarge_userbuf): Likewise.
16409 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
16411         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
16412         * math/atest-exp.c (TIMEOUT): Adjust to 200.
16413         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
16414         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
16416 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
16418         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
16419         expression inside statement expression.
16421 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16423         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
16424         <sysdeps/nptl/lowlevellock.h> and remove macros and
16425         functions that are now defined there.
16426         (SYS_futex): Remove.
16427         (lll_compare_and_swap): Remove.
16428         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
16430 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
16432         [BZ #17999]
16433         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
16434         instead of scandirat.
16435         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
16436         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
16437         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
16438         __scandirat.
16439         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
16440         (__scandirat): Declare.  Use libc_hidden_proto.
16441         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
16442         Remove variable.
16443         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
16445 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
16447         [BZ #15319]
16448         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
16449         (MO): New macro.
16450         (__ieee754_atan2): For results with small absolute value, force
16451         underflow exception and remove excess range and precision from
16452         return value.
16453         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
16454         (MO): New macro.
16455         (__ieee754_atan2f): For results with small absolute value, force
16456         underflow exception and remove excess range and precision from
16457         return value.
16458         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
16459         (MO): New macro.
16460         (__atan): For results with small absolute value, force underflow
16461         exception and remove excess range and precision from return value.
16462         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
16463         (MO): New macro.
16464         (__atanf): For results with small absolute value, force underflow
16465         exception and remove excess range and precision from return value.
16466         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
16467         <math.h>.
16468         (__ieee754_atan2): Force underflow exception for results with
16469         small absolute value.
16470         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
16471         <math_private.h>.
16472         (atan): Force underflow exception for results with small absolute
16473         value.
16474         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
16475         (__atanf): Force underflow exception for results with small
16476         absolute value.
16477         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
16478         <math.h>.
16479         (__atanl): Force underflow exception for results with small
16480         absolute value.
16481         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
16482         (__atanl): Force underflow exception for results with small
16483         absolute value.
16484         * sysdeps/x86/fpu/bits/mathinline.h
16485         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
16486         (__ieee754_atan2): Only define inline for long double.
16487         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16488         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
16489         * math/auto-libm-test-in: Do not mark underflow exceptions as
16490         possibly missing for bug 15319.  Add more tests of atan2.
16491         * math/auto-libm-test-out: Regenerated.
16492         * math/libm-test.inc (casin_test_data): Do not mark underflow
16493         exceptions as possibly missing for bug 15319.
16494         (casinh_test_data): Likewise.
16495         * sysdeps/i386/fpu/libm-test-ulps: Update.
16497 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
16499         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
16500         * sysdeps/mips/bits/endian.h: Fix comments.
16502 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
16504         [BZ #17996]
16505         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
16506         (hdestroy_r): Likewise.
16507         (hsearch_r): Likewise.
16508         (__hcreate_r): Declare and use libc_hidden_proto.
16509         (__hdestroy_r): Likewise.
16510         (__hsearch_r): Likewise.
16511         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
16512         (hcreate): Call __hcreate_r instead of hcreate_r.
16513         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
16514         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
16515         as weak alias of __hcreate_r.
16516         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
16517         __hdestroy_r.
16518         (hsearch_r): Rename to __hsearch_r and define as weak alias of
16519         __hsearch_r.
16520         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
16521         Remove variable.
16522         (test-xfail-XPG4/search.h/linknamespace): Likewise.
16523         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
16524         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
16525         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
16527 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16529         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
16530         arena_lock into a single arena_get.
16532 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
16534         * dl-reloc.c: Inlucde libc-internal.h.
16535         (_dl_try_allocate_static_tls): Call ALIGN_UP.
16536         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
16537         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
16538         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
16539         (grow_heap): Likewise.
16540         * malloc/malloc.c: Include libc-internal.h.
16541         (do_check_malloc): Call powerof2.
16542         (sysmalloc): Use pagesize. Call ALIGN_UP.
16543         (systrim): Use pagesize.
16544         (mremap_chunk): Use pagesize. Call ALIGN_UP.
16545         (__libc_valloc): Use pagesize.
16546         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
16548 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
16550         [BZ #17991]
16551         * include/sys/resource.h (__getrlimit64): Declare.  Use
16552         libc_hidden_proto.
16553         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
16554         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
16555         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
16556         getrlimit64.
16557         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
16558         __getrlimit64.
16559         [!getrlimit64] (getrlimit64): Define as weak alias of
16560         __getrlimit64.  Use libc_hidden_weak.
16561         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
16562         using __getrlimit64 not __new_getrlimit64.
16563         (__GI_getrlimit64): Likewise.
16564         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
16565         Likewise.
16566         (__GI_getrlimit64): Likewise.
16567         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
16568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
16569         (getrlimit): Add __getrlimit64 alias.
16570         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
16571         Likewise.
16572         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
16573         Remove variable.
16574         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
16575         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
16577 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
16579         * libio/fileops.c: Add missing sys/mman.h
16580         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
16582 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
16584         * manual/math.texi (Errors in Math Functions): Clarify goals
16585         regarding inexact and underflow exceptions.
16587 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
16589         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
16590         * sysdeps/mips/memset.S: Ditto.
16592 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
16594         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
16596 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16598         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
16599         (__v1longjmp): Remove versioned symbol.
16600         (__v1siglongjmp): Remove alias and versioned symbol.
16601         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
16602         (__v2siglongjmp): Likewise.
16604 2015-02-16  Torvald Riegel  <triegel@redhat.com>
16606         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
16608 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
16610         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
16612 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
16614         [BZ #17987]
16615         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
16616         zero result does not depend on the sign resulting from
16617         subtraction.
16618         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16619         Likewise.
16620         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16621         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16622         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16623         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16624         * math/libm-test.inc (remquo_test_data): Add more tests.
16626 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
16628         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
16629         Problem reported by J William Piggott.
16631 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
16633         [BZ #17978]
16634         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
16635         products 4 * y and 2 * y where those would overflow.
16636         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16637         Likewise.
16638         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16639         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16640         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16641         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16642         * math/libm-test.inc (remquo_test_data): Add more tests.
16644         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
16646         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
16647         [defined _COMPILING_NEWLIB].
16648         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
16649         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
16651         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
16652         [!defined __mips_isa_rev || __mips_isa_rev < 6].
16654 2015-02-16  Torvald Riegel  <triegel@redhat.com>
16656         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
16657         acquired.
16659 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
16661         [BZ #17792]
16662         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
16663         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
16664         HOST_STACK_END_ADDR): Likewise.
16666 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
16668         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
16669         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
16670         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
16672 2015-02-13  Roland McGrath  <roland@hack.frob.com>
16674         * sysdeps/generic/c++-types.data: New file.
16675         * sysdeps/generic/ld.abilist: New file.
16676         * sysdeps/generic/libBrokenLocale.abilist: New file.
16677         * sysdeps/generic/libanl.abilist: New file.
16678         * sysdeps/generic/libc.abilist: New file.
16679         * sysdeps/generic/libcrypt.abilist: New file.
16680         * sysdeps/generic/libdl.abilist: New file.
16681         * sysdeps/generic/libm.abilist: New file.
16682         * sysdeps/generic/libpthread.abilist: New file.
16683         * sysdeps/generic/libresolv.abilist: New file.
16684         * sysdeps/generic/librt.abilist: New file.
16686 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
16688         [BZ #17569]
16689         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16690         Compute absolute value of x as modified by fmod, not original
16691         value of x.
16692         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
16693         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
16694         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
16695         RUN_TEST_ffI_f1_mod8.
16696         (remquo_test_data): Add more tests.
16698 2015-02-13  Roland McGrath  <roland@hack.frob.com>
16700         * sysdeps/init_array/pt-crti.S: New file.
16702 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
16704         [BZ #17967]
16705         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
16706         __builtin_fmaf instead of relying on contraction of a * b + c.
16708 2015-02-12  J William Piggott  <elseifthen@gmx.com>
16710         [BZ #17969]
16711         * manual/time.texi: correct the zoneinfo path in the TZ Variable
16712         node.
16714 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16716         [BZ #17964]
16717         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
16718         __builtin_fma instead of relying on contraction of a * b + c.
16720 2015-02-12  Roland McGrath  <roland@hack.frob.com>
16722         * Makeconfig (ASFLAGS): Add -Werror=undef.
16723         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
16724         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
16725         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
16727         * Makeconfig (after-link): New variable.
16728         (+link-pie, +link-pie-tests): Use it.
16729         (+link-static, +link-static-tests): Likewise.
16730         (+link, +link-tests): Likewise.
16731         * Makerules (build-module, build-module-asneeded): Likewise.
16732         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
16733         Likewise.
16734         * elf/Makefile ($(objpfx)ld.so): Likewise.
16736 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
16738         [BZ #17965]
16739         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
16740         both struct timeval and struct timespec.
16742 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16744         [BZ #16560]
16745         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16746         and redefine.
16747         (__ieee754_exp2l): Do not multiply small fractional parts by
16748         M_LN2l.
16749         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
16750         small argument.
16751         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16752         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16753         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
16754         * math/auto-libm-test-in: Add more tests of exp2.
16755         * math/auto-libm-test-out: Regenerated.
16757 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16759         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
16760         unaligned path.
16762 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16764         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
16765         little endian.
16767 2015-02-12  Andreas Schwab  <schwab@suse.de>
16769         [BZ #15790]
16770         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
16771         Filter out elision flags from value returned in kind.
16772         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
16773         * nptl/tst-pthread-mutexattr.c: New file.
16775 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16777         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
16778         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
16779         into gnu-gnu, and update comment to refer to abi-tags.
16781 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
16783         [BZ #15467]
16784         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
16785         (__sincos): Set errno to EDOM for infinite argument.
16786         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
16787         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
16788         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
16789         (__sincosl): Set errno to EDOM for infinite argument.
16790         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
16791         (__sincosl): Set errno to EDOM for infinite argument.
16792         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
16793         (__sincosl): Set errno to EDOM for infinite argument.
16794         * math/libm-test.inc (sincos_test_data): Test errno setting.
16796 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
16798         * string/strxfrm_l.c: Remove #define STRCMP.
16799         * string/strcoll_l.c: Remove #define STRLEN.
16800         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
16801         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
16803 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
16805         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
16806         * sysdeps/mips/mips32/sfp-machine.h: ... here.
16807         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
16808         * sysdeps/mips/mips64/Makefile: ... here.
16809         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
16810         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
16811         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
16812         * sysdeps/mips/mips64/sfp-machine.h: ... here.
16813         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
16814         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
16815         * sysdeps/mips/mips64/n64/Implies: Likewise.
16817 2015-02-10  Roland McGrath  <roland@hack.frob.com>
16819         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
16820         <sys/time.h>, <string.h>, and <errno.h>.
16821         (dest_offset, dest_address, value, zero): Remove unused variables.
16822         (ldouble): Remove typedef.
16823         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
16824         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
16825         1).  Fix code style.
16826         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
16827         (check): Function removed.
16828         (CHECK): New macro.
16829         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
16830         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
16831         Don't call set_sigaction_FP and remove_sigaction_FP here.
16832         (ldouble_test): Just use 'long double' as macro argument, no need for
16833         the 'ldouble' typedef.
16834         (do_test): Set up SIGFPE handler at start, using plain signal rather
16835         than sigaction.  Fix code style.
16837 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
16839         [BZ #17949]
16840         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
16841         jump label.
16843 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16845         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
16846         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16848         * sysdeps/powerpc/configure.ac: Remove file.
16849         * sysdeps/powerpc/configure: Likewise.
16851         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16852         [sysdep_routines]: Remove wordcopy-power6 object.
16853         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16854         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
16855         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
16856         (__memmove_ppc32): Likewise.
16857         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
16858         file.
16859         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
16860         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
16861         Remove preprocessor.
16863         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16864         [sysdep_routines]: Remove wide chars objects.
16865         [wcsmbs]: New rule for wide char objects.
16867         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16868         Remove wordcopy-power6 obejct.
16869         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
16870         Use local call for wordcopy and memcpy symbols.
16871         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
16872         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
16873         implementation for loader.
16874         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
16876         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16877         Remove wordcopy-power7 object.
16878         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
16879         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
16880         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
16881         (_wordcopy_fwd_dest_aligned): Likewise.
16882         (_wordcopy_bwd_aligned): Likewise.
16883         (_wordcopy_bwd_dest_aligned): Likewise.
16885         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
16886         Rewrite to call __memmove_ppc instead of include default
16887         implementation.
16889         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16890         Remove wide chars objects.
16891         [wcsmbs]: New rule for wide char objects.
16893 2015-02-09  Andreas Schwab  <schwab@suse.de>
16895         [BZ #17912]
16896         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16897         in terms of __O_DIRECTORY.
16899 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16901         * time/getdate.c: Include <stdbool.h>.
16902         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
16903         call PTR_MANGLE.
16904         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
16905         PTR_DEMANGLE.
16907 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
16909         Add ersatz _Static_assert on older C hosts
16910         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
16911         pre-C11 C platform that is not known to support _Static_assert.
16913 2015-02-07  Richard Braun  <rbraun@sceen.net>
16915         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
16916         sigstate.
16917         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
16919 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16921         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
16922         priority against unexistent AIO_PRIO_DELTA_MAX.
16923         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
16924         instead of int.
16925         * misc/fchflags.c (fchflags): Likewise.
16926         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
16927         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
16928         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
16929         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
16930         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
16931         Declare macros.
16932         [__USE_MISC] (chflags, fchflags): Declare functions.
16933         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
16934         EINVAL when nfds is greater than FD_SETSIZE.
16935         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
16936         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
16937         45.
16938         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
16939         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
16940         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
16941         MACH_RCV_TIMED_OUT.
16942         * hurd/hurd/signal.h (_hurd_self_sigstate,
16943         _hurd_critical_section_lock, _hurd_critical_section_unlock):
16944         Explicit casts from void *.
16945         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
16946         * abi-tags: Rename gnu-gnu os into gnu.
16948         [BZ #4719]
16949         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
16950         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
16951         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
16952         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
16953         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
16954         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
16956         [BZ #17944]
16957         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
16958         duplicates ADDR->sun_path with sockaddr LEN limitation.
16959         * sysdeps/mach/hurd/connect.c: Include <string.h>
16960         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
16961         * sysdeps/mach/hurd/sendmsg.c: Likewise.
16962         * sysdeps/mach/hurd/sendto.c: Likewise.
16963         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
16964         implementing it by hand.
16966 2015-02-06  Roland McGrath  <roland@hack.frob.com>
16968         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
16969         Use sfi_breg on ldr.
16970         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
16971         Likewise.
16973         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
16974         it's defined.
16975         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
16976         Test SIGSETXID only if it's defined.
16978         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
16980         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
16981         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
16983         * nptl/tst-align2.c: Moved ...
16984         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
16985         * nptl/Makefile (tests): Remove tst-align2.
16986         * sysdeps/unix/sysv/linux/Makefile
16987         [$(subdir) = nptl] (tests): Add tst-align-clone.
16988         * nptl/tst-getpid1.c: Moved ...
16989         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
16990         * nptl/tst-getpid2.c: Moved ...
16991         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
16992         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
16993         * sysdeps/unix/sysv/linux/Makefile
16994         [$(subdir) = nptl] (tests): ... here.
16995         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
16996         * sysdeps/unix/sysv/linux/Makefile
16997         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
16999         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
17000         Drop trailing \n from perror argument.  Use return rather than exit.
17002         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
17003         on [SA_SIGINFO].
17004         * nptl/tst-cancel21.c (do_test): Likewise.
17005         * debug/tst-backtrace6.c: Include <signal.h> first thing.
17006         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
17007         [!SA_SIGINFO]: Make it a stub test.
17009         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
17010         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
17012         * posix/tst-getlogin.c: Move to ...
17013         * login/tst-getlogin.c: ... here.
17014         * posix/Makefile (tests): Move tst-getlogin to ...
17015         * login/Makefile (tests): ... here.
17017         * libio/tst-atime.c (do_test): Move local variables SV and E
17018         inside [ST_NOATIME] conditional.
17020         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
17022         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
17024         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
17025         (wait_code): New function replaces macro.
17026         Call nanosleep rather than syscall.
17028         * nptl/pt-system.c: Rewritten.  Put everything under
17029         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17030         Use IFUNC to redirect when possible.
17032         * nptl/pt-longjmp.c: Rewritten.  Put everything under
17033         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17034         Use IFUNC to redirect when possible.
17036         * nptl/pt-fork.c: Rewritten.  Put everything under
17037         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
17038         Use IFUNC to redirect when possible.
17039         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
17041         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
17042         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
17043         unconditionally nowadays.  This included the only reference to
17044         __vdso_clock_gettime that appears outside libc proper.
17045         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
17046         Remove version set (containing only __vdso_clock_gettime).
17047         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
17048         Add attribute_hidden.
17049         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
17050         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
17051         libc_hidden_data_def.
17052         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17053         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17055         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
17056         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
17057         setrpcent, and getrpcport to ...
17058         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
17059         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
17060         getrpcbynumber_r, and getrpcent_r to ...
17061         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
17062         * inet/getrpcbyname.c: Moved ...
17063         * sunrpc/getrpcbyname.c: ... here.
17064         * inet/getrpcbyname_r.c: Moved ...
17065         * sunrpc/getrpcbyname_r.c: ... here.
17066         * inet/getrpcbynumber.c: Moved ...
17067         * sunrpc/getrpcbynumber.c: ... here.
17068         * inet/getrpcbynumber_r.c: Moved ...
17069         * sunrpc/getrpcbynumber_r.c: ... here.
17070         * inet/getrpcent.c: Moved ...
17071         * sunrpc/getrpcent.c: ... here.
17072         * inet/getrpcent_r.c: Moved ...
17073         * sunrpc/getrpcent_r.c: ... here.
17074         * inet/Makefile (routines): Move those to ...
17075         * sunrpc/Makefile (routines): ... here.
17076         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
17077         the $(subdirs) list.
17078         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
17079         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
17080         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
17081         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
17083         * elf/Makefile (routines): Include $(all-dl-routines), not just
17084         $(dl-routines).
17085         (rtld-routines): Likewise.  Use = rather than :=.
17086         * sysdeps/aarch64/Makefile [$(subdir) = elf]
17087         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
17088         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
17089         * sysdeps/arm/Makefile: Likewise.
17090         * sysdeps/i386/Makefile: Likewise.
17091         * sysdeps/x86_64/Makefile: Likewise.
17092         * sysdeps/hppa/Makefile [$(subdir) = elf]
17093         (sysdep_routines, sysdep-rtld-routines): Don't add
17094         $(sysdep-dl-routines) to these.
17095         * sysdeps/ia64/Makefile: Likewise.
17096         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
17097         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
17098         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
17099         Don't add dl-static to these; sysdep-dl-routines alone is enough.
17100         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
17101         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
17102         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
17103         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
17104         * sysdeps/powerpc/Makefile [$(subdir) = elf]
17105         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
17106         these; sysdep-dl-routines alone is enough.
17108 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
17110         [BZ #17932]
17111         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
17112         where multiplication results in zero and third argument is finite
17113         and nonzero.
17114         * math/auto-libm-test-in: Add more tests of fma.
17115         * math/auto-libm-test-out: Regenerated.
17117         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
17118         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
17119         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
17120         (_FP_CMP_EQ): Likewise.
17121         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
17123         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
17124         extra argument CHECK_NAN.  Redefine as wrapper around
17125         _FP_EXTEND_CNAN.
17127 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
17129         * version.h (RELEASE): Set to "stable".
17130         (VERSION): Set to "2.21"
17131         * include/features.h (__GLIBC_MINOR__): Set to 21.
17133         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
17135 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17136             Paul Eggert  <eggert@cs.ucla.edu>
17138         [BZ #16618]
17139         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
17140         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
17141         size in bytes. Store needed elements in wpmax. Use needed size
17142         in bytes for extend_alloca.
17144 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
17146         * manual/install.texi: Latest tested versions are GCC 4.9.2,
17147         binutls 2.25, and texinfo 5.2.
17148         * INSTALL: Regenerate.
17149         * sysdeps/nios2/configure: Regenerate.
17150         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
17151         * manual/contrib.texi: Update.
17152         * po/be.po: Update.
17153         * po/bg.po: Update.
17154         * po/ca.po: Update.
17155         * po/cs.po: Update.
17156         * po/da.po: Update.
17157         * po/de.po: Update.
17158         * po/el.po: Update.
17159         * po/eo.po: Update.
17160         * po/es.po: Update.
17161         * po/fi.po: Update.
17162         * po/fr.po: Update.
17163         * po/gl.po: Update.
17164         * po/hr.po: Update.
17165         * po/hu.po: Update.
17166         * po/ia.po: Update.
17167         * po/id.po: Update.
17168         * po/it.po: Update.
17169         * po/ja.po: Update.
17170         * po/ko.po: Update.
17171         * po/lt.po: Update.
17172         * po/nb.po: Update.
17173         * po/nl.po: Update.
17174         * po/pl.po: Update.
17175         * po/pt_BR.po: Update.
17176         * po/ru.po: Update.
17177         * po/rw.po: Update.
17178         * po/sk.po: Update.
17179         * po/sl.po: Update.
17180         * po/sv.po: Update.
17181         * po/tr.po: Update.
17182         * po/uk.po: Update.
17183         * po/vi.po: Update.
17184         * po/zh_CN.po: Update.
17185         * po/zh_TW.po: Update.
17187         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
17188         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
17189         * sysdeps/hppa/dl-irel.h: Remove #warning.
17190         * sysdeps/hppa/entry.h: Provide prototype for
17191         __canonicalize_funcptr_for_compare and cast argument.
17192         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
17193         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
17194         * sysdeps/hppa/sotruss-lib.c: New file.
17195         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
17196         (atomic_compare_and_exchange_val_acq): Use __typeof__.
17197         (atomic_compare_and_exchange_bool_acq): Likewise.
17198         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
17199         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
17201         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
17202         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
17203         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
17205 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
17207         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
17208         called function in non-PIC case.
17210 2015-01-31  David S. Miller  <davem@davemloft.net>
17212         * sysdeps/sparc/sparc32/bits/atomic.h
17213         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
17214         unlock not after it.
17215         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
17216         volatile register usage warnings from the compiler.
17218         * sysdeps/sparc/nptl/sem_init.c: Delete.
17219         * sysdeps/sparc/nptl/sem_post.c: Delete.
17220         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
17221         * sysdeps/sparc/nptl/sem_wait.c: Delete.
17222         * sysdeps/sparc/sparc32/sem_init.c: New file.
17223         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
17224         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
17225         padding explicitly initialized.
17226         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
17227         padding for in-semaphore spinlock.
17228         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
17229         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
17230         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
17231         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
17232         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
17233         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
17234         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
17235         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
17236         version.
17237         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
17238         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
17240 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
17242         [BZ #17801]
17243         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17244         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
17245         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
17246         New.
17247         (index_AVX_Fast_Unaligned_Load): Likewise.
17248         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
17249         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
17250         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
17251         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
17252         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
17253         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
17254         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
17255         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
17256         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
17258 2015-01-29  Andreas Schwab  <schwab@suse.de>
17260         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
17262 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
17264         [BZ #17892]
17265         * nscd/nscd_stat.c (send_stats): Initialize DATA.
17267 2015-01-28  Martin Sebor  <msebor@redhat.com>
17269         * math/README.libm-test: Clarify. Add "How to read the test output."
17271 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
17273         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
17274         Define to 0.
17276 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
17278         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
17279         (__HAVE_64B_ATOMICS): Define to 0.
17281 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17283         [BZ #17885]
17284         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
17285         value to set as new flag.
17287         [BZ #16576]
17288         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
17289         and use _ARCH_PPCSQ instead.
17290         (__ieee754_sqrt): Likewise.
17291         (__ieee754_sqrtf): Likewise.
17292         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
17293         _ARCH_PPCSQ is defined.
17294         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
17295         fsqrt instruction.
17296         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
17297         _ARCH_PPCSQ is defined.
17298         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
17299         fsqrts instruction.
17300         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
17302 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17304         * iconv/loop.c: Suppress array out of bound warning caused by GCC
17305         bug (GCC BZ #64739).
17307 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
17309         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
17310         Mark _retval as used.
17311         (lll_futex_wake_unlock): Likewise.
17312         (lll_futex_timed_wait_requeue_pi): Likewise.
17314         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
17315         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
17316         register variables.
17318         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
17319         libm_hidden_def.
17321         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
17322         (__bswap_64): Mark as __always_inline.
17324 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
17326         [BZ #15378]
17327         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
17328         when none of the search directories exist.
17330 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17332         [BZ #17869]
17333         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
17334         power8 in .machine directive.
17336         [BZ #17868]
17337         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
17338         set dependency from opd value.
17340 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
17342         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17343         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
17344         architecture.
17346 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
17348         [BZ #17870]
17349         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
17350         with uint64_t.
17351         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
17352         (uint64_t) 1.
17353         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
17354         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
17355         Replace 1UL with (uint64_t) 1.
17356         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
17357         int with uint64_t.
17359 2015-01-23  Roland McGrath  <roland@hack.frob.com>
17361         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
17362         (if_freenameindex): Likewise.
17364         * resource/getrlimit64.c: Add missing libc_hidden_def.
17366 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
17368         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
17369         __label__.
17370         (_FP_FMA): Likewise.
17371         (_FP_TO_INT_ROUND): Likewise.
17372         (_FP_FROM_INT): Likewise.
17374 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17376         [BZ #16418]
17377         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
17378         Make code racy and cancel safe.
17380 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
17382         * sysdeps/arm/unwind-resume.h: Fix copyright year.
17383         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
17384         attribution.
17386         * pwd/tst-getpw.c: Rewrite.
17388         [BZ #17702]
17389         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
17390         (modules-names): Add moddummy1 and moddummy2.
17391         ($(objpfx)tst-rec-dlopen): Define.
17392         * dlfcn/moddummy1.c: New file.
17393         * dlfcn/moddummy2.c: New file.
17394         * dlfcn/tst-rec-dlopen.c: New file.
17395         * elf/dl-cache.c (_dl_load_cache_lookup):
17396         Return char*. Copy result with alloca/strcpy/strdup.
17397         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
17398         returns char*. Free cached. If not saving realname
17399         free cached.
17400         * elf/dl-open.c (dl_open_worker): Do not assert that
17401         _r_debug->r_state is RT_CONSISTENT.
17402         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
17403         returns char*.
17405 2015-01-21  Torvald Riegel  <triegel@redhat.com>
17406             Carlos O'Donell  <carlos@redhat.com>
17408         [BZ #12674]
17409         * nptl/sem_waitcommon.c: New file.
17410         * nptl/sem_wait.c: Include sem_waitcommon.c.
17411         (__sem_wait_cleanup, do_futex_wait): Remove.
17412         (__new_sem_wait): Adapt.
17413         (__new_sem_trywait): New function.
17414         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
17415         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
17416         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
17417         (sem_timedwait): Adapt.
17418         * nptl/sem_post.c (__new_sem_post): Adapt.
17419         (futex_wake): New function.
17420         (__old_sem_post): Add release MO fence.
17421         * nptl/sem_open.c (sem_open): Adapt.
17422         * nptl/sem_init.c (__new_sem_init): Adapt.
17423         (futex_private_if_supported): New function.
17424         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
17425         (__old_sem_getvalue): Add using previous code.
17426         * sysdeps/nptl/internaltypes.h: Adapt.
17427         * nptl/tst-sem13.c (do_test): Adapt.
17428         * nptl/tst-sem11.c (main): Adapt.
17429         * nptl/sem_trywait.c: Remove.
17430         * nptl/DESIGN-sem.txt: Remove.
17431         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
17432         (gen-as-const-headers): Remove structsem.sym.
17433         * nptl/structsem.sym: Remove.
17434         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
17435         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
17436         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
17437         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
17438         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
17439         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
17440         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
17441         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
17442         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
17443         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
17444         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
17445         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
17446         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
17447         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
17448         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
17449         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
17450         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
17451         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
17452         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
17453         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
17454         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
17455         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
17457 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
17459         * INSTALL: Regenerated.
17461         * po/libc.pot: Regenerated.
17463 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
17464             Sandra Loosemore  <sandra@codesourcery.com>
17465             Andrew Jenner  <andrew@codesourcery.com>
17466             Joseph Myers  <joseph@codesourcery.com>
17467             Nathan Sidwell  <nathan@codesourcery.com>
17469         * NEWS: Mention new Nios II port.
17470         * sysdeps/nios2/Implies: New file.
17471         * sysdeps/nios2/Makefile: New file.
17472         * sysdeps/nios2/Subdirs: New file.
17473         * sysdeps/nios2/Versions: New file.
17474         * sysdeps/nios2/__longjmp.S: New file.
17475         * sysdeps/nios2/abort-instr.h: New file.
17476         * sysdeps/nios2/backtrace.c: New file.
17477         * sysdeps/nios2/bits/endian.h: New file.
17478         * sysdeps/nios2/bits/fenv.h: New file.
17479         * sysdeps/nios2/bits/link.h: New file.
17480         * sysdeps/nios2/bits/setjmp.h: New file.
17481         * sysdeps/nios2/bsd-_setjmp.S: New file.
17482         * sysdeps/nios2/bsd-setjmp.S: New file.
17483         * sysdeps/nios2/configure: New generated file.
17484         * sysdeps/nios2/configure.ac: New file.
17485         * sysdeps/nios2/crti.S: New file.
17486         * sysdeps/nios2/crtn.S: New file.
17487         * sysdeps/nios2/dl-init.c: New file.
17488         * sysdeps/nios2/dl-machine.h: New file.
17489         * sysdeps/nios2/dl-sysdep.h: New file.
17490         * sysdeps/nios2/dl-tls.h: New file.
17491         * sysdeps/nios2/dl-trampoline.S: New file.
17492         * sysdeps/nios2/gccframe.h: New file.
17493         * sysdeps/nios2/gmp-mparam.h: New file.
17494         * sysdeps/nios2/jmpbuf-offsets.h: New file.
17495         * sysdeps/nios2/jmpbuf-unwind.h: New file.
17496         * sysdeps/nios2/ldsodefs.h: New file.
17497         * sysdeps/nios2/libc-tls.c: New file.
17498         * sysdeps/nios2/libm-test-ulps: New file.
17499         * sysdeps/nios2/machine-gmon.h: New file.
17500         * sysdeps/nios2/math-tests.h: New file.
17501         * sysdeps/nios2/math_private.h: New file.
17502         * sysdeps/nios2/memusage.h: New file.
17503         * sysdeps/nios2/nptl/Makefile: New file.
17504         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
17505         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
17506         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
17507         * sysdeps/nios2/nptl/pthreaddef.h: New file.
17508         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
17509         * sysdeps/nios2/nptl/tls.h: New file.
17510         * sysdeps/nios2/preconfigure: New file.
17511         * sysdeps/nios2/s_fma.c: New file.
17512         * sysdeps/nios2/s_fmaf.c: New file.
17513         * sysdeps/nios2/setjmp.S: New file.
17514         * sysdeps/nios2/sfp-machine.h: New file.
17515         * sysdeps/nios2/sotruss-lib.c: New file.
17516         * sysdeps/nios2/stackguard-macros.h: New file.
17517         * sysdeps/nios2/stackinfo.h: New file.
17518         * sysdeps/nios2/start.S: New file.
17519         * sysdeps/nios2/sysdep.h: New file.
17520         * sysdeps/nios2/tls-macros.h: New file.
17521         * sysdeps/nios2/tst-audit.h: New file.
17522         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
17523         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
17524         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
17525         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
17526         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
17527         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
17528         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
17529         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
17530         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
17531         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
17532         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
17533         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
17534         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
17535         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
17536         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
17537         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
17538         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
17539         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
17540         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
17541         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
17542         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
17543         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
17544         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
17545         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
17546         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
17547         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
17548         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
17549         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
17550         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
17551         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
17552         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
17553         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
17554         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
17555         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
17556         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
17557         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
17558         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
17559         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
17560         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
17561         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
17562         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
17563         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
17564         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
17565         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
17567 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17569         [BZ #17844]
17570         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
17571         (getutent): Use weak_alias in non SHARED case
17572         and default_symbol_version in SHARED case.
17573         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
17574         (getutent_r, pututline): Likewise.
17575         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
17576         (getutid): Likewise.
17577         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
17578         (getutid_r): Likewise.
17579         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
17580         (getutline): Likewise.
17581         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
17582         (getutline_r): Likewise.
17583         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
17584         (updwtmp): Likewise.
17586 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17588         [BZ #17848]
17589         * sysdeps/s390/s390-32/memcmp.S
17590         (memcmp_g5): Rename to __memcmp_g5.
17591         * sysdeps/s390/s390-32/memcpy.S
17592         (memcpy_g5): Rename to __memcpy_g5.
17593         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17594         (memcpy_mvcle) Rename to __memcpy_mvcle.
17595         * sysdeps/s390/s390-32/memset.S
17596         (memset_g5): Rename to __memset_g5.
17597         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17598         (IFUNC_RESOLVE): Prefix ifunc-resolve function
17599         and use prefixed functions.
17600         * sysdeps/s390/s390-32/multiarch/memcmp.S
17601         (memcmp_z196): Rename to __memcmp_z196.
17602         (memcmp_z10): Rename to __memcmp_z10.
17603         (memcmp): Set alias to __memcmp_g5.
17604         (bcmp): Set alias to __memcmp_g5.
17605         * sysdeps/s390/s390-32/multiarch/memcpy.S
17606         (memcpy_z196): Rename to __memcpy_z196.
17607         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17608         (memcpy_z10): Rename to __memcpy_z10.
17609         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17610         (memcpy): Set alias to __memcpy_g5.
17611         * sysdeps/s390/s390-32/multiarch/memset.S
17612         (memset_z196): Rename to __memset_z196.
17613         Jump to __memset_mvcle instead of memset_mvcle.
17614         (memset_z10): Rename to __memset_z10.
17615         Jump to __memset_mvcle instead of memset_mvcle.
17616         (memset_mvcle) Rename to __memset_mvcle.
17617         (memset): Set alias to __memset_g5.
17618         * sysdeps/s390/s390-64/memcmp.S
17619         (memcmp_z900): Rename to __memcmp_z900.
17620         * sysdeps/s390/s390-64/memcpy.S
17621         (memcpy_z900): Rename to __memcpy_z900.
17622         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17623         (memcpy_mvcle) Rename to __memcpy_mvcle.
17624         * sysdeps/s390/s390-64/memset.S
17625         (memset_z900): Rename to __memset_z900.
17626         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
17627         (IFUNC_RESOLVE): Prefix ifunc-resolve function
17628         and use prefixed functions.
17629         * sysdeps/s390/s390-64/multiarch/memcmp.S
17630         (memcmp_z196): Rename to __memcmp_z196.
17631         (memcmp_z10): Rename to __memcmp_z10.
17632         (memcmp): Set alias to __memcmp_z900.
17633         (bcmp): Set alias to __memcmp_z900.
17634         * sysdeps/s390/s390-64/multiarch/memcpy.S
17635         (memcpy_z196): Rename to __memcpy_z196.
17636         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17637         (memcpy_z10): Rename to __memcpy_z10.
17638         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17639         (memcpy): Set alias to __memcpy_z900.
17640         * sysdeps/s390/s390-64/multiarch/memset.S
17641         (memset_z196): Rename to __memset_z196.
17642         Jump to __memset_mvcle instead of memset_mvcle.
17643         (memset_z10): Rename to __memset_z10.
17644         Jump to __memset_mvcle instead of memset_mvcle.
17645         (memset_mvcle) Rename to __memset_mvcle.
17646         (memset): Set alias to __memset_z900.
17648 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
17650         [BZ #17748]
17651         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
17652         __fesetenv instead of fesetenv.
17654 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17656         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
17657         macro.
17659 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17661         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
17662         regression on LE.
17664         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
17665         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
17666         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17667         strncmp-power8 object.
17668         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17669         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
17670         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
17671         * NEWS: Update.
17673 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17674             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17676         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
17677         trailing byte check.
17679 2015-01-13  David S. Miller  <davem@davemloft.net>
17681         * include/signal.h (__sigreturn): Guard with __USE_MISC.
17683 2015-01-13  Roland McGrath  <roland@hack.frob.com>
17685         * login/logout.c (logout): Use memset rather than bzero.
17686         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
17687         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
17688         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
17689         (_gethtbyaddr): Likewise.
17690         * locale/programs/simple-hash.c (bcopy): Macro removed.
17692 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17694         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17695         Add strcmp-power8 object.
17696         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17697         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
17698         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
17699         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
17700         __strcmp_power8 implementation.
17701         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
17702         * NEWS: Update.
17704         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17705         Add strncpy-power8 and stpncpy-power8 objects.
17706         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17707         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
17708         implementations.
17709         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
17710         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
17711         __stpncpy_power8 implementation.
17712         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
17713         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
17714         __strncpy_power8 implementation.
17715         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
17716         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
17717         * NEWS: Update.
17719         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
17720         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
17721         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
17723         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17724         strncat-power8 object.
17725         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
17726         __strcat_power8 implementation.
17727         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17728         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
17729         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
17730         optimized strcat for power8.
17732         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17733         strcpy-power8 and stpcpy-power8 objects.
17734         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17735         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
17736         implementations.
17737         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
17738         multiarch stpcpy implementation for POWER8.
17739         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
17740         multiarch strcpy implementation for POWER8.
17741         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
17742         __strcpy_power8 function.
17743         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
17744         stpcpy for POWER8.
17745         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
17746         strcpy for POWER8.
17747         * NEWS: Update.
17749 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
17751         [BZ #16009]
17752         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
17753         weights and rules. Use do_xfrm_cached if data fits in cache,
17754         do_xfrm otherwise.  Moved former main loop to...
17755         * (do_xfrm_cached): New function.
17756         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
17757         find_idx, find_position and stack_push.
17758         * (find_idx): New function.
17759         * (find_position): Likewise.
17760         * localedata/sort-test.sh: Added test run for do_xfrm.
17761         * localedata/xfrm-test.c (main): Added command line option
17762         -nocache to run the test with strings that are too large for
17763         the STRXFRM cache.
17765 2015-01-13  Torvald Riegel  <triegel@redhat.com>
17767         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
17768         variable to lll_futex_wake call, not the value itself.
17770 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
17772         [BZ #17803]
17773         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
17774         twom64.  Adjust value to 0x1p-64L.
17775         (__scalblnl): Only return standard underflowing result for K <=
17776         -64 not K <= -63; adjust exponent for underflowing result by 64
17777         not 63.
17778         * math/libm-test.inc (scalbn_test_data): Add more tests.
17779         (scalbln_test_data): Likewise.
17781         [BZ #17834]
17782         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
17783         0x1p63L.
17784         (__scalblnl): Get new exponent of adjusted subnormal value from ES
17785         not HX.
17786         * math/libm-test.inc (scalbn_test_data): Add more tests.
17787         (scalbln_test_data): Likewise.
17789 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17790             Stefani Seibold  <stefani@seibold.net>
17792         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
17793         (sysdep_routines): Add dl-vdso here, ...
17794         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
17795         (sysdep_routines): ... not here.
17796         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
17797         fallback when vDSO is not presented.
17798         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17799         Define with libc_hidden_proto/libc_hidden_data_def definitions.
17800         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
17801         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
17802         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
17803         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
17804         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
17805         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
17806         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
17807         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
17808         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
17809         fallback configurable symbol when vDSO is not available.
17810         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
17811         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
17812         be able to redefine fallback symbol when vDSO is not available.
17813         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
17814         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
17816 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17818         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
17819         (TLS_INIT_TP): Add tm_capable initialization.
17820         (TLS_DEFINE_INIT_TP): Likewise.
17821         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
17822         TCB.
17823         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
17824         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
17825         calculation.
17826         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
17827         transactoion is lock elision is built and TCB tm_capable is set.
17828         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
17829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17830         (INTERNAL_SYSCALL_NCS): Likewise.
17831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17832         (INTERNAL_SYSCALL_NCS): Likewise.
17833         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
17835         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
17836         for powerpc.
17837         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17838         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
17839         and remove it for 32 bits case.
17840         [pthread_rwlock_t] (__rwelision): New field for lock elision.
17841         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
17842         initialization.
17843         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
17844         Disable lock elision with rdlocks if elision is not available.
17846         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
17847         (sysdep_routines): Add lock elision objects.
17848         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17849         [pthread_mutex_t] (__spins): Rework to add lock elision field.
17850         [pthread_mutex_t] (__elision): Add field.
17851         [__PTHREAD_SPINS]: Adjust to init lock elision field.
17852         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
17853         elision definitions for powerpc.
17854         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
17855         implementation of lock elision for powerpc.
17856         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
17857         implementation of timed lock elision for powerpc.
17858         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
17859         implementation of trylock with lock elision for powerpc.
17860         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
17861         implementaion of unlock for lock elision for powerpc.
17862         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
17863         automatic enable lock elision for mutexes.
17864         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
17865         transaction execution definitions for powerpc.
17866         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
17867         definitions.
17868         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
17869         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
17870         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
17871         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
17872         * NEWS: Update.
17874 2015-01-09  Roland McGrath  <roland@hack.frob.com>
17876         * sysdeps/posix/shm-directory.c: Use <> rather than ""
17877         for #include of <shm-directory.h>.
17879 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
17881         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
17882         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
17884 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
17886         [BZ #17791]
17887         * NEWS: Mention bug fix.
17888         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
17889         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
17890         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
17892 2015-01-09  Torvald Riegel <triegel@redhat.com>
17894         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
17896 2015-01-09  Torvald Riegel <triegel@redhat.com>
17898         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
17900 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17902         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
17903         pointer and cast to uintptr_t.
17905 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17907         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
17908         removed.
17909         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
17911 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17913         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
17914         of 0.
17916 2015-01-08  Roland McGrath  <roland@hack.frob.com>
17918         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
17919         <nptl/pthreadP.h> instead.
17920         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
17922         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
17923         already defined.
17924         [__SIGRTMIN] (init): Function removed.
17925         [__SIGRTMIN] (initialized): Variable removed.
17926         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
17927         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
17928         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
17929         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
17930         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
17931         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
17932         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
17933         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
17934         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
17935         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
17936         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
17937         * sysdeps/nptl/allocrtsig.c: New file.
17938         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
17939         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
17940         * sysdeps/generic/testrtsig.h: File removed.
17942         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
17943         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
17945         * nptl/nptl-init.c (pthread_functions): Conditionalize
17946         .ptr__nptl_setxid initialization on [SIGSETXID].
17948         * sysdeps/nptl/sys/procfs.h: New file.
17949         * nptl_db/Makefile (headers): Add it.
17950         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
17952         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
17953         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
17954         * nptl/pthread_attr_setaffinity.c: Include it.
17955         * nptl/pthread_setattr_default_np.c: Likewise.
17956         * nptl/check-cpuset.h: New file.
17958 2015-01-08  Richard Henderson  <rth@redhat.com>
17960         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
17961         (CFLAGS-tst-execstack-prog.c): Likewise.
17962         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
17964 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
17965             Sandra Loosemore  <sandra@codesourcery.com>
17966             Andrew Jenner  <andrew@codesourcery.com>
17967             Joseph Myers  <joseph@codesourcery.com>
17968             Nathan Sidwell  <nathan@codesourcery.com>
17970         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
17971         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
17972         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
17973         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
17974         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
17975         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
17976         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
17977         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
17978         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
17979         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
17980         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
17981         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
17982         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
17983         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
17984         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
17985         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
17986         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
17988 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17990         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
17991         timespec struct member in syscall macro.
17992         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
17993         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
17994         first timeval struct member in syscall macro.
17995         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
17997 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
17999         [BZ #17748]
18000         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
18001         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
18002         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
18003         __feupdateenv and define as weak alias of __feupdateenv.  Use
18004         libm_hidden_weak.
18005         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
18006         libm_hidden_def.
18007         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
18008         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
18009         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18010         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
18011         libm_hidden_def.
18012         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
18013         __feupdateenv and define as weak alias of __feupdateenv.  Use
18014         libm_hidden_weak.
18015         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
18016         libm_hidden_def.
18017         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
18018         __feupdateenv and define as weak alias of __feupdateenv.  Use
18019         libm_hidden_weak.
18020         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
18021         libm_hidden_def.
18022         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18023         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18024         (__feupdateenv): Likewise.
18025         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
18026         __feupdateenv and define as weak alias of __feupdateenv.  Use
18027         libm_hidden_weak.
18028         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18029         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
18030         libm_hidden_def.
18031         * sysdeps/tile/math_private.h (__feupdateenv): New inline
18032         function.
18033         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
18034         libm_hidden_def.
18035         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
18036         __feupdateenv instead of feupdateenv.
18037         (default_libc_feupdateenv_test): Likewise.
18038         (libc_feresetround_ctx): Likewise.
18040 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18042         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
18043         prototype.
18045 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
18047         * posix/regcomp.c (parse_bracket_exp): Initialize type to
18048         COLL_SYM in a couple of places to avoid uninitialized variable
18049         wanings on tilegx gcc 4.8.2.
18051 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
18053         * sysdeps/aarch64/strcpy.S: New file.
18054         * sysdeps/aarch64/stpcpy.S: New file.
18055         * NEWS: Updated.
18057 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
18059         * sysdeps/aarch64/strrchr.S: New file.
18060         * NEWS: Updated.
18062 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
18064         [BZ #17658]
18065         * stdlib/setenv.c: Fix memory leak when setting large,
18066         duplicate string.
18068 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
18070         [BZ #17273]
18071         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
18072         and tabs from buffer before parsing fstab entry.
18073         * misc/tst-mntent.c (main): Add test for mount entry with
18074         trailing spaces and tabs.
18076 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
18078         [BZ #17748]
18079         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
18080         * math/fesetround.c (fesetround): Rename to __fesetround and
18081         define as weak alias of __fesetround.  Use libm_hidden_weak.
18082         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
18083         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
18084         * sysdeps/arm/fesetround.c (fesetround): Likewise.
18085         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
18086         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
18087         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
18088         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
18089         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
18090         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
18091         __fesetround_inline.
18092         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
18093         __fesetround_inline instead of __fesetround.
18094         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
18095         __fesetround and define as weak alias of __fesetround.  Use
18096         libm_hidden_weak.  Call __fesetround_inline instead of
18097         __fesetround.
18098         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
18099         __fesetround and define as weak alias of __fesetround.  Use
18100         libm_hidden_weak.
18101         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
18102         Likewise.
18103         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
18104         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18105         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
18106         * sysdeps/tile/math_private.h (__fesetround): New inline function.
18107         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
18108         __fesetround and define as weak alias of __fesetround.  Use
18109         libm_hidden_weak.
18110         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
18111         __fesetround instead of fesetround.
18112         (default_libc_feholdexcept_setround): Likewise.
18113         (libc_feholdsetround_ctx): Likewise.
18114         (libc_feholdsetround_noex_ctx): Likewise.
18116         [BZ #17748]
18117         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
18118         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
18119         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18120         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
18121         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18122         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
18123         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18124         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18125         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18126         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18127         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18128         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18129         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18130         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18131         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
18132         libm_hidden_def.
18133         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
18134         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
18135         Likewise.
18136         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18137         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18138         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18139         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18140         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
18141         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18142         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
18143         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
18144         __fesetenv instead of fesetenv.
18145         (libc_feresetround_noex_ctx): Likewise.
18146         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18147         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18148         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
18149         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18150         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18151         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18152         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18153         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18154         (__feupdateenv): Likewise.
18155         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18156         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18157         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18158         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
18160 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
18162         [BZ #17806]
18163         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
18164         addresses have been freed.
18166 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
18168         * resolv/res_init.c (__res_vinit): Improve comments about nserv
18169         and nservall.
18171 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
18173         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
18174         Clean up check_pf allocation pattern. addresses
18176 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18178         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
18179         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
18180         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
18181         * nptl/pthread_exit.c (__pthread_exit): Likewise.
18182         * nptl/pthread_join.c (pthread_join): Likewise.
18183         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18184         * sysdeps/posix/waitid.c (__waitid): Likewise.
18185         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18186         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18187         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18188         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18189         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18190         Likewise.
18191         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18192         (__libc_pread64): Likewise.
18193         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18194         (__libc_pwrite): Likewise.
18195         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18196         (__libc_pwrite64): Likewsie.
18197         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18198         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18199         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18200         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18201         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18202         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18203         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18205         Likewise.
18206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18207         (__libc_pread64): Likewise.
18208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
18209         Likewise.
18210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18211         (__libc_pwrite64): Likewise.
18212         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18213         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18214         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
18215         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
18216         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18217         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18218         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
18219         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18220         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18221         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18222         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
18223         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18224         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18225         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
18226         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18227         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18228         Likewise.
18230 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
18232         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
18233         (CFLAGS-test-double.c): Likewise.
18234         (CFLAGS-test-ldouble.c): Likewise.
18235         (CPPFLAGS-test-ifloat.c): Likewise.
18236         (CPPFLAGS-test-idouble.c): Likewise.
18237         (CPPFLAGS-test-ildoubl.c): Likewise.
18238         (CFLAGS-test-test-fenv.c): Remove variable.
18239         (CFLAGS-test-misc.c): Likewise.
18241 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
18243         [BZ #17797]
18244         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
18245         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
18246         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
18247         CLOCKS_PER_SEC == 1000000.
18248         * time/clocktest.c (main): Replace %ld with %jd and cast to
18249         intmax_t.
18251 2015-01-05  Roland McGrath  <roland@hack.frob.com>
18253         * sysdeps/generic/unwind-resume.h: New file.
18254         * sysdeps/gnu/unwind-resume.c: Include it.
18255         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
18256         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
18257         argument list.
18258         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
18259         global rather than static.
18260         (_Unwind_Resume): Update user.
18261         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
18262         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
18263         rather than static.  Add __attribute__ ((cold)).
18264         (_Unwind_Resume, __gcc_personality_v0): Update callers.
18265         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18266         * sysdeps/arm/arm-unwind-resume.S: New file.
18267         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
18268         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
18269         * sysdeps/arm/Makefile [$(subdir) = csu]
18270         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
18271         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18272         Add rt-arm-unwind-resume.
18273         [$(subdir) = nptl]
18274         (libpthread-sysdep_routines, libpthread-shared-only-routines):
18275         Add pt-arm-unwind-resume.
18276         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
18277         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
18279 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18281         [BZ #17748]
18282         * include/fenv.h (__feholdexcept): Declare.  Use
18283         libm_hidden_proto.
18284         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
18285         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
18286         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18287         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
18288         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
18289         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
18290         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
18291         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18292         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
18293         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
18294         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18295         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
18296         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
18297         (feholdexcept): Likewise.
18298         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18299         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18300         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18301         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18302         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
18303         __feholdexcept instead of feholdexcept.
18304         (default_libc_feholdexcept_setround): Likewise.
18306 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18308         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
18309         to avoid using stl/str to align destination.
18311 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18313         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
18315 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18317         [BZ #17796]
18318         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
18319         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
18320         Define as weak alias not strong alias.
18322 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18324         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
18325         bltzal with addiupc.
18326         (RTLD_START): Ditto.
18328 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
18330         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
18331         for __vdso_* functions in declarations.
18332         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
18333         definitions.
18334         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
18335         INTERNAL_VSYSCALL): Use struct return types to check for error.
18337         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
18338         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
18339         function with cast from llround().
18340         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
18341         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18342         Define.
18344 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18346         [BZ #17793]
18347         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
18348         Define as weak alias not strong alias.
18350         [BZ #17635]
18351         * ctype/ctype-c99.c: New file.  isblank implementation moved from
18352         ...
18353         * ctype/ctype-extn.c: ... here.
18354         (__isblank_l): Move to ...
18355         * ctype/ctype-c99_l.c: ... here.  New file.
18356         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
18357         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
18358         Remove variable.
18359         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
18360         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
18361         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
18362         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
18363         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
18365         [BZ #17777]
18366         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
18367         (posix_fadvise64): Define as weak alias not strong alias.
18368         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18369         (posix_fallocate64): Likewise.
18370         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
18371         Remove variable.
18372         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
18373         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
18374         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
18375         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
18376         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
18378 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
18380         [BZ #16191]
18381         * NEWS: Mention bug fix.
18382         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
18383         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
18384         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
18385         (HOST_STACK_END_ADDR): Likewise.
18387 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
18389         [BZ #17748]
18390         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
18391         * math/fegetround.c (fegetround): Rename to __fegetround and
18392         define as weak alias of __fegetround.  Use libm_hidden_weak.
18393         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
18394         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
18395         * sysdeps/arm/fegetround.c (fegetround): Likewise.
18396         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
18397         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18398         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
18399         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
18400         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
18401         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18402         Undefine after rather than before function definition; use
18403         parentheses around function name in definition.
18404         (__fegetround): Also undefine macro after function definition.
18405         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
18406         __fegetround and define as weak alias of __fegetround.  Use
18407         libm_hidden_weak.  Do not undefine as macro.
18408         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18409         Likewise.
18410         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
18411         __fegetround and define as weak alias of __fegetround.  Use
18412         libm_hidden_weak.
18413         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18414         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18415         * sysdeps/tile/math_private.h (__fegetround): New inline function.
18416         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
18417         __fegetround and define as weak alias of __fegetround.  Use
18418         libm_hidden_weak.
18419         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
18420         __fegetround instead of fegetround.
18422         [BZ #17782]
18423         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
18424         Condition macro definition on [__USE_MISC].
18426         [BZ #17781]
18427         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
18428         (struct sigaction): Change type of sa_flags field to int.
18430         [BZ #17780]
18431         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
18432         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
18433         __glibc_reserved0.
18435         * nptl/version.c (banner): Use single year in copyright notice.
18437         * NEWS: Update copyright dates.
18438         * catgets/gencat.c (print_version): Likewise.
18439         * csu/version.c (banner): Likewise.
18440         * debug/catchsegv.sh: Likewise.
18441         * debug/pcprofiledump.c (print_version): Likewise.
18442         * debug/xtrace.sh (do_version): Likewise.
18443         * elf/ldconfig.c (print_version): Likewise.
18444         * elf/ldd.bash.in: Likewise.
18445         * elf/pldd.c (print_version): Likewise.
18446         * elf/sotruss.sh: Likewise.
18447         * elf/sprof.c (print_version): Likewise.
18448         * iconv/iconv_prog.c (print_version): Likewise.
18449         * iconv/iconvconfig.c (print_version): Likewise.
18450         * locale/programs/locale.c (print_version): Likewise.
18451         * locale/programs/localedef.c (print_version): Likewise.
18452         * login/programs/pt_chown.c (print_version): Likewise.
18453         * malloc/memusage.sh (do_version): Likewise.
18454         * malloc/memusagestat.c (print_version): Likewise.
18455         * malloc/mtrace.pl: Likewise.
18456         * manual/libc.texinfo: Likewise.
18457         * nptl/version.c (banner): Likewise.
18458         * nscd/nscd.c (print_version): Likewise.
18459         * nss/getent.c (print_version): Likewise.
18460         * nss/makedb.c (print_version): Likewise.
18461         * posix/getconf.c (main): Likewise.
18462         * scripts/test-installation.pl: Likewise.
18463         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18465 2015-01-02  Will Newton  <will.newton@linaro.org>
18467         * sysdeps/arm/armv7/configure: Removed.
18468         * sysdeps/arm/armv7/configure.ac: Likewise.
18470 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
18472         * All files with FSF copyright notices: Update copyright dates
18473         using scripts/update-copyrights.
18474         * intl/plural.c: Regenerated.
18475         * locale/programs/charmap-kw.h: Likewise.
18476         * locale/programs/locfile-kw.h: Likewise.
18478 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18480         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
18482 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
18484         [BZ #17748]
18485         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
18486         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
18487         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18488         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
18489         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18490         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
18491         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18492         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
18493         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18494         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18495         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18496         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18497         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18498         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18499         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
18500         libm_hidden_def.
18501         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
18502         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
18503         Likewise.
18504         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18505         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18506         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18507         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18508         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
18509         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18510         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
18511         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
18512         __fegetenv instead of fegetenv.
18513         (libc_feholdsetround_noex_ctx): Likewise.
18515 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
18517         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
18518         (Elf_MIPS_ABIFlags_v0): New structure.
18519         (EF_MIPS_FP64): Define.
18520         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
18521         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
18522         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
18523         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
18524         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
18525         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
18526         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
18527         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
18528         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
18529         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
18530         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
18531         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
18532         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
18533         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
18534         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
18535         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
18536         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
18537         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
18538         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
18539         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
18540         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
18541         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
18542         field.
18543         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
18544         EF_MIPS_FP64.
18545         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
18546         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
18547         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
18548         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
18549         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
18550         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
18551         * sysdeps/mips/tst-abi-interlink.c: Likewise.
18552         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
18553         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
18554         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
18555         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
18556         record the current FP ABI extension.
18557         (mips-mode-switch): Define to show if kernel headers support mode
18558         switching.
18559         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18560         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
18561         supported SYSV ABI version to 3.
18562         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
18563         feature.
18565 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18566             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18568         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
18569         path.
18570         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
18572 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
18574         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
18575         __fegetround and redefine to call __fegetround.  Remove condition
18576         on [!__NO_MATH_INLINES].
18577         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
18578         function.
18579         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
18580         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18581         Remove macro.
18582         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
18583         instead of <fenv_libc.h>.
18584         (__llrintl): Call fegetround instead of __fegetround.
18585         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
18586         instead of <fenv_libc.h>.
18587         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18588         (__lrintl): Call fegetround instead of __fegetround.
18589         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
18590         instead of <fenv_libc.h>.
18591         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18592         (__rintl): Call fegetround instead of __fegetround.
18594 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18596         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
18597         arrays.
18599 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
18601         [BZ #17775]
18602         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
18603         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
18604         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
18606 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18608         * sysdeps/i386/tls-macros.h: Include <features.h>.
18609         (TLS_LE): Use non-PIC version for GCC >= 5.0.
18610         (TLS_IE): Likewise.
18611         (TLS_LD): Likewise.
18612         (TLS_GD): Likewise.
18613         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
18614         define for GCC >= 5.0.
18616 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
18618         * math/test-fenv.c (test_single_exception, set_single_exc,
18619         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
18620         feexcp_mask_test, feenable_test, fe_single_test): Add
18621         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
18622         case where they are not used.
18623         * math/libm-test.inc: Likewise.
18624         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
18625         unused in the absence of FP rounding/exception support.
18626         * stdio-common/tst-printf-round.c: Likewise.
18627         * stdlib/tst-strtod-round.c: Likewise.
18628         * stdlib/tst-strtod-underflow.c: Likewise.
18630 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
18632         [BZ #17723]
18633         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
18634         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
18635         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18636         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18637         libm_hidden_weak.
18638         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
18639         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18640         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
18641         libm_hidden_def.
18642         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18643         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18644         libm_hidden_weak.
18645         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
18646         Likewise.
18647         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
18648         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18649         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18650         libm_hidden_weak.
18651         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18652         libm_hidden_def.
18653         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18654         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
18655         (__feraiseexcept): Likewise.
18656         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18657         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18658         libm_hidden_weak.
18659         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18660         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18661         libm_hidden_def.
18662         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
18663         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
18664         Use libm_hidden_def.
18665         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
18666         libm_hidden_def.
18667         (feraiseexcept): Define as weak not strong alias.  Use
18668         libm_hidden_weak.
18669         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
18670         New inline function.  Factored out of ...
18671         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
18672         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
18673         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
18674         feraiseexcept.
18675         * math/w_acos.c (__acos): Likewise.
18676         * math/w_asin.c (__asin): Likewise.
18677         * math/w_ilogb.c (__ilogb): Likewise.
18678         * math/w_j0.c (y0): Likewise.
18679         * math/w_j1.c (y1): Likewise.
18680         * math/w_jn.c (yn): Likewise.
18681         * math/w_log.c (__log): Likewise.
18682         * math/w_log10.c (__log10): Likewise.
18683         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
18684         * sysdeps/aarch64/fpu/math_private.h
18685         (libc_feupdateenv_test_aarch64): Likewise.
18686         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18687         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
18688         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
18689         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18690         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18691         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18692         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
18693         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18694         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18695         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18697 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
18699         [BZ #17732]
18700         * io/test-utime.c (main): Replace %ld with %jd and cast to
18701         intmax_t.
18702         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
18703         * nptl/tst-mutex5.c: Include <stdint.h>.
18704         (do_test): Replace %ld with %jd and cast to intmax_t.
18705         * posix/tst-regex.c (run_test): Likewise.
18706         (run_test_backwards): Likewise.
18707         * rt/tst-clock.c: Include <stdint.h>.
18708         (clock_test): Replace %ld with %jd and cast to intmax_t.
18709         * rt/tst-cpuclock1.c: Include <stdint.h>.
18710         (do_test): Replace %lu with %ju and cast to uintmax_t.
18711         * rt/tst-cpuclock2.c: Include <stdint.h>.
18712         (do_test): Replace %lu with %ju and cast to uintmax_t.
18713         * rt/tst-mqueue1.c: Include <stdint.h>.
18714         (check_attrs): Replace %ld with %jd and cast to intmax_t.
18715         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
18716         intmax_t.
18717         * rt/tst-mqueue4.c (do_test): Likewise.
18718         * rt/tst-timer4.c: Include <stdint.h>.
18719         (check_ts): Replace %ld with %jd and cast to intmax_t.
18720         (do_test): Likewise.
18721         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
18722         and cast to intmax_t.
18723         * sysdeps/pthread/tst-timer.c (main): Likewise.
18724         * time/clocktest.c (main): Likewise.
18725         * time/tst-posixtz.c (do_test): Likewise.
18726         * timezone/tst-timezone.c (main): Likewise.
18728 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18729             H.J. Lu  <hongjiu.lu@intel.com>
18731         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
18732         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
18733         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
18734         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
18735         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
18736         version if bit_Fast_Unaligned_Load is set.
18737         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18738         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18739         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18740         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18741         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18742         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18743         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18744         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
18745         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
18746         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
18747         to 4.
18748         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
18749         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
18750         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
18751         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
18753 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
18755         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
18756         instead of #if to avoid a Wundef warning.
18757         * stdlib/tst-limits.c (do_test): Likewise.
18759         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
18760         parallel other exception macros.
18761         (fegetenv): Convert from macro to extern inline so that it applies
18762         retroactively to inline functions already seen by the compiler.
18763         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
18765         * posix/Makefile (before-compile): Use $(objpfx) for
18766         posix-conf-vars-def.h.
18768 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18770         * posix/getconf.c (main): Use size_t for type of I.
18771         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
18772         NSPEC.
18774         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
18775         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
18776         * posix/posix-envs.def: Likewise.
18777         * sysdeps/posix/sysconf.c: Likewise.
18778         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
18779         (specs): Remove array.
18780         * scripts/gen-posix-conf-vars.awk: Support generation of specs
18781         array.
18783         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
18784         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
18785         (__sysconf): Use CONF_IS_* macros.
18787         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
18788         ($(objpfx)posix-conf-vars-def.h): New target.
18789         * posix/posix-conf-vars.list: New file.
18790         * posix/posix-conf-vars.h: New file.
18791         * posix/confstr.c: Include posix-conf-vars.h.
18792         (confstr): Use CONF_IS_* macros.
18793         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
18794         CONF_IS_* macros.
18795         * scripts/gen-posix-conf-vars.awk: New file.
18797 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
18799         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
18800         fegetround): Add no-op macros to avoid linknamespace issues.
18802         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
18803         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
18805         * sysdeps/unix/sysv/linux/tile/sysdep.h
18806         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
18807         assembly-specific section to avoid a redefinition warning.
18809         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
18810         long before casting to pointer to avoid a cast warning.
18812 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
18814         * sysdeps/tile/tilegx/Implies: New file.
18816 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
18818         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
18820 2014-12-23  Florian Weimer  <fweimer@redhat.com>
18822         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
18824 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18826         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
18827         not define.
18828         * sysdeps/unix/sysv/linux/utimes.c: Do not include
18829         <kernel-features.h>.
18830         (__utimes) [__NR_utimes]: Make code unconditional.
18831         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
18832         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18833         (__ASSUME_UTIMES): Do not undefine.
18834         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18835         (__ASSUME_UTIMES): Likewise.
18836         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18837         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
18838         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
18839         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
18841 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
18843         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
18845 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
18847         [BZ #17747]
18848         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
18849         alias to weak alias for j0l, y0l.
18850         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
18851         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
18853         [BZ #17746]
18854         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
18855         conversion.
18857 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
18859         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
18860         to zero if not already defined.
18862 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18864         [BZ #17724]
18865         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
18866         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
18867         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
18868         (char *) casts added.
18869         * sysdeps/ieee754/k_standardf.c: New file.
18870         * sysdeps/ieee754/k_standardl.c: Likewise.
18871         * math/Makefile (libm-support): Remove k_standard.
18872         (libm-calls): Add k_standard.
18874 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18876         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18877         Optimize to avoid an unnecessary FPCR read.
18879 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18881         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18882         Optimize to reduce FPCR/FPSR accesses.
18884 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18886         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
18887         Call libc_fetestexcept_aarch64.
18889 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18891         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
18892         Call libc_fesetround_aarch64.
18894 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18896         [BZ #17733]
18897         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
18898         (__bind): Do not define as weak alias.
18899         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
18900         define.
18901         (__getsockname): Do not define as weak alias.
18903 2014-12-22  Will Newton  <will.newton@linaro.org>
18905         * manual/install.texi: Document that we require bison 2.7
18906         or above.
18907         * INSTALL: Regenerate.
18908         * configure.ac: Use AC_CHECK_PROG_VER instead of
18909         AC_PATH_PROG when checking for bison and check for
18910         version 2.7 or above.
18911         * configure: Regenerate.
18913 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
18915         [BZ #17745]
18916         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
18917         * sysdeps/tile/ffsll.c (ffsll): To here.
18919         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
18921 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
18923         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
18924         if not defined.
18925         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
18926         definition.
18927         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18928         hidden ___tls_get_addr.
18929         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18930         hidden __tls_get_addr.
18931         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
18932         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
18933         Likewise.
18935 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
18937         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
18938         _dl_init call.
18940 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
18942         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
18943         from "call _dl_init@PLT".
18944         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
18946 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
18948         * manual/search.texi: (Array Sort Function): Clarify stable sorting
18949         guarantees.
18951 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
18953         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
18955 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
18957         [BZ #17744]
18958         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
18959         strnlen.
18961 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
18963         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
18964         of multu on MIPSr6.
18965         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
18966         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
18967         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
18968         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
18969         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
18971 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
18973         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
18974         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
18975         (PTR_SUBU): Use subu for mips32r6/mips64r6.
18976         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
18977         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
18978         mips32r6/mips64r6.
18979         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
18981 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
18983         * string/strncat.c (STRNCAT): Simplify implementation.
18985 2014-12-19  David S. Miller  <davem@davemloft.net>
18987         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
18988         access the quad as both a long double and as a series of 4 words.
18990         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
18991         link_map->l_info array access.
18993 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
18995         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
18997         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
18998         * math/atest-exp2.c (TIMEOUT): Likewise.
18999         * math/atest-sincos.c (TIMEOUT): Likewise.
19001 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19003         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
19004         -Wno-error with -fno-builtin-lround.
19006 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19008         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
19009         Contains futex constants and functions moved over from ...
19010         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
19011         <lowlevellock-futex.h>.
19012         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
19013         (lll_timedwait_tid): Add comments and parentheses around macro
19014         arguments.
19016 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19018         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
19019         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
19020         (__lll_private_flag): Remove.
19021         (lll_futex_wait): Likewise.
19022         (lll_futex_timed_wait): Likewise.
19023         (lll_futex_wake): Likewise.
19024         (lll_futex_requeue): Likewise.
19025         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
19026         (__lll_timedwait_tid): Spell out argument names.
19027         (lll_timedwait_tid): Add comments and parentheses around macro
19028         arguments.
19029         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
19030         LLL_SHARED and LLL_PRIVATE usable from assembly code.
19032 2014-12-19  Torvald Riegel  <triegel@redhat.com>
19034         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
19035         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
19036         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
19037         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
19038         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
19039         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
19040         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
19041         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
19042         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
19043         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
19044         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
19045         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
19046         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
19047         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
19048         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
19049         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
19050         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
19051         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
19052         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
19054 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19056         * sysdeps/x86_64/x32/Makefile: New file.
19058 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
19060         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
19061         1L with (mp_limb_t) 1.
19063 2014-12-17  Roland McGrath  <roland@hack.frob.com>
19065         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
19066         * nptl/libc_pthread_init.c: ... here.
19067         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
19068         * nptl/register-atfork.c: ... here.
19070         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
19071         Use pthread_sigmask rather than INTERNAL_SYSCALL.
19072         Use assert_perror to check its return value.
19073         (__gai_create_helper_thread): Likewise.
19075         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
19077         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
19079 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
19081         [BZ #17725]
19082         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
19083         __profil_counter.
19084         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
19085         Likewise.
19086         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
19087         Likewise.
19088         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
19089         Likewise.
19090         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
19091         (profil_counter): Likewise.
19092         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
19093         (profil_counter): Likewise.
19094         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
19095         Likewise.
19096         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
19097         Likewise.
19098         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
19099         (profil_counter): Likewise.
19100         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
19101         Likewise.
19102         [!__profil_counter] (profil_counter): Define as weak alias of
19103         __profil_counter.
19104         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
19105         (profil_counter): Rename to __profil_counter.
19106         [!__profil_counter] (profil_counter): Define as weak alias of
19107         __profil_counter.
19108         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
19109         (profil_counter): Rename to __profil_counter.
19110         [!__profil_counter] (profil_counter): Define as weak alias of
19111         __profil_counter.
19112         * sysdeps/posix/profil.c: Update comment referring to
19113         profil_counter.
19114         (__profil): Use __profil_counter instead of profil_counter.
19115         * sysdeps/posix/sprofil.c (profil_counter): Rename to
19116         __profil_counter.  Use __profil_counter_ushort and
19117         __profil_counter_uint in definitions.
19118         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
19119         instead of profil_counter_uint and profil_counter_ushort.
19121         [BZ #17722]
19122         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
19123         define as weak alias of __inet_makeaddr.
19124         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
19125         as weak alias of __inet_addr.
19126         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
19127         as weak alias of __inet_pton.  Use libc_hidden_weak.
19128         * include/arpa/inet.h (__inet_pton): Declare.  Use
19129         libc_hidden_proto.
19130         (inet_makeaddr): Don't use libc_hidden_proto.
19131         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
19132         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
19133         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
19134         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
19135         Remove variable.
19136         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19137         (test-xfail-POSIX/time.h/linknamespace): Likewise.
19139 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
19141         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
19143 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19145         * stdio-common/bug-vfprintf-nargs.c (do_test):
19146         Cast value to intptr_t to avoid format warning
19147         for usage with PRIdPTR printing macro.
19149 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19151         * libio/tst-widetext.c (do_test):
19152         Use format type %td instead of %Zd for ptrdiff_t
19153         in order to avoid format warning.
19155 2014-12-17  Andreas Schwab  <schwab@suse.de>
19157         * nscd/mem.c (gc): Add size_t cast to match printf format.
19159 2014-12-16  Roland McGrath  <roland@hack.frob.com>
19161         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
19162         (init): Apply PTR_MANGLE to pointers before storing them.
19163         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
19164         before using them.
19166 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
19168         [BZ #17719]
19169         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
19170         define as weak alias of __memrchr.
19171         (__memrchr): Do not define as strong alias of memrchr.
19172         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
19173         Remove variable.
19174         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19175         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19176         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19178         [BZ #17717]
19179         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
19180         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
19181         (if_indextoname): Rename to __if_indextoname and define as weak
19182         alias of __if_indextoname.  Use libc_hidden_weak.
19183         (if_freenameindex): Rename to __if_freenameindex and define as
19184         weak alias of __if_freenameindex.
19185         (if_nameindex): Rename to __if_nameindex and define as weak alias
19186         of __if_nameindex.
19187         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
19188         __if_nametoindex and define as weak alias of __if_nametoindex.
19189         Use libc_hidden_weak.
19190         (if_freenameindex): Rename to __if_freenameindex and define as
19191         weak alias of __if_freenameindex.
19192         (if_nameindex): Rename to __if_nameindex and define as weak alias
19193         of __if_nameindex.
19194         (if_indextoname): Rename to __if_indextoname and define as weak
19195         alias of __if_indextoname.  Use libc_hidden_weak.
19196         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
19197         __if_nametoindex and define as weak alias of __if_nametoindex.
19198         Use libc_hidden_weak.
19199         (if_freenameindex): Rename to __if_freenameindex and define as
19200         weak alias of __if_freenameindex.  Use libc_hidden_weak.
19201         (if_nameindex_netlink): Use __if_freenameindex instead of
19202         if_freenameindex.
19203         (if_nameindex): Rename to __if_nameindex and define as weak alias
19204         of __if_nameindex.  Use libc_hidden_weak.
19205         (if_indextoname): Rename to __if_indextoname and define as weak
19206         alias of __if_indextoname.  Use libc_hidden_weak.
19207         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
19208         libc_hidden_proto.
19209         [!_ISOMAC] (__if_freenameindex): Likewise.
19210         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
19211         if_nametoindex.
19212         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
19213         variable.
19214         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19215         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19216         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19217         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19218         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19219         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19220         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19222         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
19223         Remove variable.
19224         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19225         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19227 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19229         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
19230         subscript above bounds'
19232         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
19233         bounds.
19235 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
19237         * libio/tst-fopenloc.c: Use test-skeleton.c.
19239         * stdlib/tst-bsearch.c: Use test-skeleton.c.
19240         (entry): Rename to ITEM.
19241         (do_test, comp): Adjust.
19243         * stdio-common/tst-fseek.c: Use test-skeleton.c.
19245 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19247         * string/tester.c: Include <libc-internal.h>.
19248         (test_memset): Ignore -Wmemset-transposed-args.
19250 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19252         * misc/tst-mntent2.c (do_test): Fix warning.
19254 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19256         * elf/tst-unique4lib.cc(a): Mark as used.
19258 2014-12-16  Florian Weimer  <fweimer@redhat.com>
19260         [BZ #17630]
19261         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
19262         names.
19264 2014-12-16  Allan McRae  <allan@archlinux.org>
19266         * stdio-common/Makefile (tests): Re-add bug26.
19268 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
19270         [BZ #17657]
19271         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
19272         static array.
19274 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
19276         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
19277         (__lll_lock_wait): Likewise.
19278         (__lll_timedlock_wait): Likewise.
19279         (__lll_timedwait_tid): Likewise.
19280         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
19281         (__lll_robust_timedlock_wait): Likewise.
19282         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
19283         (lll_cond_trylock): Likewise.
19284         (__lll_lock): Likewise.
19285         (__lll_robust_lock): Likewise.
19286         (__lll_cond_lock): Likewise.
19287         (lll_robust_cond_lock): Likewise.
19288         (__lll_timedlock): Likewise.
19289         (__lll_robust_timedlock): Likewise.
19290         (__lll_unlock): Likewise.
19291         (__lll_robust_unlock): Likewise.
19292         (lll_wait_tid): Likewise.
19293         (lll_timedwait_tid): Likewise.
19295 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19297         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
19299 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19301         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
19303 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
19305         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
19306         * stdio-common/tst-sprintf.c: Likewise.
19308 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19310         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
19312 2014-12-15  Jeff Law  <law@redhat.com>
19314         [BZ #16617]
19315         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
19316         on the heap.  (CVE-2012-3406)
19317         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
19318         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
19319         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
19321 2014-12-15  Will Newton  <will.newton@linaro.org>
19323         * manual/install.texi: Bump required version of texinfo
19324         to 4.7 from 4.5.
19325         * INSTALL: Regenerated.
19326         * configure.ac: Check for makeinfo version 4.7 and above.
19327         * configure: Regenerated.
19329 2014-12-12  Roland McGrath  <roland@hack.frob.com>
19331         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
19332         PREFIX, string constant to insert between directory and name.
19333         * sysdeps/posix/shm_open.c: Update caller.
19334         * sysdeps/posix/shm_unlink.c: Likewise.
19335         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
19336         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
19337         (SEM_SHM_PREFIX): New macro.
19338         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
19339         [$(have-thread-library) = no].
19340         * nptl/Makefile (libpthread-routines): Add shm-directory.
19341         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
19342         * sysdeps/nptl/shm-directory.h: New file.
19343         * sysdeps/posix/shm-directory.c
19344         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
19345         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
19346         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
19347         INTERNAL_SYSCALL.
19348         (__where_is_shmfs): Function removed.
19349         (mountpoint, defaultmount, defaultdir, __namedsem_once):
19350         Variables removed.
19351         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
19352         Use SHM_GET_NAME.
19353         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
19355         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
19356         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
19357         unconditional for use inside libpthread.
19358         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
19360 2014-12-12  Roland McGrath  <roland@hack.frob.com>
19362         * nptl/pthread_getaffinity.c: New file.
19363         * nptl/pthread_setaffinity.c: New file.
19364         * nptl/pthread_getname.c: New file.
19365         * nptl/pthread_setname.c: New file.
19367         * nptl/pthread_create.c (START_THREAD_DEFN)
19368         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
19370 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19371             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19373         * resolv/res_send.c (send_vc): Disable warning resplen may
19374         be used uninitialized.
19376 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19378         * nptl/tst-mutex6.c
19379         (ATTR_NULL): New define checks ATTR against NULL.
19380         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
19381         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
19383 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
19385         [BZ #17581]
19386         * malloc/hooks.c
19387         (mem2mem_check): Revert my previous change.
19388         (malloc_check_get_size): Revert my previous change.
19389         (mem2chunk_check): Revert my previous change.
19391 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19393         * sysdeps/posix/shm-directory.c: New file.
19394         * sysdeps/posix/shm-directory.h: New file.
19395         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
19396         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
19397         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
19398         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
19399         Transmute EPERM to EACCES.
19400         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
19401         from ...
19402         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
19403         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
19405 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19407         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
19408         pointer and cast to uintptr_t.
19409         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
19410         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
19411         Add cast to avoid warning.
19412         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
19414 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
19416         * nptl/semaphore.h: Move to ...
19417         * sysdeps/pthread/semaphore.h: ... here.
19418         * Makefile (installed-headers): Change nptl/semaphore.h to
19419         sysdeps/pthread/semaphore.h.
19421 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19423         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
19424         generated error format strings.
19426         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
19427         -Wformat-extra-args warnings for scanf formats.
19428         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
19429         test of zero-length format (duh).
19430         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
19431         corner-case scanf format test.
19432         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
19433         generated fprintf format string.
19434         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
19435         corner-case sprintf format tests.
19436         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
19437         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
19438         -Wformat-extra-args warnings throughout.
19439         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
19440         (CFLAGS-scanf4.c): Likewise.
19441         (CFLAGS-scanf7.c): Likewise.
19442         (CFLAGS-tst-sprintf.c): Likewise.
19443         (CFLAGS-tst-printf.c): Likewise.
19444         (CFLAGS-tst-printfsz.c): Likewise.
19446 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
19448         * include/cpio.h: New file.
19449         * include/fmtmsg.h: Likewise.
19451         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
19452         corresponding format argument to size_t.
19453         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
19454         arguments.
19455         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
19456         corresponding format argument to size_t.
19457         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
19458         arguments.
19459         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
19460         corresponding format argument to size_t.
19461         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
19462         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
19463         (CFLAGS-tst-mbswcs2.c): Likewise.
19464         (CFLAGS-tst-mbswcs3.c): Likewise.
19465         (CFLAGS-tst-mbswcs4.c): Likewise.
19466         (CFLAGS-tst-mbswcs5.c): Likewise.
19467         (CFLAGS-tst-trans.c): Likewise.
19469 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19471         * posix/regexbug1.c (main): Use "%s" format with regerror results,
19472         rather than assuming they won't contain any '%'s.
19474 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
19476         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
19477         inhibit_loop_to_libcall to avoid recursive calls.
19478         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
19479         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
19481 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
19483         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
19484         prototype.
19486 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
19488         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
19489         integer value instead of boolean.
19491 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
19493         * malloc/malloc.c: Fix powerof2 check.
19495 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19497         * locale/programs/locfile.h (maybe_swap_uint32):
19498         Remove inline and add unused attribute.
19500 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19502         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19503         Truncating assembler expression to a .long expression.
19505 2014-12-11  Andreas Schwab  <schwab@suse.de>
19507         * elf/rtld.c (struct map_args): Constify str member.
19508         (do_preload): Constify fname argument.
19510 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19512         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
19513         constants definition.
19515 2014-12-11  Andreas Schwab  <schwab@suse.de>
19517         [BZ #16657]
19518         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
19519         FORCE_ELISION instead of DO_ELISION.
19520         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
19521         Remove.
19522         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
19523         Likewise.
19525         * iconvdata/gconv-modules: Remove duplicate entry.
19527 2014-12-11  Will Newton  <will.newton@linaro.org>
19529         Merge gettext 0.19.3 into intl/.
19531         This involves a number of cosmetic changes to comments
19532         and ANSI function definitions and prototypes throughout
19533         all the files. The gettext copyright header is used but
19534         with the date ranges taken from the glibc copy.
19536         * NEWS: Add gettext merge to 2.21.
19537         * intl/bindtextdom.c: Switch to gettext copyright.
19538         Use ANSI definitions and prototypes.
19539         Use gl_* locking primitives rather than __libc_* ones.
19540         Use __builtin_expect rather than __glibc_likely/unlikely.
19541         * intl/dcgettext.c: Switch to gettext copyright.
19542         Use ANSI definitions and prototypes.
19543         * intl/dcigettext.c: Switch to gettext copyright.
19544         Use ANSI definitions and prototypes.
19545         (INTDIV0_RAISES_SIGFPE): New define.
19546         Use gl_* locking primitives rather than __libc_* ones.
19547         Include eval-plural.h instead of plural-eval.c.
19548         Use __builtin_expect rather than __glibc_likely/unlikely.
19549         * intl/dcngettext.c: Switch to gettext copyright.
19550         Use ANSI definitions and prototypes.
19551         * intl/dgettext.c: Likewise.
19552         * intl/dngettext.c: Likewise.
19553         * intl/plural-eval.c: Renamed to...
19554         * intl/eval-plural.h: ...this.
19555         * intl/explodename.c: Switch to gettext copyright.
19556         Use ANSI definitions and prototypes.
19557         (_nl_explode_name): Use strchr instead of __rawmemchr.
19558         * intl/finddomain.c: Switch to gettext copyright.
19559         Use ANSI definitions and prototypes.
19560         Use gl_* locking primitives rather than __libc_* ones.
19561         (_nl_find_domain): Use malloc rather than alloca for
19562         allocation of temporary locale name.
19563         * intl/gettext.c: Switch to gettext copyright.
19564         Use ANSI definitions and prototypes.
19565         * intl/gettextP.h: Switch to gettext copyright.
19566         Use ANSI definitions and prototypes.
19567         Use gl_* locking primitives rather than __libc_* ones.
19568         * intl/gmo.h: Switch to gettext copyright.
19569         (struct sysdep_string): Move struct segment_pair outside of
19570         struct definition.
19571         * intl/hash-string.c: Use ANSI definitions and prototypes.
19572         * intl/hash-string.h: Switch to gettext copyright.
19573         Use ANSI definitions and prototypes.
19574         * intl/l10nflist.c: Switch to gettext copyright.
19575         Use ANSI definitions and prototypes.
19576         (_nl_normalize_codeset): Avoid integer overflow.
19577         * intl/loadinfo.h: Switch to gettext copyright.
19578         Use ANSI definitions and prototypes.
19579         (LIBINTL_DLL_EXPORTED): New define.
19580         (PATH_SEPARATOR): New define.
19581         * intl/loadmsgcat.c: Switch to gettext copyright.
19582         * intl/localealias.c: Switch to gettext copyright.
19583         Use ANSI definitions and prototypes.
19584         (_nl_expand_alias): Use PATH_SEPARATOR.
19585         * intl/ngettext.c: Switch to gettext copyright.
19586         Use ANSI definitions and prototypes.
19587         * intl/plural-exp.c: Likewise.
19588         * intl/plural-exp.h: Switch to gettext copyright.
19589         Use ANSI definitions and prototypes.
19590         (struct expression): Move definition of enum operator outside
19591         of struct definition.
19592         * intl/plural.c: Regenerate.
19593         * intl/plural.y: Switch to gettext copyright.
19594         Use ANSI definitions and prototypes.
19595         Port to bison 3.0.
19596         * intl/textdomain.c: Switch to gettext copyright.
19597         Use ANSI definitions and prototypes.
19598         Use gl_* locking primitives rather than __libc_* ones.
19600 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
19602         * debug/warning-nop.c: Add used atrribute.
19604 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19606         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
19608         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
19609         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
19610         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
19612 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19613             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19615         [BZ #17634]
19616         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
19617         Undefine after defining function.  Define as weak alias of
19618         __wcschr.  Use libc_hidden_weak.
19619         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
19620         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
19621         (libc_hidden_def): Also define __GI___wcschr alias.
19622         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
19623         __wcschr and define as weak alias of __wcschr.
19624         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
19625         __wcschr.
19626         [!WCSCHR] (DEFAULT_WCSCHR): Define.
19627         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
19628         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
19629         libc_hidden_weak.  Do not use libc_hidden_def.
19630         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
19631         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
19632         __GI___wcschr alias.
19633         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
19634         [IS_IN (libc)] (wcschr): Define as macro expanding to
19635         __redirect_wcschr.
19636         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
19637         [IS_IN (libc)] (__wcschr_power6): Likewise.
19638         [IS_IN (libc)] (__wcschr_power7): Likewise.
19639         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
19640         instead of wcschr.
19641         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
19642         __libc_wcschr.
19643         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
19644         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
19645         __wcschr and define as weak alias of __wcschr.  Use
19646         libc_hidden_builtin_def.
19647         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
19648         as weak alias of __wcschr.  Use libc_hidden_weak.
19649         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
19650         wcschr.
19651         * time/era.c (_nl_init_era_entries): Likewise.
19652         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
19653         variable.
19654         (test-xfail-XPG3/time.h/linknamespace): Likewise.
19655         (test-xfail-XPG4/time.h/linknamespace): Likewise.
19657 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19659         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
19660         format for long int variable.
19662 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
19664         [BZ #10672]
19665         * manual/search.texi: (Array Sort Function): Remove claim how to make
19666         qsort stable.
19668 2014-12-10  Andreas Schwab  <schwab@suse.de>
19670         [BZ #12847]
19671         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
19672         user-controlled locks.
19674 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
19676         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
19677         register.
19679 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19681         * configure.ac (--disable-werror): New configure option.
19682         (enable_werror): New AC_SUBST.
19683         * configure: Regenerated.
19684         * config.make.in (enable-werror): New variable.
19685         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
19686         -Wno-error=undef.
19687         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
19688         * manual/install.texi (Configuring and compiling): Document
19689         --disable-werror.
19690         * INSTALL: Regenerated.
19691         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
19692         (CFLAGS-tst-chk2.c): Likewise.
19693         (CFLAGS-tst-chk3.c): Likewise.
19694         (CFLAGS-tst-chk4.cc): Likewise.
19695         (CFLAGS-tst-chk5.cc): Likewise.
19696         (CFLAGS-tst-chk6.cc): Likewise.
19697         (CFLAGS-tst-lfschk1.c): Likewise.
19698         (CFLAGS-tst-lfschk2.c): Likewise.
19699         (CFLAGS-tst-lfschk3.c): Likewise.
19700         (CFLAGS-tst-lfschk4.cc): Likewise.
19701         (CFLAGS-tst-lfschk5.cc): Likewise.
19702         (CFLAGS-tst-lfschk6.cc): Likewise.
19704         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
19705         (main): Disable -Wdeprecated-declarations around calls to
19706         register_printf_function.
19708         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
19709         (do_test): Disable -Wdiv-by-zero around some calls to
19710         fwrite_unlocked and fread_unlocked.
19712         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
19713         (DIAG_POP_NEEDS_COMMENT): Likewise.
19714         (_DIAG_STR1): Likewise.
19715         (_DIAG_STR): Likewise.
19716         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
19717         * stdio-common/bug21.c: Include <libc-internal.h>.
19718         (do_test): Disable -Wformat around call to sscanf.
19719         * stdio-common/scanf14.c: Include <libc-internal.h>.
19720         (main): Disable -Wformat around some calls to scanf functions.
19722 2014-12-09  Torvald Riegel  <triegel@redhat.com>
19724         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
19726 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19728         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
19729         stack variable alignment.
19731 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
19733         [BZ #17682]
19734         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
19735         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
19736         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
19737         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
19738         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
19739         __getrlimit instead of getrlimit.
19740         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
19741         __gettimeofday instead of gettimeofday.
19742         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19743         Likewise.
19744         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19745         Likewise.
19746         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19747         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
19748         Remove variable.
19749         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19750         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19752 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19754         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
19755         for wide-character tests.
19757 2014-12-04  Roland McGrath  <roland@hack.frob.com>
19759         * io/openat64.c: #include <libc-internal.h>
19760         (__openat64): Prototypify.  Use ignore_value on MODE.
19761         * io/openat.c: Likewise.
19762         * misc/reboot.c: #include <libc-internal.h>
19763         (reboot): Prototypify.  Use ignore_value on HOWTO.
19764         * misc/ptrace.c: #include <libc-internal.h>
19765         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
19767 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
19769         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
19770         XPG4, UNIX98 and XOPEN2K.
19771         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
19772         Remove variable.
19773         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19775 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19777         * libio/fileops.c: Use ISO C style for function definitions.
19778         * libio/iofopen.c: Likewise.
19779         * libio/wfileops.c: Likewise.
19781         [BZ #17653]
19782         * libio/fileops.c (_IO_new_file_underflow): Unset cached
19783         offset on EOF.
19784         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19785         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
19786         (fgets_func): Function pointer to fgets and fgetws.
19787         (do_ftell_test): Add test to verify ftell value after read
19788         EOF.
19789         (do_test): Set fgets_func.
19791         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
19792         O_TRUNC flag for w and w+ modes.
19793         (do_rewind_test): Likewise.
19794         (do_ftell_test): Likewise.
19795         (do_write_test): Likewise.
19797         [BZ #17647]
19798         * libio/fileops.c (do_ftell): Seek only when there are
19799         unflushed writes.
19800         * libio/wfileops.c (do_ftell_wide): Likewise.
19801         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
19802         test case.
19803         (do_one_test): Call it.
19805 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
19807         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
19808         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
19809         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
19810         Remove variable.
19811         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19812         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19813         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19815 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
19817         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
19818         Remove variable.
19819         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19821         [BZ #17668]
19822         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
19823         as weak alias of __getifaddrs.  Use libc_hidden_weak.
19824         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19825         __freeifaddrs.  Use libc_hidden_weak.
19826         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
19827         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
19828         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19829         __freeifaddrs.  Use libc_hidden_weak.
19830         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
19831         __getifaddrs and define as weak alias of __getifaddrs.  Use
19832         libc_hidden_weak.
19833         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19834         __freeifaddrs.  Use libc_hidden_weak.
19835         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
19836         Remove variable.
19837         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19838         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19840 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
19842         [BZ #17601]
19843         * sysdeps/mips/start.S (__start): Use indirect jump to call
19844         __libc_start_main.
19846 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
19848         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
19850         * nptl/tst-mutex1.c: Include <stdbool.h>.
19851         [!ATTR] (ATTR_NULL): New macro.
19852         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
19853         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
19854         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
19856         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
19857         to char *.
19859         [BZ #17665]
19860         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
19861         Change conditional to [__USE_MISC].
19863         [BZ #17664]
19864         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
19865         fgets_unlocked.
19866         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
19867         __fgets_unlocked.
19868         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
19869         fgets_unlocked.
19870         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
19871         Remove variable.
19872         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19873         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19874         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19875         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19876         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19877         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19878         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19879         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19880         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19882         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
19884 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19886         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19887         Remove strpbrk objects.
19888         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19889         (__libc_ifunc_impl_list): Remove strpbrk implementation.
19890         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
19891         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
19892         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
19893         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
19895         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19896         Remove strcspn objects.
19897         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19898         (__libc_ifunc_impl_list): Remove strcspn implementation.
19899         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
19900         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
19901         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
19902         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
19904         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19905         Remove strspn objetcs.
19906         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19907         (__libc_ifunc_impl_list): Remove strspn implementation.
19908         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
19909         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19910         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
19911         * sysdeps/powerpc/powerpc64/strspn.S: New file.
19913 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
19915         [BZ #17581]
19916         * malloc/hooks.c
19917         (mem2mem_check): Add a terminator to the chain of checking blocks.
19918         (malloc_check_get_size): Use it here.
19919         (mem2chunk_check): Ditto.
19921 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19923         * sysdeps/powerpc/powerpc64/strtok.S: New file.
19924         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
19926 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
19928         * bits/ioctl-types.h: Indent preprocessor directives correctly.
19930         * nptl/nptl-init.c: Include libc-internal.h.
19931         (__pthread_initialize_minimal_internal): Use ROUND_UP.
19933         * elf/ldconfig.c (search_dir): Expand comment.
19935 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
19937         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
19938         variable.
19939         (linknamespace-symlist-stdlibs-tests): Likewise.
19940         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
19941         instead of $(objpfx)symlist-stdlibs.
19942         (linknamespace-libs-isoc): New variable.
19943         (linknamespace-libs): Use $(linknamespace-libs-isoc).
19944         (linknamespace-libs-ISO): New variable.
19945         (linknamespace-libs-ISO99): Likewise.
19946         (linknamespace-libs-ISO11): Likewise.
19947         (linknamespace-libs-XPG3): Likewise.
19948         (linknamespace-libs-XPG4): Likewise.
19949         (linknamespace-libs-POSIX): Likewise.
19950         (linknamespace-libs-UNIX98): Likewise.
19951         (linknamespace-libs-XOPEN2K): Likewise.
19952         (linknamespace-libs-POSIX2008): Likewise.
19953         (linknamespace-libs-XOPEN2K8): Likewise.
19954         ($(objpfx)symlist-stdlibs): Replace by
19955         $(linknamespace-symlist-stdlibs-tests).  Use
19956         $(linknamespace-libs-$*) as set of libraries.
19957         ($(linknamespace-header-tests)): Update dependencies.  Use
19958         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
19959         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
19960         * conform/linknamespace.pl: Remove comment about considering
19961         definitions of symbols from irrelevant libraries.
19963 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
19965         [BZ #13862]
19966         * elf/dl-tls.c: Include <atomic.h>.
19967         (oom): Remove #ifdef SHARED/#endif.
19968         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
19969         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
19970         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
19971         big enough.
19972         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
19973         * nptl/Makefile (tests): Add tst-stack4.
19974         (modules-names): Add tst-stack4mod.
19975         ($(objpfx)tst-stack4): New.
19976         (tst-stack4mod.sos): Likewise.
19977         ($(objpfx)tst-stack4.out): Likewise.
19978         ($(tst-stack4mod.sos)): Likewise.
19979         (clean): Likewise.
19980         * nptl/tst-stack4.c: New file.
19981         * nptl/tst-stack4mod.c: Likewise.
19983 2014-11-27  J. Brown  <jb999@gmx.de>
19985         * sysdeps/x86/bits/string.h: Add recent CPUs.
19987 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
19989         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
19990         sigblock.
19992         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
19993         feof.
19995         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
19996         variable.
19998 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
20000         * nscd/connections.c: Include libc-internal.h because of macro
20001         usage ignore_value.
20003 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20005         * string/bits/string3.h (__warn_memset_zero_len): Don't
20006         declare for gcc newer than 5.0.
20007         (memset): Don't test for zero-length __LEN for gcc newer than
20008         5.0.
20010 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
20012         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
20013         size_t for %zu format.
20015         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
20016         difference, not %ju.
20018 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
20020         * include/libc-internal.h (ignore_value): New macro.
20021         * nscd/connections.c (restart): Wrap calls to setuid and setgid
20022         with ignore_value.
20024         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
20025         definition.
20027         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
20028         pthread_cleanup_push to void *.
20030         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
20031         Undefine.
20033         [BZ #16619]
20034         [BZ #16740]
20035         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
20036         instead of 1L << 52.
20038         * libio/bug-rewind.c (do_test): Check fwscanf return values.
20039         * libio/bug-rewind2.c (do_test): Likewise.
20041         * debug/test-stpcpy_chk-ifunc.c: Remove file.
20042         * debug/test-strcpy_chk-ifunc.c: Likewise.
20043         * wcsmbs/test-wcschr-ifunc.c: Likewise.
20044         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
20045         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
20046         * wcsmbs/test-wcslen-ifunc.c: Likewise.
20047         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
20048         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
20049         * Rules [$(multi-arch) = no] (tests): Do not filter out
20050         $(tests-ifunc).
20051         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
20052         * debug/Makefile (tests-ifunc): Remove variable.
20053         (tests): Do not add $(tests-ifunc).
20054         * wcsmbs/Makefile (tests-ifunc): Remove variable.
20055         (tests): Do not add $(tests-ifunc).
20056         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
20057         [TEST_IFUNC]: Remove conditionals.
20058         * string/test-string.h (TEST_IFUNC): Remove macro.
20059         [TEST_IFUNC]: Remove conditionals.
20061         * string/test-strchr.c [!WIDE] (L): New macro.
20062         [WIDE] (L): Likewise.
20063         (check1): Use CHAR instead of char.  Use L on string and character
20064         constants.
20066 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
20068         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
20069         tests.
20070         * sysdeps/powerpc/bits/atomic.h
20071         (__arch_atomic_exchange_and_add_32_acq): Add definition.
20072         (__arch_atomic_exchange_and_add_32_rel): Likewise.
20073         (atomic_exchange_and_add_acq): Likewise.
20074         (atomic_exchange_and_add_rel): Likewise.
20075         * sysdeps/powerpc/powerpc32/bits/atomic.h
20076         (__arch_atomic_exchange_and_add_64_acq): Add definition.
20077         (__arch_atomic_exchange_and_add_64_rel): Likewise.
20078         * sysdeps/powerpc/powerpc64/bits/atomic.h
20079         (__arch_atomic_exchange_and_add_64_acq): Add definition.
20080         (__arch_atomic_exchange_and_add_64_rel): Likewise.
20082 2014-11-26  Torvald Riegel  <triegel@redhat.com>
20084         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
20085         Change synchronization of __sched_fifo_min_prio and
20086         __sched_fifo_max_prio.
20087         * nptl/pthread_mutexattr_getprioceiling.c
20088         (pthread_mutexattr_getprioceiling): Likewise.
20089         * nptl/pthread_mutexattr_setprioceiling.c
20090         (pthread_mutexattr_setprioceiling): Likewise.
20091         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
20092         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
20093         Likewise.
20095 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
20097         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
20098         void.
20100 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
20102         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
20103         third argument const.
20105 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
20107         fnmatch: work around GCC compiler warning bug with uninit var
20108         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
20109         This works around a bug with x86-64 GCC 4.9.2 and earlier
20110         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
20111         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
20112         used uninitialized in this function [-Wmaybe-uninitialized]".
20114 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
20116         * posix/bug-regex31.c (main): Return RES not 0.
20118 2014-11-25  Anton Blanchard <anton@samba.org>
20120         * sysdeps/powerpc/bits/atomic.h
20121         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
20123 2014-11-24  Sterling Augustine  <saugustine@google.com>
20125         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
20127 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
20129         [BZ #17608]
20130         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
20132 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
20134         [BZ #17633]
20135         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
20136         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
20137         variable.
20138         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20139         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20141 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
20143         * string/strncpy.c (strncpy): Improve performance by using memset.
20145 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
20147         * string/strcpy.c (strcpy):
20148         Improve performance by using strlen and memcpy.
20150 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
20152         * string/strcoll_l.c (get_next_seq): __always_inline.
20153         * string/strcoll_l.c (do_compare): __always_inline.
20155 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20157         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
20158         defined.
20159         * include/mqueue.h: Likewise.
20160         * include/stdlib.h: Likewise.
20162         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
20163         (get_null_defines): Adjust.
20164         * sunrpc/Makefile: Adjust comment.
20165         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
20166         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
20167         (CFLAGS-interp.c): Likewise.
20168         (CFLAGS-ldconfig.c): Likewise.
20169         (CPPFLAGS-.os): Likewise.
20170         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20171         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20172         * extra-modules.mk (extra-modules.mk): Likewise.
20173         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
20174         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
20175         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
20176         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
20177         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
20178         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
20179         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
20180         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
20181         * iconvdata/Makefile (CPPFLAGS): Likewise.
20182         (cpp-srcs-left): Add libof for all iconvdata routines.
20183         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
20184         * include/assert.h: Likewise.
20185         * include/ctype.h: Likewise.
20186         * include/errno.h: Likewise.
20187         * include/libc-symbols.h: Likewise.
20188         * include/math.h: Likewise.
20189         * include/netdb.h: Likewise.
20190         * include/resolv.h: Likewise.
20191         * include/stdio.h: Likewise.
20192         * include/stdlib.h: Likewise.
20193         * include/string.h: Likewise.
20194         * include/sys/stat.h: Likewise.
20195         * include/wctype.h: Likewise.
20196         * intl/l10nflist.c: Likewise.
20197         * libidn/idn-stub.c: Likewise.
20198         * libio/libioP.h: Likewise.
20199         * nptl/libc_multiple_threads.c: Likewise.
20200         * nptl/pthreadP.h: Likewise.
20201         * posix/regex_internal.h: Likewise.
20202         * resolv/res_hconf.c: Likewise.
20203         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
20204         * sysdeps/arm/memmove.S: Likewise.
20205         * sysdeps/arm/sysdep.h: Likewise.
20206         * sysdeps/generic/_itoa.h: Likewise.
20207         * sysdeps/generic/symbol-hacks.h: Likewise.
20208         * sysdeps/gnu/errlist.awk: Likewise.
20209         * sysdeps/gnu/errlist.c: Likewise.
20210         * sysdeps/i386/i586/memcpy.S: Likewise.
20211         * sysdeps/i386/i586/memset.S: Likewise.
20212         * sysdeps/i386/i686/memcpy.S: Likewise.
20213         * sysdeps/i386/i686/memmove.S: Likewise.
20214         * sysdeps/i386/i686/mempcpy.S: Likewise.
20215         * sysdeps/i386/i686/memset.S: Likewise.
20216         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20217         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20218         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
20219         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
20220         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20221         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20222         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
20223         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20224         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20225         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20226         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20227         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20228         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20229         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20230         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20231         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20232         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
20233         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
20234         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
20235         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20236         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20237         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20238         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20239         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20240         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20241         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20242         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
20243         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20244         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
20245         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20246         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20247         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20248         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20249         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20250         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20251         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20252         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20253         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20254         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20255         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20256         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20257         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20258         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20259         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20260         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20261         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20262         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
20263         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
20264         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20265         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20266         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20267         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
20268         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
20269         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20270         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20271         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
20272         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20273         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
20274         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
20275         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20276         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20277         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20278         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
20279         * sysdeps/nptl/bits/libc-lock.h: Likewise.
20280         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20281         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
20282         * sysdeps/posix/closedir.c: Likewise.
20283         * sysdeps/posix/opendir.c: Likewise.
20284         * sysdeps/posix/readdir.c: Likewise.
20285         * sysdeps/posix/rewinddir.c: Likewise.
20286         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
20287         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
20288         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20289         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20290         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20291         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
20292         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
20293         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
20294         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
20295         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
20296         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
20297         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
20298         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
20299         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
20300         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
20301         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
20302         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
20303         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
20304         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
20305         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
20306         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
20307         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
20308         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
20309         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
20310         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
20311         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
20312         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
20313         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
20314         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
20315         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
20316         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
20317         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
20318         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
20319         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
20320         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
20321         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
20322         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20323         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20324         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
20325         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
20326         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
20327         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
20328         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
20329         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
20330         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20331         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
20332         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
20333         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
20334         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
20335         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
20336         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
20337         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
20338         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20339         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
20340         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
20341         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
20342         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
20343         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
20344         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
20345         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
20346         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
20347         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
20348         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20349         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
20350         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
20351         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
20352         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
20353         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
20354         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
20355         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
20356         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
20357         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
20358         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
20359         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
20360         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
20361         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
20362         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
20363         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
20364         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
20365         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
20366         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
20367         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20368         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
20369         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
20370         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20371         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
20372         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
20373         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20374         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20375         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20376         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
20377         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
20378         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
20379         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20380         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20381         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
20382         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20383         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20384         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
20385         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
20386         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20387         * sysdeps/unix/alpha/sysdep.S: Likewise.
20388         * sysdeps/unix/alpha/sysdep.h: Likewise.
20389         * sysdeps/unix/make-syscalls.sh: Likewise.
20390         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20391         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20392         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20393         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
20394         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20395         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
20396         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
20397         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20398         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20399         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
20400         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20401         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20402         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20403         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20404         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20405         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20406         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20407         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20408         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20409         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20410         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20411         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20412         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20413         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20414         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20415         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20416         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20419         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
20420         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20421         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20422         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20423         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20424         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
20425         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20426         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20427         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20428         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
20429         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
20430         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20431         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20432         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20433         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20434         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20435         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20436         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20437         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20438         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20439         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20440         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20441         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20442         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20443         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20444         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
20445         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20446         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20447         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20448         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
20449         * sysdeps/x86_64/memcpy.S: Likewise.
20450         * sysdeps/x86_64/memmove.c: Likewise.
20451         * sysdeps/x86_64/memset.S: Likewise.
20452         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
20453         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20454         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20455         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
20456         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20457         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20458         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20459         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20460         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20461         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20462         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20463         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20464         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
20465         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20466         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20467         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
20468         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20469         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20470         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20471         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20472         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
20473         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20474         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20475         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20476         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20477         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20478         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20479         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
20480         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20481         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20482         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
20483         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20484         * sysdeps/x86_64/strcmp.S: Likewise.
20486         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
20488         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
20489         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
20490         * elf/rtld-Rules: Likewise.
20491         * elf/setup-vdso.h: Likewise.
20492         * include/assert.h: Likewise.
20493         * include/bits/stdlib-float.h: Likewise.
20494         * include/errno.h: Likewise.
20495         * include/sys/stat.h: Likewise.
20496         * include/unistd.h: Likewise.
20497         * sysdeps/aarch64/setjmp.S: Likewise.
20498         * sysdeps/alpha/setjmp.S: Likewise.
20499         * sysdeps/arm/__longjmp.S: Likewise.
20500         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
20501         * sysdeps/arm/setjmp.S: Likewise.
20502         * sysdeps/arm/sysdep.h: Likewise.
20503         * sysdeps/generic/_itoa.h: Likewise.
20504         * sysdeps/generic/dl-sysdep.h: Likewise.
20505         * sysdeps/generic/ldsodefs.h: Likewise.
20506         * sysdeps/i386/dl-tls.h: Likewise.
20507         * sysdeps/i386/setjmp.S: Likewise.
20508         * sysdeps/m68k/setjmp.c: Likewise.
20509         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
20510         * sysdeps/mach/hurd/opendir.c: Likewise.
20511         * sysdeps/posix/getcwd.c: Likewise.
20512         * sysdeps/posix/opendir.c: Likewise.
20513         * sysdeps/posix/profil.c: Likewise.
20514         * sysdeps/powerpc/dl-procinfo.h: Likewise.
20515         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20516         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20517         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20518         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20519         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
20520         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20521         * sysdeps/s390/dl-tls.h: Likewise.
20522         * sysdeps/s390/s390-32/setjmp.S: Likewise.
20523         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20524         * sysdeps/sh/sh3/setjmp.S: Likewise.
20525         * sysdeps/sh/sh4/setjmp.S: Likewise.
20526         * sysdeps/unix/alpha/sysdep.h: Likewise.
20527         * sysdeps/unix/arm/sysdep.S: Likewise.
20528         * sysdeps/unix/i386/sysdep.S: Likewise.
20529         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20530         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
20531         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20532         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20533         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20534         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20535         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20536         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20537         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20538         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20539         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20540         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20541         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20544         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20545         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20546         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20547         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20548         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20549         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20550         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20551         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20552         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20553         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20554         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20555         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20556         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20557         * sysdeps/x86_64/setjmp.S: Likewise.
20559         * include/math.h: Use IS_IN instead of IS_IN_libm.
20560         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
20561         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20562         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
20563         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
20564         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20565         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
20566         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
20567         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20568         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20569         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
20570         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
20571         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
20572         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
20573         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
20574         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
20575         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
20576         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
20577         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
20578         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
20579         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
20580         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
20581         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
20582         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
20583         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
20584         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
20585         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
20586         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
20587         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
20588         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
20589         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
20590         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
20591         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20592         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20594         Likewise.
20595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
20596         Likewise.
20597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
20598         Likewise.
20599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
20600         Likewise.
20601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
20602         Likewise.
20603         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20604         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
20605         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20606         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20607         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20608         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
20610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
20611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
20612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
20613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
20614         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
20615         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
20616         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20617         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20618         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20619         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20620         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20621         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20622         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20623         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
20624         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
20625         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
20626         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
20627         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
20628         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20629         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
20631         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
20632         * nptl/pthreadP.h: Likewise.
20633         * nptl_db/structs.def: Likewise.
20634         * sysdeps/arm/sysdep.h: Likewise.
20635         * sysdeps/nptl/bits/libc-lock.h: Likewise.
20636         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20637         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
20638         * sysdeps/unix/alpha/sysdep.h: Likewise.
20639         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20640         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20641         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20642         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20643         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20644         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20645         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20646         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20647         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20648         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20649         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20650         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20651         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20652         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20655         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20656         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20657         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20658         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20659         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20660         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20661         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20662         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20663         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
20664         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20666         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
20667         * nptl/pthreadP.h: Likewise.
20668         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20669         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20670         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20671         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20672         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20673         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20674         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20675         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20676         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20677         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20678         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20679         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20681         Likewise.
20682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20683         Likewise.
20684         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20685         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20686         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20687         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20688         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20689         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20690         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20691         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20693         * dlfcn/dladdr.c: Use IS_IN.
20694         * dlfcn/dladdr1.c: Likewise.
20695         * dlfcn/dlclose.c: Likewise.
20696         * dlfcn/dlerror.c: Likewise.
20697         * dlfcn/dlinfo.c: Likewise.
20698         * dlfcn/dlmopen.c: Likewise.
20699         * dlfcn/dlopen.c: Likewise.
20700         * dlfcn/dlsym.c: Likewise.
20701         * dlfcn/dlvsym.c: Likewise.
20703         * include/ifaddrs.h: Use IS_IN.
20704         * inet/check_pf.c: Likewise.
20705         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20706         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
20708         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
20709         IS_IN_ldconfig.
20710         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
20711         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
20713         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
20714         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
20715         IS_IN (libc).
20717         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
20719         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
20720         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20721         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20722         * include/libc-symbols.h (IS_IN_LIB): New macro.
20723         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
20724         * include/netdb.h: Likewise.
20725         * include/stap-probe.h: Remove all uses of IN_LIB.
20727         * Makeconfig (module-cppflags-real): Define MODULE_NAME
20728         instead of IN_MODULE.
20729         * include/libc-symbols.h (IN_MODULE): Define using
20730         MODULE_NAME.
20731         (PASTE_NAME, PASTE_NAME1): New macros.
20732         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
20733         of IN_LIB.
20734         (STAP_PROBE_ASM): Likewise.
20736 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20738         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
20739         __mach_init in dlopened libc.
20741 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
20743         * sysdeps/arm/preconfigure.ac: Delete EABI check.
20744         * sysdeps/arm/preconfigure: Regenerate.
20746 2014-11-21  Roland McGrath  <roland@hack.frob.com>
20748         * nptl/pthread_create.c (__pthread_create_2_1): Set
20749         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
20750         when copying values from IATTR into PD.
20752 2014-11-21  Will Newton  <will.newton@linaro.org>
20753             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
20755         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
20756         Refactor inline-asm.  Also add comment.
20758         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
20759         ElfW macro instead of hardcoded Elf64 types.
20760         (la_aarch64_gnu_pltenter): Likewise.
20761         * sysdeps/aarch64/dl-machine.h
20762         (elf_machine_runtime_setup): Use ElfW(Addr).
20764         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
20765         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
20766         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
20767         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
20768         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
20769         (R_AARCH64_TLS_DTPMOD64): Rename to ..
20770         (R_AARCH64_TLS_DTPMOD): This.
20771         (R_AARCH64_TLS_DTPREL64): Rename to ...
20772         (R_AARCH64_TLS_DTPREL): This.
20773         (R_AARCH64_TLS_TPREL64): Rename to ...
20774         (R_AARCH64_TLS_TPREL): This.
20775         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
20776         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
20777         R_AARCH64_TLS_TPREL64.
20778         (elf_machine_rela): Likewise.
20780 2014-11-21  Torvald Riegel  <triegel@redhat.com>
20782         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
20783         by setting it to 0.  64b atomics are not supported currently.
20785 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20787         [BZ #16469]
20788         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
20789         search domain names.
20791 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20793         [BZ #16469]
20794         * NEWS: Update.
20795         * resolv/res_query.c (__libc_res_nquerydomain): Retain
20796         trailing dot.
20797         * posix/tst-getaddrinfo5.c: New.
20798         * posix/Makefile (tests): Add it.
20800 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20802         [BZ #14498]
20803         * NEWS: Fixed.
20804         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
20805         after parsing line but before break_if_match.
20806         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
20807         if there is a protocol mismatch.
20809 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
20811         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
20812         because the potential race is on the user-supplied stream.
20814 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20816         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
20817         string literal if not passed a buffer.
20818         * manual/job.texi (ctermid): Update reasoning, note deviation
20819         from posix, suggest mtasurace when not passed a buffer, for
20820         future non-preliminary safety notes.
20822 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20824         * manual/users.texi (cuserid): Fix MT-Safety note for the case
20825         of not passing it a buffer.
20826         Reported by Peng Haitao.
20828 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20830         * manual/Makefile ($(objpfx)stamp-summary): Require
20831         check-safety.sh to pass.
20832         * manual/check-safety.sh: Wish for verification that every
20833         @deftypefn and @deftypefun is followed by a @safety remark.
20835 2014-11-20  Roland McGrath  <roland@hack.frob.com>
20837         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
20839         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
20840         PTHREAD_CANCEL_ASYNCHRONOUS.
20841         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
20842         send SIGCANCEL.
20844         * nptl/default-sched.h: New file.
20845         * sysdeps/unix/sysv/linux/default-sched.h: New file.
20846         * nptl/pthread_create.c: Include it.
20847         (__pthread_create_2_1): Use collect_default_sched instead of making
20848         Linux syscalls here directly.
20850 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20852         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
20853         __pthread_once): Use C11 atomics.
20855 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20857         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
20859 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20861         * include/atomic.h (__atomic_link_error, __atomic_check_size,
20862         atomic_thread_fence_acquire, atomic_thread_fence_release,
20863         atomic_thread_fence_seq_cst, atomic_load_relaxed,
20864         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
20865         atomic_compare_exchange_weak_relaxed,
20866         atomic_compare_exchange_weak_acquire,
20867         atomic_compare_exchange_weak_release,
20868         atomic_exchange_acquire, atomic_exchange_release,
20869         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
20870         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
20871         atomic_fetch_and_acquire,
20872         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
20874 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20876         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
20877         USE_ATOMIC_COMPILER_BUILTINS): Define.
20878         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
20879         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20880         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
20881         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20882         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
20883         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20884         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
20885         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20886         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
20887         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20888         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
20889         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20890         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
20891         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20892         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
20893         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20894         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20895         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20896         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20897         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20898         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
20899         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20900         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20901         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20902         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
20903         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20904         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20905         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20906         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
20907         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20908         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
20909         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20910         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
20911         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20912         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20913         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20914         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
20915         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20916         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
20917         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20919 2014-11-19  Roland McGrath  <roland@hack.frob.com>
20921         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
20922         the sched_priority value here.  It was already checked when the user
20923         called pthread_attr_setschedparam.
20925         * nptl/tst-bad-schedattr.c: New file.
20926         * nptl/Makefile (tests): Add it.
20928 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
20929             Florian Weimer  <fweimer@redhat.com>
20930             Joseph Myers  <joseph@codesourcery.com>
20931             Adam Conrad  <adconrad@0c3.net>
20932             Andreas Schwab  <schwab@suse.de>
20933             Brooks  <bmoses@google.com>
20935         [BZ #17625]
20936         * wordexp-test.c (__dso_handle): Add prototype.
20937         (__register_atfork): Likewise.
20938         (__app_register_atfork): New function.
20939         (registered_forks): New global.
20940         (register_fork): New function.
20941         (test_case): Add 3 new tests for WRDE_CMDSUB.
20942         (main): Call __app_register_atfork.
20943         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
20944         fork count is non-zero fail the test.
20945         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
20946         is set.
20947         (parse_dollars): Remove check for WRDE_NOCMD.
20948         (parse_dquote): Likewise.
20950 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20952         * Makeconfig (built-modules): List non-library modules to be
20953         built.
20954         (module-cppflags): Include libc-modules.h for
20955         everything except shlib-versions.v.i.
20956         (CPPFLAGS): Use it.
20957         (before-compile): Add libc-modules.h.
20958         ($(common-objpfx)libc-modules.h,
20959         $(common-objpfx)libc-modules.stmp): New targets.
20960         (common-generated): Add libc-modules.h and libc-modules.stmp.
20961         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
20962         * include/libc-symbols.h: Don't include libc-modules.h.
20963         * include/libc-modules.h: Remove file.
20964         * scripts/gen-libc-modules.awk: New script to generate
20965         libc-modules.h.
20966         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
20967         Depend on libc-modules.stmp.
20969         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
20971         * Makeconfig (in-module): Get value of libof set for the
20972         translation unit.
20973         (CPPFLAGS): Use $(in-module).
20974         * Makerules: Don't suffix routine names for nonlib.
20975         * include/libc-modules.h: New file.
20976         * include/libc-symbols.h: Include libc-modules.h
20977         (IS_IN): New macro to replace IS_IN_* macros.
20978         * elf/Makefile: Set libof-* for each routine.
20979         * elf/rtld-Rules: Likewise.
20980         * extra-modules.mk: Likewise.
20981         * iconv/Makefile: Likewise.
20982         * iconvdata/Makefile: Likewise.
20983         * locale/Makefile: Likewise.
20984         * malloc/Makefile: Likewise.
20985         * nss/Makefile: Likewise.
20986         * sysdeps/gnu/Makefile: Likewise.
20987         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
20988         * sysdeps/unix/sysv/linux/Makefile: Likewise.
20989         * sysdeps/s390/s390-64/Makefile: Likewise.
20990         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
20991         CPPFLAGS for nscd instead of nonlib.
20993 2014-11-18  Roland McGrath  <roland@hack.frob.com>
20995         * nptl/createthread.c: New file.
20997         * nptl/createthread.c: Moved ...
20998         * sysdeps/unix/sysv/linux/createthread.c: ... here.
21000         * nptl/createthread.c: Add proper top-line comment.
21001         (do_clone): Folded into ...
21002         (create_thread): ... here.  Take new arguments STOPPED_START and
21003         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
21004         increment __nptl_threads, do event-reporting logic, do
21005         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
21006         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
21007         resource cleanup if sched_setaffinity or sched_setscheduler fails,
21008         just send SIGCANCEL.
21009         * nptl/pthread_create.c: Forward-declare create_thread before
21010         including createthread.c.
21011         (start_thread): Use new macro START_THREAD_DEFN to replace defining
21012         declaration, and new macro START_THREAD_SELF to replace argument.
21013         Remove return statement.
21014         (report_thread_creation): New function.
21015         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
21016         synchronization logic, and __nptl_nthreads increment here, around
21017         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
21018         PD->parent_cancelhandling here, before create_thread.  When
21019         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
21020         __deallocate_stack, and ENOMEM translation here.
21022 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
21024         [BZ #17616]
21025         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
21026         (mptwo): Rename to __mptwo.
21027         (__inv): Use __mptwo instead of mptwo.
21028         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
21029         (mptwo): Rename to __mptwo.
21030         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
21031         of mpone and __mptwo instead of mptwo.
21032         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
21033         instead of mpone.
21034         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21035         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
21036         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
21037         of mpone and __mptwo instead of mptwo.
21038         (__mpranred): Use __mpone instead of mpone.
21039         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
21040         variable.
21041         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21042         (test-xfail-ISO99/math.h/linknamespace): Likewise.
21043         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21044         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21045         (test-xfail-ISO11/math.h/linknamespace): Likewise.
21046         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21047         (test-xfail-XPG3/math.h/linknamespace): Likewise.
21048         (test-xfail-XPG4/math.h/linknamespace): Likewise.
21049         (test-xfail-POSIX/math.h/linknamespace): Likewise.
21050         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21051         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21052         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21053         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21054         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21055         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21056         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21057         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21058         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21059         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21061 2014-11-18  Tom de Vries  <tom@codesoucery.com>
21063         * manual/signal.texi (Primitives Interrupted by Signals): In section,
21064         replace BSD Handler xref with BSD Signal Handling.
21066 2014-11-17  Richard Henderson  <rth@redhat.com>
21068         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
21069         (_FP_PACK_RAW_2): Remove.
21070         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
21071         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
21072         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
21073         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
21074         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
21075         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
21076         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
21077         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
21078         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
21079         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
21080         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
21081         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
21082         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
21083         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
21084         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
21085         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
21087 2014-11-14  Roland McGrath  <roland@hack.frob.com>
21089         * signal/signal.h [__USE_MISC]
21090         (struct sigvec): Remove type.
21091         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
21092         (sigvec): Remove declaration.
21093         * sysdeps/posix/sigvec.c: Moved ...
21094         * signal/sigvec.c: ... here, replacing old file.
21095         (struct sigvec): New type, copied from old signal.h definition.
21096         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
21097         (__sigvec): Convert definition to prototype.
21098         (sigvec): Replace weak_alias with compat_symbol.
21099         * signal/Versions (libc: GLIBC_2.21): New version set.
21100         * include/signal.h: Remove __sigvec declaration.
21101         * sysdeps/unix/bsd/sigvec.c: Remove file.
21102         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
21103         * manual/signal.texi (BSD Handler): Remove subsection.
21104         Move siginterrupt up to ...
21105         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
21106         (Blocking in BSD): Fold subsection into its parent.
21107         * NEWS: Mention sigvec removal.
21109 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
21111         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
21112         (DLA_FMS): Make definition conditional only on [__FMA4__].
21113         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
21114         definition.
21116         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
21117         Make definition conditional only on [PROF].
21118         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
21119         definition.
21120         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
21121         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
21123         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
21124         !__GNUC__].
21125         * include/signal.h (__sigpause): Move declaration above call to
21126         libc_hidden_proto.
21127         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
21128         variable.
21129         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21130         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21132 2014-11-14  David S. Miller  <davem@davemloft.net>
21134         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
21135         Define before including <string/memcpy.c> and <string/mempcpy.c>.
21137 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
21139         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
21140         * configure: Regenerated.
21141         * manual/install.texi (Tools for Compilation): Document a
21142         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
21143         compiler verified to work.
21144         * INSTALL: Regenerated.
21146         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
21147         redeclare with asm name.
21148         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
21149         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
21150         including <string.h>.
21151         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21152         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
21153         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21154         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
21155         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21156         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
21157         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21159 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
21161         * stdlib/strtol.c (__strtol): Use prototype definition.
21163         [BZ #17594]
21164         * stdlib/strtol.c (SYM__): New macro.
21165         (SYM__1): Likewise.
21166         (__strtol): Likewise.
21167         (strtol): Rename to __strtol and define as weak alias of
21168         __strtol.  Use libc_hidden_weak.
21170 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21172         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
21173         Use numbered labels in inline assembly.
21175 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21177         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
21178         Add setjmp LIBC_PROBE.
21179         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
21180         Likewise.
21181         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
21182         Add longjmp, longjmp_target LIBC_PROBE.
21183         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
21184         Likewise.
21186 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21188         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21189         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
21190         to get rid of unused variable warning.
21192 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21194         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
21195         Check for unwind_backtrace ==  NULL only in SHARED case.
21196         (__backchain_backtrace): Compile only in SHARED case.
21197         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
21198         Likewise.
21199         (__backchain_backtrace): Declare as static.
21201 2014-11-12  Roland McGrath  <roland@hack.frob.com>
21203         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
21204         (__libc_multiple_threads_ptr): Variable moved ...
21205         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
21207 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
21209         * conform/GlibcConform.pm: New file.
21210         * conform/conformtest.pl: Use GlibcConform module.
21211         * conform/linknamespace.pl: New file.
21212         * conform/list-header-symbols.pl: Likewise.
21213         * conform/Makefile (linknamespace-symlists-base): New variable.
21214         (linknamespace-symlists-tests): Likewise.
21215         (linknamespace-header-base): Likewise.
21216         (linknamespace-header-tests): Likewise.
21217         (tests-special): Add new tests.
21218         ($(linknamespace-symlists-tests)): New rule.
21219         (linknamespace-libs): New variable.
21220         ($(objpfx)symlist-stdlibs): New rule.
21221         ($(linknamespace-header-tests)): Likewise.
21222         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
21223         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
21224         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
21225         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
21226         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
21227         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
21228         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
21229         (test-xfail-ISO/math.h/linknamespace): Likewise.
21230         (test-xfail-ISO/signal.h/linknamespace): Likewise.
21231         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
21232         (test-xfail-ISO/time.h/linknamespace): Likewise.
21233         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21234         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
21235         (test-xfail-ISO99/math.h/linknamespace): Likewise.
21236         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21237         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
21238         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21239         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21240         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21241         (test-xfail-ISO11/math.h/linknamespace): Likewise.
21242         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21243         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
21244         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21245         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21246         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
21247         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
21248         (test-xfail-XPG3/math.h/linknamespace): Likewise.
21249         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
21250         (test-xfail-XPG3/search.h/linknamespace): Likewise.
21251         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
21252         (test-xfail-XPG3/time.h/linknamespace): Likewise.
21253         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
21254         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
21255         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
21256         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
21257         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21258         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
21259         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
21260         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
21261         (test-xfail-XPG4/math.h/linknamespace): Likewise.
21262         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
21263         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
21264         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21265         (test-xfail-XPG4/search.h/linknamespace): Likewise.
21266         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21267         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
21268         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
21269         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
21270         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
21271         (test-xfail-XPG4/time.h/linknamespace): Likewise.
21272         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
21273         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
21274         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
21275         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21276         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21277         (test-xfail-POSIX/math.h/linknamespace): Likewise.
21278         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
21279         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
21280         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21281         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21282         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
21283         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
21284         (test-xfail-POSIX/time.h/linknamespace): Likewise.
21285         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
21286         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21287         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
21288         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
21289         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
21290         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21291         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21292         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
21293         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21294         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21295         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
21296         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
21297         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
21298         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
21299         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
21300         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
21301         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21302         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
21303         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21304         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
21305         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
21306         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
21307         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
21308         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
21309         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
21310         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
21311         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21312         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
21313         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21314         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
21315         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
21316         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21317         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21318         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
21319         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
21320         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21321         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
21322         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
21323         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
21324         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
21325         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21326         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21327         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21328         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
21329         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
21330         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
21331         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
21332         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
21333         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
21334         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21335         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
21336         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21337         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
21338         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21339         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21340         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21341         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
21342         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21343         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
21344         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
21345         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
21346         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
21347         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21348         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
21349         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
21350         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
21351         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
21352         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21353         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21354         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21355         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
21356         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
21357         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21358         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
21359         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
21360         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
21361         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21362         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21363         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
21364         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
21365         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
21366         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
21367         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21368         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
21369         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
21370         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
21371         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
21372         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
21373         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21374         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21375         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
21376         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21377         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
21378         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
21379         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
21380         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21381         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
21382         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21384         [BZ #17589]
21385         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
21386         of fgets_unlocked.
21388         [BZ #17585]
21389         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
21390         (memmem): Rename to __memmem and define as weak alias of
21391         __memmem.  Use libc_hidden_weak.
21392         (__memmem): Use libc_hidden_def.
21393         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
21394         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
21395         memmem.
21397         [BZ #17582]
21398         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
21399         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
21400         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
21401         and define as weak alias of __fgets_unlocked.  Use
21402         libc_hidden_weak.
21403         (__fgets_unlocked): Use libc_hidden_def.
21404         * include/stdio.h (__fgets_unlocked): Declare.  Use
21405         libc_hidden_proto.
21406         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
21407         __fgets_unlocked instead of fgets_unlocked.
21408         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
21409         (GET_NPROCS_CONF_PARSER): Likewise.
21410         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
21411         (GET_NPROCS_CONF_PARSER): Likewise.
21413         [BZ #17574]
21414         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
21415         weak alias of __wmemset.  Use libc_hidden_weak.
21416         (__wmemset): Use libc_hidden_def.
21417         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
21418         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
21419         of wmemset.
21421         [BZ #17573]
21422         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
21423         with asm name __mempcpy.
21424         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
21426         [BZ #17572]
21427         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
21428         and define as weak alias of __rawmemchr.
21429         (__rawmemchr): Do not define as strong alias of rawmemchr.
21431         [BZ #17571]
21432         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
21433         alias of __qsort_r.
21434         (qsort): Call __qsort_r instead of qsort_r.
21435         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
21436         (__qsort_r): Declare.  Call libc_hidden_proto.
21437         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
21438         instead of qsort_r.
21439         * nscd/gai.c (__qsort_r): Define to qsort_r.
21440         * posix/tst-rfc3484.c (__qsort_r): Likewise.
21441         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
21442         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
21444         [BZ #17570]
21445         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
21446         define as weak alias of __malloc_info.
21448         [BZ #17584]
21449         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
21450         as weak alias of __rewinddir.  Don't use libc_hidden_def.
21451         (__rewinddir): Use libc_hidden_def.
21452         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
21453         as weak alias of __rewinddir.  Don't use libc_hidden_def.
21454         (__rewinddir): Use libc_hidden_def.
21455         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
21456         weak alias of __rewinddir.  Don't use libc_hidden_def.
21457         (__rewinddir): Use libc_hidden_def.
21458         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
21459         (__rewinddir): Use libc_hidden_proto.
21460         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
21461         rewinddir.
21462         (__getcwd): Use __rewinddir instead of rewinddir.
21464         [BZ #17583]
21465         * libio/fileno.c (fileno): Rename to __fileno and define as weak
21466         alias of __fileno.  Use libc_hidden_weak.
21467         (__fileno): Use libc_hidden_def.
21468         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
21469         * libio/ftello.c (ftello): Rename to __ftello and define as weak
21470         alias of __ftello.
21471         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
21472         __ftello.
21473         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
21474         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
21475         libc_hidden_def.
21476         (fread_unlocked): Don't use libc_hidden_ver.
21477         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
21478         and define as weak alias of __fread_unlocked.  Don't use
21479         libc_hidden_def.
21480         (__fread_unlocked): Use libc_hidden_def.
21481         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
21482         (ftello): Don't use libc_hidden_proto.
21483         (__ftello): Declare.  Use libc_hidden_proto.
21484         (fread_unlocked): Don't use libc_hidden_proto.
21485         (__fread_unlocked): Declare.  Use libc_hidden_proto.
21486         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
21487         and __ftello instead of fileno, fread_unlocked and ftello.
21489 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21491         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
21492         GOT12.
21493         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21494         Likewise.
21495         (_dl_start_user): Likewise.
21496         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
21498 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
21499             Siddhesh Poyarekar  <siddhesh@redhat.com>
21501         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
21502         Move argv and envp down instead of moving argc up.
21503         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
21505 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
21507         [BZ #17506]
21508         * test-skeleton.c (main): Return successful if one of
21509         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
21510         * string/tst-strcoll-overflow.c: Define expected status.
21512 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
21514         [BZ #17475]
21515         * locale/iso-639.def: Define Bhili and Tulu language codes.
21517 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
21519         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
21521 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
21523         [BZ #17555]
21524         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
21526 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
21528         * configure.ac: Updated check of minimal required version to
21529         2.22.
21530         * manual/install.texi (Tools for Compilation): Updated version
21531         number.
21532         * configure: Regenerated.
21533         * INSTALL: Likewise.
21535 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
21537         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
21538         __tls_get_addr.
21540 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
21542         * include/sys/wait.h (__libc_waitpid): Remove declaration.
21543         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
21544         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21545         libc_hidden_weak.
21546         (waitpid): Define as alias of __waitpid.
21547         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
21548         __waitpid.
21549         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21550         libc_hidden_weak.
21551         (waitpid): Define as alias of __waitpid.
21552         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
21553         __libc_waitpid alias.
21554         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
21555         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
21556         Likewise.
21557         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
21558         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
21559         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
21560         alias.
21561         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
21562         __waitpid.
21563         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21564         libc_hidden_weak.
21565         (waitpid): Define as alias of __waitpid.
21567 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
21569         * manual/llio.texi: Add comment that write safety has been
21570         fixed in Linux.
21572         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
21573         (localplt-build-dso): Add elf/ld.so.
21574         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
21575         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
21576         and free for ld.so.
21577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
21578         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
21579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
21580         Likewise.
21581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
21582         Likewise.
21583         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
21584         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
21585         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
21586         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
21587         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
21588         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
21589         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
21590         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
21591         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
21592         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
21593         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21595 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
21597         [BZ #14132]
21598         * include/libc-symbols.h (INTUSE): Remove macro.
21599         (INTDEF): Likewise.
21600         (INTVARDEF): Likewise.
21601         (_INTVARDEF): Likewise.
21602         (INTDEF2): Likewise.
21603         (INTVARDEF2): Likewise.
21604         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
21605         rtld_hidden_def instead of INTVARDEF.
21606         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
21607         (_dl_starting_up_internal): Remove declaration.
21608         (_dl_starting_up): Use rtld_hidden_proto.
21609         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
21610         declaration.
21611         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
21612         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
21613         _dl_starting_up.
21614         * elf/dl-writev.h (_dl_writev): Likewise.
21615         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
21616         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
21617         _dl_starting_up_internal.
21619 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21621         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21622         test-skeleton.c.
21624 2014-11-05  Will Newton  <will.newton@linaro.org>
21626         * benchtests/Makefile: (bench-malloc): Add malloc thread
21627         scalability benchmark.
21628         * benchtests/bench-malloc-threads.c: New file.
21630 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
21632         * sysdeps/aarch64/strchrnul.S: New file.
21634 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21636         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
21637         definition.
21638         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21639         Likwise.
21640         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21641         Likewise.
21642         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21643         Likewise.
21644         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21645         Likewise.
21646         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21647         Likewise.
21649 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
21651         * catgets/test-gencat.c: Use test-skeleton.c.
21652         * catgets/tst-catgets.c: Likewise.
21653         * csu/tst-empty.c: Likewise.
21654         * elf/tst-audit2.c: Likewise.
21655         * elf/tst-global1.c: Likewise.
21656         * elf/tst-pathopt.c: Likewise.
21657         * elf/tst-piemod1.c: Likewise.
21658         * elf/tst-tls10.c: Likewise.
21659         * elf/tst-tls11.c: Likewise.
21660         * elf/tst-tls12.c: Likewise.
21661         * gnulib/tst-gcc.c: Likewise.
21662         * iconvdata/tst-e2big.c: Likewise.
21663         * iconvdata/tst-loading.c: Likewise.
21664         * iconv/tst-iconv1.c: Likewise.
21665         * iconv/tst-iconv2.c: Likewise.
21666         * inet/test-inet6_opt.c: Likewise.
21667         * inet/tst-gethnm.c: Likewise.
21668         * inet/tst-network.c: Likewise.
21669         * inet/tst-ntoa.c: Likewise.
21670         * intl/tst-codeset.c: Likewise.
21671         * intl/tst-gettext2.c: Likewise.
21672         * intl/tst-gettext3.c: Likewise.
21673         * intl/tst-ngettext.c: Likewise.
21674         * intl/tst-translit.c: Likewise.
21675         * io/test-stat.c: Likewise.
21676         * libio/test-fmemopen.c: Likewise.
21677         * libio/tst-freopen.c: Likewise.
21678         * libio/tst-sscanf.c: Likewise.
21679         * libio/tst-ungetwc1.c: Likewise.
21680         * libio/tst-ungetwc2.c: Likewise.
21681         * libio/tst-widetext.c: Likewise.
21682         * localedata/tst-ctype.c: Likewise.
21683         * localedata/tst-digits.c: Likewise.
21684         * localedata/tst-leaks.c: Likewise.
21685         * localedata/tst-mbswcs1.c: Likewise.
21686         * localedata/tst-mbswcs2.c: Likewise.
21687         * localedata/tst-mbswcs3.c: Likewise.
21688         * localedata/tst-mbswcs4.c: Likewise.
21689         * localedata/tst-mbswcs5.c: Likewise.
21690         * localedata/tst-setlocale.c: Likewise.
21691         * localedata/tst-trans.c: Likewise.
21692         * localedata/tst-wctype.c: Likewise.
21693         * localedata/tst-xlocale1.c: Likewise.
21694         * login/tst-grantpt.c: Likewise.
21695         * malloc/tst-calloc.c: Likewise.
21696         * malloc/tst-malloc.c: Likewise.
21697         * malloc/tst-mallocstate.c: Likewise.
21698         * malloc/tst-mcheck.c: Likewise.
21699         * malloc/tst-mtrace.c: Likewise.
21700         * malloc/tst-obstack.c: Likewise.
21701         * math/atest-exp2.c: Likewise.
21702         * math/atest-exp.c: Likewise.
21703         * math/atest-sincos.c: Likewise.
21704         * math/test-matherr.c: Likewise.
21705         * math/test-misc.c: Likewise.
21706         * math/test-powl.c: Likewise.
21707         * math/tst-definitions.c: Likewise.
21708         * misc/tst-dirname.c: Likewise.
21709         * misc/tst-efgcvt.c: Likewise.
21710         * misc/tst-fdset.c: Likewise.
21711         * misc/tst-hsearch.c: Likewise.
21712         * misc/tst-mntent2.c: Likewise.
21713         * nptl/tst-sem7.c: Likewise.
21714         * nptl/tst-sem8.c: Likewise.
21715         * nptl/tst-sem9.c: Likewise.
21716         * nss/test-netdb.c: Likewise.
21717         * posix/tst-fnmatch.c: Likewise.
21718         * posix/tst-getlogin.c: Likewise.
21719         * posix/tst-gnuglob.c: Likewise.
21720         * posix/tst-mmap.c: Likewise.
21721         * pwd/tst-getpw.c: Likewise.
21722         * resolv/tst-inet_ntop.c: Likewise.
21723         * rt/tst-timer.c: Likewise.
21724         * stdio-common/test-fseek.c: Likewise.
21725         * stdio-common/test-popen.c: Likewise.
21726         * stdio-common/test-vfprintf.c: Likewise.
21727         * stdio-common/tst-cookie.c: Likewise.
21728         * stdio-common/tst-fileno.c: Likewise.
21729         * stdio-common/tst-gets.c: Likewise.
21730         * stdio-common/tst-obprintf.c: Likewise.
21731         * stdio-common/tst-perror.c: Likewise.
21732         * stdio-common/tst-sprintf2.c: Likewise.
21733         * stdio-common/tst-sprintf3.c: Likewise.
21734         * stdio-common/tst-sprintf.c: Likewise.
21735         * stdio-common/tst-swprintf.c: Likewise.
21736         * stdio-common/tst-tmpnam.c: Likewise.
21737         * stdio-common/tst-unbputc.c: Likewise.
21738         * stdio-common/tst-wc-printf.c: Likewise.
21739         * stdlib/tst-environ.c: Likewise.
21740         * stdlib/tst-fmtmsg.c: Likewise.
21741         * stdlib/tst-limits.c: Likewise.
21742         * stdlib/tst-rand48-2.c: Likewise.
21743         * stdlib/tst-rand48.c: Likewise.
21744         * stdlib/tst-random2.c: Likewise.
21745         * stdlib/tst-random.c: Likewise.
21746         * stdlib/tst-strtol.c: Likewise.
21747         * stdlib/tst-strtoll.c: Likewise.
21748         * stdlib/tst-tls-atexit.c: Likewise.
21749         * stdlib/tst-xpg-basename.c: Likewise.
21750         * string/test-ffs.c: Likewise.
21751         * string/tst-bswap.c: Likewise.
21752         * string/tst-inlcall.c: Likewise.
21753         * string/tst-strtok.c: Likewise.
21754         * string/tst-strxfrm.c: Likewise.
21755         * sysdeps/x86_64/tst-audit10.c: Likewise.
21756         * sysdeps/x86_64/tst-audit3.c: Likewise.
21757         * sysdeps/x86_64/tst-audit4.c: Likewise.
21758         * sysdeps/x86_64/tst-audit5.c: Likewise.
21759         * time/tst-ftime_l.c: Likewise.
21760         * time/tst-getdate.c: Likewise.
21761         * time/tst-mktime3.c: Likewise.
21762         * time/tst-mktime.c: Likewise.
21763         * time/tst-posixtz.c: Likewise.
21764         * time/tst-strptime2.c: Likewise.
21765         * time/tst-strptime3.c: Likewise.
21766         * wcsmbs/tst-btowc.c: Likewise.
21767         * wcsmbs/tst-mbrtowc.c: Likewise.
21768         * wcsmbs/tst-mbsrtowcs.c: Likewise.
21769         * wcsmbs/tst-wchar-h.c: Likewise.
21770         * wcsmbs/tst-wcpncpy.c: Likewise.
21771         * wcsmbs/tst-wcrtomb.c: Likewise.
21772         * wcsmbs/tst-wcsnlen.c: Likewise.
21773         * wcsmbs/tst-wcstof.c: Likewise.
21775 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
21777         [BZ #14132]
21778         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
21779         INTDEF.
21780         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
21781         declaration.
21782         (_dl_mcount): Use rtld_hidden_proto.
21783         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
21784         _dl_mcount.
21785         * elf/rtld.c (_rtld_global_ro): Likewise.
21787         [BZ #14132]
21788         * elf/dl-init.c (_dl_init): Don't use INTDEF.
21789         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
21790         of _dl_init_internal.
21791         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
21792         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
21793         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
21794         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
21795         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
21796         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
21797         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
21798         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
21799         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
21800         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
21801         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
21802         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
21803         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21804         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21805         * sysdeps/tile/dl-start.S (_start): Likewise.
21806         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
21807         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
21809         [BZ #14132]
21810         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
21811         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
21812         (rtld_progname): Make macro definition unconditional.
21813         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
21814         INTDEF.
21815         (dlmopen_doit): Do not use INTUSE with _dl_argv.
21816         (dl_main): Likewise.
21817         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21818         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
21819         instead of _dl_argv_internal.
21820         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21821         __GI__dl_argv instead of INTUSE(_dl_argv).
21822         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
21823         __GI__dl_argv instead of _dl_argv_internal.
21825         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
21826         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
21827         macro.
21828         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
21829         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
21830         New macro.
21831         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
21832         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
21833         macro.
21834         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
21835         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
21837 2014-11-04  Andreas Schwab  <schwab@suse.de>
21839         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
21841 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21843         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
21844         mtvsrd instruction in binary form.
21846 2014-11-03  Andreas Schwab  <schwab@suse.de>
21848         [BZ #17522]
21849         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
21850         for less than MB_LEN_MAX use a local buffer of that size.
21851         * libio/tst-fputws.c: New file.
21852         * libio/Makefile (tests): Add tst-fputws.
21854 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
21856         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
21857         the size of the fpu_fr.fpu_dregs[] array.
21859 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
21861         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
21862         (__nanosleep): Do not define as alias.
21863         (nanosleep): Define as alias of __nanosleep.
21864         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
21865         __libc_nanosleep name.
21867 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
21869         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
21870         install.texi in comment.
21872 2014-10-31  Torvald Riegel  <triegel@redhat.com>
21874         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
21875         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
21876         ... add here and use lwsync or sync ...
21877         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
21878         ... and add here using lwsync.
21880 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
21882         * elf/dl-machine-reject-phdr.h: New file.
21883         * elf/dl-load.c: #include that.
21884         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
21885         if that returned true.
21887 2014-10-31  Roland McGrath  <roland@hack.frob.com>
21889         [BZ #17496]
21890         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
21891         gen-as-const-headers chunk.  Add a big scare comment after the last
21892         safe place to touch before-compile.
21894 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
21896         * manual/install.texi (Tools for Compilation): Update autoconf
21897         version requirements.
21898         * INSTALL: Regenerated.
21900         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
21901         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
21902         (__libc_pselect): Likewise.
21904         [BZ #14138]
21905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
21906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21910 2014-10-31  Torvald Riegel  <triegel@redhat.com>
21912         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
21913         correct barrier instruction.
21914         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
21915         Likewise.
21916         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
21917         Likewise.
21919 2014-10-30  Roland McGrath  <roland@hack.frob.com>
21921         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
21922         after defining inlines.  Instead, just use parens to defeat macro
21923         expansion of __isctype in its declaration.
21925 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
21927         * include/sys/uio.h (__libc_readv): Remove declaration.
21928         (__libc_writev): Likewise.
21929         * misc/readv.c (__libc_readv): Rename to __readv.
21930         (__readv): Do not define as alias.
21931         (readv): Define as alias of __readv.
21932         * misc/writev.c (__libc_writev): Rename to __writev.
21933         (__writev): Do not define as alias.
21934         (writev): Define as alias of __writev.
21935         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
21936         (__readv): Do not define as alias.
21937         (readv): Define unconditionally as alias of __readv.
21938         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
21939         (__writev): Do not define as alias.
21940         (writev): Define unconditionally as alias of __writev.
21941         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
21942         name.
21943         (writev): Do not define __libc_writev name.
21945 2014-10-30  Roland McGrath  <roland@hack.frob.com>
21947         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
21948         (convert_charseq): New function, broken out of ...
21949         (use_from_charmap): ... here.  Call it.
21950         (use_to_charmap): Use convert_charseq and free instead of duplicating
21951         its code with a variable-length stack struct.
21953 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
21955         * include/fcntl.h (__libc_creat): Remove declaration.
21956         * io/creat.c (__libc_creat): Rename to creat.
21957         (creat): Do not define as alias.
21958         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
21959         of creat instead of __libc_creat.
21960         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
21961         to creat.
21962         (creat): Do not define as alias.
21963         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
21964         __libc_creat.
21965         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
21966         __libc_creat name.
21967         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
21968         Likewise.
21970 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
21972         * manual/llio.texi: Add comments discussing why write() may be
21973         considered MT-unsafe on Linux.
21975 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
21977         * dl-load.c (local_strdup): Remove.
21978         (expand_dynamic_string_token): Use __strdup.
21979         (decompose_rpath): Likewise.
21980         (_dl_map_object): Likewise.
21982 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
21984         [BZ #14132]
21985         * sysdeps/generic/unwind-dw2-fde.c
21986         (__register_frame_info_bases_internal): Do not declare.
21987         (__register_frame_info_table_bases_internal): Likewise.
21988         (__deregister_frame_info_bases_internal): Likewise.
21989         (__register_frame_info_bases): Declare and use hidden_proto before
21990         definition.  Use hidden_def instead of INTDEF.
21991         (__register_frame_info_table_bases): Likewise.
21992         (__deregister_frame_info_bases): Likewise.
21993         (__register_frame_info): Do not use INTUSE.
21994         (__register_frame): Likewise.
21995         (__register_frame_info_table): Likewise.
21996         (__register_frame_table): Likewise.
21997         (__deregister_frame_info): Likewise.
21998         (__deregister_frame): Likewise.
22000 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
22002         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22003         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
22004         not undefine.
22005         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
22006         Likewise.
22007         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
22008         Likewise.
22010 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
22012         [BZ #14138]
22013         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
22014         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
22015         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
22016         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
22017         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
22018         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
22019         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
22020         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
22021         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
22022         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
22023         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
22024         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
22025         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
22026         syscall.
22027         (setfsuid): Likewise.
22028         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
22029         (setfsuid): Likewise.
22030         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
22031         (setfsuid): Likewise.
22032         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
22033         Likewise.
22034         (setfsuid): Likewise.
22035         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
22036         (setfsuid): Likewise.
22037         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
22038         Likewise.
22039         (setfsuid): Likewise.
22041 2014-10-27  Andreas Schwab  <schwab@suse.de>
22043         [BZ #17501]
22044         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
22045         check for Slow_SSE4_2 feature bit.
22046         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
22047         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22048         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
22049         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
22051 2014-10-24  Roland McGrath  <roland@hack.frob.com>
22053         * configure.ac: Validate compiler version with a empirical test of
22054         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
22055         $CC -v output.
22056         * configure: Regenerated.
22058         * inet/htons.c (htons): Prototypify.
22059         * inet/htonl.c (htonl): Likewise.
22061 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22063         * string/strncat.c (strncat): Improve performance by using strlen.
22065 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22067         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
22069 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22071         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
22072         Call libc_fetestexcept_aarch64.
22074 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22076         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
22077         Call libc_feholdexcept_aarch64.
22079 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22081         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
22082         Call get_rounding_mode.
22084 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22086         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22087         Simplify logic.
22089 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22091         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
22092         Simplify logic.
22094 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
22096         [BZ #14138]
22097         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
22098         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
22099         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
22100         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
22101         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
22102         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
22103         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
22104         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
22105         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
22106         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
22107         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22108         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
22109         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
22110         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
22111         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
22112         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
22113         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
22114         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
22115         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
22116         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
22117         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
22118         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
22119         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
22120         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
22121         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
22122         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
22123         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
22124         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
22125         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
22126         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
22127         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
22128         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
22129         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
22130         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
22131         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
22132         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
22133         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
22134         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
22135         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
22136         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
22137         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
22138         syscall.
22139         (geteuid): Likewise.
22140         (getgid): Likewise.
22141         (getuid): Likewise.
22142         (getresgid): Likewise.
22143         (getresuid): Likewise.
22144         (getgroups): Likewise.
22145         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
22146         (geteuid): Likewise.
22147         (getgid): Likewise.
22148         (getuid): Likewise.
22149         (getresgid): Likewise.
22150         (getresuid): Likewise.
22151         (getgroups): Likewise.
22152         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
22153         (geteuid): Likewise.
22154         (getgid): Likewise.
22155         (getuid): Likewise.
22156         (getresgid): Likewise.
22157         (getresuid): Likewise.
22158         (getgroups): Likewise.
22159         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
22160         Likewise.
22161         (geteuid): Likewise.
22162         (getgid): Likewise.
22163         (getuid): Likewise.
22164         (getresgid): Likewise.
22165         (getresuid): Likewise.
22166         (getgroups): Likewise.
22167         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
22168         (geteuid): Likewise.
22169         (getgid): Likewise.
22170         (getuid): Likewise.
22171         (getresgid): Likewise.
22172         (getresuid): Likewise.
22173         (getgroups): Likewise.
22174         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
22175         Likewise.
22176         (geteuid): Likewise.
22177         (getgid): Likewise.
22178         (getuid): Likewise.
22179         (getgroups): Likewise.
22181         [BZ #14138]
22182         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
22183         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
22184         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
22185         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22186         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
22187         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
22188         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
22189         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
22190         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
22191         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
22192         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
22193         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
22194         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
22195         __chown.
22196         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
22197         (lchown): Likewise.
22198         (fchown): Likewise.
22199         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
22200         Likewise.
22201         (lchown): Likewise.
22202         (fchown): Likewise.
22203         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
22204         (lchown): Likewise.
22205         (fchown): Likewise.
22206         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
22207         Likewise.
22208         (lchown): Likewise.
22209         (fchown): Likewise.
22211 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22213         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
22214         Simplify logic.
22216 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22218         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22219         Cleanup logic.
22221 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22223         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22224         Remove unused include.
22226 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22228         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
22229         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
22230         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
22231         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
22233 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
22234             Helge Deller <deller@gmx.de>
22236         [BZ #17508]
22237         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
22238         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
22239         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
22241 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
22243         [BZ #14132]
22244         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
22245         Remove macro definition.
22246         (__ashrdi3_v_glibc20): Likewise.
22247         (__lshrdi3_v_glibc20): Likewise.
22248         (__cmpdi2_v_glibc20): Likewise.
22249         (__ucmpdi2_v_glibc20): Likewise.
22250         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
22251         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22252         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22253         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22254         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22255         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
22257 2014-10-22  Roland McGrath  <roland@hack.frob.com>
22259         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
22260         old GNU extension [0] syntax.
22261         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
22262         alloca rather than an array member with variable length.
22263         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
22264         * nscd/nscd.c (invalidate_db): New function, broken out of ...
22265         (parse_opt): ... here.  Likewise use alloca there.
22266         Validate the -i argument before checking for rootness.
22267         (send_shutdown): New function, broken out of ...
22268         (parse_opt): ... here.
22270 2014-10-22  Roland McGrath  <roland@hack.frob.com>
22272         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
22273         macro to get at the _rt_local_ro field.
22274         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
22275         ([PIC] case) or _dl_hwcap ([!PIC] case).
22276         * sysdeps/arm/setjmp.S: Likewise.
22278         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
22279         * sysdeps/arm/configure.ac: New check to define it.
22280         * sysdeps/arm/configure: Regenerated.
22281         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
22282         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
22283         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
22284         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
22285         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
22286         Use move/movt pair instead of a load.
22287         (LDST_GLOBAL): Macro removed.
22288         (LDR_GLOBAL): New macro replaces it.
22289         (LDR_HIDDEN): New macro.
22290         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
22291         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
22293         * setjmp/tst-setjmp-static.c: New file.
22294         * setjmp/Makefile (tests): Add it.
22295         (tests-static): New variable.
22297 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
22299         [BZ #17485]
22300         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
22302 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
22304         [BZ #14132]
22305         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
22307 2014-10-21  Roland McGrath  <roland@hack.frob.com>
22309         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
22311 2014-10-20  Roland McGrath  <roland@hack.frob.com>
22313         * io/fts.c (dirent_not_directory): New function.
22314         (fts_build): Call it.
22316 2014-10-20  Roland McGrath  <roland@hack.frob.com>
22318         * nptl/version.c (__nptl_main): Use normal __write rather than
22319         INTERNAL_SYSCALL.
22320         (banner): Update copyright years.
22322         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
22323         gettimeofday.
22324         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
22325         * nptl/pthread_cond_timedwait.c: Likewise.
22326         * nptl/pthread_mutex_timedlock.c: Likewise.
22327         * nptl/sem_timedwait.c: Likewise.
22329         * sysdeps/nptl/bits/libc-lock.h
22330         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22331         (__libc_lock_init_recursive): Return void, not 0.
22332         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
22333         (__libc_rwlock_init): Likewise.
22334         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
22336 2014-10-20  Torvald Riegel  <triegel@redhat.com>
22338         [BZ #15215]
22339         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
22340         (__pthread_once_slow): ... here.
22341         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
22342         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
22344 2014-10-20  Torvald Riegel  <triegel@redhat.com>
22346         [BZ #15215]
22347         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
22348         __PTHREAD_ONCE_FORK_GEN_INCR): New.
22349         * sysdeps/nptl/fork.c (__libc_fork): Use them.
22350         * nptl/pthread_once.c (__pthread_once): Likewise.
22351         Update comments.
22353 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
22355         [BZ #14138]
22356         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
22357         name.
22358         (writev): Use __libc_writev as strong name.
22359         * sysdeps/unix/sysv/linux/readv.c: Remove file.
22360         * sysdeps/unix/sysv/linux/writev.c: Likewise.
22362 2014-10-17  Roland McGrath  <roland@hack.frob.com>
22364         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
22366         * sysdeps/i386/nptl/tls.h
22367         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
22368         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
22369         New macros.
22370         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
22371         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
22372         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
22373         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
22374         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
22375         Call CHECK_THREAD_SYSINFO instead of doing an assert.
22377         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22378         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
22379         on [__NR_futex].
22380         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
22381         broken out of ...
22382         (__pthread_mutex_init): ... here.  Call it.
22383         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
22384         Conditionalize PI cases on [__NR_futex].
22385         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
22386         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
22387         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
22389         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
22390         conditional on [SIGSETXID].
22391         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
22392         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
22393         is defined.  Likewise for SIGSETXID.
22394         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
22395         Conditionalize definitions on [SIGSETXID].
22396         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
22397         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
22398         unblocking on [SIGCANCEL].
22400         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
22401         [__NR_set_robust_list].
22403 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22405         * string/strcoll_l.c (get_next_seq): Fix up formatting.
22406         (do_compare): Likewise.
22408 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
22410         [BZ #15884]
22411         * string/strcoll_l.c: Don't include stdio.h.
22412         (coll_seq): Remove members idxarr and rulearr.
22413         (get_next_seq_cached): Remove function.
22414         (get_next_seq): Likewise.
22415         (get_next_seq_nocache): Rename to get_next_seq.
22416         (do_compare): Remove function.
22417         (do_compare_nocache): Rename to do_compare.
22418         (STRCOLL): Remove weight and rules cache.
22420 2014-10-16  Roland McGrath  <roland@hack.frob.com>
22422         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
22423         * sysdeps/arm/sfp-machine.h: ... to here.
22424         * sysdeps/arm/Implies: Remove arm/soft-fp.
22426 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
22428         * conform/data/sys/utsname.h-data (*_t): Allow.
22429         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
22430         [POSIX] (WEXITED): Do not expect constant.
22431         [POSIX] (WSTOPPED): Likewise.
22432         [POSIX] (WNOHANG): Likewise.
22433         [POSIX] (WNOWAIT): Likewise.
22434         [POSIX] (siginfo_t): Do not expect type or elements.
22435         [POSIX] (pid_t): Do not expect type.
22436         [POSIX] (signal.h): Do not allow header.
22437         [POSIX] (sys/resource.h): Likewise.
22438         [POSIX] (si_*): Do not allow pattern.
22439         [POSIX] (W*): Likewise.
22440         [POSIX] (P_*): Likewise.
22441         [POSIX] (BUS_*): Likewise.
22442         [POSIX] (CLD_*): Likewise.
22443         [POSIX] (FPE_*): Likewise.
22444         [POSIX] (ILL_*): Likewise.
22445         [POSIX] (POLL_*): Likewise.
22446         [POSIX] (SEGV_*): Likewise.
22447         [POSIX] (SI_*): Likewise.
22448         [POSIX] (TRAP_*): Likewise.
22449         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
22450         variable.
22452 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
22454         [BZ #12926]
22455         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
22456         infinite loop when __recvmsg returns 0.
22458 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
22460         * CANCEL-FCT-WAIVE: Remove file.
22461         * CANCEL-FILE-WAIVE: Likewise.
22463         [BZ #14132]
22464         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
22465         instead of INTVARDEF.
22466         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22467         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
22468         rtld_hidden_data_def instead of INTVARDEF.
22469         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22470         * elf/dl-deps.c (expand_dst): Likewise.
22471         * elf/dl-load.c (_dl_dst_count): Likewise.
22472         (_dl_dst_substitute): Likewise.
22473         (decompose_rpath): Likewise.
22474         (_dl_init_paths): Likewise.
22475         (open_path): Likewise.
22476         (_dl_map_object): Likewise.
22477         * elf/rtld.c (dl_main): Likewise.
22478         (process_dl_audit): Likewise.
22479         (process_envvars): Likewise.
22480         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
22481         Remove declaration.
22482         (__libc_enable_secure): Use rtld_hidden_proto.
22484 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22486         * elf/dl-load.c
22487         (add_path): New function broken out of _dl_rtld_di_serinfo.
22488         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
22490 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
22492         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
22493         parentheses around macro arguments.
22494         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
22495         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
22496         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
22497         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
22498         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
22499         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22500         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22501         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
22502         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
22503         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
22504         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
22505         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
22506         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
22507         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
22508         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
22509         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
22510         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
22511         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
22512         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
22513         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
22514         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
22515         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
22516         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
22517         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22518         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22519         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
22520         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
22521         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
22522         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
22523         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
22524         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
22525         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
22526         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
22527         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
22528         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
22529         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
22530         Likewise.
22531         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
22532         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22533         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22534         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
22535         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
22536         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
22537         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
22538         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
22539         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
22540         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
22541         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
22542         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
22543         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
22544         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
22545         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
22546         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22547         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22548         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
22549         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
22550         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
22551         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
22552         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
22553         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
22554         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
22555         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
22556         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
22557         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
22558         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
22559         (_FP_FRAC_SRS_1): Likewise.
22560         (_FP_FRAC_CLZ_1): Likewise.
22561         (_FP_MUL_MEAT_1_imm): Likewise.
22562         (_FP_MUL_MEAT_1_wide): Likewise.
22563         (_FP_MUL_MEAT_1_hard): Likewise.
22564         (_FP_SQRT_MEAT_1): Likewise.
22565         (_FP_FRAC_ASSEMBLE_1): Likewise.
22566         (_FP_FRAC_DISASSEMBLE_1): Likewise.
22567         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
22568         (__FP_CLZ_2): Likewise.
22569         (_FP_MUL_MEAT_2_wide): Likewise.
22570         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22571         (_FP_MUL_MEAT_2_gmp): Likewise.
22572         (_FP_MUL_MEAT_2_120_240_double): Likewise.
22573         (_FP_SQRT_MEAT_2): Likewise.
22574         (_FP_FRAC_ASSEMBLE_2): Likewise.
22575         (_FP_FRAC_DISASSEMBLE_2): Likewise.
22576         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
22577         (_FP_FRAC_CLZ_4): Likewise.
22578         (_FP_MUL_MEAT_4_wide): Likewise.
22579         (_FP_MUL_MEAT_4_gmp): Likewise.
22580         (_FP_SQRT_MEAT_4): Likewise.
22581         (_FP_FRAC_ASSEMBLE_4): Likewise.
22582         (_FP_FRAC_DISASSEMBLE_4): Likewise.
22583         * soft-fp/op-common.h (_FP_CMP): Likewise.
22584         (_FP_CMP_EQ): Likewise.
22585         (_FP_CMP_UNORD): Likewise.
22586         (_FP_TO_INT): Likewise.
22587         (_FP_FROM_INT): Likewise.
22588         [!__FP_CLZ] (__FP_CLZ): Likewise.
22589         (_FP_DIV_HELP_imm): Likewise.
22590         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
22591         Likewise.
22592         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
22593         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
22594         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
22595         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
22596         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
22597         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22598         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22599         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
22600         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
22601         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
22602         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
22603         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
22604         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
22605         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
22606         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
22607         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
22608         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
22609         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
22610         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
22611         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
22612         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
22613         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
22614         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
22615         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22616         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22617         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
22618         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
22619         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
22620         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
22621         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
22622         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
22623         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
22624         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
22625         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
22626         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
22627         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
22628         (FP_UNPACK_RAW_SP): Likewise.
22629         (FP_PACK_RAW_S): Likewise.
22630         (FP_PACK_RAW_SP): Likewise.
22631         (FP_UNPACK_S): Likewise.
22632         (FP_UNPACK_SP): Likewise.
22633         (FP_UNPACK_SEMIRAW_S): Likewise.
22634         (FP_UNPACK_SEMIRAW_SP): Likewise.
22635         (FP_PACK_S): Likewise.
22636         (FP_PACK_SP): Likewise.
22637         (FP_PACK_SEMIRAW_S): Likewise.
22638         (FP_PACK_SEMIRAW_SP): Likewise.
22639         (_FP_SQRT_MEAT_S): Likewise.
22640         (FP_CMP_S): Likewise.
22641         (FP_CMP_EQ_S): Likewise.
22642         (FP_CMP_UNORD_S): Likewise.
22643         (FP_TO_INT_S): Likewise.
22644         (FP_FROM_INT_S): Likewise.
22646         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
22648         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
22649         (FP_EX_INVALID_IMZ): Likewise.
22650         (FP_EX_INVALID_IMZ_FMA): Likewise.
22651         (FP_EX_INVALID_ISI): Likewise.
22652         (FP_EX_INVALID_ZDZ): Likewise.
22653         (FP_EX_INVALID_IDI): Likewise.
22654         (FP_EX_INVALID_SQRT): Likewise.
22655         (FP_EX_INVALID_CVI): Likewise.
22656         (FP_EX_INVALID_VC): Likewise.
22657         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
22658         "invalid" exceptions.
22659         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
22660         (_FP_ADD_INTERNAL): Likewise.
22661         (_FP_MUL): Likewise.
22662         (_FP_FMA): Likewise.
22663         (_FP_DIV): Likewise.
22664         (_FP_CMP_CHECK_NAN): Likewise.
22665         (_FP_SQRT): Likewise.
22666         (_FP_TO_INT): Likewise.
22667         (FP_EXTEND): Likewise.
22669 2014-10-09  Allan McRae  <allan@archlinux.org>
22671         * po/fr.po: Update French translation from translation project.
22673 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
22675         [BZ #14132]
22676         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
22677         of INTDEF.
22678         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
22679         (__cxa_atexit): Use libc_hidden_proto.
22680         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
22682         [BZ #14132]
22683         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
22684         declaration.
22685         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
22686         [!_ISOMAC] (__iswspace_l_internal): Likewise.
22687         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
22688         [!_ISOMAC] (__iswctype_internal): Likewise.
22689         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
22690         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
22691         alias.
22692         (fcntl): Remove __fcntl_internal alias.
22693         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
22694         __connect_internal alias.
22695         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
22696         Likewise.
22698         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
22699         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
22700         FP_DENORM_ZERO.
22701         (_FP_CHECK_FLUSH_ZERO): New macro.
22702         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
22703         (_FP_CMP): Likewise.
22704         (_FP_CMP_EQ): Likewise.
22705         (_FP_TO_INT): Do not set inexact for subnormal arguments if
22706         FP_DENORM_ZERO.
22707         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
22708         (FP_TRUNC): Likewise.
22710         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
22711         treated as invalid conversion, not as normal exponent.
22713         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
22714         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
22715         (_FP_CMP_EQ): Likewise.
22716         (_FP_CMP_UNORD): Likewise.
22717         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
22718         (FP_CMP_EQ_D): Likewise.
22719         (FP_CMP_UNORD_D): Likewise.
22720         * soft-fp/extended.h (FP_CMP_E): Likewise.
22721         (FP_CMP_EQ_E): Likewise.
22722         (FP_CMP_UNORD_E): Likewise.
22723         * soft-fp/quad.h (FP_CMP_Q): Likewise.
22724         (FP_CMP_EQ_Q): Likewise.
22725         (FP_CMP_UNORD_Q): Likewise.
22726         * soft-fp/single.h (FP_CMP_S): Likewise.
22727         (FP_CMP_EQ_S): Likewise.
22728         (FP_CMP_UNORD_S): Likewise.
22729         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
22730         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
22731         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
22732         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
22733         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
22734         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
22735         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
22736         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
22737         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
22738         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
22739         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
22740         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
22741         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
22742         to FP_CMP_Q.
22743         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
22744         FP_CMP_Q.
22745         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
22746         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
22747         FP_CMP_EQ_Q.
22748         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
22749         FP_CMP_Q.
22750         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
22751         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
22752         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
22753         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
22754         FP_CMP_EQ_Q.
22755         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
22756         FP_CMP_Q.
22757         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
22758         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
22759         FP_CMP_EQ_Q.
22760         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
22761         FP_CMP_Q.
22762         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
22763         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
22764         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
22765         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
22766         FP_CMP_EQ_Q.
22768         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
22769         a subnormal result, set the underflow exception if trapping on
22770         underflow is enabled.
22771         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
22772         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
22773         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
22774         redefine to 0.
22775         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
22776         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22777         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22778         * soft-fp/extendxftf2.c (__extendxftf2): Use
22779         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
22781         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
22782         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
22783         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22784         FP_HANDLE_EXCEPTIONS.
22785         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
22786         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22787         FP_HANDLE_EXCEPTIONS.
22788         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
22789         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22790         FP_HANDLE_EXCEPTIONS.
22791         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
22792         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22793         FP_HANDLE_EXCEPTIONS.
22795 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
22797         [BZ #14132]
22798         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
22799         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
22800         use INTUSE.
22801         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
22802         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
22803         Remove alias.
22804         (__adjtimex): Define using libc_hidden_ver.
22805         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
22806         Remove declaration.
22807         (ntp_gettime): Call __adjtimex directly.
22808         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
22809         Remove declaration.
22810         (ntp_gettimex): Call __adjtimex directly.
22811         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
22812         __adjtimex_internal alias.
22814 2014-10-08  Roland McGrath  <roland@hack.frob.com>
22816         [BZ #17460]
22817         * nscd/nscd.c (more_help): Rewrite list of tables collection
22818         using xstrdup and asprintf.
22820         * nscd/nscd_conf.c: Remove local xstrdup declaration.
22822 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22823             Roland McGrath  <roland@hack.frob.com>
22825         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
22826         (do_lookup_unique): ... local function 'enter' here; update callers.
22828 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
22830         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
22831         compat_symbol calls on [SHARED].
22832         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
22833         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
22834         Remove.
22835         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22836         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
22837         (oldsetrlimit): Remove.
22838         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22840         (lchown): New syscall entry.
22841         (oldsetrlimit): Remove.
22842         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22843         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
22844         (oldsetrlimit): Remove.
22845         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22847         [BZ #14138]
22848         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
22849         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
22850         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
22851         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
22852         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22853         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
22854         (fchown): Likewise.
22855         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
22856         (fchown): Likewise.
22857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
22858         Likewise.
22860 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22862         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
22863         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
22864         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
22865         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
22866         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
22867         Likewise.
22868         (__old_sem_post): Likewise.
22870 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
22872         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
22873         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
22874         HAVE_CLOCK_GETTIME_VSYSCALL macros.
22875         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
22876         Use INLINE_VSYSCALL macro.
22877         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
22878         __vdso_clock_gettime.
22879         * sysdeps/unix/sysv/linux/tile/init-first.c
22880         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
22881         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
22882         __vdso_clock_gettime.
22884         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
22885         to set up frame more cleanly.
22887         * sysdeps/tile/memcmp.c: New file.
22889         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
22891         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
22892         * sysdeps/tile/tilegx/strcasestr.c: New file.
22893         * sysdeps/tile/tilegx/strnlen.c: New file.
22894         * sysdeps/tile/tilegx/strstr.c: New file.
22896         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
22898 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
22900         * nptl/tst-setuid3.c: Write errors to stdout.
22902 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22904         * elf/dl-deps.c
22905         (preload): New functions broken out of _dl_map_object_deps.
22906         (_dl_map_object_deps):  Remove a nested function. Update call sites.
22908 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
22910         [BZ #14138]
22911         * sysdeps/unix/sysv/linux/execve.c: Remove file.
22912         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
22914 2014-10-01  Steve Ellcey  <sellcey@mips.com>
22916         * sysdeps/mips/strcmp.S: New.
22918 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
22920         [BZ #14138]
22921         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
22922         (linkat): Likewise.
22923         (mkdirat): Likewise.
22924         (readlinkat): Likewise.
22925         (renameat): Likewise.
22926         (symlinkat): Likewise.
22927         (unlinkat): Likewise.
22928         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
22929         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
22930         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
22931         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
22932         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
22933         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
22934         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
22936 2014-09-30  Will Newton  <will.newton@linaro.org>
22938         * math/math.h: Define long double math functions if
22939         _LIBC_TEST is defined.
22940         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
22942         * localedata/Makefile: Move assignment to tests-special
22943         into an ifdef testing run-built-tests.
22944         * timezone/Makefile: Likewise.
22946 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
22948         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
22949         with $(BASH) not $(SHELL).
22951 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
22952             Matthew LeGendre  <legendre1@llnl.gov>
22954         [BZ #17411]
22955         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
22956         l_reloc_result.
22958 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22960         * stdio-common/printf_fp.c
22961         (hack_digit): New function, broken out of ...
22962         (__printf_fp): ... local function here.  Update call sites.
22963         hack_digit now takes an additional parameter that is a pointer
22964         to a struct of the referenced locals.  Those locals moved inside
22965         the struct and references updated.
22967 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
22969         * aclocal.m4: Require autoconf 2.69.
22970         * configure: Regenerated.
22971         * sysdeps/aarch64/configure: Likewise.
22972         * sysdeps/alpha/configure: Likewise.
22973         * sysdeps/arm/armv7/configure: Likewise.
22974         * sysdeps/arm/configure: Likewise.
22975         * sysdeps/ia64/configure: Likewise.
22976         * sysdeps/mach/configure: Likewise.
22977         * sysdeps/mips/configure: Likewise.
22978         * sysdeps/s390/configure: Likewise.
22979         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
22980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
22982         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
22983         file.
22984         * sysdeps/ia64/configure.ac: Likewise.
22986 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
22988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
22989         specify symbol version for ld.so.  Do not include entry for
22990         libpthread.
22991         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22992         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22993         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22995         [BZ #14171]
22996         * Makeconfig [$(build-shared) = yes]
22997         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
22998         makefiles.
22999         [$(build-shared) = yes && $(soversions.mk-done) = t]
23000         ($(common-objpfx)gnu/lib-names.h): Remove rule.
23001         [$(build-shared) = yes && $(soversions.mk-done) = t]
23002         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
23003         to Makerules.
23004         [$(build-shared) = yes && $(soversions.mk-done) = t]
23005         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
23006         here.
23007         [$(build-shared) = yes && $(soversions.mk-done) = t]
23008         (common-generated): Don't append gnu/lib-names.h and
23009         gnu/lib-names.stmp here.
23010         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
23011         (lib-names-h-abi): New variable.
23012         [$(build-shared) = yes && $(soversions.mk-done) = t]
23013         (lib-names-stmp-abi): Likewise.
23014         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23015         abi-variants] (before-compile): Append
23016         $(common-objpfx)$(lib-names-h-abi).
23017         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23018         abi-variants] (common-generated): Append gnu/lib-names.h.
23019         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23020         abi-variants] (install-others-nosubdir): Depend on
23021         $(inst_includedir)/$(lib-names-h-abi).
23022         [$(build-shared) = yes && $(soversions.mk-done) = t &&
23023         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
23024         [$(build-shared) = yes && $(soversions.mk-done) = t]
23025         ($(common-objpfx)$(lib-names-h-abi)): New rule.
23026         [$(build-shared) = yes && $(soversions.mk-done) = t]
23027         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
23028         [$(build-shared) = yes && $(soversions.mk-done) = t]
23029         (common-generated): Append $(lib-names-h-abi) and
23030         $(lib-names-stmp-abi).
23031         * scripts/lib-names.awk: Do not handle multi being set.
23032         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
23033         Remove variable.
23034         (abi-lp64_be-ld-soname): Likewise.
23035         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
23036         Likewise.
23037         (abi-hard-ld-soname): Likewise.
23038         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
23039         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
23040         Remove variable.
23041         (abi-o32_hard-ld-soname): Likewise.
23042         (abi-o32_soft_2008-ld-soname): Likewise.
23043         (abi-o32_hard_2008-ld-soname): Likewise.
23044         (abi-n32_soft-ld-soname): Likewise.
23045         (abi-n32_hard-ld-soname): Likewise.
23046         (abi-n32_soft_2008-ld-soname): Likewise.
23047         (abi-n32_hard_2008-ld-soname): Likewise.
23048         (abi-n64_soft-ld-soname): Likewise.
23049         (abi-n64_hard-ld-soname): Likewise.
23050         (abi-n64_soft_2008-ld-soname): Likewise.
23051         (abi-n64_hard_2008-ld-soname): Likewise.
23052         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
23053         Likewise.
23054         (abi-64-v2-ld-soname): Likewise.
23055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
23056         ld.so entries.
23057         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
23058         variable.
23059         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
23060         entry.
23061         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
23062         variable.
23063         (abi-64-ld-soname): Likewise.
23064         (abi-x32-ld-soname): Likewise.
23065         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
23066         entry.
23067         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23069 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
23071         [BZ #14138]
23072         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
23073         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
23074         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
23075         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
23076         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
23077         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
23078         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
23079         syscall entry for GLIBC_2.2 symbol version.
23080         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
23081         Likewise.
23082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
23083         (setrlimit): Likewise.
23084         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
23085         Likewise.
23087 2014-09-23  Will Newton  <will.newton@linaro.org>
23089         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
23090         _LINUX_ARM_SYSDEP_H include guard too.
23091         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
23092         define.
23094 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
23096         * sysdeps/unix/sysv/linux/eventfd.c:
23097         Make first argument unsigned.
23098         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
23099         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
23101 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
23103         * socket/recvmmsg.c (recvmmsg): Drop const argument.
23104         * socket/sys/socket.h: Likewise.
23105         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
23107 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23109         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
23111 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
23113         * time/tst-ftime.c: New test.
23114         * time/Makefile (tests): Add tst-ftime.
23116 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
23118         * soft-fp/extended.h: Fix comment formatting.
23119         * soft-fp/op-1.h: Likewise.
23120         * soft-fp/op-2.h: Likewise.
23121         * soft-fp/op-4.h: Likewise.
23122         * soft-fp/op-8.h: Likewise.
23123         * soft-fp/op-common.h: Likewise.
23124         * soft-fp/soft-fp.h: Likewise.
23126         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
23128 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
23130         [BZ #6652]
23131         * Makeconfig (soversions-default-setname): Remove variable.
23132         ($(common-objpfx)soversions.i): Don't pass default_setname to
23133         soversions.awk.
23134         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
23135         oldest_abi to abi-versions.awk.
23136         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
23137         * config.make.in (oldest-abi): Remove variable.
23138         * configure.ac (--enable-oldest-abi): Remove configure option.
23139         * configure: Regenerated.
23140         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
23141         text.
23142         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
23143         * scripts/soversions.awk: Do not handle default_setname variable.
23144         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
23145         variable.
23146         * sysdeps/mach/hurd/configure: Regenerated.
23147         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
23148         variable.
23149         * sysdeps/unix/sysv/linux/configure: Regenerated.
23151 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23153         * elf/Makefile (CFLAGS-interp.c): Remove.
23154         ($(elf-objpfx)runtime-linker.h): Generate header with linker
23155         path string.
23156         * elf/interp.c: Include generated runtime-linker.h
23158         * Makerules (lib%.so): Don't include $(+interp) in
23159         prerequisites.
23160         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
23161         * dlfcn/eval.c: Remove file.
23163         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
23164         macros.
23166         [BZ #17266]
23167         * misc/sys/cdefs.h: Define __extern_always_inline for clang
23168         4.2 and newer.
23170         [BZ #17370]
23171         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
23173 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23174             Jakub Jelinek  <jakub@redhat.com>
23176         [BZ #17266]
23177         * libio/stdio.h: Check definition of __fortify_function
23178         instead of __extern_always_inline to include bits/stdio2.h.
23179         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
23180         check if __extern_always_inline is defined.
23181         [__USE_MISC || __USE_XOPEN]: Likewise.
23182         [__USE_ISOC99] Likewise.
23183         * misc/sys/cdefs.h (__fortify_function): Define only if
23184         __extern_always_inline is defined.
23185         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
23186         __extern_always_inline and __extern_inline only for g++-4.3
23187         and newer or a compatible gcc.
23189 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
23191         [BZ #17371]
23192         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
23193         last change to handle zero prefix length.
23195 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23197         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
23198         _SC_REGEX_VERSION.
23200         * posix/getconf.c (vars): Add _POSIX_IPV6 and
23201         _POSIX_RAW_SOCKETS.
23203 2014-09-13  Allan McRae  <allan@archlinux.org>
23205         * po/ru.po: Update Russian translation from translation project.
23207 2014-09-12  Roland McGrath  <roland@hack.frob.com>
23209         * locale/programs/locale.c (show_locale_vars): Inline local function
23210         into its sole call site.  Clean up some style nits.
23211         (print_item): New function, broken out of ...
23212         (show_info): ... local function here.  Clean up style nits.
23214         * locale/programs/ld-ctype.c (set_one_default): New function, broken
23215         out of ...
23216         (set_class_defaults): ... local function set_default here.
23217         Define set_default as a macro locally to pass constant parameters.
23218         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
23219         rather than a shared local.
23221         * stdlib/rpmatch.c (try): New function, broken out of ...
23222         (rpmatch): ... local function here.  Also, prototypify definition.
23224 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
23226         * scripts/soversions.awk: Do not handle configuration names.
23227         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
23228         vendor and os variables to soversions.awk.
23229         * configure.ac: Do not modify gnu-* host_os.
23230         * configure: Regenerated
23231         * shlib-versions: Remove first column with configuration names.
23232         * nptl/shlib-versions: Likewise.
23233         * nptl_db/shlib-versions: Likewise.
23234         * sysdeps/hppa/shlib-versions: Likewise.
23235         * sysdeps/m68k/shlib-versions: Likewise.
23236         * sysdeps/mach/hurd/shlib-versions: Likewise.
23237         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
23238         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
23239         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
23240         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
23241         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
23242         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
23243         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
23244         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
23245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23246         Likewise.
23247         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23248         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23249         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23250         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23251         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23252         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
23253         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
23254         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23257         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
23258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
23259         Regenerated.
23260         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
23261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23262         Condition symbol version definitions on [HAVE_ELFV2_ABI].
23264         * shlib-versions: Remove OS-specific entries.  Moved to files in
23265         sysdeps.
23266         * sysdeps/mach/hurd/shlib-versions: New file.
23267         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23269         * nptl/shlib-versions: Remove architecture-specific entries.
23270         Moved to files in sysdeps.
23271         * shlib-versions: Likewise.
23272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
23273         file.
23274         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23275         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23276         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23277         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23279         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
23280         (UDP_NO_CHECK6_RX): Likewise.
23282 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23284         * sysdeps/posix/sysconf.c (__sysconf): Spell
23285         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
23287 2014-08-12  Florian Weimer  <fweimer@redhat.com>
23289         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
23290         loading.
23291         * iconv/Versions (__gconv_transliterate): Export for use from
23292         gconv modules.
23293         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
23294         (struct __gconv_trans_data, __gconv_trans_fct,
23295         __gconv_trans_context_fct, __gconv_trans_query_fct,
23296         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
23297         definitions.
23298         (struct __gconv_step_data): Remove __trans member.
23299         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
23300         longer hidden.  Remove unused trans_data argument.
23301         * iconv/gconv_int.h (struct trans_struct): Remove definition.
23302         (__gconv_translit_find): Remove declaration.
23303         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
23304         prototype.
23305         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
23306         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
23307         trans_data argument.  Add hidden definition.
23308         (__gconv_translit_find): Remove.
23309         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
23310         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
23311         * iconv/skeleton.c: Remove transliteration initialization.
23312         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
23313         __gconv_step_data initialization.
23314         * libio/iofwide.c (__libio_translit_): Remove.
23315         (_IO_fwide): Adjust struct __gconv_step_data initialization.
23316         * wcsmbs/btowc.c (__btowc): Likewise.
23317         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23318         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23319         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
23320         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
23321         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
23322         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
23323         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
23324         * wcsmbs/wctob.c (wctob): Likewise.
23326 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23328         [BZ #16194]
23329         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
23330         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
23331         register usage.
23332         * sysdeps/x86/Makefile: Adjust.
23334 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23335             Roland McGrath  <roland@hack.frob.com>
23337         * locale/weight.h: Add include guard.
23338         (findidx): Make static rather than auto; take new parameters
23339         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
23340         * locale/weightwc.h: Likewise.
23341         * posix/fnmatch_loop.c
23342         (FCT): Change type of EXTRA from int32_t to wint_t.
23343         Don't include either header inside the function.
23344         Call FINDIDX rather than findidx, and pass new arguments.
23345         #undef FINDIDX at the end of the file.
23346         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
23347         FINDIDX before including fnmatch_loop.c for the non-wide version.
23348         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
23349         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
23350         for the wide version.
23351         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
23352         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
23353         Pass new arguments to findidx.
23354         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
23355         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
23356         Don't #include it inside the function.  Pass new arguments to findidx.
23357         * posix/regex_internal.h
23358         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
23359         (re_string_elem_size_at): Don't #include it inside the function.
23360         Pass new arguments to findidx.
23361         * string/strcoll_l.c: #include WEIGHT_H at top level.
23362         (get_next_seq): Don't #include it inside the function.
23363         Pass new arguments to findidx.
23364         (get_next_seq_nocache): Likewise.
23365         * string/strxfrm_l.c: #include WEIGHT_H at top level.
23366         (STRXFRM): Don't #include it inside the function.
23367         Pass new arguments to findidx.
23369 2014-09-11  Florian Weimer  <fweimer@redhat.com>
23371         [BZ #17344]
23372         * malloc/malloc.c (unlink): Turn asserts into a call to
23373         malloc_printerr.
23375 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
23377         [BZ #17370]
23378         * libio/wfileops (do_ftell_wide): Free OUT.
23380 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
23382         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
23384 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23386         [BZ #17363]
23387         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
23388         group if the current group is empty.
23390 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23392         * benchtests/bench-memset.c (test_main): Add more test from size
23393         from 32 to 512 bytes.
23394         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23395         Add POWER8 memset object.
23396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23397         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
23398         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
23399         implementation.
23400         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
23401         Likewise.
23402         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
23403         multiarch POWER8 memset optimization.
23404         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
23405         POWER8 memset optimization.
23407         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23408         Remove bzero multiarch objects.
23409         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
23410         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
23411         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
23412         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
23413         Remove define.
23414         [__bzero]: Redefine to specific name.
23415         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23416         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23417         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
23418         define.
23419         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23420         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23422 2014-09-10  Florian Weimer  <fweimer@redhat.com>
23424         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
23425         warnings into errors.
23427         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
23428         __cxa_thread_atexit_impl prototype.
23430 2014-09-09  Steve Ellcey  <sellcey@mips.com>
23432         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
23433         Fix capitalization of error message.
23435 2014-09-09  Steve Ellcey  <sellcey@mips.com>
23437         * sysdeps/mips/preconfigure: Modify ABI tests.
23439 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
23441         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
23443 2014-09-07  Roland McGrath  <roland@hack.frob.com>
23444             Carlos O'Donell  <carlos@systemhalted.org>
23446         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
23447         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
23448         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
23449         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
23450         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
23451         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
23452         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
23453         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
23454         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
23455         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
23456         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
23457         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
23458         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
23459         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
23460         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
23461         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
23462         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
23463         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
23464         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
23465         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
23466         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
23467         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
23468         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
23469         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
23470         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
23471         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
23472         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
23473         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
23474         Deconditionalize the code that was previously under [RESET_PID].
23475         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
23476         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
23477         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
23478         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
23479         include sysdep.h.
23481 2014-09-08  Allan McRae  <allan@archlinux.org>
23483         * version.h (RELEASE): Set to "development".
23484         (VERSION): Set to "2.20.90"
23486 2014-09-07  Allan McRae  <allan@archlinux.org
23488         * version.h (RELEASE): Set to "stable".
23489         (VERSION): Set to "2.20"
23490         * include/features.h (__GLIBC_MINOR__): Set to 20.
23492         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
23493         Liebler.
23495         * po/ko.po: Update Korean translation from translation project.
23497 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
23499         [BZ #17354]
23500         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
23501         macro for handling signed relocations.
23503 2014-09-03  Florian Weimer  <fweimer@redhat.com>
23505         [BZ #17325]
23506         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
23507         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
23508         assert.
23509         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
23510         * iconvdata/ibm935.c (BODY): Likewise.
23511         * iconvdata/ibm937.c (BODY): Likewise.
23512         * iconvdata/ibm939.c (BODY): Likewise.
23513         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
23514         assert.
23515         * iconvdata/Makefile (iconv-test.out): Pass module list to test
23516         script.
23517         * iconvdata/run-iconv-test.sh: New test loop for checking for
23518         decoder crashers.
23520 2014-09-02  Khem Raj  <raj.khem@gmail.com>
23522         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
23523         libm_hidden_ver.
23525 2014-09-01  Allan McRae  <allan@archlinux.org>
23527         * po/eo.po: Update Esperanto translation from translation project.
23529         * po/ca.po: Update Catalan translation from translation project.
23531 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23533         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
23534         __proc_dostop call.
23536 2014-08-27  Mark Wielaard  <mjw@redhat.com>
23538         [BZ #17319]
23539         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
23540         to call set_thread_area instead of hand written asm.
23541         (__NR_set_thread_area): Removed define.
23542         (TLS_FLAG_WRITABLE): Likewise.
23543         (__ASSUME_SET_THREAD_AREA): Remove check.
23544         (TLS_EBX_ARG): Remove define.
23545         (TLS_LOAD_EBX): Likewise.
23547 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23549         Simplify atomicity of socket creation in bind.
23551         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
23552         looking up the name after linking the file.
23554 2014-08-27  Allan McRae  <allan@archlinux.org>
23556         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23558 2014-08-26  Florian Weimer  <fweimer@redhat.com>
23560         [BZ #17187]
23561         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
23562         trans_compare, open_translit, __gconv_translit_find):
23563         Remove module loading code.
23565 2014-08-26  Allan McRae  <allan@archlinux.org>
23567         * po/vi.po: Update Vietnamese translation from translation project.
23569         * po/uk.po: Update Ukrainian translation from translation project.
23571         * po/fr.po: Update French translation from translation project.
23573         * po/ru.po: Update Russian translation from translation project.
23575         * po/pl.po: Update Polish translation from translation project.
23577         * po/cs.po: Update Czech translation from translation project.
23579         * po/de.po: Update German translation from translation project.
23581         * po/bg.po: Update Bulgarian translation from translation project.
23583         * po/sv.po: Update Sweedish translation from translation project.
23585         * po/nl.po: Update Dutch translation from translation project.
23587         * po/es.po: Update Spanish translation from translation project.
23589 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23591         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
23593         * catgets/Makefile (CPPFLAGS-gencat): Remove.
23594         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
23595         (CPPFLAGS-iconvconfig): Likewise.
23596         * timezone/Makefile (CPPFLAGS-zic): Likewise.
23598         * include/libc-symbols.h: Remove unnecessary check for
23599         NOT_IN_libc.
23600         * nptl/pthreadP.h: Likewise.
23601         * sysdeps/aarch64/setjmp.S: Likewise.
23602         * sysdeps/alpha/setjmp.S: Likewise.
23603         * sysdeps/arm/sysdep.h: Likewise.
23604         * sysdeps/i386/setjmp.S: Likewise.
23605         * sysdeps/m68k/setjmp.c: Likewise.
23606         * sysdeps/posix/getcwd.c: Likewise.
23607         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23608         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
23609         * sysdeps/s390/s390-32/setjmp.S: Likewise.
23610         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23611         * sysdeps/sh/sh3/setjmp.S: Likewise.
23612         * sysdeps/sh/sh4/setjmp.S: Likewise.
23613         * sysdeps/unix/alpha/sysdep.h: Likewise.
23614         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23615         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23616         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23617         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23620         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23621         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23622         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23623         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23624         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23625         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23626         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23627         * sysdeps/x86_64/setjmp.S: Likewise.
23629 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
23631         [BZ #17263]
23632         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
23633         <stdint.h>.
23634         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
23635         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
23637 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23639         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
23641         [BZ #17262]
23642         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
23643         and __x86_64__ when disabling x87 inline functions.
23645 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
23647         [BZ #17259]
23648         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
23649         asm statement with __cpuid_count.
23651 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
23653         * configure.ac: Change __ehdr_start code to dereference the struct.
23654         Run readelf on the output to look for relocations.
23655         * configure: Regenerated.
23657 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
23659         [BZ #17261]
23660         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
23661         value to 0.
23662         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
23664 2014-08-12  Roland McGrath  <roland@hack.frob.com>
23666         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
23668 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
23670         [BZ #16892]
23671         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
23672         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
23674 2014-08-12  Sean Anderson  <seanga2@gmail.com>
23676         * malloc/malloc.c: Fix typo in comment.
23678 2014-08-09  Allan McRae  <allan@archlinux.org>
23680         * Regenerate libc.po.
23682 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
23684         * intl/tst-gettext2.sh: Check every lang file for creation.
23686 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
23688         * sysdeps/aarch64/fpu/math_private.h
23689         (libc_feholdsetround_noex_aarch64_ctx): New function.
23691 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
23693         * sysdeps/arm/armv6/strcpy.S (strcpy):
23694         Fix performance issue in misaligned cases.
23696 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23698         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
23699         Move definition from termios.h.
23700         (struct termio): Likewise.
23701         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23702         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23703         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23704         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23705         Likewise.
23706         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
23707         Move definition to ioctl-types.h
23708         (struct termio): Likewise.
23709         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23710         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23711         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23712         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23713         Likewise.
23715 2014-08-05  Richard Henderson  <rth@redhat.com>
23717         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
23718         exceptions.
23719         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
23720         Add fraiseexcpt.
23721         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
23722         Use __feraiseexcept.
23723         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
23724         Protect libm symbols with IS_IN_libm.
23726         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
23728 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
23730         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
23732 2014-08-04  Will Newton  <will.newton@linaro.org>
23734         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
23735         file.
23737 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
23739         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
23740         variants for each function.
23742 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23744         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
23745         appended ...
23746         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
23747         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
23748         appended ...
23749         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
23750         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
23751         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
23752         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
23753         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
23754         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
23755         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
23756         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
23757         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
23758         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
23759         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
23760         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
23761         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
23762         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
23763         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
23764         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
23765         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
23766         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
23767         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
23768         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
23769         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
23770         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
23771         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
23772         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
23773         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
23774         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
23775         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
23776         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
23777         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
23778         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
23779         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
23780         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
23781         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
23782         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
23783         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
23784         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
23785         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
23786         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
23787         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
23788         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
23789         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
23790         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
23791         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
23792         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
23793         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
23794         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
23795         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
23796         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
23797         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
23798         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
23799         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
23800         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
23801         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
23802         Update #include.
23803         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
23804         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
23806 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23808         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
23809         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
23810         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
23811         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
23812         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
23813         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
23815 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23817         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
23818         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
23819         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23820         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
23822 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23824         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
23825         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
23826         (__libc_vfork): Define function under this name.
23827         (__vfork): Define as an alias.
23828         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
23829         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
23831 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23833         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
23834         that was previously under [RESET_PID].
23835         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
23837 2014-08-04  Andreas Schwab  <schwab@suse.de>
23839         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
23841 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
23843         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
23844         (main): Likewise.
23846 2014-08-01  Roland McGrath  <roland@hack.frob.com>
23848         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
23850 2014-08-01  Richard Henderon  <rth@redhat.com>
23852         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
23853         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
23854         typo in exact zero test.
23855         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23856         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23857         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23859 2014-08-01  Roland McGrath  <roland@hack.frob.com>
23861         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
23862         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
23863         * sysdeps/arm/sysdep.h: ... here.
23864         [!__ASSEMBLER__]: Include <stdint.h>.
23866 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23868         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
23869         (HAVE_WCTYPE_H): Likewise.
23870         (HAVE_ISWCTYPE): Likewise.
23871         (ENABLE_NLS): Likewise.
23872         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
23873         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
23875         * posix/regex_internal.c: Check if DEBUG is defined and is
23876         set.
23878         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
23879         (HAVE_MBSRTOWCS): Likewise.
23880         * posix/fnmatch.c: Include string.h unconditionally.
23882 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23884         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
23885         reversal.
23887 2014-07-31  Roland McGrath  <roland@hack.frob.com>
23889         * sysdeps/generic/safe-fatal.h: New file.
23890         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
23891         * nptl/forward.c: Include it.
23892         (__pthread_unwind): Use __safe_fatal as default action, rather
23893         than a bogus use of INTERNAL_SYSCALL that could never work.
23895         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
23896         * configure.ac (libc_cv_builtin_trap): New test.
23897         * configure: Regenerated.
23898         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
23899         (ABORT_INSTRUCTION): Define using __builtin_trap.
23901         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
23902         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
23903         * sysdeps/nptl/nptl-signals.h: New file.
23904         * nptl/pthreadP.h: Include <nptl-signals.h>.
23906 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23908         * sysdeps/s390/s390-64/utf16-utf32-z9.c
23909         (ONE_DIRECTION): Define.
23910         * sysdeps/s390/s390-64/utf8-utf16-z9.c
23911         (ONE_DIRECTION): Define.
23912         * sysdeps/s390/s390-64/utf8-utf32-z9.c
23913         (ONE_DIRECTION): Define.
23915 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23917         * sysdeps/s390/Makefile: Delete file.
23918         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
23919         * sysdeps/s390/__longjmp.c: Delete file.
23920         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
23921         Remove fields __flags and __reserved.
23922         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
23923         and add versioning.
23924         * sysdeps/s390/rtld-__longjmp.c: Delete file.
23925         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
23926         * sysdeps/s390/rtld-setjmp.S: Likewise.
23927         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
23928         * sysdeps/s390/s390-32/__longjmp.c: ... here.
23929         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
23930         * sysdeps/s390/s390-32/setjmp.S: ... here.
23931         Add versioning.
23932         (__sigsetjmp): Remove setting __flags field.
23933         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
23934         * sysdeps/s390/s390-64/__longjmp.c: ... here.
23935         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
23936         * sysdeps/s390/s390-64/setjmp.S: ... here.
23937         Add versioning.
23938         (__sigsetjmp): Remove setting __flags field.
23939         * sysdeps/s390/setjmp.S: Delete file.
23940         * sysdeps/s390/sigjmp.c: Likewise.
23941         * sysdeps/s390/v1-longjmp.c: Likewise.
23942         * sysdeps/s390/v1-setjmp.h: Likewise.
23943         * sysdeps/s390/v1-sigjmp.c: Likewise.
23944         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
23945         Remove v1-longjmp_chk.
23946         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
23947         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
23948         Include debug/longjmp_chk.c and add versioning.
23949         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
23950         Include nptl/pt-longjmp.c and add versioning.
23951         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
23952         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
23953         Include __longjmp.c.
23954         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23955         Move to ...
23956         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
23957         (__getcontext): Remove setting __flags field.
23958         Add versioning.
23959         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23960         Don't restore upper high grps.
23961         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
23962         Likewise.
23963         (__swapcontext): Remove setting uc_flags field.
23964         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
23965         Delete file.
23966         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23967         Include __longjmp.c.
23968         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23969         Move to ...
23970         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
23971         (__getcontext): Remove setting __flags field.
23972         Add versioning.
23973         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
23974         (__swapcontext): Remove setting uc_flags field.
23975         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
23976         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
23977         Remove fields uc_high_gprs and __reserved.
23978         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
23979         New file with reverted content.
23980         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
23981         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
23982         Regenerated.
23983         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
23984         Regenerated.
23986 2014-07-31  Andreas Schwab  <schwab@suse.de>
23988         * config.h.in (HAVE_IFUNC): Define to 0.
23989         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
23990         definedness.
23992 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
23994         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23995         memmove-avx-unaligned, memcpy-avx-unaligned and
23996         mempcpy-avx-unaligned.
23997         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23998         Add tests for AVX memcpy functions.
23999         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
24000         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
24001         memcpy_chk.
24002         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
24003         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
24004         memmove_chk.
24005         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
24006         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
24007         mempcpy_chk.
24008         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
24009         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
24010         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
24012 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24014         [BZ #17213]
24015         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
24016         powerpc64le.
24018 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
24020         [BZ #16839]
24021         * manual/llio.texi: Add section about open file description locks.
24022         * manual/examples/ofdlocks.c: Example of open file description
24023         lock usage.
24024         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
24025         F_OFD_SETLK, and F_OFD_SETLKW.
24027 2014-07-23  Allan McRae  <allan@archlinux.org>
24029         * po/es.po: Update Spanish translation from translation project.
24031 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
24033         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
24035 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
24037         [BZ #17078]
24038         * sysdeps/arm/dl-machine.h (elf_machine_rela)
24039         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
24040         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
24042 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
24044         [BZ #17088]
24045         * math/fesetenv.c (__fesetenv)
24046         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
24047         * math/feupdateenv.c (__feupdateenv)
24048         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
24050         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
24051         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
24052         (__ASSUME_SOCKETCALL): Do not define.
24054         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
24055         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
24056         (__ASSUME_SOCKETCALL): Do not define.
24057         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
24058         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
24059         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24060         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
24061         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24062         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
24063         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24064         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24066         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
24067         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
24068         (__ASSUME_SOCKETCALL): Do not define.
24069         (__ASSUME_IPC64): Define unconditionally.
24070         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
24071         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24072         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
24073         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24074         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
24075         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24076         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
24077         Likewise.
24079         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
24080         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
24081         (__ASSUME_SOCKETCALL): Do not define.
24082         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
24083         (__ASSUME_FUTEX_LOCK_PI): Likewise.
24084         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24085         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24086         (__ASSUME_REQUEUE_PI): Define unconditionally.
24087         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
24088         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
24089         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24090         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
24091         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24092         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24094         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
24095         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
24096         (__ASSUME_SOCKETCALL): Do not define.
24097         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
24098         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24099         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24100         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
24101         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24102         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24104         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
24105         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
24106         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24107         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
24108         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24109         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
24110         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24111         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
24112         (__ASSUME_GETCPU_SYSCALL): Likewise.
24114         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
24115         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
24116         cases for individual architectures.
24117         * sysdeps/gnu/configure: Regenerated.
24118         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
24119         LIBC_SLIBDIR_RTLDDIR.
24120         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
24121         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
24122         LIBC_SLIBDIR_RTLDDIR.
24123         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
24124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
24125         LIBC_SLIBDIR_RTLDDIR.
24126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
24127         Regenerated.
24128         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
24129         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
24130         file.
24131         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
24132         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
24133         file.
24134         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
24135         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
24136         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
24137         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
24139         * sysdeps/aarch64/shlib-versions: Move to ...
24140         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
24141         * sysdeps/alpha/shlib-versions: Move to ...
24142         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
24143         * sysdeps/arm/shlib-versions: Move to ...
24144         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
24145         * sysdeps/hppa/shlib-versions: Move all contents except for
24146         libgcc_s entry to ...
24147         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
24148         entry from ...
24149         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
24150         * sysdeps/ia64/shlib-versions: Move to ...
24151         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
24152         entry from ...
24153         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
24154         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
24155         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
24156         * sysdeps/microblaze/shlib-versions: Move to ...
24157         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
24158         * sysdeps/mips/shlib-versions: Move to ...
24159         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
24160         entry from ...
24161         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
24162         * sysdeps/tile/shlib-versions: Move to ...
24163         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
24164         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
24165         from ...
24166         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
24167         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
24168         entry from ...
24169         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
24171 2014-07-17  Will Newton  <will.newton@linaro.org>
24173         * sysdeps/arm/bits/atomic.h
24174         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
24175         (__arch_compare_and_exchange_bool_16_int): Likewise.
24176         (__arch_compare_and_exchange_bool_64_int): Likewise.
24178         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
24179         into an #else block.
24181 2014-07-16  Roland McGrath  <roland@hack.frob.com>
24183         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
24184         just Linux configurations.  Test empirically that the compiler sets
24185         __ARM_EABI__, rather than using the tuple to decide.
24186         * sysdeps/arm/preconfigure: Regenerated.
24187         * sysdeps/unix/sysv/linux/arm/configure: File removed.
24188         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
24189         contents appended ...
24190         * sysdeps/arm/configure.ac: ... here.
24191         * sysdeps/arm/configure: Regenerated.
24193 2014-07-15  Roland McGrath  <roland@hack.frob.com>
24195         * nptl/pthread_kill.c: New file.
24196         * nptl/pthread_sigmask.c: New file.
24197         * nptl/pthread_sigqueue.c: New file.
24199         * sysdeps/nptl/lowlevellock.h: New file.
24200         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
24201         * sysdeps/nptl/lowlevellock-futex.h: New file.
24203         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
24204         Remove dead declarations.
24206 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
24208         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
24209         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
24210         config-cflags-avx2.
24211         * sysdeps/x86_64/configure.ac: Likewise.
24212         * sysdeps/i386/configure: Regenerated.
24213         * sysdeps/x86_64/configure: Likewise.
24214         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24215         memset-avx2 only if config-cflags-avx2 is yes.
24216         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24217         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
24218         defined.
24219         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
24220         only if HAVE_AVX2_SUPPORT is defined.
24221         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24223 2014-07-14  Alan Modra  <amodra@gmail.com>
24225         [BZ #17153]
24226         * elf/elf.h (DT_PPC64_NUM): Correct value.
24227         * NEWS: Add to fixed bug list.
24229 2014-07-13  Jim Meyering  <meyering@fb.com>
24231         [BZ 17150]
24232         regex: don't deref NULL upon heap allocation failure
24233         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
24234         failure in one more place.
24235         To trigger the segfault, configure grep -with-included-regex,
24236         build it, and run these commands:
24237         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
24239 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
24241         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24243 2014-07-11  Richard Henderson  <rth@redhat.com>
24245         * sysdeps/aarch64/libm-test-ulps: Update.
24247 2014-07-10  Florian Weimer  <fweimer@redhat.com>
24249         [BZ #17135]
24250         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
24251         * nptl/allocatestack.c (__nptl_setxid_error): New function.
24252         (__nptl_setxid): Initialize error member.  Call
24253         __nptl_setxid_error.
24254         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
24255         * nptl/descr.h (struct xid_command): Add error member.
24256         * nptl/tst-setuid3.c: New file.
24257         * nptl/Makefile (tests): Add it.
24259 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24261         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
24262         New define.
24263         (__lll_trylock): Use __lll_base_trylock.
24264         (__lll_cond_trylock): Likewise.
24266 2014-07-10  Roland McGrath  <roland@hack.frob.com>
24268         * nptl/pthread_create.c (start_thread): Use atomic_or and
24269         lll_futex_wake directly rather than lll_robust_dead.
24270         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24271         (lll_robust_dead): Macro removed.
24272         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
24273         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24274         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24275         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24276         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24277         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24278         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24279         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24280         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24281         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24282         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24283         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24284         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24285         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24286         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24288         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24289         Use atomic_compare_and_exchange_val_acq directly rather than
24290         lll_robust_trylock.
24291         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24292         (__lll_robust_trylock, lll_robust_trylock): Removed.
24293         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24294         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24295         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24296         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24297         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24298         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24299         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24300         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24301         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24302         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24303         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24304         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24305         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24306         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24308 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24310         * manual/locale.texi (Locale Names): New section documenting
24311         locale name syntax.  Adjust menu and node chaining accordingly.
24312         (Choosing Locale): Reference Locale Names, Locale Categories.
24313         Mention setting LC_ALL=C.  Reflect that name syntax is now
24314         documented.
24315         (Locale Categories): New section title.  Reference Locale Names.
24316         LC_ALL is an environment variable, but not a category.
24317         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
24318         description, now in Locale Name.  Reference that section.  Locale
24319         name syntax is now documented.
24321 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24323         [BZ #17137]
24324         * locale/findlocale.c (name_present, valid_locale_name): New
24325         functions.
24326         (_nl_find_locale): Use the loc_name variable to store name
24327         candidates.  Call name_present and valid_locale_name to check and
24328         validate locale names.  Return an error if the locale is invalid.
24330 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24332         * locale/setlocale.c (setlocale): Use strdup for allocating
24333         composite name copy.
24335 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24337         Sync up with gnulib.
24338         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
24339         [!_LIBC && ENABLE_NLS]: Include gettext.h.
24340         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
24341         and _GL_ARG_NONNULL.
24342         [USE_UNLOCKED_IO]: Include unlocked-io.h.
24343         [!_LIBC]: Include code for Windows and Cygwin.
24344         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
24345         Include prototype for int strerror_r.
24346         [!_LIBC] (is_open): New function.
24347         (flush_stdout): New function.
24348         (print_errno_message): Use it.
24349         (error): Likewise.
24350         (error_at_line): Likewise.
24351         (error_tail) Add function attribute macros.  Use
24352         __builtin_expect.
24354         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
24356         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
24358         * io/ftw.c: Include sys/param.h unconditionally.
24360         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
24362         [BZ #17125]
24363         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
24364         libc_freeres_ptr.
24365         (freecache): New function to free CACHE on exit.
24367         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
24368         initialization.
24370 2014-07-09  David S. Miller  <davem@davemloft.net>
24372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24374         * sysdeps/sparc/nptl/internaltypes.h: Delete.
24375         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
24376         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
24377         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
24378         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
24379         * sysdeps/sparc/nptl/sem_init.c: Likewise.
24380         * sysdeps/sparc/nptl/sem_post.c: Likewise.
24381         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
24382         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
24383         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
24384         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
24385         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
24386         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
24388 2014-07-09  Andreas Schwab  <schwab@suse.de>
24390         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
24391         output.
24392         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
24393         (do_test): Likewise.
24395         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24397 2014-07-09  Will Newton  <will.newton@linaro.org>
24399         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
24400         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
24401         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
24402         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
24403         * sysdeps/hppa/start.S (_start): Likewise.
24405 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24407         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
24409         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
24410         defined.
24412 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24414         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
24415         after checking that it is non-NULL.
24417         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
24419 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24421         * sysdeps/powerpc/memmove.c: Remove file.
24422         * sysdeps/powerpc/powerpc32/power4/memcopy.h
24423         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
24424         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24425         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
24426         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
24427         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
24428         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
24429         string memmove instead of removed powerpc one.
24431         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24432         [weak_alias]: Fix compiler warning due trailing data.
24433         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
24434         [weak_alias]: Likewise.
24435         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
24436         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
24438         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24439         (__libc_ifunc_impl_list): Add memmove functions.
24441 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24443         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
24444         Remove code.
24445         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
24446         Likewise.
24447         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
24448         Likewise.
24449         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
24450         Likewise.
24451         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
24452         Likewise.
24453         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
24454         Likewise.
24455         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
24456         Likewise.
24457         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
24458         Likewise.
24459         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
24460         Likewise.
24461         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
24462         Likewise.
24463         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
24464         Likewise.
24465         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
24466         Likewise.
24467         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
24468         Likewise.
24469         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
24470         Likewise.
24471         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
24472         Likewise.
24473         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
24474         Likewise.
24475         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
24476         Likewise.
24478 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24480         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
24481         to avoid alignment traps in non-cacheable memory.
24482         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24484         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
24485         multiarch objects.
24486         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
24487         file: multiarch power7 memmove.
24488         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
24489         multiarch default memmove.
24490         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
24491         multiarch memove for powerpc32/power4.
24493         * string/bcopy.c: Use full path to include memmove.c.
24494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
24495         multiarch objects.
24496         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
24497         bcopy for powerpc64.
24498         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
24499         bcopy for powerpc64.
24500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
24501         and memmove implementations.
24502         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
24503         optimized multiarch memmove for POWER7/powerpc64.
24504         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
24505         default multiarch memmove for powerpc64.
24506         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
24507         multiarch for powerpc64.
24508         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
24509         for POWER7/powerpc64.
24510         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
24511         memmove for POWER7/powerpc64.
24513         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
24514         glibc default one.
24516         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
24517         __ELF_NATIVE_CLASS equal to 64.
24519 2014-07-07  Roland McGrath  <roland@hack.frob.com>
24521         * sysdeps/nptl/lowlevellock.h: File removed.
24523         * NEWS: NPTL is no longer an add-on!
24524         * nptl/internaltypes.h: Moved ...
24525         * sysdeps/nptl/internaltypes.h: ... here.
24526         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
24527         * sysdeps/nptl/fork.c: Likewise.
24528         * sysdeps/nptl/gai_misc.h: Likewise.
24529         * sysdeps/nptl/librt-cancellation.c: Likewise.
24530         * sysdeps/nptl/jmp-unwind.c: Likewise.
24531         * sysdeps/nptl/setxid.h: Likewise.
24532         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
24533         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
24534         * sysdeps/unix/sysv/linux/arm/Implies: New file.
24535         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
24536         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
24537         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
24538         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
24539         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
24540         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
24541         * sysdeps/unix/sysv/linux/mips/Implies: New file.
24542         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
24543         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
24544         * sysdeps/unix/sysv/linux/sh/Implies: New file.
24545         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
24546         * sysdeps/unix/sysv/linux/tile/Implies: New file.
24547         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
24548         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
24549         * nptl/Makeconfig: Moved ...
24550         * sysdeps/nptl/Makeconfig: ... here.
24551         * nptl/configure: File removed.
24552         * nptl/ANNOUNCE: File removed.
24553         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
24554         * sysdeps/unix/sysv/linux/configure: Regenerated.
24556         * nptl/Makefile (routines): Add libc_pthread_init,
24557         libc_multiple_threads, register-atfork and unregister-atfork.
24558         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
24559         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
24560         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
24561         pthread-pi-defines.sym, structsem.sym.
24562         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
24563         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
24564         [$(subdir) = nptl] (tests): Add tst-setgetname.
24565         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
24566         * sysdeps/unix/sysv/linux/sigaction.c: Just include
24567         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
24568         [!LIBC_SIGACTION]: Remove aliases.
24569         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24570         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24571         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24572         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
24573         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
24574         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
24575         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24576         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24577         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24578         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
24579         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
24580         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
24581         __libc_allocate_rtsig_private.
24582         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
24583         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
24584         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24585         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24586         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
24587         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
24588         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
24589         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
24590         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
24591         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
24592         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
24593         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
24594         * nptl/internaltypes.h: ... here.
24595         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
24596         * sysdeps/nptl/jmp-unwind.c: ... here.
24597         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
24598         * nptl/libc-lowlevellock.c: ... here.
24599         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
24600         * nptl/libc_multiple_threads.c: ... here.
24601         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
24602         * nptl/libc_pthread_init.c: ... here.
24603         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
24604         * nptl/lowlevelbarrier.sym: ... here.
24605         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
24606         * nptl/lowlevelcond.sym: ... here.
24607         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
24608         * nptl/lowlevellock.c: ... here.
24609         * nptl/lowlevellock.h: Moved ...
24610         * sysdeps/nptl/lowlevellock.h: ... here.
24611         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
24612         * nptl/lowlevelrobustlock.c: ... here.
24613         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
24614         * nptl/lowlevelrobustlock.sym: ... here.
24615         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
24616         * nptl/lowlevelrwlock.sym: ... here.
24617         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
24618         * nptl/pt-fork.c: ... here.
24619         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
24620         * nptl/pthread-pi-defines.sym: ... here.
24621         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
24622         * nptl/pthread_attr_getaffinity.c: ... here.
24623         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
24624         * nptl/pthread_attr_setaffinity.c: ... here.
24625         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
24626         * nptl/pthread_mutex_cond_lock.c: ... here.
24627         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
24628         Update #include.
24629         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
24630         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
24631         * nptl/pthread_once.c: ... here, replacing old file.
24632         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
24633         * nptl/pthread_yield.c: ... here.
24634         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
24635         * nptl/register-atfork.c: ... here.
24636         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
24637         * nptl/sem_post.c: ... here.
24638         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
24639         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
24640         * nptl/sem_timedwait.c: ... here.
24641         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
24642         * nptl/sem_trywait.c: ... here.
24643         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
24644         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
24645         * nptl/sem_wait.c: ... here.
24646         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
24647         * nptl/structsem.sym: ... here.
24648         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
24649         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
24650         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
24651         * nptl/unregister-atfork.c: ... here.
24652         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
24653         * nptl/unwindbuf.sym: ... here.
24654         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
24655         * sysdeps/nptl/fork.c: ... here.
24656         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
24657         * sysdeps/nptl/fork.h: ... here.
24658         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
24659         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
24660         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
24661         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
24662         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
24663         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
24664         * sysdeps/unix/sysv/linux/getpid.c: ... here.
24665         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
24666         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
24667         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
24668         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
24669         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
24670         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
24671         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
24672         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
24673         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
24674         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
24675         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
24676         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
24677         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
24678         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
24679         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
24680         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
24681         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
24682         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
24683         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
24684         * sysdeps/unix/sysv/linux/raise.c: ... here.
24685         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
24686         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
24687         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
24688         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
24689         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
24690         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
24691         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
24692         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
24693         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
24694         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
24695         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
24696         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
24697         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
24698         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
24699         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
24701 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24703         * sysdeps/generic/memcopy.h: Add comment for
24704         MEMCPY_OK_FOR_FWD_MEMMOVE.
24706 2014-07-04  Will Newton  <will.newton@linaro.org>
24708         * string/memchr.c: Merge from gnulib.
24709         [_LIBC]: Remove conditionals.
24710         (__ptr_t): Remove define.
24711         (LONG_MAX_32_BITS): Likewise.
24712         (LONG_MAX): Likewise.
24713         (MEMCHR): Use ANSI prototype and optimize algorithm.
24715         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
24717 2014-07-03  Roland McGrath  <roland@hack.frob.com>
24719         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
24720         (lll_futex_timed_wait_bitset): Fix syscall argument count.
24722         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
24723         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
24724         in a bare environment with no <stdlib.h> installed.
24725         * sysdeps/nptl/configure: Regenerated.
24727         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
24729         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
24730         AC_EGREP_CPP for kernel header checks, so they only succeed if
24731         including <linux/version.h> actually works right.
24732         * sysdeps/unix/sysv/linux/configure: Regenerated.
24734         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
24735         value so it's not diagnosed as unused.
24737         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
24738         thing) with "ifeq ($(subdir),rt)".
24740 2014-07-03  Richard Henderson  <rth@redhat.com>
24742         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
24743         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
24744         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
24746         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
24747         (math_force_eval): New.
24749         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
24750         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
24752         * sysdeps/alpha/fpu/s_round.c: Remove file.
24753         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
24755         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
24756         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
24757         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
24758         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
24759         (_dl_start, print_statistics): Likewise.
24760         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
24761         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
24763         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24764         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24765         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24766         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24767         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24768         (HP_SMALL_TIMING_AVAIL): Define.
24769         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24770         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24771         (HP_SMALL_TIMING_AVAIL): Define.
24772         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24773         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24775         * sysdeps/aarch64/hp-timing.h: New file.
24777         * sysdeps/generic/hp-timing.h: Remove dead comment.
24778         * sysdeps/generic/hp-timing-common.h: New file.
24779         * sysdeps/alpha/hp-timing.h: Include it.
24780         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
24781         * sysdeps/i386/i686/hp-timing.h: Likewise.
24782         * sysdeps/ia64/hp-timing.h: Likewise.
24783         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24784         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24785         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24786         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24787         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
24788         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
24789         (hp_timing_t): New.
24791         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
24792         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
24793         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
24794         * elf/rtld.c (_dl_start_final): Likewise.
24795         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
24796         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24797         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24798         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24799         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24800         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24801         (HP_TIMING_DIFF_INIT): Remove.
24802         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24803         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24804         (HP_TIMING_DIFF_INIT): Remove.
24805         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24806         * sysdeps/i386/i686/hp-timing.c: Remove file.
24807         * sysdeps/x86_64/hp-timing.c: Remove file.
24808         * sysdeps/ia64/hp-timing.c: Remove file.
24809         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
24810         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
24811         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
24812         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
24814         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
24815         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
24816         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
24817         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24818         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24819         (HP_TIMING_ACCUM): Remove.
24820         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24821         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
24822         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24824         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
24825         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
24826         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
24827         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
24828         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
24829         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24830         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
24831         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24833         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
24835 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
24837         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
24839 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24841         Sync up with gettext.
24842         * intl/loadmsgcat.c: Define O_BINARY if not defined.
24843         [_MSC_VER]: Include malloc.h
24844         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
24845         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
24846         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
24847         TEMP_FAILURE_RETRY.  Cast return of alloca.
24848         [!_LIBC] Call gl_rwlock_init.
24849         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
24851 2014-07-02  Roland McGrath  <roland@hack.frob.com>
24853         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
24854         before checking its value.
24856 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24858         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
24860         * debug/memcpy_chk.c: Don't include pagecopy.h.
24861         * debug/mempcpy_chk.c: Likewise.
24862         * string/memcpy.c: Likewise.
24863         * string/memmove.c: Likewise.
24864         * sysdeps/powerpc/memmove.c: Likewise.
24865         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
24866         definition of PAGE_COPY_FWD_MAYBE here...
24867         * sysdeps/generic/pagecopy.h: ... from here.
24868         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
24870 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24871             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24873         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
24874         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
24875         optimizations.
24876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24877         (__libc_ifunc_impl_list): Likewise.
24878         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
24879         multiarch strcat for PPC64.
24880         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
24881         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
24883 2014-07-02  Roland McGrath  <roland@hack.frob.com>
24885         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
24887 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24889         * intl/loadmsgcat.c: Remove declaration of
24890         get_sysdep_segment_value.
24891         (get_sysdep_segment_value): Use ISO C style.
24892         (_nl_load_domain): Use ISO C style.  Get rid of redundant
24893         semicolon.  Fix typo and formatting in comment.
24894         (_nl_unload_domain): Use ISO C style.
24896         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
24898 2014-07-02  Will Newton  <will.newton@linaro.org>
24900         * malloc/obstack.c: Merge from gnulib master.
24901         [HAVE_CONFIG_H]: Remove conditional code.
24902         [!_LIBC]: Include config.h.
24903         [!ELIDE_CODE]: Don't include inttypes.h, include
24904         stdint.h unconditionally.
24905         (print_and_abort): Mark as _Noreturn.
24906         (_obstack_allocated_p): Mark as __attribute_pure__.
24907         (obstack_free): Rename to __obstack_free.
24908         [!__attribute__]: Remove conditional code.
24909         * malloc/obstack.h: Merge from gnulib master.
24910         [__cplusplus]: Move conditional down.
24911         [!__attribute_pure__]: Define __attribute_pure__ here
24912         if it is not already defined.
24913         (_obstack_memory_used): Mark as __attribute_pure__.
24914         [!__obstack_free]: Define as obstack_free.
24915         [__GNUC__]: Remove check for ancient NeXT gcc.
24917 2014-07-02  Will Newton  <will.newton@linaro.org>
24918             Paul Eggert  <eggert@cs.ucla.edu>
24920         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
24922 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24924         * resolv/gethnamaddr.c: Add comment warning that the file is
24925         not maintained.
24927 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
24929         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
24930         entries.
24932         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
24933         entry for aio_cancel and aio_cancel64.
24934         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
24935         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
24936         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
24937         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
24938         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
24939         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
24940         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
24941         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
24942         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
24943         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
24944         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
24945         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
24946         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
24948 2014-07-01  Roland McGrath  <roland@hack.frob.com>
24950         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
24951         * nptl/pthread_mutex_lock.c: Likewise.
24952         * nptl/pthread_mutex_timedlock.c: Likewise.
24953         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
24955 2014-07-01  Richard henderson  <rth@redhat.com>
24957         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
24958         (__isnan, __isnanl): Remove.
24959         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
24961         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24963 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
24965         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24967 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24969         * resolv/nss_dns/dns-host.c (getanswer_r)
24970         [MULTI_PTRS_ARE_ALIASES]: Remove code.
24972 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
24974         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24975         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
24976         undefine.
24977         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
24978         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
24980 2014-07-01  Roland McGrath <roland@hack.frob.com>
24982         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
24983         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
24985         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
24986         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
24988         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
24989         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
24990         ... here.
24991         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
24992         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
24994         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
24995         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
24996         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
24997         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
24999         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
25000         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
25001         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
25002         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
25003         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
25004         Moved ...
25005         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
25006         ... here.
25007         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
25008         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
25009         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
25010         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
25011         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
25012         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
25013         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
25014         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
25015         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
25016         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
25017         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
25018         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
25019         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
25020         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
25021         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
25022         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
25023         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
25024         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
25025         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
25026         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
25027         ... here.
25028         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
25029         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
25030         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
25031         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
25032         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
25033         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
25034         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
25035         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
25037 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
25039         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
25040         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
25041         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
25042         Add sysdep.
25044 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25048 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
25050         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
25051         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
25053         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
25055         * sysdeps/arm/libm-test-ulps: Regenerated.
25057 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
25058             Roland McGrath <roland@hack.frob.com>
25060         * test-skeleton.c (signal_handler): Kill the whole process group
25061         before killing the child individually.
25062         (main): Report any failure on `setpgid'.
25064 2014-06-30  Roland McGrath  <roland@hack.frob.com>
25066         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
25067         from _TLS_H to _ARM_NPTL_TLS_H.
25068         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
25069         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
25071 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
25073         [BZ #16539]
25074         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
25075         (__expm1l): Return argument unchanged when small but not
25076         subnormal.
25078         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
25079         include macro name.
25080         (_FP_UNPACK_RAW_1_P): Likewise.
25081         (_FP_PACK_RAW_1): Likewise.
25082         (_FP_PACK_RAW_1_P): Likewise.
25083         (_FP_MUL_MEAT_1_wide): Likewise.
25084         (_FP_MUL_MEAT_DW_1_hard): Likewise.
25085         (_FP_MUL_MEAT_1_hard): Likewise.
25086         (_FP_DIV_MEAT_1_imm): Likewise.
25087         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
25088         (_FP_DIV_MEAT_1_udiv): Likewise.
25089         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
25090         (_FP_UNPACK_RAW_2): Likewise.
25091         (_FP_UNPACK_RAW_2_P): Likewise.
25092         (_FP_PACK_RAW_2): Likewise.
25093         (_FP_PACK_RAW_2_P): Likewise.
25094         (_FP_MUL_MEAT_DW_2_wide): Likewise.
25095         (_FP_MUL_MEAT_2_wide): Likewise.
25096         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
25097         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25098         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
25099         (_FP_MUL_MEAT_2_gmp): Likewise.
25100         (_FP_DIV_MEAT_2_udiv): Likewise.
25101         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
25102         (_FP_FRAC_SRL_4): Likewise.
25103         (_FP_FRAC_SRST_4): Likewise.
25104         (_FP_FRAC_SRS_4): Likewise.
25105         (_FP_UNPACK_RAW_4): Likewise.
25106         (_FP_UNPACK_RAW_4_P): Likewise.
25107         (_FP_PACK_RAW_4): Likewise.
25108         (_FP_PACK_RAW_4_P): Likewise.
25109         (_FP_MUL_MEAT_DW_4_wide): Likewise.
25110         (_FP_MUL_MEAT_4_wide): Likewise.
25111         (_FP_MUL_MEAT_4_gmp): Likewise.
25112         (umul_ppppmnnn): Likewise.
25113         (_FP_DIV_MEAT_4_udiv): Likewise.
25114         (__FP_FRAC_ADD_4): Likewise.
25115         (__FP_FRAC_SUB_3): Likewise.
25116         (__FP_FRAC_SUB_4): Likewise.
25117         (__FP_FRAC_DEC_3): Likewise.
25118         (__FP_FRAC_DEC_4): Likewise.
25119         (__FP_FRAC_ADDI_4): Likewise.
25120         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
25121         (_FP_FRAC_SRL_8): Likewise.
25122         (_FP_FRAC_SRS_8): Likewise.
25124         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
25125         include macro name.
25126         (FP_UNPACK_RAW_EP): Likewise.
25127         (FP_PACK_RAW_E): Likewise.
25128         (FP_PACK_RAW_EP): Likewise.
25129         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
25130         (_FP_ISSIGNAN): Likewise.
25131         (_FP_ADD_INTERNAL): Likewise.
25132         (_FP_FMA): Likewise.
25133         (_FP_CMP): Likewise.
25134         (_FP_SQRT): Likewise.
25135         (_FP_TO_INT): Likewise.
25136         (_FP_FROM_INT): Likewise.
25137         (FP_EXTEND): Likewise.
25138         (_FP_DIV_MEAT_N_loop): Likewise.
25140 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
25142         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
25143         throughout.
25145 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
25147         [BZ #17097]
25148         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
25149         result with correct sign in case of exponents that produce
25150         overflow except for X very close to 1.
25152 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
25154         mktime: merge #if/#ifdef usage from glibc
25155         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
25156         as that works with both Glibc's and Gnulib's style.
25157         See thread starting at Siddhesh Poyarekar's bug report at:
25158         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
25160 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25162         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
25163         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
25164         * sysdeps/tile/tilegx/memmove.c: Remove file.
25166 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
25168         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
25169         abi-name definition.
25170         * scripts/soversions.awk: Do not handle or generate ABI lines.
25171         * shlib-versions: Remove ABI entries.
25172         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
25173         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
25175 2014-06-27  Roland McGrath  <roland@hack.frob.com>
25177         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
25178         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
25179         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
25180         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
25181         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
25182         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
25183         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
25184         Moved ...
25185         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
25186         ... here.
25187         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
25188         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
25189         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
25190         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
25191         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
25192         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
25193         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
25194         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
25195         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
25196         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
25197         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
25198         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
25199         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
25200         Moved ...
25201         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
25202         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
25203         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
25204         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
25205         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
25206         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
25207         Moved ...
25208         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
25209         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
25210         Moved ...
25211         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
25212         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
25213         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
25214         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
25215         Moved ...
25216         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
25217         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
25218         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
25219         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
25220         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
25221         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
25222         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
25223         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
25224         Moved ...
25225         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
25226         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
25227         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
25228         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
25229         Moved ...
25230         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
25231         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
25232         Moved ...
25233         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
25234         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
25235         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
25236         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
25237         Moved ...
25238         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
25239         ... here.
25240         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
25241         Identical file removed.
25242         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
25243         Moved ...
25244         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
25245         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
25246         Identical file removed.
25247         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
25248         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
25249         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
25250         Moved ...
25251         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
25252         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
25253         Identical file removed.
25254         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
25255         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
25256         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
25257         Identical file removed.
25258         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
25259         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
25260         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
25261         Identical file removed.
25262         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
25263         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
25264         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
25265         Identical file removed.
25266         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
25267         Moved ...
25268         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
25269         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
25270         Identical file removed.
25271         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
25272         Moved ...
25273         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
25274         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
25275         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
25276         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
25277         Identical file removed.
25278         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
25279         Moved ...
25280         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
25281         ... here.
25282         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
25283         Identical file removed.
25284         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
25285         Moved ...
25286         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
25287         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
25288         Identical file removed.
25289         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
25290         Moved ...
25291         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
25292         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
25293         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
25294         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
25295         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
25296         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
25297         Moved ...
25298         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
25299         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
25300         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
25302         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
25303         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
25304         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
25305         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
25306         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
25308 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
25310         [BZ #17092]
25311         * nscd/nscd.c (monitor_child): Return exit status of child
25312         instead of return value from wait syscall.
25314 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
25316         * configure.ac (libc_commonpagesize): Remove variable.
25317         (libc_relro_required): Likewise.
25318         (libc_cv_z_relro): Remove configure test.
25319         * configure: Regenerated.
25320         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
25321         variable.
25322         (libc_relro_required): Likewise.
25323         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
25324         (libc_relro_required): Likewise.
25325         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
25326         (libc_relro_required): Likewise.
25327         * sysdeps/arm/preconfigure: Regenerated.
25328         * sysdeps/ia64/preconfigure: Remove file.
25329         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
25330         variable.
25331         (libc_relro_required): Likewise.
25333         [BZ #16561]
25334         [BZ #16562]
25335         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
25336         (__ieee754_yn): Set FE_TONEAREST mode internally and then
25337         recompute overflowing results in original rounding mode.
25338         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
25339         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
25340         recompute overflowing results in original rounding mode.
25341         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
25342         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25343         recompute overflowing results in original rounding mode.
25344         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
25345         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25346         recompute overflowing results in original rounding mode.
25347         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
25348         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25349         recompute overflowing results in original rounding mode.
25350         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
25351         (libc_feholdsetround_ctx): New macro.
25352         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
25353         * sysdeps/i386/fpu/libm-test-ulps: Update.
25354         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
25356 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25358         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
25359         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
25360         corresponding .cpsetup call.
25362 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25364         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
25365         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
25366         * sysdeps/arm/Makefile [$(subdir) = csu]
25367         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
25368         (static-only-routines): Add aeabi_read_tp here.
25369         (shared-only-routines): Add libc-aeabi_read_tp here.
25370         (CFLAGS-libc-start.c): Add -fexceptions here.
25371         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
25372         (sysdep_routines, static-only-routines, shared-only-routines):
25373         Don't add to these here.
25374         (CFLAGS-libc-start.c): Likewise.
25376         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
25377         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
25378         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
25379         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
25380         * sysdeps/arm/Makefile [$(subdir) = rt]
25381         (librt-sysdep_routines, librt-shared-only-routines):
25382         Append rt-aeabi_unwind_cpp_pr1 here.
25383         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
25384         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
25385         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
25386         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25387         Append nptl-aeabi_unwind_cpp_pr1 here.
25388         (tests): Filter out tst-cleanupx4 here.
25389         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
25390         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
25391         Don't do those here.
25393 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25395         * scripts/list-sources.sh: Do not handle ports specially.
25397 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25399         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
25400         * sysdeps/arm/feupdateenv.c: Likewise.
25402         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
25404 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25406         * manual/texinfo.tex: Update to version 2014-05-05.10 with
25407         trailing whitespace removed.
25408         * scripts/config.guess: Update to version 2014-03-23.
25409         * scripts/config.sub: Update to version 2014-05-01
25410         * scripts/install-sh: Update to version 2013-12-25.23.
25411         * scripts/move-if-change: Update from gnulib.
25413 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25415         * debug/memmove_chk.c: Remove pagecopy.h include.
25417 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
25419         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
25420         identical to gnulib mktime.
25422 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25424         * configure.ac: Do not test for machine being rs6000.  Do not test
25425         for powerpc*-*soft.
25426         * configure: Regenerated.
25428         [BZ #11505]
25429         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
25430         test.
25431         * configure: Regenerated.
25432         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
25433         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
25434         Remove configure test.
25435         * sysdeps/arm/configure: Regenerated.
25436         * sysdeps/nptl/configure.ac: Do not check
25437         libc_cv_asm_cfi_directives.
25438         * sysdeps/nptl/configure: Regenerated.
25439         * sysdeps/x86_64/nptl/configure.ac: Remove file.
25440         * sysdeps/x86_64/nptl/configure: Remove generated file.
25441         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
25442         unconditional.
25443         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
25445 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25447         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
25448         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
25449         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
25450         it is defined.
25452         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
25453         instead of whether it is defined.
25454         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
25455         * sysdeps/hppa/dl-machine.h: Likewise.
25456         * sysdeps/ia64/dl-machine.h: Likewise.
25457         * sysdeps/m68k/dl-machine.h: Likewise.
25458         * sysdeps/microblaze/dl-machine.h: Likewise.
25459         * sysdeps/mips/dl-machine.: Likewise.
25460         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25461         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25462         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25463         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25464         * sysdeps/sh/dl-machine.h: Likewise.
25465         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25466         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25467         * sysdeps/tile/dl-machine.h: Likewise.
25468         * sysdeps/x86_64/dl-machine.h: Likewise.
25470         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
25471         code.
25472         (verify_persistent_db): Likewise.
25474 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
25477         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
25478         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
25479         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
25480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25481         Moved ...
25482         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
25483         ... here.
25484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
25485         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
25486         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
25487         Identical file removed.
25488         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
25489         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
25490         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
25491         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
25492         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
25493         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
25494         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
25495         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
25496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
25497         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
25498         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25499         Moved ...
25500         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
25501         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
25502         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
25503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
25504         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
25505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25506         Moved ...
25507         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
25508         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
25509         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
25510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
25511         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
25512         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25513         Identical file removed.
25514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
25515         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
25516         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
25517         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
25518         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25519         Moved ...
25520         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
25521         ... here.
25522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
25523         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
25524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
25525         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
25526         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
25527         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
25528         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
25529         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
25530         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
25531         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
25532         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25533         Moved ...
25534         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
25535         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
25536         Moved ...
25537         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
25538         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
25539         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
25540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25541         Moved ...
25542         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
25543         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
25544         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
25546         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
25547         folded into ...
25548         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
25549         * sysdeps/unix/sysv/linux/s390/Versions
25550         (libpthread: GLIBC_2.19): New version set.
25551         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
25552         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
25553         (librt: GLIBC_2.3.3): New version set.
25554         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
25555         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
25556         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
25557         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
25558         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
25559         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
25560         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
25561         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
25562         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
25563         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
25564         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
25565         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
25566         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
25567         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
25568         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
25569         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
25570         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
25571         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
25572         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
25573         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
25574         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
25575         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
25576         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
25577         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
25578         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
25579         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
25580         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
25581         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
25582         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
25583         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
25584         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
25585         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
25586         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
25587         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
25588         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
25589         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
25590         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
25591         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
25592         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
25593         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
25594         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
25595         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
25596         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
25597         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
25598         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
25600         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
25601         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
25602         (__libc_vfork): Define the function under this name.
25603         [!NOT_IN_libc] (__vfork): Make this an alias.
25604         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25605         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
25606         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
25607         (__libc_vfork): Define the function under this name.
25608         [!NOT_IN_libc] (__vfork): Make this an alias.
25609         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25610         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
25611         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
25612         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
25613         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
25614         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25616         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
25617         code that was previously under [RESET_PID].
25618         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
25619         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
25620         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
25622         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
25623         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
25624         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
25625         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
25626         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
25627         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
25628         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
25629         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
25630         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
25631         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
25632         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
25633         Moved ...
25634         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
25635         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
25636         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
25637         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
25638         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
25639         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
25640         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
25641         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
25642         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
25643         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
25644         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
25645         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
25646         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
25647         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
25648         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
25649         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
25650         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
25651         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
25652         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
25653         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
25654         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
25655         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
25656         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
25657         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
25658         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
25659         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
25660         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
25661         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
25662         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
25664 2014-06-25  Roland McGrath  <roland@hack.frob.com>
25666         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
25667         that was previously under [RESET_PID].
25668         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
25670 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25672         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
25673         not undefine and redefine.
25674         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
25675         [O_CLOEXEC]: Make code unconditional.
25676         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
25677         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
25678         <kernel-features.h>.
25679         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
25680         conditional variable definition.
25681         (shm_open) [O_CLOEXEC]: Make code unconditional.
25682         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
25683         code.
25685         * configure.ac (USE_REGPARMS): Don't define here.
25686         * configure: Regenerated.
25687         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
25688         * sysdeps/i386/configure: Regenerated.
25690         * nptl/createthread.c: Don't include kernel-features.h.
25691         * nptl/pthread_cancel.c: Likewise.
25692         * nptl/pthread_condattr_setclock.c: Likewise.
25693         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
25694         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
25695         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
25696         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
25697         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
25698         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
25699         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25700         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
25701         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25702         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
25703         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
25704         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
25705         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
25706         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
25707         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
25708         * nscd/gai.c: Likewise.
25709         * nss/nss_db/db-open.c: Likewise.
25710         * sysdeps/generic/ldsodefs.h: Likewise.
25711         * sysdeps/sh/nptl/tls.h: Likewise.
25712         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
25713         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
25714         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
25715         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
25716         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
25717         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
25718         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
25719         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25720         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25721         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25722         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25723         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25724         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
25725         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
25726         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
25727         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
25728         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
25729         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
25730         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
25731         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
25732         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
25733         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
25734         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
25735         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
25736         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
25737         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
25738         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
25739         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
25740         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25741         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
25742         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
25743         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
25744         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
25745         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25746         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25747         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
25748         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25749         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
25750         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
25751         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25752         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25753         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
25754         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
25755         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25756         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
25757         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
25758         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
25759         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
25760         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
25761         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
25762         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
25763         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
25764         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
25765         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25766         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
25767         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25768         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25769         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
25770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
25772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
25773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
25774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
25775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
25776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
25777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
25778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
25781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
25782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
25783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
25784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
25790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
25791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
25792         * sysdeps/unix/sysv/linux/pread.c: Likewise.
25793         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
25794         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
25795         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
25796         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
25797         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
25798         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
25799         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
25800         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
25801         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
25802         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
25803         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
25804         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
25805         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
25806         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
25807         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
25808         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25809         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
25810         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
25811         * sysdeps/unix/sysv/linux/system.c: Likewise.
25812         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
25813         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25814         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25815         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25816         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25817         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
25818         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25820         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
25821         * configure: Regenerated.
25822         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
25824         * configure.ac (base_machine): Do not set specially for particular
25825         machines here.
25826         * configure: Regenerated.
25827         * sysdeps/powerpc/preconfigure: Move machine and base_machine
25828         settings from configure.ac.
25829         * sysdeps/i386/preconfigure: New file.
25830         * sysdeps/s390/preconfigure: Likewise.
25831         * sysdeps/sh/preconfigure: Likewise.
25832         * sysdeps/sparc/preconfigure: Likewise.
25834 2014-06-25  Roland McGrath  <roland@hack.frob.com>
25836         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
25837         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
25838         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
25839         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
25840         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
25841         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
25842         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
25843         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
25844         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
25845         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
25846         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
25847         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
25848         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
25849         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
25850         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
25851         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
25852         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
25853         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
25854         * sysdeps/sparc/sparc64/Makefile: ... appended here.
25856         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
25857         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
25858         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
25859         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
25860         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
25861         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
25862         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
25863         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
25864         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
25865         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
25866         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
25867         * sysdeps/sparc/sparc32/sem_post.c: ... here.
25868         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
25869         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
25870         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
25871         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
25872         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
25873         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
25874         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
25875         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
25876         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
25877         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
25878         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
25879         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
25880         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
25881         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
25882         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
25883         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
25884         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
25885         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
25886         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
25887         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
25888         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
25889         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
25890         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
25891         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
25892         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
25893         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
25895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
25896         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
25897         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
25898         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
25899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25900         Moved ...
25901         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
25902         ... here.
25903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
25904         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
25905         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
25906         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
25907         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
25908         Moved ...
25909         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
25910         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
25911         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
25912         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
25913         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
25914         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
25915         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
25916         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25917         Moved ...
25918         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
25919         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25920         Moved ...
25921         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
25922         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
25923         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
25924         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25925         Moved ...
25926         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
25927         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
25928         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
25929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
25930         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
25931         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
25932         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
25933         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
25934         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
25935         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25936         Moved ...
25937         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
25938         ... here.
25939         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
25940         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
25941         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
25942         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
25943         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
25944         Moved ...
25945         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
25946         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
25947         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
25948         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
25949         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
25950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
25951         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
25952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25953         Moved ...
25954         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
25955         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25956         Moved ...
25957         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
25958         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
25959         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
25960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25961         Moved ...
25962         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
25963         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
25964         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
25965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
25966         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
25968 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25970         * timezone/checktab.awk: Update from tzcode 2014e.
25971         * timezone/private.h: Likewise.
25972         * timezone/tzfile.h: Likewise.
25973         * timezone/zdump.c: Likewise.
25974         * timezone/zic.c: Likewise.
25976         * sysdeps/unix/sysv/linux/kernel-features.h
25977         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
25978         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
25979         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
25980         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25981         Remove conditional code.
25983 2014-06-25  Will Newton  <will.newton@linaro.org>
25985         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
25986         (_dl_arm_cap_flags): Add HWCAP2 values.
25987         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
25988         (_DL_HWCAP_COUNT): Increase to 37.
25989         (_DL_HWCAP_LAST): New define.
25990         (_DL_HWCAP2_LAST): New define.
25991         (_dl_procinfo): Add support for printing
25992         AT_HWCAP2 entries.
25993         (_dl_string_hwcap): Use _dl_hwcap_string.
25995 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25997         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25999 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
26001         * README: Do not mention ports directory.
26003         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
26004         Remove macro.
26005         * sysdeps/unix/sysv/linux/futimes.c: Do not include
26006         <kernel-features.h>.
26007         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
26008         conditional variable definition.
26009         (__futimes): Update comment.
26010         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
26011         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
26013         [BZ #16560]
26014         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
26015         arguments close to 0.
26016         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
26017         Likewise.
26018         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
26019         Likewise.
26020         * math/auto-libm-test-in: Add more tests of exp10.
26021         * math/auto-libm-test-out: Regenerated.
26022         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26024         * sysdeps/unix/sysv/linux/kernel-features.h
26025         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
26026         * sysdeps/unix/sysv/linux/readv.c: Do not include
26027         <kernel-features.h>.
26028         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
26029         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
26030         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
26031         unconditional.
26032         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
26033         conditional code.
26034         * sysdeps/unix/sysv/linux/writev.c: Do not include
26035         <kernel-features.h>.
26036         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
26037         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
26038         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
26039         unconditional.
26040         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
26041         conditional code.
26043 2014-06-25  Will Newton  <will.newton@linaro.org>
26045         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
26046         comment changes throughout the file.  Remove checks
26047         for HAVE_*_H definitions that are not required.
26048         (__gen_tempname): Call abort if an unknown kind value is
26049         passed.
26051 2014-06-25  Andreas Schwab  <schwab@suse.de>
26053         [BZ #17086]
26054         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
26055         scalbln, scalblnf, scalblnl in libc.
26057 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26059         [BZ #17086]
26060         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
26061         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26062         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
26064 2014-06-24  Roland McGrath  <roland@hack.frob.com>
26066         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
26067         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
26068         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
26069         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
26070         Update #include.
26071         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
26072         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
26073         Update #include.
26074         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
26075         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
26076         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
26077         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
26078         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
26079         * sysdeps/x86/bits/pthreadtypes.h: ... here.
26080         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
26081         * sysdeps/x86/bits/semaphore.h: ... here.
26082         * sysdeps/x86/nptl/elide.h: Moved ...
26083         * sysdeps/x86/elide.h: ... here.
26084         * sysdeps/x86_64/nptl/Implies: File removed.
26085         * sysdeps/i386/nptl/Implies: File removed.
26087 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
26089         [BZ #16539]
26090         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
26091         return the argument for normal arguments with exponent below -64.
26092         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26093         Likewise.
26094         * math/auto-libm-test-in: Add another test of expm1.
26095         * math/auto-libm-test-out: Regenerated.
26097         [BZ #16287]
26098         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
26099         calling __erfcl for arguments at least 16.
26100         * math/auto-libm-test-in: Add more tests of erf.
26101         * math/auto-libm-test-out: Regenerated.
26103         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
26104         individual architectures.
26105         * sysdeps/unix/sysv/linux/configure: Regenerated.
26106         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
26107         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
26108         * sysdeps/unix/sysv/linux/powerpc/configure.ac
26109         (ldd_rewrite_script): Define variable.
26110         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
26112         file.
26113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
26114         generated file.
26115         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
26116         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
26117         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
26118         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
26119         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
26120         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
26121         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
26122         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
26124 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26126         [BZ #17084]
26127         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
26128         Rename member __data.d to __data.__elision_data.
26130 2014-06-24  Wilco  <wdijkstr@arm.com>
26132         * NEWS: Add 16918 to fixed bug list.
26134 2014-06-24  Wilco  <wdijkstr@arm.com>
26136         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
26138 2014-06-24  Wilco  <wdijkstr@arm.com>
26140         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
26141         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
26142         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
26143         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
26144         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
26145         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
26146         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
26147         Use _FPU_MASK_RM.
26149 2014-06-24  Wilco  <wdijkstr@arm.com>
26151         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
26153 2014-06-24  Wilco  <wdijkstr@arm.com>
26155         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
26156         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
26157         * sysdeps/arm/fesetround.c (fesetround): Remove space.
26158         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
26160 2014-06-24  Wilco  <wdijkstr@arm.com>
26162         [BZ #16918]
26163         * sysdeps/arm/feupdateenv.c (feupdateenv):
26164         Rewrite to reduce FPSCR accesses and fix return value.
26166 2014-06-24  Wilco  <wdijkstr@arm.com>
26168         * sysdeps/arm/fclrexcpt.c (feclearexcept):
26169         Optimize to avoid unnecessary FPSCR writes.
26170         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
26171         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
26172         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
26173         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
26175 2014-06-24  Wilco  <wdijkstr@arm.com>
26177         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
26178         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
26179         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
26180         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
26181         Call libc_fetestexcept_vfp.
26182         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
26183         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
26184         __SOFTFP__ ifdef so that they can be built for softfp.
26186 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26188         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
26189         argument type signed char.
26191         * Makerules (check-abi): Dump diff of symlist if the test
26192         fails.
26194 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26196         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
26197         using abort.
26199         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26200         Remove unused variable ST.
26202 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
26204         [BZ #16354]
26205         [BZ #17061]
26206         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
26207         small arguments before calling __expm1.
26208         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
26209         small arguments before calling __expm1f.
26210         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
26211         small arguments before calling __expm1l.
26212         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26213         Likewise.
26214         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
26215         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
26216         spurious underflow for some cosh tests.
26217         * math/auto-libm-test-out: Regenerated.
26218         * sysdeps/i386/fpu/libm-test-ulps: Update.
26220         [BZ #17050]
26221         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
26222         (__ieee754_y1): Set errno if return value overflows.
26223         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
26224         (__ieee754_y1f): Set errno if return value overflows.
26225         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
26226         (__ieee754_y1l): Set errno if return value overflows.
26227         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
26228         (__ieee754_y1l): Set errno if return value overflows.
26229         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
26230         * math/auto-libm-test-out: Regenerated.
26232         * math/gen-auto-libm-tests.c: Document use of
26233         ignore-zero-inf-sign.
26234         (input_flag_type): Add value flag_ignore_zero_inf_sign.
26235         (input_flags): Add ignore-zero-inf-sign.
26236         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
26237         * math/gen-libm-test.pl (generate_testfile): Handle
26238         ignore-zero-inf-sign.
26239         * math/auto-libm-test-in: Mark some cpow tests with
26240         ignore-zero-inf-sign and some with xfail-rounding.
26241         * math/auto-libm-test-out: Regenerated.
26242         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
26243         * sysdeps/i386/fpu/libm-test-ulps: Update.
26244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26246         [BZ #16315]
26247         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
26248         overflowing or underflowing operations take place with sign of
26249         result.
26250         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26251         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26252         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
26253         (__ieee754_pow): Recompute overflowing and underflowing results in
26254         original rounding mode.
26255         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
26256         (__powl_helper): Allow negative argument X and scale negated value
26257         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
26258         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
26259         overflowing or underflowing operations take place with sign of
26260         result.
26261         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
26262         Include <math.h>.
26263         * math/auto-libm-test-in: Add more tests of pow.
26264         * math/auto-libm-test-out: Regenerated.
26265         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
26266         (pow_tonearest_test_data): Remove.
26267         (pow_test_tonearest): Likewise.
26268         (pow_towardzero_test_data): Likewise.
26269         (pow_test_towardzero): Likewise.
26270         (pow_downward_test_data): Likewise.
26271         (pow_test_downward): Likewise.
26272         (pow_upward_test_data): Likewise.
26273         (pow_test_upward): Likewise.
26274         (main): Don't call removed functions.
26275         * sysdeps/i386/fpu/libm-test-ulps: Update.
26276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26278 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
26281         Moved ...
26282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
26283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26284         Moved ...
26285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
26286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26287         Moved ...
26288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
26289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26290         Moved ...
26291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
26292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26293         File removed.
26294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26295         File removed.
26296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
26297         File removed.
26298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
26299         File removed.
26300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
26301         File removed.
26302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
26303         File removed.
26304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
26305         File removed.
26306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26307         File removed.
26308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
26309         File removed.
26310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26311         File removed.
26312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
26313         File removed.
26314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
26315         File removed.
26316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
26317         Moved ...
26318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
26319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
26320         Moved ...
26321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
26322         ... here.
26323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
26324         Moved ...
26325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
26326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
26327         Moved ...
26328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
26329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
26330         Moved ...
26331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
26332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
26333         Moved ...
26334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
26335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
26336         Moved ...
26337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
26338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
26339         Moved ...
26340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
26341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
26342         Moved ...
26343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
26344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
26345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
26346         ... here.
26347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
26348         Moved ...
26349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
26350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26351         Moved ...
26352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26353         ... here.
26354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
26355         Moved ...
26356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26357         ... here.
26358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26359         Moved ...
26360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26361         ... here.
26362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26363         Moved ...
26364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
26365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26366         Moved ...
26367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
26368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
26369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
26370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26371         Moved ...
26372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
26373         ... here.
26374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26375         Moved ...
26376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
26377         ... here.
26378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26379         Moved ...
26380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
26381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26382         Moved ...
26383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
26384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26385         Moved ...
26386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
26387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26388         Moved ...
26389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
26390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26391         Moved ...
26392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
26393         ... here.
26394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26395         Moved ...
26396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
26397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26398         Moved ...
26399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
26400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26401         Moved ...
26402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
26403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26404         Moved ...
26405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
26406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
26407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
26408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26409         Moved ...
26410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
26411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26412         Moved ...
26413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
26414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26415         Moved ...
26416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
26417         ... here.
26418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26419         Moved ...
26420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
26421         ... here.
26422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26423         Moved ...
26424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
26425         ... here.
26426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26427         Moved ...
26428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
26429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26430         Moved ...
26431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
26432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26433         Moved ...
26434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
26435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26436         Moved ...
26437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
26438         ... here.
26439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26440         Moved ...
26441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
26442         ... here.
26443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26444         Moved ...
26445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
26446         ... here.
26447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26448         Moved ...
26449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
26450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26451         Moved ...
26452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
26454 2014-06-23  Will Newton  <will.newton@linaro.org>
26455             Wilco  <wdijkstr@arm.com>
26457         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
26458         implementation.  Include get-rounding-mode.h.
26459         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
26460         [!libc_feholdsetround_noex_ctx]: Define
26461         libc_feholdsetround_noex_ctx.
26462         [!libc_feholdsetround_noexf_ctx]: Define
26463         libc_feholdsetround_noexf_ctx.
26464         [!libc_feholdsetround_noexl_ctx]: Define
26465         libc_feholdsetround_noexl_ctx.
26466         (libc_feholdsetround_ctx): New function.
26467         (libc_feresetround_ctx): New function.
26468         (libc_feholdsetround_noex_ctx): New function.
26469         (libc_feresetround_noex_ctx): New function.
26471 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26473         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
26474         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
26475         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
26476         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
26477         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
26478         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
26480         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
26481         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
26482         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
26483         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
26484         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
26485         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
26486         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
26487         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
26488         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
26489         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
26490         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
26491         Moved ...
26492         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
26493         ... here.
26494         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
26495         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
26496         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
26497         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
26498         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
26499         Moved ...
26500         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
26501         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
26502         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
26503         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
26504         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
26505         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
26506         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
26507         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
26508         Moved ...
26509         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
26510         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
26511         Moved ...
26512         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
26513         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
26514         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
26515         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
26516         Moved ...
26517         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
26518         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
26519         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
26520         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
26521         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
26522         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
26523         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
26524         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
26525         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
26526         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
26527         Moved ...
26528         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
26529         ... here.
26530         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
26531         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
26532         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
26533         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
26534         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
26535         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
26536         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
26537         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
26538         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
26539         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
26540         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
26541         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
26542         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
26543         Moved ...
26544         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
26545         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
26546         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
26547         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
26548         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
26549         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
26550         Moved ...
26551         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
26552         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
26553         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
26554         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
26555         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
26557         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
26558         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
26559         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
26560         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
26561         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
26562         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
26563         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
26564         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
26565         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
26566         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
26567         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
26568         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
26569         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
26570         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
26571         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
26572         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
26573         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
26574         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
26575         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
26576         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
26577         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
26578         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
26579         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
26580         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
26581         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
26582         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
26583         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
26584         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
26586 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
26588         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26589         (FALLOC_FL_COLLAPSE_RANGE): New macro.
26590         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
26591         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
26592         (IPV6_PMTUDISC_INTERFACE): Likewise.
26593         (IPV6_PMTUDISC_OMIT): Likewise.
26595 2014-06-23  Andreas Schwab  <schwab@suse.de>
26597         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
26598         Remove unused errout label.
26600 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26602         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
26603         macro: hardware supports Vector Crypto instructions.
26605 2014-06-23  Will Newton  <will.newton@linaro.org>
26607         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
26608         rather than __builtin_expect.
26610         * elf/dl-lookup.c (undefined_msg): Remove variable.
26611         (_dl_lookup_symbol_x): Replace undefined_msg with string
26612         literal.
26614         * elf/dl-lookup.c (do_lookup_unique): New function.
26615         (do_lookup_x): Move STB_GNU_UNIQUE handling code
26616         to a separate function.
26618 2014-06-23  Andreas Schwab  <schwab@suse.de>
26620         [BZ #17079]
26621         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
26622         before reading the next line.
26624 2014-06-23  Will Newton  <will.newton@linaro.org>
26626         * test-skeleton.c (signal_handler): Use printf and %m
26627         rather than perror.  Use printf rather than fprintf to
26628         stderr.  Use puts rather than fputs to stderr.
26629         (main): Likewise.
26631 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
26633         * nscd/nscd.c (thread_info_t): Remove typedef.
26634         (thread_info): Remove variable.
26636 2014-06-21  Allan McRae  <allan@archlinux.org>
26638         * NEWS: Mention CVE-2014-4043.
26640 2014-06-20  Roland McGrath  <roland@hack.frob.com>
26642         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
26643         * nptl/smp.h: ... here.
26645         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
26647         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
26648         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
26649         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
26650         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
26652         * nptl/allocatestack.c: Include <stack-aliasing.h>.
26653         * nptl/stack-aliasing.h: New file.
26654         * sysdeps/i386/i686/stack-aliasing.h: New file.
26655         * sysdeps/i386/i686/nptl/Makefile: File removed.
26656         * sysdeps/x86_64/stack-aliasing.h: New file.
26657         * sysdeps/x86_64/nptl/Makefile
26658         (CFLAGS-pthread_create.c): Variable removed.
26660         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
26661         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
26662         old file.
26663         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
26664         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
26665         old file.
26667 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
26669         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26670         (__ASSUME_SIGFRAME_V2): Remove macro.
26671         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
26672         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
26673         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
26674         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
26675         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
26676         Declare as function.  Remove conditional macro definitions.
26677         (__default_rt_sa_restorer): Likewise.
26678         (__default_sa_restorer_v1): Remove declaration.
26679         (__default_sa_restorer_v2): Likewise.
26680         (__default_rt_sa_restorer_v1): Likewise.
26681         (__default_rt_sa_restorer_v2): Likewise.
26682         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
26683         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
26684         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
26686 2014-06-20  Roland McGrath  <roland@hack.frob.com>
26688         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
26689         (libpthread-routines): Add sysdep.
26690         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
26691         * sysdeps/unix/sysv/linux/sparc/Versions
26692         (libpthread: GLIBC_2.3.3): New version set.
26693         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
26694         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
26695         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
26696         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
26697         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
26698         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
26699         Moved ...
26700         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
26701         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
26702         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
26703         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
26704         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
26705         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
26706         * sysdeps/sparc/nptl/sem_init.c: ... here.
26707         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
26708         * sysdeps/sparc/nptl/sem_post.c: ... here.
26709         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
26710         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
26711         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
26712         * sysdeps/sparc/nptl/sem_wait.c: ... here.
26713         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
26714         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
26715         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
26716         (libpthread-routines): Add cpu_relax.
26717         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
26718         File removed.
26719         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
26720         (librt: GLIBC_2.3.3): New version set.
26721         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
26722         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
26723         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
26724         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
26725         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
26726         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
26727         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
26728         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
26729         Moved ...
26730         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
26731         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
26732         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
26733         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
26734         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
26735         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
26736         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
26737         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
26738         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
26739         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
26740         Moved ...
26741         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
26742         Update #include.
26743         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
26744         Moved ...
26745         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
26746         Update #include.
26747         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
26748         Moved ...
26749         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
26750         Update #include.
26751         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
26752         Moved ...
26753         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
26754         Update #include.
26755         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
26756         Moved ...
26757         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
26758         Update #include.
26759         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
26760         Moved ...
26761         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
26762         Update #include.
26763         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
26764         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
26765         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
26766         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
26767         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
26768         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
26769         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
26770         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
26771         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
26772         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
26773         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26774         Moved ...
26775         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
26776         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
26777         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
26778         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
26779         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
26781 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26783         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
26784         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
26785         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26786         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
26787         * nscd/nscd.c: Likewise.
26788         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
26789         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
26790         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
26791         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
26793         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
26794         <kernel-features.h>.
26795         (init_mq_netlink): Remove conditional have_sock_cloexec
26796         definitions.  Remove code conditional on have_sock_cloexec < 0.
26797         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
26798         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
26799         * sysdeps/unix/sysv/linux/opensock.c: Do not include
26800         <kernel-features.h>.
26801         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
26802         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
26804 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26806         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26807         Add tests for memset_chk and memset.
26809         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
26810         with AVX2_Usable.
26812 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
26814         [BZ #16046]
26815         * elf/tst-dl-iter-static.c: New file.
26816         * elf/Makefile (tests-static): Add tst-dl-iter-static.
26818         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
26819         error.
26821 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26823         * sysdeps/unix/sysv/linux/kernel-features.h
26824         (__ASSUME_F_GETOWN_EX): Remove macro.
26825         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
26826         <kernel-features.h>.
26827         (miss_F_GETOWN_EX): Remove variable or macro.
26828         (do_fcntl): Do not check miss_F_GETOWN_EX.
26829         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
26831         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
26832         Remove macro.
26833         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
26834         [!__ASSUME_AT_RANDOM]: Remove conditional code.
26835         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
26837         * sysdeps/unix/sysv/linux/kernel-features.h
26838         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
26839         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
26840         [ADJ_OFFSET_SS_READ]: Make code unconditional.
26841         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
26843 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
26845         [BZ #17075]
26846         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
26847         Fix calculation of the symbol's value.
26848         * sysdeps/arm/tst-armtlsdescloc.c: New file.
26849         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
26850         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
26851         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
26852         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
26853         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
26854         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
26855         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
26856         (modules-names): Add `tst-armtlsdescmod',
26857         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
26858         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
26859         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26860         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
26861         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
26862         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26863         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
26864         ($(objpfx)tst-armtlsdescloc): New dependency.
26865         ($(objpfx)tst-armtlsdescextnow): Likewise.
26866         ($(objpfx)tst-armtlsdescextlazy): Likewise.
26867         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
26868         TLS scheme support.
26869         * sysdeps/arm/configure: Regenerate.
26871 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26873         * include/fcntl.h (__atfct_seterrno): Remove prototype.
26874         (__atfct_seterrno_2): Likewise.
26875         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
26876         <kernel-features.h>.
26877         (__ASSUME_ATFCTS): Do not undefine and redefine.
26878         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
26879         (__have_atfcts): Remove conditional definition.
26880         (__fxstatat([__NR_fstatat64]: Make code unconditional.
26881         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
26882         unreachable if [__ASSUME_ATFCTS].
26883         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
26884         not undefine and redefine.
26885         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
26886         <kernel-features.h>.
26887         (faccessat) [__NR_faccessat]: Make code unconditional.
26888         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
26889         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
26890         <kernel-features.h>.
26891         (fchmodat) [__NR_fchmodat]: Make code unconditional.
26892         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26893         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
26894         <kernel-features.h>.
26895         (fchownat) [__NR_fchownat]: Make code unconditional.
26896         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
26897         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
26898         <kernel-features.h>.
26899         (futimesat) [__NR_futimesat]: Make code unconditional.
26900         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
26901         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26902         <kernel-features.h>.
26903         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26904         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26905         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26906         <kernel-features.h>.
26907         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
26908         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26909         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
26910         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26911         <kernel-features.h>.
26912         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
26913         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26914         * sysdeps/unix/sysv/linux/linkat.c: Do not include
26915         <kernel-features.h>.
26916         (linkat) [__NR_linkat]: Make code unconditional.
26917         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26918         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
26919         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
26920         <kernel-features.h>.
26921         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
26922         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26923         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
26924         <kernel-features.h>.
26925         (mkdirat) [__NR_mkdirat]: Make code unconditional.
26926         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
26927         * sysdeps/unix/sysv/linux/openat.c: Do not include
26928         <kernel-features.h>.
26929         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
26930         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
26931         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
26932         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
26933         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
26934         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
26935         <kernel-features.h>.
26936         (readlinkat) [__NR_readlinkat]: Make code unconditional.
26937         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
26938         result of INLINE_SYSCALL directly, not via int variable.
26939         * sysdeps/unix/sysv/linux/renameat.c: Do not include
26940         <kernel-features.h>.
26941         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
26942         (renameat) [__NR_renameat]: Make code unconditional.
26943         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
26944         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
26945         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
26946         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
26947         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
26948         (__ASSUME_ATFCTS): Do not undefine and redefine.
26949         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
26950         <kernel-features.h>.
26951         (symlinkat) [__NR_symlinkat]: Make code unconditional.
26952         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26953         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
26954         <kernel-features.h>.
26955         (unlinkat) [__NR_unlinkat]: Make code unconditional.
26956         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26957         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
26958         (__ASSUME_ATFCTS): Do not undefine and redefine.
26959         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26960         <kernel-features.h>.
26961         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26962         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26963         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26964         <kernel-features.h>.
26965         (__xmknodat) [__NR_mknodat]: Make code unconditional.
26966         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26968 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26970         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
26972 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
26974         [BZ #17069]
26975         * posix/regcomp.c (parse_reg_exp): Deallocate partially
26976         constructed tree before returning error.
26977         * posix/bug-regexp36.c: Expand test case.
26979 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26981         [BZ #6803]
26982         * math/libm-test.inc (scalbln_test_date):
26983         Add errno expectations.
26984         * math/w_scalblnf.c: New File.
26985         Add wrapper which checks for setting errno to ERANGE.
26986         Add weak_alias for corresponding scalbln function.
26987         * math/w_scalbln.c: Likewise.
26988         * math/w_scalblnl.c: Likewise.
26989         * math/Makefile (libm-calls): Add w_scalbln.
26990         * sysdeps/ieee754/flt-32/s_scalblnf.c:
26991         Remove weak_alias for corresponding scalbln function.
26992         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26993         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26994         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26995         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26996         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
26997         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26998         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
26999         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
27000         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
27001         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
27002         Remove long_double_symbol for scalblnl function in libm, libc.
27003         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
27004         Add wrapper which checks for setting errno to ERANGE.
27005         Add long_double_symbol for scalblnl function in libm, libc.
27006         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
27007         Remove long_double_symbol for scalblnl in libm.
27008         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
27009         Add wrapper which checks for setting errno to ERANGE.
27010         Add long_double_symbol for scalblnl function in libm.
27011         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
27012         Do not use wrapper because of own implementation.
27014 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
27016         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
27017         3 bytes for __pad1 for x32.
27018         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
27020 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
27021             H.J. Lu  <hongjiu.lu@intel.com>
27023         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
27024         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
27025         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27026         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27027         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
27029 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
27031         [BZ #17069]
27032         * posix/regcomp.c (parse_expression): Deallocate partially
27033         constructed tree before returning error.
27034         * posix/Makefile.c (tests): Add bug-regex36.
27035         (generated): Add bug-regex36.mtrace.
27036         (tests-special): Add $(objpfx)bug-regex36-mem.out
27037         (bug-regex36-ENV): New variable.
27038         ($(objpfx)bug-regex36-mem.out): New rule.
27039         * posix/bug-regex36.c: New file.
27041 2014-06-19  Will Newton  <will.newton@linaro.org>
27043         * malloc/malloc.c (systrim): If extra is zero then return
27044         early.
27046 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27048         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
27050 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
27052         * sysdeps/aarch64/strchr.S: New file.
27054 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
27056         [BZ #17022]
27057         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
27058         from arguments -2 or below.
27059         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
27060         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
27062 2014-06-18  Andreas Schwab  <schwab@suse.de>
27064         [BZ #17062]
27065         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
27066         of a bracket expr not to run off the end of the string.
27067         * posix/Makefile (tests): Add tst-fnmatch3.
27068         * posix/tst-fnmatch3.c: New file.
27070 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
27072         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
27073         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27074         [$(cross-compiling) = no]: Likewise.
27075         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27076         [$(cross-compiling) = no]: Likewise.
27078 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27080         [BZ #17031]
27081         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
27082         double, adjusted for any remainder from the high double.
27083         * math/libm-test.inc (nearbyint): Add tests.
27084         (rint): Likewise.
27086 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27088         * nptl/sysdeps/powerpc/Makefile: Moved ...
27089         * sysdeps/powerpc/nptl/Makefile: ... here.
27090         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
27091         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
27092         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
27093         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
27094         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
27095         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
27096         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
27097         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
27098         * nptl/sysdeps/powerpc/tls.h: Moved ...
27099         * sysdeps/powerpc/nptl/tls.h: ... here.
27101 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
27103         [BZ #16681]
27104         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
27105         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
27106         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
27107         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
27108         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
27109         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
27110         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
27111         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
27112         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
27114 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
27116         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27118 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
27120         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
27121         defined operator.
27123         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
27124         $TIMEOUTFACTOR.
27126 2014-06-16  Florian Weimer  <fweimer@redhat.com>
27128         [BZ #17058]
27129         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
27130         non-executed part of the test.
27132 2014-06-16  Andreas Schwab  <schwab@suse.de>
27134         * string/bits/string2.h (strdup, strndup): Update feature guard.
27136 2014-06-14  David S. Miller  <davem@davemloft.net>
27138         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27140 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
27142         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
27143         that was previously under [RESET_PID].
27144         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
27146         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
27147         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
27148         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
27149         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27150         (__libc_vfork): New strong alias.
27151         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
27153 2014-06-14 Andi Kleen  <ak@linux.intel.com>
27155         * sysdeps/generic/elide.h: New file.
27157 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27159         * Makefile (installed-headers): Adjust path of pthread.h header.
27161 2014-06-13  Roland McGrath  <roland@hack.frob.com>
27163         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
27164         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
27165         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
27166         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
27168         * nptl/sysdeps/s390/Makefile: Moved ...
27169         * sysdeps/s390/nptl/Makefile: ... here.
27170         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
27171         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
27172         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
27173         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
27174         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
27175         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
27176         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
27177         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
27178         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
27179         * sysdeps/s390/nptl/pthreaddef.h: ... here.
27180         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
27181         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
27182         * nptl/sysdeps/s390/tls.h: Moved ...
27183         * sysdeps/s390/nptl/tls.h: ... here.
27185         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
27186         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
27188 2014-06-13  David S. Miller  <davem@davemloft.net>
27190         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
27191         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
27192         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
27193         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
27194         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
27195         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
27196         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
27197         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
27198         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
27199         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
27200         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
27201         Remove RESET_PID cpp guards.
27202         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
27203         Remove RESET_PID cpp guards.
27204         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
27206 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
27208         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
27209         __sp to uintptr_t.
27211 2014-06-13  Andi Kleen  <ak@linux.intel.com>
27213         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
27214         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
27215         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
27216         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
27217         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
27218         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
27219         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
27220         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
27221         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
27222         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
27223         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
27224         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
27225         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
27226         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
27227         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
27228         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
27229         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
27230         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
27231         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
27232         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
27234         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
27235         (pthread_rwlock_rdlock): Add elision.
27236         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
27237         (pthread_rwlock_wrlock): Add elision.
27238         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
27239         (pthread_rwlock_trywrlock): Add elision.
27240         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
27241         (pthread_rwlock_tryrdlock): Add elision.
27242         * nptl/pthread_rwlock_unlock.c: Include elide.h.
27243         (pthread_rwlock_tryrdlock): Add elision unlock.
27244         * nptl/sysdeps/pthread/pthread.h:
27245         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
27246         (PTHREAD_RWLOCK_INITIALIZER,
27247         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
27248         Handle new elision field.
27249         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
27250         * sysdeps/arm/nptl/bits/pthreadtypes.h
27251         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27252         * sysdeps/sh/nptl/bits/pthreadtypes.h
27253         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27254         * sysdeps/tile/nptl/bits/pthreadtypes.h
27255         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27256         * sysdeps/a/nptl/bits/pthreadtypes.h
27257         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27258         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
27259         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27260         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
27261         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27262         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
27263         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27264         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
27265         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27266         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
27267         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27268         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
27269         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27270         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
27271         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27272         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
27273         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27274         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
27275         (elision_init): Set try_xbegin to zero when no RTM.
27276         * sysdeps/x86/nptl/bits/pthreadtypes.h
27277         (pthread_rwlock_t): Change __pad1 to __rwelision.
27278         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27280 2014-06-13  Andi Kleen  <ak@linux.intel.com>
27282         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
27283         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
27284         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
27285         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
27287 2014-06-13  Meador Inge  <meadori@codesourcery.com>
27289         [BZ #16996]
27290         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
27291         that the cached result has been set before returning it.
27293 2014-06-12  Roland McGrath  <roland@hack.frob.com>
27295         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
27296         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
27297         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
27298         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
27299         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
27300         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
27302         * nptl/sysdeps/sparc/Makefile: Moved ...
27303         * sysdeps/sparc/nptl/Makefile: ... here.
27304         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
27305         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
27306         * nptl/sysdeps/sparc/tls.h: Moved ...
27307         * sysdeps/sparc/nptl/tls.h: ... here.
27308         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
27309         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
27310         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
27311         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
27312         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
27313         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
27314         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
27315         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
27316         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
27317         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
27318         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
27319         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
27320         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
27321         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
27322         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
27323         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
27324         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
27325         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
27326         Update #include.
27327         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
27328         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
27329         Update #include.
27330         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
27331         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
27332         Update #include.
27333         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
27334         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
27335         Update #include.
27337         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27339         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
27340         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
27342         * sysdeps/pthread/posix-timer.h: Include <list.h>.
27343         (struct list_links): Type removed.
27344         (struct thread_node, struct timer_node): Replace struct list_links
27345         with struct list_head.
27346         (list_unlink_ip): Likewise.
27347         * sysdeps/pthread/timer_routines.c
27348         (timer_free_list, thread_free_list, thread_active_list): Likewise.
27349         (list_append, list_insbefore): Likewise.
27350         (list_init): Function removed.
27351         (thread_init, init_module): Use INIT_LIST_HEAD instead.
27352         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
27353         * sysdeps/pthread/Makefile: ... here, new file.
27355         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
27356         * sysdeps/nptl/Implies: ... here.
27357         * sysdeps/unix/sysv/linux/Implies: Add nptl.
27358         * nptl/sysdeps/pthread/list.h: Moved ...
27359         * include/list.h: ... here.
27360         * nptl/sysdeps/pthread/createthread.c: Moved ...
27361         * nptl/createthread.c: ... here.
27362         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
27363         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
27364         * nptl/pt-longjmp.c: ... here.
27365         * nptl/sysdeps/pthread/Makefile: Moved ...
27366         * sysdeps/nptl/Makefile: ... here.
27367         * nptl/sysdeps/pthread/Subdirs: Moved ...
27368         * sysdeps/nptl/Subdirs: ... here.
27369         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
27370         * sysdeps/nptl/aio_misc.h: ... here.
27371         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
27372         * sysdeps/nptl/bits/libc-lock.h: ... here.
27373         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
27374         * sysdeps/nptl/bits/libc-lockP.h: ... here.
27375         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
27376         * sysdeps/nptl/bits/stdio-lock.h: ... here.
27377         * nptl/sysdeps/pthread/configure: Moved ...
27378         * sysdeps/nptl/configure: ... here.
27379         * nptl/sysdeps/pthread/configure.ac: Moved ...
27380         * sysdeps/nptl/configure.ac: ... here.
27381         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
27382         * sysdeps/nptl/gai_misc.h: ... here.
27383         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
27384         * sysdeps/nptl/librt-cancellation.c: ... here.
27385         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
27386         * sysdeps/nptl/malloc-machine.h: ... here.
27387         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
27388         * sysdeps/nptl/pthread-functions.h: ... here.
27389         * nptl/sysdeps/pthread/pthread.h: Moved ...
27390         * sysdeps/nptl/pthread.h: ... here.
27391         * nptl/sysdeps/pthread/setxid.h: Moved ...
27392         * sysdeps/nptl/setxid.h: ... here.
27393         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
27394         * sysdeps/nptl/sigfillset.c: ... here.
27395         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
27396         * sysdeps/nptl/tcb-offsets.h: ... here.
27397         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
27398         * sysdeps/nptl/tst-mqueue8x.c: ... here.
27399         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
27400         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
27401         * nptl/sysdeps/pthread/allocalim.h: Moved ...
27402         * sysdeps/pthread/allocalim.h: ... here.
27403         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
27404         * sysdeps/pthread/bits/sigthread.h: ... here.
27405         * nptl/sysdeps/pthread/flockfile.c: Moved ...
27406         * sysdeps/pthread/flockfile.c: ... here.
27407         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
27408         * sysdeps/pthread/ftrylockfile.c: ... here.
27409         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
27410         * sysdeps/pthread/funlockfile.c: ... here.
27411         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
27412         * sysdeps/pthread/posix-timer.h: ... here.
27413         * nptl/sysdeps/pthread/timer_create.c: Moved ...
27414         * sysdeps/pthread/timer_create.c: ... here.
27415         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
27416         * sysdeps/pthread/timer_delete.c: ... here.
27417         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
27418         * sysdeps/pthread/timer_getoverr.c: ... here.
27419         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
27420         * sysdeps/pthread/timer_gettime.c: ... here.
27421         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
27422         * sysdeps/pthread/timer_routines.c: ... here.
27423         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
27424         * sysdeps/pthread/timer_settime.c: ... here.
27425         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
27426         * sysdeps/pthread/tst-timer.c: ... here.
27427         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
27428         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
27430         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
27431         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
27433         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
27434         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
27435         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
27436         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
27437         Update #include target.
27438         * nptl/sysdeps/i386/i686/Makefile: Moved ...
27439         * sysdeps/i386/i686/nptl/Makefile: ... here.
27440         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
27441         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
27442         Update #include target.
27443         * nptl/sysdeps/i386/i686/tls.h: Moved ...
27444         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
27445         * nptl/sysdeps/i386/Makefile: Moved ...
27446         * sysdeps/i386/nptl/Makefile: ... here.
27447         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
27448         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
27449         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
27450         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
27451         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
27452         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
27453         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
27454         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
27455         * sysdeps/i386/nptl/pthreaddef.h: ... here.
27456         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
27457         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
27458         * nptl/sysdeps/i386/tls.h: Moved ...
27459         * sysdeps/i386/nptl/tls.h: ... here.
27461         * sysdeps/sh/Makefile [$(subdir) = csu]
27462         (gen-as-const-headers): Add tcb-offsets.sym.
27463         * nptl/sysdeps/sh/Makefile: File removed.
27464         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
27465         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
27466         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
27467         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
27468         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
27469         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
27470         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
27471         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
27472         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
27473         * sysdeps/sh/nptl/pthreaddef.h: ... here.
27474         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
27475         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
27476         * nptl/sysdeps/sh/tls.h: Moved ...
27477         * sysdeps/sh/nptl/tls.h: ... here.
27478         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
27479         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
27480         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
27481         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
27482         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
27483         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
27484         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
27485         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
27486         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
27487         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
27488         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
27489         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
27490         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
27491         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
27492         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
27493         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
27494         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
27495         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
27496         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
27497         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
27498         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
27499         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
27500         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
27501         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
27502         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
27503         Moved ...
27504         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
27505         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
27506         Moved ...
27507         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
27508         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
27509         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
27510         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
27511         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
27512         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
27513         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
27514         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
27515         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
27516         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
27517         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
27518         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
27519         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
27520         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
27521         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
27522         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
27523         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
27524         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
27525         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
27527 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27529         * posix/spawn_faction_addopen.c: Include string.h.
27531 2014-06-11  Roland McGrath  <roland@hack.frob.com>
27533         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
27534         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
27535         * nptl/sysdeps/x86_64/Makefile: Moved ...
27536         * sysdeps/x86_64/nptl/Makefile: ... here.
27537         * nptl/sysdeps/x86_64/configure: Moved ...
27538         * sysdeps/x86_64/nptl/configure: ... here.
27539         * nptl/sysdeps/x86_64/configure.ac: Moved ...
27540         * sysdeps/x86_64/nptl/configure.ac: ... here.
27541         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
27542         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
27543         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
27544         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
27545         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
27546         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
27547         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
27548         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
27549         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
27550         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
27551         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
27552         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
27553         * nptl/sysdeps/x86_64/tls.h: Moved ...
27554         * sysdeps/x86_64/nptl/tls.h: ... here.
27555         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
27556         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
27557         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
27558         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
27560         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
27562 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27566 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
27568         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
27569         type.
27570         [POSIX] (off_t): Likewise.
27571         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
27572         [POSIX] (S_ISBLK): Require macro.
27573         [POSIX] (S_ISCHR): Likewise.
27574         [POSIX] (S_ISDIR): Likewise.
27575         [POSIX] (S_ISFIFO): Likewise.
27576         [POSIX] (S_ISREG): Likewise.
27577         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
27578         optional-macro.
27579         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
27580         type.
27581         [POSIX] (time_t): Likewise.
27582         [POSIX] (timer_t): Likewise.
27584 2014-06-11  Florian Weimer  <fweimer@redhat.com>
27586         [BZ #17048]
27587         * posix/spawn_int.h (struct __spawn_action): Make the path string
27588         non-const to support deallocation.
27589         * posix/spawn_faction_addopen.c
27590         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
27591         * posix/spawn_faction_destroy.c
27592         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
27593         path in all spawn_do_open actions.
27594         * posix/tst-spawn.c (do_test): Exercise the copy operation in
27595         posix_spawn_file_actions_addopen.
27597 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
27599         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
27600         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
27601         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
27602         conditional code always true.
27603         (__libc_vfork): New alias.
27605 2014-06-11  Roland McGrath  <roland@hack.frob.com>
27607         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27608         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
27610         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
27612         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27613         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
27615         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27616         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
27618         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27619         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
27621 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27623         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
27624         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
27625         multiarch strcmp for PPC64.
27626         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
27627         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
27628         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
27629         multiarch optimizations.
27630         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27631         (__libc_ifunc_impl_list): Likewise.
27633 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27635         * benchtests/scripts/validate_benchout.py: New script.
27636         * benchtests/Makefile (bench-func): Call it.
27637         * benchtests/scripts/benchout.schema.json: New file.
27639 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
27641         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
27642         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
27643         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
27644         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
27645         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
27646         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
27647         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
27648         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
27649         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
27650         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
27651         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
27652         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
27653         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
27654         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
27655         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
27656         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
27657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
27658         Moved ...
27659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
27660         ... here.
27661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
27662         Moved ...
27663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
27664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
27665         Moved ...
27666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
27667         ... here.
27668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
27669         Moved ...
27670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
27671         ... here.
27672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
27673         Moved ...
27674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
27675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
27676         Moved ...
27677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
27678         ... here.
27679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
27680         Moved ...
27681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
27682         ... here.
27683         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
27684         Moved ...
27685         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
27686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
27687         Moved ...
27688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
27689         ... here.
27690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
27691         Moved ...
27692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
27693         ... here.
27694         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
27695         Moved ...
27696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
27697         ... here.
27698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
27699         Moved ...
27700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
27701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
27702         Moved ...
27703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
27704         ... here.
27705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
27706         Moved ...
27707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
27708         ... here.
27709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
27710         Moved ...
27711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
27712         ... here.
27713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
27714         Moved ...
27715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
27716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
27717         Moved ...
27718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
27719         ... here.
27720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
27721         Moved ...
27722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
27723         ... here.
27724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
27725         Moved ...
27726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
27727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
27728         Moved ...
27729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
27730         ... here.
27731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
27732         Moved ...
27733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
27734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
27735         Moved ...
27736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
27737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
27738         Moved ...
27739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
27740         ... here.
27741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
27742         Moved ...
27743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
27744         ... here.
27745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
27746         Moved ...
27747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
27748         ... here.
27749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
27750         Moved ...
27751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
27752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
27753         Moved ...
27754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
27755         ... here.
27756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
27757         Moved ...
27758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
27759         ... here.
27760         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
27761         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
27762         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
27763         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
27764         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
27765         Moved ...
27766         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
27767         ... here.
27768         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
27769         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
27770         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
27771         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
27772         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
27773         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
27774         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
27775         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
27776         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
27777         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
27778         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
27779         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
27780         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
27781         Moved ...
27782         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
27783         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
27784         Moved ...
27785         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
27786         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
27787         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
27788         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
27789         Moved ...
27790         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
27791         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
27792         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
27793         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
27794         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
27795         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
27796         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
27798 2014-06-10  Wilco  <wdijkstr@arm.com>
27800         * math/test-fenv-return.c: New file.
27801         * math/Makefile: Add new test test-fenv-return.
27803 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
27805         [BZ #17042]
27806         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
27807         when x - 1 is zero.
27808         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
27809         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
27810         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
27811         0.0L for an argument of 1.0L.
27812         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27813         Likewise.
27814         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
27815         value when x - 1 is zero.
27816         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
27817         * sysdeps/i386/fpu/libm-test-ulps: Update.
27818         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27820 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
27822         [BZ #15119]
27823         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
27825 2014-06-09  Roland McGrath  <roland@hack.frob.com>
27827         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
27828         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
27830 2014-06-09  Roland McGrath  <roland@hack.frob.com>
27832         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27833         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
27835         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27836         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
27838         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27839         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
27841         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27842         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
27844         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
27845         if not already defined.
27846         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
27847         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
27848         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
27849         (TLS_INIT_TP): Use it.
27850         (TLS_DEFINE_INIT_TP): New macro.
27851         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
27853 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
27855         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
27856         constant.
27857         [POSIX] (IXANY): Likewise.
27858         [POSIX] (OLCUC): Likewise.
27859         [POSIX || POSIX2008] (CBAUD): Do not allow.
27860         [POSIX || POSIX2008] (DEFECHO): Likewise.
27861         [POSIX || POSIX2008] (ECHOCTL): Likewise.
27862         [POSIX || POSIX2008] (ECHOKE): Likewise.
27863         [POSIX || POSIX2008] (ECHOPRT): Likewise.
27864         [POSIX || POSIX2008] (EXTA): Likewise.
27865         [POSIX || POSIX2008] (EXTB): Likewise.
27866         [POSIX || POSIX2008] (FLUSHO): Likewise.
27867         [POSIX || POSIX2008] (LOBLK): Likewise.
27868         [POSIX || POSIX2008] (PENDIN): Likewise.
27869         [POSIX || POSIX2008] (SWTCH): Likewise.
27870         [POSIX || POSIX2008] (VDISCARD): Likewise.
27871         [POSIX || POSIX2008] (VDSUSP): Likewise.
27872         [POSIX || POSIX2008] (VLNEXT): Likewise.
27873         [POSIX || POSIX2008] (VREPRINT): Likewise.
27874         [POSIX || POSIX2008] (VSTATUS): Likewise.
27875         [POSIX || POSIX2008] (VWERASE): Likewise.
27876         (B*): Change to B[0123456789]*.
27877         * conform/data/time.h-data [POSIX || UNIX98]
27878         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
27879         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27880         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
27881         [POSIX] (tm_*): Do not allow.
27883 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
27885         * Makefile (install): Don't set LANGUAGE.
27886         * Makefile.in (install): Likewise.
27887         * assert/Makefile (test-assert-ENV): Remove variable.
27888         (test-assert-perr-ENV): Likewise.
27889         * elf/Makefile (neededtest4-ENV): Likewise.
27890         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27891         [$(cross-compiling) = no]: Don't set LANGUAGE.
27892         * io/ftwtest-sh (LANG): Remove variable.
27893         * libio/Makefile (tst-widetext-ENV): Likewise.
27894         * manual/install.texi (Running make install): Don't refer to
27895         environment settings for make install.
27896         * INSTALL: Regenerated.
27897         * nptl/tst-tls6.sh: Don't set LANG.
27898         * posix/globtest.sh (LANG): Remove variable.
27899         * string/Makefile (tester-ENV): Likewise.
27900         (inl-tester-ENV): Likewise.
27901         (noinl-tester-ENV): Likewise.
27902         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27903         [$(cross-compiling) = no]: Don't set LANGUAGE.
27904         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
27905         without explicit environment settings.
27907 2014-06-06  Roland McGrath  <roland@hack.frob.com>
27909         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
27910         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
27911         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
27912         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
27914 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
27916         * crypt/crypt-private.h [DOS]: Add some includes taken from the
27917         other files in the crypt directory.
27918         * crypt/crypt.c: Remove duplicate includes.
27919         * crypt/crypt-entry.c: Likewise.
27920         * crypt/crypt_util.c: Likewise.
27922 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
27924         * Makeconfig (run-program-env): New variable.
27925         (run-program-prefix-before-env): Likewise.
27926         (run-program-prefix-after-env): Likewise.
27927         (run-program-prefix): Define in terms of new variables.
27928         (built-program-cmd-before-env): New variable.
27929         (built-program-cmd-after-env): Likewise.
27930         (built-program-cmd): Define in terms of new variables.
27931         (test-program-prefix-before-env): New variable.
27932         (test-program-prefix-after-env): Likewise.
27933         (test-program-prefix): Define in terms of new variables.
27934         (test-program-cmd-before-env): New variable.
27935         (test-program-cmd-after-env): Likewise.
27936         (test-program-cmd): Define in terms of new variables.
27937         * Rules (make-test-out): Use $(run-program-env).
27938         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
27939         (help): Do not mention environment variables.  Mention
27940         --timeoutfactor option.
27941         (timeoutfactor): New variable.
27942         (blacklist_exports): Remove function.
27943         (exports): Remove variable.
27944         (command): Do not include ${exports}.
27945         * manual/install.texi (Configuring and compiling): Do not mention
27946         test wrappers preserving environment variables.  Mention that last
27947         assignment to a variable must take precedence.
27948         * INSTALL: Regenerated.
27949         * benchtests/Makefile (run-bench): Use $(run-program-env).
27950         * catgets/Makefile ($(objpfx)test1.cat): Use
27951         $(built-program-cmd-before-env), $(run-program-env) and
27952         $(built-program-cmd-after-env).
27953         ($(objpfx)test2.cat): Do not specify environment variables
27954         explicitly.
27955         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
27956         $(run-program-env) and $(built-program-cmd-after-env).
27957         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
27958         $(run-program-env) and $(test-program-cmd-after-env).
27959         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
27960         explicitly.
27961         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
27962         run_program_env and test_program_cmd_after_env arguments.
27963         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
27964         * elf/tst-pathopt.sh: Use run_program_env argument.
27965         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
27966         $(test-wrapper-env) and $(run-program-env).
27967         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
27968         run_program_env arguments.
27969         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
27970         * intl/Makefile ($(objpfx)tst-gettext.out): Use
27971         $(test-program-prefix-before-env), $(run-program-env) and
27972         $(test-program-prefix-after-env).
27973         ($(objpfx)tst-gettext2.out): Likewise.
27974         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
27975         run_program_env and test_program_prefix_after_env arguments.
27976         * intl/tst-gettext2.sh: Likewise.
27977         * intl/tst-gettext4.sh: Do not set environment variables
27978         explicitly.
27979         * intl/tst-gettext6.sh: Likewise.
27980         * intl/tst-translit.sh: Likewise.
27981         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
27982         $(test-program-prefix-before-env), $(run-program-env) and
27983         $(test-program-prefix-after-env).
27984         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
27985         run_program_env and test_program_prefix_after_env arguments.
27986         * math/Makefile (run-regen-ulps): Use $(run-program-env).
27987         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
27988         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
27989         explicitly with each use of ${test_wrapper_env}.
27990         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
27991         $(test-program-prefix-before-env), $(run-program-env) and
27992         $(test-program-prefix-after-env).
27993         * posix/tst-getconf.sh: Do not set environment variables
27994         explicitly.
27995         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
27996         run_program_env and test_program_prefix_after_env arguments.
27997         * stdio-common/tst-printf.sh: Do not set environment variables
27998         explicitly.
27999         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
28000         $(test-program-prefix-before-env), $(run-program-env) and
28001         $(test-program-prefix-after-env).
28002         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
28003         run_program_env and test_program_prefix_after_env arguments.
28004         Split $test calls into $test_pre and $test.
28005         * timezone/Makefile (build-testdata): Use
28006         $(built-program-cmd-before-env), $(run-program-env) and
28007         $(built-program-cmd-after-env).
28009 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28011         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
28012         strlen for non SHARED builds.
28014 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
28016         * nptl/allocatestack.c (check_list): Inlined function...
28017         (__reclaim_stacks): ... here.
28019 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
28021         [BZ #15698]
28022         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
28023         memory overrun.
28025 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
28027         * Rules (make-test-out): Include
28028         LOCPATH=$(common-objpfx)localedata in default environment.
28029         * debug/Makefile (tst-chk1-ENV): Remove variable.
28030         (tst-chk2-ENV): Likewise.
28031         (tst-chk3-ENV): Likewise.
28032         (tst-chk4-ENV): Likewise.
28033         (tst-chk5-ENV): Likewise.
28034         (tst-chk6-ENV): Likewise.
28035         (tst-lfschk1-ENV): Likewise.
28036         (tst-lfschk2-ENV): Likewise.
28037         (tst-lfschk3-ENV): Likewise.
28038         (tst-lfschk4-ENV): Likewise.
28039         (tst-lfschk5-ENV): Likewise.
28040         (tst-lfschk6-ENV): Likewise.
28041         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
28042         (tst-iconv7-ENV): Likewise.
28043         * intl/Makefile (LOCPATH-ENV): Likewise.
28044         (tst-codeset-ENV): Likewise.
28045         (tst-gettext3-ENV): Likewise.
28046         (tst-gettext5-ENV): Likewise.
28047         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
28048         (tst-fopenloc-ENV): Likewise.
28049         (tst-fgetws-ENV): Remove variable.
28050         (tst-ungetwc1-ENV): Likewise.
28051         (tst-ungetwc2-ENV): Likewise.
28052         (bug-ungetwc2-ENV): Likewise.
28053         (tst-swscanf-ENV): Likewise.
28054         (bug-ftell-ENV): Likewise.
28055         (tst-fgetwc-ENV): Likewise.
28056         (tst-fseek-ENV): Likewise.
28057         (tst-ftell-partial-wide-ENV): Likewise.
28058         (tst-ftell-active-handler-ENV): Likewise.
28059         (tst-ftell-append-ENV): Likewise.
28060         * posix/Makefile (tst-fnmatch-ENV): Likewise.
28061         (tst-regexloc-ENV): Likewise.
28062         (bug-regex1-ENV): Likewise.
28063         (tst-regex-ENV): Likewise.
28064         (tst-regex2-ENV): Likewise.
28065         (bug-regex5-ENV): Likewise.
28066         (bug-regex6-ENV): Likewise.
28067         (bug-regex17-ENV): Likewise.
28068         (bug-regex18-ENV): Likewise.
28069         (bug-regex19-ENV): Likewise.
28070         (bug-regex20-ENV): Likewise.
28071         (bug-regex22-ENV): Likewise.
28072         (bug-regex23-ENV): Likewise.
28073         (bug-regex25-ENV): Likewise.
28074         (bug-regex26-ENV): Likewise.
28075         (bug-regex30-ENV): Likewise.
28076         (bug-regex32-ENV): Likewise.
28077         (bug-regex33-ENV): Likewise.
28078         (bug-regex34-ENV): Likewise.
28079         (bug-regex35-ENV): Likewise.
28080         (tst-rxspencer-ENV): Likewise.
28081         (tst-rxspencer-no-utf8-ENV): Likewise.
28082         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
28083         (tst-sscanf-ENV): Likewise.
28084         (tst-swprintf-ENV): Likewise.
28085         (tst-swscanf-ENV): Likewise.
28086         (test-vfprintf-ENV): Likewise.
28087         (scanf13-ENV): Likewise.
28088         (bug14-ENV): Likewise.
28089         (tst-grouping-ENV): Likewise.
28090         * stdlib/Makefile (tst-strtod-ENV): Likewise.
28091         (tst-strtod3-ENV): Likewise.
28092         (tst-strtod4-ENV): Likewise.
28093         (tst-strtod5-ENV): Likewise.
28094         (testmb2-ENV): Likewise./
28095         * string/Makefile (tst-strxfrm-ENV): Likewise.
28096         (tst-strxfrm2-ENV): Likewise.
28097         (bug-strcoll1-ENV): Likewise.
28098         (test-strcasecmp-ENV): Likewise.
28099         (test-strncasecmp-ENV): Likewise.
28100         * time/Makefile (tst-strptime-ENV): Likewise.
28101         (tst-ftime_l-ENV): Likewise.
28102         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
28103         (tst-mbrtowc-ENV): Likewise.
28104         (tst-wcrtomb-ENV): Likewise.
28105         (tst-mbrtowc2-ENV): Likewise.
28106         (tst-c16c32-1-ENV): Likewise.
28107         (tst-mbsnrtowcs-ENV): Likewise.
28109 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
28111         * manual/resource.texi (How to get information about the memory
28112         subsystem?): Fix typo.
28113         Reported by Peon de la Parra Ivan <peon@keba.com>
28115 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
28117         [BZ #16882]
28118         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
28119         (pthread_spin_lock): Branch out of spin loop to proper location.
28120         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
28121         (pthread_spin_lock): Likewise.
28123         * nptl/tst-spin4.c: New test.
28124         * nptl/Makefile (tests): Add tst-spin4.
28126 2014-06-03  Andreas Schwab  <schwab@suse.de>
28128         [BZ #15946]
28129         * resolv/res_send.c (send_dg): Reload file descriptor after
28130         calling reopen.
28132 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
28134         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28136 2014-06-03  Richard Henderson  <rth@redhat.com>
28138         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
28139         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
28140         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
28141         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
28142         in the SAVE_PID block.
28143         (__libc_vfork): New alias.
28144         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
28146         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
28147         child in registers, not on the stack.  Remove RESET_PID conditionals.
28148         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
28150 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28152         * sysdeps/aarch64/libm-test-ulps: Regenerate.
28154 2014-06-03  Wilco  <wdijkstr@arm.com>
28156         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
28157         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
28158         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28159         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
28160         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
28161         Likewise.
28163 2014-06-03  Wilco  <wdijkstr@arm.com>
28165         * sysdeps/aarch64/fpu/math_private.h
28166         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
28167         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
28168         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
28169         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28170         Fix declarations.
28172 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28174         * crypt/crypt-private.h: Include ufc-crypt.h.
28175         (__b64_from_24bit): Declare extern.
28176         * crypt/crypt_util.c(__b64_from_24bit): New function.
28177         (b64t): New static const variable.
28178         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
28179         (b64t): Remove variable.
28180         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
28181         * crypt/sha256-crypt.c: Include crypt-private.h.
28182         (b64t): Remove variable.
28183         (__sha256_crypt_r): Remove b64_from_24bit and replace
28184         with __b64_from_24bit.
28185         * crypt/sha512-crypt.c: Likewise.
28187 2014-06-02  Roland McGrath  <roland@hack.frob.com>
28189         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
28190         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
28191         Label the code __libc_vfork rather than __vfork.
28192         [!NOT_IN_libc] (vfork): Define as weak alias.
28193         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
28194         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
28195         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
28197 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28199         * malloc/malloc.c (malloc_info): Fix format specifier for
28200         n_mmaps.
28202 2014-06-02  Wilco  <wdijkstr@arm.com>
28204         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
28205         FPCR write.
28207 2014-06-02  Wilco  <wdijkstr@arm.com>
28209         [BZ #17009]
28210         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
28211         Rewrite to reduce FPCR/FPSR accesses.
28213 2014-06-01  David S. Miller  <davem@davemloft.net>
28215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28217 2014-05-31  David S. Miller  <davem@davemloft.net>
28219         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
28220         to occur in round to nearest mode when |x| >= 2.0
28222 2014-05-30  Richard Henderson  <rth@twiddle.net>
28224         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
28225         (PSEUDO_RET_NOERRNO): Remove.
28226         (ret): Don't redefine.
28227         (ret_NOERRNO): Define in terms of ret.
28228         (ret_ERRVAL): Likewise.
28230         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
28231         use of PSEUDO_RET; perform the error check directly.
28233 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
28235         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
28236         with __int128_t.
28238 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28240         * malloc/malloc (malloc_info): Fix formatting.
28242 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28243             Roland McGrath  <roland@hack.frob.com>
28245         * malloc/malloc (malloc_info): Also print mmapped statistics.
28247 2014-05-30  Roland McGrath  <roland@hack.frob.com>
28249         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
28250         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
28252 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
28254         * malloc/malloc.c (malloc_info): Inline mi_arena.
28256 2014-05-29  Richard Henderson  <rth@twiddle.net>
28258         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
28259         Remove comma before expanding ASM_ARGS_##nr.
28260         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
28261         Make _x0 a strict output; make _x8 a strict input; adjust expansion
28262         of ASM_ARGS_##nr.
28263         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
28264         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
28265         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
28266         (ASM_ARGS_1): Add leading comma.
28268         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
28269         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
28270         to __errno_location.
28271         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
28272         Remove the expected plt for __errno_location.
28274         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28275         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
28276         call to __read_tp.
28278         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28279         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
28280         it and break it down.
28281         (DOCARGS_0, DOCARGS_1): Do nothing.
28282         (DOCARGS_2): Update to store into the new stack frame.
28283         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
28284         (UNDOCARGS_1): Update to restore from the new stack frame.
28285         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
28286         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
28288         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28289         (SINGLE_THREAD_P): New parameter for result regno.
28290         (PSEUDO): Update to match; use cbz instead of beq.
28292         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28293         Use ENTRY to define the _nocancel entry point.  Share the syscall
28294         and syscall error check paths with the cancel path.
28295         (PSEUDO_END): New.
28297         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
28298         whitespace; tabs before and after asm mnemonics.
28300 2014-05-29  Eric Wong  <normalperson@yhbt.net>
28302         [BZ #15132]
28303         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28304         Call fstat64 or stat64 internally, depending on arguments passed.
28305         Replace stat buffer argument with file descriptor argument.
28306         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
28307         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
28308         Pass fd to __internal_statvfs instead of calling fstat64.
28309         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
28310         Pass fd to __internal_statvfs64 instead of calling fstat64.
28311         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
28312         Pass -1 to __internal_statvfs instead of calling stat64.
28313         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
28314         Pass -1 to __internal_statvfs64 instead of calling stat64.
28316 2014-05-28  Roland McGrath  <roland@hack.frob.com>
28318         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
28319         that was previously under [RESET_PID].
28320         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
28322         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
28323         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
28325 2014-05-27  Roland McGrath  <roland@hack.frob.com>
28327         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
28329         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
28330         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
28332 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
28334         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
28336 2014-05-27  Andreas Schwab  <schwab@suse.de>
28338         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
28339         TLS_INIT_TP macro.
28340         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
28341         * elf/rtld.c (init_tls, dl_main): Likewise.
28342         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
28343         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
28344         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
28345         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
28346         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
28347         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
28348         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
28349         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
28350         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
28351         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
28352         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
28353         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
28354         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
28355         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
28356         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
28357         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
28358         * sysdeps/generic/tls.h: Update description.
28360 2014-05-27  Will Newton  <will.newton@linaro.org>
28362         [BZ #16990]
28363         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
28364         and restore r2 rather than just restoring.
28366 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28368         [BZ #16724]
28369         * libio/tst-ftell-append.c: New test case.
28370         * libio/Makefile (tests): Add test case.
28371         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
28372         append mode.
28373         * libio/wfileops.c (do_ftell_wide): Likewise.
28375 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28379         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
28380         ...
28381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
28382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28383         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
28384         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
28385         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
28386         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
28387         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
28388         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
28389         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28390         Moved ...
28391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
28392         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28393         Moved ...
28394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
28395         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
28396         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
28397         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
28398         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
28399         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
28400         ...
28401         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
28402         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
28403         Moved ...
28404         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
28405         here.
28406         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
28407         ...
28408         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
28409         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
28410         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
28412         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
28413         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
28414         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
28415         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
28417         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
28418         merge into ...
28419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
28420         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
28421         ...
28422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
28423         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
28424         ...
28425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
28426         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28427         Moved ...
28428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
28429         here.
28430         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28431         Moved ...
28432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
28433         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28434         Moved ...
28435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
28437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
28438         conditional [RESET_PID].
28439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
28440         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
28441         removed.
28442         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
28443         removed.
28445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
28446         <tcb-offsets.h>.
28447         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28448         (__libc_vfork): New strong alias.
28449         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
28450         removed.
28451         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
28452         Removed.
28454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
28455         <tcb-offsets.h>.
28456         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
28457         (__libc_vfork): New strong alias.
28458         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
28459         removed.
28460         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
28461         removed.
28463 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
28465         * malloc/malloc.c (mi_arena): New function.
28466         (malloc_info): Remove nested function mi_arena. Call non-nosted
28467         function mi_arena.
28469 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28471         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
28472         by insrwi.
28473         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
28474         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
28475         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
28476         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
28477         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
28478         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
28479         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
28481 2014-05-26  Andreas Schwab  <schwab@suse.de>
28483         [BZ #16984]
28484         * locale/programs/repertoire.c (repertoire_read): Add slash
28485         between I18NPATH element and file name.
28486         * locale/programs/locfile.c (locfile_read): Likewise.
28488 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28490         * nptl/pthread_mutexattr_settype.c
28491         (__pthread_mutexattr_settype):
28492         Disable lock elision for PTHREAD_MUTEX_NORMAL.
28494 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28496         * nptl/tst-mutex5 (do_test):
28497         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
28499 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28501         * benchtests/README: Document 'init' directive.
28502         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
28503         BENCH_INIT.
28504         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
28505         (parse_file): Recognize 'init' directive.
28507 2014-05-26  Kyle McMartin  <kyle@redhat.com>
28509         [BZ #16796]
28510         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
28511         alignment of struct pthread.
28513 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28515         [BZ #16878]
28516         * nscd/netgroupcache.c (addgetnetgrentX): Look for
28517         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28518         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
28519         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28521 2014-05-25  Richard Henderson  <rth@twiddle.net>
28523         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28524         (SINGLE_THREAD_P_PIC): Remove.
28525         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
28526         (SINGLE_THREAD_P_PIC): Remove.
28528         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
28529         branch to syscall error ...
28530         (PSEUDO): ... here.
28531         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
28532         from __local_syscall_error to .Lsyscall_error.
28533         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
28534         (SYSCALL_ERROR): Update label name.
28536         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28537         Do not use DOARGS/UNDOARGS.
28538         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
28539         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
28540         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
28541         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
28542         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
28544         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
28545         block comment.
28547         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
28548         define if !NOT_IN_libc.
28549         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
28550         define with non-default symbol versions.
28552 2014-05-23  Richard Henderson  <rth@twiddle.net>
28554         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
28555         (vfork, __vfork): Define via compat_symbol.
28557         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
28558         [!HAVE_IFUNC] (vfork_compat): Remove.
28559         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
28561 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
28563         [BZ #16978]
28564         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
28565         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
28566         variable.
28568 2014-05-23  Richard Henderson  <rth@twiddle.net>
28570         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
28571         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
28572         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
28573         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
28575         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
28576         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
28577         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
28578         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
28579         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
28580         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
28581         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
28582         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
28583         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
28584         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
28585         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
28586         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
28587         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
28588         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
28589         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
28590         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
28591         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
28592         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
28593         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
28594         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
28595         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
28596         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
28597         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
28598         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
28599         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
28600         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
28601         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
28602         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
28603         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
28604         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
28605         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
28606         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
28607         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
28608         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
28609         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
28610         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
28611         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
28612         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
28613         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
28614         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
28615         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
28616         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
28617         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
28618         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
28619         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
28620         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
28621         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
28622         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
28623         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
28624         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
28625         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
28626         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
28627         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
28628         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
28629         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
28630         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
28632         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
28633         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
28634         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
28635         before exiting on error.
28636         (__libc_vfork): New strong alias.
28637         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
28638         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
28640         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
28641         that was previously under [RESET_PID].
28642         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
28644         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
28646 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
28648         [BZ #16977]
28649         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
28650         value when x - 1 is zero.
28651         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
28652         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
28653         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
28654         0.0L for an argument of 1.0L.
28655         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
28656         Likewise.
28657         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
28658         value when x - 1 is zero.
28659         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
28660         * sysdeps/i386/fpu/libm-test-ulps: Update.
28661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28663 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28665         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
28666         alphasort and versionsort.
28668 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28670         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
28671         macro.
28672         [copysignf]: Likewise.
28674 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28676         * crypt/md5-crypt.c: Fix formatting.
28678 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28680         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
28681         (b64_from_24bit): New function.
28683 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28685         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
28686         libc_hidden_builtin_def to ifunc.
28687         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28688         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
28690 2014-05-21  Roland McGrath  <roland@hack.frob.com>
28692         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
28693         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
28695 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
28697         * nscd/Depend (linuxthreads): Remove.
28698         (nptl): Add.
28699         * resolv/Depend (linuxthreads): Remove.
28700         * rt/Depend (linuxthreads): Remove.
28702         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
28703         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
28704         $(common-objpfx)elf/.
28705         (link-libc-before-gnulib): Likewise.
28706         (elfobjdir): Remove variable.
28707         * Makefile (install): Use $(elf-objpfx) instead of
28708         $(common-objpfx)elf/.
28709         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
28710         $(elfobjdir)/.
28711         (link-libc-deps): Likewise.
28712         ($(common-objpfx)libc.so): Likewise.
28713         ($(common-objpfx)linkobj/libc.so): Likewise.
28714         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
28715         instead of $(common-objpfx)elf/.
28716         (symbolic-link-list): Likewise.
28717         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28718         [$(cross-compiling) = no]: Likewise.
28719         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
28720         $(elfobjdir)/.
28721         (static-gnulib-arch): Likewise.
28722         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28723         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
28724         $(common-objpfx)elf/.
28726 2014-05-21  Richard Henderson  <rth@redhat.com>
28728         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28729         (SINGLE_THREAD_P): Use the correct width load.  Fold
28730         into the ldr offset.
28732         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
28733         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
28735 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
28737         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
28738         (libgcc_s_resume): Use __attribute_used__.
28739         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
28740         Likewise.
28742 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28744         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
28745         optimization when used with float constants.
28747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28749 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
28751         [BZ #16915]
28752         * locale/nl_langinfo_l.c: Make direct reference to every
28753         _nl_current_CATEGORY symbol.
28754         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
28755         (tests-static): Add tst-langinfo-static.
28756         (tests-special): Add tst-langinfo-static.out.
28757         ($(objpfx)tst-langinfo.out): Redirect output.
28758         ($(objpfx)tst-langinfo-static.out): New.
28759         * localedata/tst-langinfo.sh: Send output to stdout.
28760         * localedata/tst-langinfo-static.c: New file.
28762         [BZ #16965]
28763         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
28764         when the shift amount is modulo the limb size.
28766 2014-05-20  Richard Henderson  <rth@redhat.com>
28768         [BZ #16967]
28769         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
28770         Change type of sa_flags from unsigned int to int.
28772         [BZ #16966]
28773         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
28775         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
28777 2014-05-20  Will Newton  <will.newton@linaro.org>
28779         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28780         Test the return value of the system call in the nocancel case.
28782 2014-05-20  Will Newton  <will.newton@linaro.org>
28783             Yvan Roux  <yvan.roux@linaro.org>
28785         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
28786         #include of asm/ptrace.h.
28787         (PTRACE_GET_THREAD_AREA): Remove #undef.
28788         (PTRACE_GETHBPREGS): Likewise.
28789         (PTRACE_SETHBPREGS): Likewise.
28790         (struct user_regs_struct): New structure.
28791         (struct user_fpsimd_struct): New structure.
28792         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
28793         #include of asm/ptrace.h and second #include of sys/user.h.
28794         (PTRACE_GET_THREAD_AREA): Remove #undef.
28795         (PTRACE_GETHBPREGS): Likewise.
28796         (PTRACE_SETHBPREGS): Likewise.
28797         (ELF_NGREG): Use new struct user_regs_struct.
28798         (elf_fpregset_t): Use new struct user_fpsimd_struct.
28800 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28802         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
28803         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
28805 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
28807         [BZ #16958]
28808         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
28809         membar to avoid block loads/stores to overlap previous stores.
28811 2014-05-17  Richard Henderson  <rth@redhat.com>
28813         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
28814         Create the __##syscall_name##_nocancel entry point.
28815         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
28816         Remove; let the sysdep-cancel.h code create it.
28818 2014-05-17  David S. Miller  <davem@davemloft.net>
28820         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
28821         Protect with __USE_GNU.
28822         (TIOCSET_TEMPT): Likewise.
28823         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28824         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
28825         these are already provided in bits/ioctl-types.h
28827 2014-05-16  Roland McGrath  <roland@hack.frob.com>
28829         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
28830         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
28832         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
28833         Use wait4 regardless of [__NR_waitpid].
28835 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
28837         PR libgcc/60166
28838         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28839         (_FP_NANSIGN_Q): Set the quiet bit.
28841 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
28843         * benchtests/Makefile
28844         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
28845         not $(common-objpfx)math/libm.so.
28846         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
28847         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
28848         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
28849         $(common-objpfx)dlfcn/libdl.so.
28850         ($(objpfx)tst-audit8): Depend on $(libm), not
28851         $(common-objpfx)math/libm.so.
28852         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
28853         not $(common-objpfx)dlfcn/libdl.so.
28854         * math/Makefile
28855         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28856         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
28857         [$(build-shared) = yes].
28858         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
28859         $(common-objpfx)nptl/libpthread.so.
28860         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
28861         $(common-objpfx)math/libm.so$(libm.so-version) or
28862         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
28863         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
28864         $(common-objpfx)dlfcn/libdl.so.
28865         * setjmp/Makefile (link-libm): Remove variable.
28866         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
28867         * stdio-common/Makefile (link-libm): Remove variable.
28868         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
28869         * stdlib/Makefile (link-libm): Remove variable.
28870         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
28871         ($(objpfx)tst-strtod-round): Likewise.
28872         ($(objpfx)tst-tininess): Likewise.
28873         ($(objpfx)tst-strtod-underflow): Likewise.
28874         ($(objpfx)tst-strtod6): Likewise.
28875         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
28876         $(libdl), not $(common-objpfx)nptl/libpthread.so and
28877         $(common-objpfx)dlfcn/libdl.so.
28879 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28881         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
28882         BSD terminal modes definitions.
28884 2014-05-16  Roland McGrath  <roland@hack.frob.com>
28886         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
28887         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
28889         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
28890         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
28891         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
28892         Don't do #include_next.
28893         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
28894         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
28895         Don't do #include_next.
28896         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
28897         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
28898         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
28899         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
28901 2014-05-16  Allan McRae  <allan@archlinux.org>
28903         * po/sv.po: Update Swedish translation from translation project.
28905         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
28906         in sed expression.
28908 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
28910         [BZ #16917]
28911         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
28912         errno if the TIOCGPTN ioctl fails with an error different than
28913         EINVAL.
28914         * login/tst-ptsname.c: New file.
28915         * login/Makefile (tests): Add tst-ptsname.
28917         [BZ #16943]
28918         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
28919         and prlimit64.
28921 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28923         [BZ #16849]
28924         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
28925         herrno to return EAI_AGAIN.
28927 2014-05-14  Roland McGrath  <roland@hack.frob.com>
28929         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
28930         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
28931         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
28932         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
28933         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
28934         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
28935         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
28936         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
28937         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
28938         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
28939         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
28940         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
28941         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
28942         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
28943         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
28944         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
28945         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
28946         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
28947         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
28948         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
28949         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
28950         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
28951         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
28952         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
28953         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
28954         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
28955         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
28956         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
28957         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
28958         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
28959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
28960         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
28961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
28962         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
28963         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28964         Moved ...
28965         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
28966         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
28967         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
28968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
28969         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
28970         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
28971         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
28972         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
28973         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
28974         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
28975         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
28976         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
28977         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
28978         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
28979         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
28980         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
28981         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
28982         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
28983         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
28984         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
28985         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
28986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
28987         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
28988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
28989         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
28990         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
28991         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
28992         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28993         Moved ...
28994         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
28995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
28996         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
28997         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
28998         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
28999         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
29000         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
29001         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
29002         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
29003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
29004         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
29005         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
29006         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
29007         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
29008         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
29009         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
29010         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
29011         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
29012         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
29013         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29014         Moved ...
29015         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
29016         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
29017         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
29019         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
29020         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
29021         (libpthread-sysdep_routines): Add elision-related stuff here instead.
29022         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
29023         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
29024         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
29025         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
29026         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
29027         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
29028         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
29029         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
29030         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
29031         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
29032         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
29033         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
29034         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
29035         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
29036         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
29037         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
29038         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
29039         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
29040         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
29041         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
29042         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
29043         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
29044         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
29045         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
29046         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
29047         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
29048         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
29049         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
29051         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
29052         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
29054         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
29055         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
29056         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
29057         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
29058         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
29059         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
29060         Moved ...
29061         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
29062         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
29063         Moved ...
29064         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
29065         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
29066         Moved ...
29067         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
29068         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
29069         Moved ...
29070         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
29071         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
29072         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
29073         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
29074         Moved ...
29075         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
29076         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
29077         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
29078         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
29079         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
29080         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
29081         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
29082         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
29083         Moved ...
29084         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
29085         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29086         Moved ...
29087         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29088         ... here.
29089         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
29090         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
29091         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
29092         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
29093         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29094         Moved ...
29095         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29096         ... here.
29097         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
29098         Moved ...
29099         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
29100         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
29101         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
29102         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
29103         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
29104         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
29105         Moved ...
29106         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
29107         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
29108         Moved ...
29109         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
29110         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
29111         Moved ...
29112         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
29113         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
29114         Moved ...
29115         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
29116         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
29117         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
29118         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
29119         Moved ...
29120         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
29121         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
29122         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
29123         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
29124         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
29125         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
29126         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
29127         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
29128         Moved ...
29129         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
29130         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29131         Moved ...
29132         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29133         ... here.
29134         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
29135         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
29136         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
29137         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
29138         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29139         Moved ...
29140         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29141         ... here.
29142         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
29143         Moved ...
29144         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
29145         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
29146         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
29147         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
29148         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
29149         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
29150         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
29151         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
29152         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
29153         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
29154         Moved ...
29155         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
29156         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
29157         Moved ...
29158         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
29159         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
29160         Moved ...
29161         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
29162         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
29163         Moved ...
29164         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
29165         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
29166         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
29167         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
29168         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
29169         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
29170         Moved ...
29171         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
29172         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
29173         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
29174         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
29175         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
29176         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
29177         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
29178         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
29179         Moved ...
29180         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
29181         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29182         Moved ...
29183         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29184         ... here.
29185         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
29186         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
29187         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
29188         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
29189         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29190         Moved ...
29191         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29192         ... here.
29193         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
29194         Moved ...
29195         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
29196         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
29197         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
29198         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
29199         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
29200         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
29201         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
29202         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
29203         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
29204         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
29205         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
29207         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
29208         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
29210         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
29211         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
29213         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
29214         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
29215         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
29216         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
29217         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
29218         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
29219         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
29220         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
29221         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
29222         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
29223         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
29224         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
29225         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
29226         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
29227         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
29228         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
29229         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
29230         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
29231         Moved ...
29232         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
29233         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
29234         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
29235         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
29236         Moved ...
29237         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
29238         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
29239         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
29240         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
29241         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
29242         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
29243         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
29244         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
29245         Moved ...
29246         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
29247         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
29248         Moved ...
29249         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
29250         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
29251         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
29252         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
29253         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
29254         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
29255         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
29256         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
29257         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
29258         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
29259         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
29260         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
29261         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
29262         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
29263         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
29264         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
29265         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
29267         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
29268         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
29269         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
29270         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
29271         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
29273         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
29274         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
29275         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
29276         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
29277         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
29278         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
29279         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
29280         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
29281         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
29282         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
29284         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
29285         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
29287         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
29288         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
29289         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
29290         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
29291         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
29292         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
29293         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
29294         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
29295         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
29296         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
29297         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
29298         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
29299         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
29300         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
29301         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
29302         Update #include.
29303         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
29304         Likewise.
29305         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
29306         Likewise.
29307         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
29308         Likewise.
29309         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
29310         Likewise.
29311         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
29312         Likewise.
29313         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
29314         Likewise.
29315         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29316         Likewise.
29317         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
29318         Likewise.
29319         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
29320         Likewise.
29321         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
29322         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
29323         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
29324         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
29325         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
29326         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
29327         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
29328         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
29329         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
29330         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
29331         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
29332         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
29333         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
29334         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
29335         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
29337         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
29338         that was previously under [RESET_PID].
29339         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29340         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
29341         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
29343         * sysdeps/i386/nptl/Implies: New file.
29344         * sysdeps/x86_64/nptl/Implies: New file.
29345         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
29346         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
29347         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
29348         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
29350         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
29351         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29352         (__libc_vfork): New strong alias.
29353         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
29354         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
29356         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
29357         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29358         (__libc_vfork): New strong alias.
29359         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
29360         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
29362         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
29363         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29364         (__libc_vfork): New strong alias.
29365         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
29366         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
29367         * nptl/pt-vfork.c: New file.
29368         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
29369         (libpthread: GLIBC_2.20): New version set (empty).
29371 2014-05-14  Will Newton  <will.newton@linaro.org>
29373         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
29374         rather than #if.
29376 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
29378         [BZ #16564]
29379         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
29380         arguments with exponent 65 or above.
29381         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
29382         arguments 0x1p113L or above.
29383         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
29384         to arguments 0x1p107L or above.
29385         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
29386         positive arguments with exponent 65 or above.
29387         * math/auto-libm-test-in: Add more tests of log1p.
29388         * math/auto-libm-test-out: Regenerated.
29390         [BZ #16928]
29391         * math/s_cacos.c (__cacos): Ensure zero real part of result from
29392         non-finite arguments is +0.
29393         * math/s_cacosf.c (__cacosf): Likewise.
29394         * math/s_cacosl.c (__cacosl): Likewise.
29395         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
29396         * sysdeps/i386/fpu/libm-test-ulps: Update.
29397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29399         [BZ #16927]
29400         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
29401         value.
29402         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
29403         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
29404         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
29405         for explicit high bit of mantissa when testing for argument equal
29406         to 1.
29407         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
29408         * sysdeps/i386/fpu/libm-test-ulps: Update.
29409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29411         [BZ #16516]
29412         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
29413         (__erf): Scale by 16 instead of 8 in potentially underflowing
29414         case.  Ensure exception if result actually underflows.
29415         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
29416         (__erff): Scale by 16 instead of 8 in potentially underflowing
29417         case.  Ensure exception if result actually underflows.
29418         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
29419         (efx8): Remove variable.
29420         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29421         case.  Ensure exception if result actually underflows.
29422         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
29423         (efx8): Remove variable.
29424         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29425         case.  Ensure exception if result actually underflows.
29426         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
29427         (efx8): Remove variable.
29428         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29429         case.  Ensure exception if result actually underflows.
29430         * math/auto-libm-test-in: Add more tests of erf.
29431         * math/auto-libm-test-out: Regenerated.
29433 2014-05-14  Andreas Schwab  <schwab@suse.de>
29435         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
29436         Remove code conditionalized on USE___THREAD.
29438         * config.h.in (HAVE_PT_CHOWN): Define as 0.
29439         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
29440         not definedness.
29442 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
29444         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
29445         Define unconditionally.
29446         (__ASSUME_O_CLOEXEC): Likewise.
29447         (__ASSUME_SOCK_CLOEXEC): Likewise.
29448         (__ASSUME_IN_NONBLOCK): Likewise.
29449         (__ASSUME_PIPE2): Likewise.
29450         (__ASSUME_EVENTFD2): Likewise.
29451         (__ASSUME_SIGNALFD4): Likewise.
29452         (__ASSUME_DUP3): Likewise.
29453         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29454         (__ASSUME_DUP3): Do not define.
29455         (__ASSUME_EVENTFD2): Likewise.
29456         (__ASSUME_IN_NONBLOCK): Likewise.
29457         (__ASSUME_O_CLOEXEC): Likewise.
29458         (__ASSUME_PIPE2): Likewise.
29459         (__ASSUME_SIGNALFD4): Likewise.
29460         (__ASSUME_SOCK_CLOEXEC): Likewise.
29461         (__ASSUME_UTIMES): Undefine.
29462         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29463         (__ASSUME_UTIMES): Do not define.
29464         (__ASSUME_O_CLOEXEC): Likewise.
29465         (__ASSUME_SOCK_CLOEXEC): Likewise.
29466         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
29467         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
29468         0x020621].
29469         (__ASSUME_PIPE2): Likewise.
29470         (__ASSUME_EVENTFD2): Likewise.
29471         (__ASSUME_SIGNALFD4): Likewise.
29472         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
29473         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
29474         Do not define.
29475         (__ASSUME_EVENTFD2): Likewise.
29476         (__ASSUME_SIGNALFD4): Likewise.
29477         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29478         (__ASSUME_32BITUIDS): Likewise.
29479         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29480         (__ASSUME_IPC64): Likewise.
29481         (__ASSUME_ST_INO_64_BIT): Likewise.
29482         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
29483         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
29484         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29485         (__ASSUME_UTIMES): Do not define.
29486         (__ASSUME_PSELECT): Likewise.
29487         (__ASSUME_PPOLL): Likewise.
29488         (__ASSUME_O_CLOEXEC): Likewise.
29489         (__ASSUME_SOCK_CLOEXEC): Likewise.
29490         (__ASSUME_IN_NONBLOCK): Likewise.
29491         (__ASSUME_PIPE2): Likewise.
29492         (__ASSUME_EVENTFD2): Likewise.
29493         (__ASSUME_SIGNALFD4): Likewise.
29494         (__ASSUME_DUP3): Likewise.
29495         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29496         (__ASSUME_UTIMES): Likewise.
29497         (__ASSUME_O_CLOEXEC): Likewise.
29498         (__ASSUME_SOCK_CLOEXEC): Likewise.
29499         (__ASSUME_IN_NONBLOCK): Likewise.
29500         (__ASSUME_PIPE2): Likewise.
29501         (__ASSUME_EVENTFD2): Likewise.
29502         (__ASSUME_SIGNALFD4): Likewise.
29503         (__ASSUME_DUP3): Likewise.
29504         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29505         (__ASSUME_UTIMES): Likewise.
29506         (__ASSUME_O_CLOEXEC): Likewise.
29507         (__ASSUME_SOCK_CLOEXEC): Likewise.
29508         (__ASSUME_IN_NONBLOCK): Likewise.
29509         (__ASSUME_PIPE2): Likewise.
29510         (__ASSUME_EVENTFD2): Likewise.
29511         (__ASSUME_SIGNALFD4): Likewise.
29512         (__ASSUME_DUP3): Likewise.
29513         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
29514         Likewise.
29515         (__ASSUME_UTIMES): Likewise.
29516         (__ASSUME_EVENTFD2): Likewise.
29517         (__ASSUME_SIGNALFD4): Likewise.
29518         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29519         (__ASSUME_O_CLOEXEC): Likewise.
29520         (__ASSUME_SOCK_CLOEXEC): Likewise.
29521         (__ASSUME_IN_NONBLOCK): Likewise.
29522         (__ASSUME_PIPE2): Likewise.
29523         (__ASSUME_EVENTFD2): Likewise.
29524         (__ASSUME_SIGNALFD4): Likewise.
29525         (__ASSUME_DUP3): Likewise.
29526         (__ASSUME_UTIMES): Undefine.
29528         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
29529         feclearexcept.  Remove symbol versioning code.
29530         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
29531         symbol versioning code.
29532         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
29533         symbol versioning code.
29534         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
29535         feupdateenv.  Remove symbol versioning code.
29536         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
29537         fegetexceptflag.  Remove symbol versioning code.
29538         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
29539         fesetexceptflag.  Remove symbol versioning code.
29540         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
29541         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
29542         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
29543         (__posix_fadvise64_l32): Remove prototype.
29544         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
29545         code.
29547 2014-05-13  Roland McGrath  <roland@hack.frob.com>
29549         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
29550         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
29551         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
29552         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
29554 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
29556         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
29557         current working directory
29559 2014-05-13  Roland McGrath  <roland@hack.frob.com>
29561         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
29562         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
29563         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
29564         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
29565         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
29566         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
29567         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
29568         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
29569         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
29570         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
29571         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
29572         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
29573         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
29574         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
29575         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
29576         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
29577         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
29578         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
29579         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
29580         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
29581         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
29582         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
29583         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
29584         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
29585         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
29586         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
29587         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
29588         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
29589         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
29590         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
29591         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
29592         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
29593         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
29594         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
29595         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
29596         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
29597         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
29598         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
29599         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
29600         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
29601         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
29602         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
29604         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
29605         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
29607         * sysdeps/unix/sysv/linux/arm/Makefile
29608         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
29609         Add rt-aeabi_unwind_cpp_pr1.
29610         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
29611         Add nptl-aeabi_unwind_cpp_pr1.
29612         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
29613         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
29614         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
29615         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29616         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
29617         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29619         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
29620         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
29621         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
29622         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
29624         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
29625         Deconditionalize the code that was previously under [RESET_PID].
29626         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
29628         * sysdeps/generic/exit-thread.h: New file.
29629         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
29630         * include/unistd.h (__exit_thread): Remove declaration.
29631         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
29632         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
29633         * csu/libc-start.c: Include <exit-thread.h>.
29634         (LIBC_START_MAIN): Pass no argument to __exit_thread.
29635         * nptl/pthread_create.c: Include <exit-thread.h>.
29636         (start_thread): Call __exit_thread in place of __exit_thread_inline.
29637         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
29638         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
29639         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
29640         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
29641         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
29642         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
29643         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
29644         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
29645         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
29646         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
29647         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
29648         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
29649         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
29650         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
29651         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
29652         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
29654 2014-05-13  Andreas Schwab  <schwab@suse.de>
29656         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
29658 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
29660         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29661         (__ASSUME_UTIMES): Do not condition on kernel version.
29662         (__ASSUME_PSELECT): Define unconditionally.
29663         (__ASSUME_PPOLL): Likewise.
29664         (__ASSUME_ATFCTS): Likewise.
29665         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
29666         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
29667         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
29668         (__ASSUME_UTIMENSAT): Define unconditionally.
29669         (__ASSUME_PRIVATE_FUTEX): Likewise.
29670         (__ASSUME_FALLOCATE): Likewise.
29671         (__ASSUME_O_CLOEXEC): Likewise.
29672         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
29673         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
29674         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
29675         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
29676         (__ASSUME_IN_NONBLOCK): Likewise.
29677         (__ASSUME_PIPE2): Likewise.
29678         (__ASSUME_EVENTFD2): Likewise.
29679         (__ASSUME_SIGNALFD4): Likewise.
29680         (__ASSUME_DUP3): Likewise.
29681         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29682         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
29683         (__ASSUME_AT_RANDOM): Likewise.
29684         (__ASSUME_PREADV): Likewise.
29685         (__ASSUME_PWRITEV): Likewise.
29686         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
29687         (__ASSUME_F_GETOWN_EX): Define unconditionally.
29688         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
29689         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29690         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
29691         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29692         (__ASSUME_O_CLOEXEC): Define unconditionally.
29693         (__ASSUME_PSELECT): Do not undefine conditionally.
29694         (__ASSUME_PPOLL): Likewise.
29695         (__ASSUME_ATFCTS): Likewise.
29696         (__ASSUME_SET_ROBUST_LIST): Likewise.
29697         (__ASSUME_UTIMENSAT): Likewise.
29698         (__ASSUME_FDATASYNC): Define unconditionally.
29699         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29700         (__ASSUME_SIGFRAME_V2): Likewise.
29701         )__ASSUME_EVENTFD2): Likewise.
29702         (__ASSUME_SIGNALFD4): Likewise.
29703         (__ASSUME_PSELECT): Do not undefine conditionally.
29704         (__ASSUME_PPOLL): Likewise.
29705         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29706         (__ASSUME_PSELECT): Define unconditionally.
29707         (__ASSUME_PPOLL): Likewise.
29708         (__ASSUME_O_CLOEXEC): Likewise.
29709         (__ASSUME_SOCK_CLOEXEC): Likewise.
29710         (__ASSUME_IN_NONBLOCK): Likewise.
29711         (__ASSUME_PIPE2): Likewise.
29712         (__ASSUME_EVENTFD2): Likewise.
29713         (__ASSUME_SIGNALFD4): Likewise.
29714         (__ASSUME_DUP3): Likewise.
29715         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29716         (__ASSUME_O_CLOEXEC): Likewise.
29717         (__ASSUME_SOCK_CLOEXEC): Likewise.
29718         (__ASSUME_IN_NONBLOCK): Likewise.
29719         (__ASSUME_PIPE2): Likewise.
29720         (__ASSUME_EVENTFD2): Likewise.
29721         (__ASSUME_SIGNALFD4): Likewise.
29722         (__ASSUME_DUP3): Likewise.
29723         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29724         (__ASSUME_EVENTFD2): Likewise.
29725         (__ASSUME_SIGNALFD4): Likewise.
29726         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29728 2014-05-12  Andreas Schwab  <schwab@suse.de>
29730         [BZ #16932]
29731         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
29732         (_nss_nis_gethostbyname4_r): Return error if item length is larger
29733         than maximum RPC packet size.
29734         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
29735         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
29736         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
29737         (_nss_nis_getservbyport_r): Likewise.
29739 2014-05-12  Will Newton  <will.newton@linaro.org>
29741         * malloc/Makefile (tests): Add tst-mallopt.
29742         * malloc/tst-mallopt.c: New file.
29744 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29746         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
29747         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
29749 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29751         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
29752         (tst-tlsmod6.so): Likewise.
29754 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29756         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
29758 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
29760         [BZ #16064]
29761         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
29762         and <dl-procinfo.h>.
29763         (__fegetenv): Save SSE state in envp->__eip if supported.
29764         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
29765         envp->__eip if supported.
29766         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
29767         and <dl-procinfo.h>.
29768         (__fesetenv): Always set __eip, __cs_selector, __opcode,
29769         __data_offset and __data_selector in environment to 0.  Set SSE
29770         state if supported.
29771         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
29772         test-fenv-sse.
29773         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
29774         -mfpmath=sse.
29775         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
29777 2014-05-09  Will Newton  <will.newton@linaro.org>
29779         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
29780         and libc_relro_required for ARM.
29781         * sysdeps/arm/preconfigure: Regenerate.
29783 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
29784             Stefan Liebler  <stli@linux.vnet.ibm.com>
29786         * config.make.in (enable-lock-elision): New Makefile variable.
29787         * configure.ac: Likewise.
29788         * configure: Regenerate.
29789         * sysdeps/s390/configure.ac:
29790         Add check for gcc transactions support.
29791         * sysdeps/s390/configure: Regenerate.
29792         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
29793         Build elision files if enabled.
29794         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
29795         Add lock elision support for s390.
29796         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
29797         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
29798         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
29799         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
29800         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
29801         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
29802         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29803         Likewise.
29804         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
29805         Likewise.
29806         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
29807         Likewise.
29808         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
29809         Likewise.
29810         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
29811         (__lll_timedlock_elision, __lll_lock_elision)
29812         (__lll_unlock_elision, __lll_trylock_elision)
29813         (lll_timedlock_elision, lll_lock_elision)
29814         (lll_unlock_elision, lll_trylock_elision): Add.
29815         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29816         (pthread_mutex_t): Add lock elision support for s390.
29818 2014-05-14  Wilco  <wdijkstr@arm.com>
29820         * sysdeps/arm/fclrexcpt.c: Cleanup.
29821         * sysdeps/arm/fedisblxcpt.c: Cleanup.
29822         * sysdeps/arm/feenablxcpt.c: Cleanup.
29823         * sysdeps/arm/fegetenv.c: Cleanup.
29824         * sysdeps/arm/fegetexcept.c: Cleanup.
29825         * sysdeps/arm/fegetround.c: Cleanup.
29826         * sysdeps/arm/feholdexcpt.c: Cleanup.
29827         * sysdeps/arm/fesetenv.c: Cleanup.
29828         * sysdeps/arm/fesetround.c: Cleanup.
29829         * sysdeps/arm/feupdateenv.c: Cleanup.
29830         * sysdeps/arm/fgetexcptflg.c: Cleanup.
29831         * sysdeps/arm/fraiseexcpt.c: Cleanup.
29832         * sysdeps/arm/fsetexcptflg.c: Cleanup.
29833         * sysdeps/arm/ftestexcept.c: Cleanup.
29834         * sysdeps/arm/get-rounding-mode.h: Cleanup.
29835         * sysdeps/arm/setfpucw.c: Cleanup.
29837 2014-05-09  Will Newton  <will.newton@linaro.org>
29839         * sysdeps/arm/armv7/strcmp.S: New file.
29840         * NEWS: Mention addition of ARMv7 optimized strcmp.
29842 2014-05-08  Roland McGrath  <roland@hack.frob.com>
29844         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
29845         look for %.ac rather than %.in.
29847         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
29848         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
29849         * sysdeps/mach/hurd/configure: Regenerated.
29850         * sysdeps/unix/sysv/linux/configure: Regenerated.
29852         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
29854 2014-05-07  Steve Ellcey  <sellcey@mips.com>
29856         [BZ# 16922]
29857         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
29858         (LONG_SUB): Ditto.
29859         (PTR_SUB): Ditto.
29861 2014-05-07  Andreas Schwab  <schwab@suse.de>
29863         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
29864         when skipping over non-matching result from nscd.
29866 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
29868         [BZ #16876]
29869         * nptl/sockperf.c (client): Check socket return value.
29871         [BZ #16877]
29872         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
29873         nscd security class.
29875 2014-05-06  Roland McGrath  <roland@hack.frob.com>
29877         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
29878         * sysdeps/arm/unwind.h: ... here.
29880 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
29882         [BZ# 16916]
29883         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
29884         Define.
29886 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29888         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
29889         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
29890         multiarch strncpy for PPC64.
29891         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
29892         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
29893         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
29894         multiarch optimizations.
29895         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29896         (__libc_ifunc_impl_list): Likewise.
29897         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
29898         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
29899         multiarch stpncpy for PPC64.
29900         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
29901         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
29903 2014-05-06  Andreas Schwab  <schwab@suse.de>
29905         [BZ #16912]
29906         * gmon/mcount.c (_MCOUNT_DECL): Use
29907         atomic_compare_and_exchange_bool_acq instead of
29908         catomic_compare_and_exchange_bool_acq.
29910 2014-05-05  Roland McGrath  <roland@hack.frob.com>
29912         * elf/Makefile (others, install-bin): Remove pldd.
29913         (pldd-modules): Variable removed.
29914         ($(objpfx)pldd): Target removed.
29915         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
29916         (others, install-bin): Append pldd here.
29917         ($(objpfx)pldd): New target.
29919         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
29920         to 0, so the first #if test emitted later doesn't see it undefined.
29921         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
29922         * sysdeps/gnu/errlist.c: Regenerated.
29924 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29926         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
29927         [libc_hidden_builtin_def]: Define to empty value.
29928         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
29929         [libc_hidden_builtin_def]: Likewise.
29930         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
29931         [libc_hidden_builtin_def]: Likewise.
29932         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
29933         [libc_hidden_builtin_def]: Likewise.
29934         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
29935         __redirect_memcpy and define ifunc as default hidden symbol.
29936         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
29937         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
29939 2014-05-04  Adam Conrad  <adconrad@0c3.net>
29941         * locale/iso-4217.def: Reintroduce XDR currency.
29943 2014-05-04  Allan McRae  <allan@archlinux.org>
29945         * po/eo.po: Update Esperanto translation from translation project.
29947 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
29949         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
29950         and FEATURE_INDEX_MAX to 1.
29951         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
29953 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29955         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
29956         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
29957         * iconvdata/big5.c (ONE_DIRECTION): Define.
29958         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
29959         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
29960         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
29961         * iconvdata/cp932.c (ONE_DIRECTION): Define.
29962         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
29963         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
29964         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
29965         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
29966         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
29967         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
29968         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
29969         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
29970         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
29971         * iconvdata/gbk.c (ONE_DIRECTION): Define.
29972         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
29973         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
29974         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
29975         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
29976         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
29977         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
29978         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
29979         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
29980         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
29981         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
29982         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
29983         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
29984         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
29985         * iconvdata/iso646.c (ONE_DIRECTION): Define.
29986         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
29987         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
29988         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
29989         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
29990         * iconvdata/johab.c (ONE_DIRECTION): Define.
29991         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
29992         * iconvdata/sjis.c (ONE_DIRECTION): Define.
29993         * iconvdata/t.61.c (ONE_DIRECTION): Define.
29994         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
29995         * iconvdata/tscii.c (ONE_DIRECTION): Define.
29996         * iconvdata/uhc.c (ONE_DIRECTION): Define.
29997         * iconvdata/unicode.c (ONE_DIRECTION): Define.
29998         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
29999         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
30000         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
30002 2014-05-01  Roland McGrath  <roland@hack.frob.com>
30004         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
30005         (_IO_JUMPS_OFFSET): Define to 0.
30007         * nptl/sysdeps/pthread/bits/libc-lock.h
30008         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
30009         (__libc_lock_define_initialized_recursive): Always define using
30010         initializer.  Modern compilers treat uninitialized (implicit zero) and
30011         explicit zero initializers the same (i.e. put the datum in bss).
30013 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30015         * nscd/nscd-client.h: Include <string.h>.
30017 2014-05-01  David S. Miller  <davem@davemloft.net>
30019         [BZ #16885]
30020         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
30021         multiple zero bytes exist at the end of a string.
30022         Reported by Aurelien Jarno <aurelien@aurel32.net>
30024         * string/test-strcmp.c (check): Add explicit test for situations where
30025         there are multiple zero bytes after the first.
30027 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
30029         [BZ #16890]
30030         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
30031         when compiling wprintf.
30032         * stdio-common/tstdiomisc.c (t3): New function.
30033         (main): Call it.
30035 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30037         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
30038         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
30039         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
30040         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
30042 2014-05-01  Steve Ellcey  <sellcey@mips.com>
30044         * stdlib/longlong.h: Updated from GCC.
30046 2014-05-01  Will Newton  <will.newton@linaro.org>
30047             Bernard Ogden  <bernie.ogden@linaro.org>
30049         * NEWS: Update fixed bug list.
30051         [BZ #15119]
30052         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
30054 2014-04-30  David S. Miller  <davem@davemloft.net>
30056         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
30057         (libc_feholdexcept_setround_sparc_ctx): New function.
30058         (libc_fesetenv_sparc_ctx): Likewise.
30059         (libc_feupdateenv_sparc_ctx): Likewise.
30060         (libc_feholdsetround_sparc_ctx): Likewise.
30061         (libc_feholdexcept_setround_ctx): Define.
30062         (libc_feholdexcept_setroundf_ctx): Likewise.
30063         (libc_feholdexcept_setroundl_ctx): Likewise.
30064         (libc_fesetenv_ctx): Likewise.
30065         (libc_fesetenvf_ctx): Likewise.
30066         (libc_fesetenvl_ctx): Likewise.
30067         (libc_feupdateenv_ctx): Likewise.
30068         (libc_feupdateenvf_ctx): Likewise.
30069         (libc_feupdateenvl_ctx): Likewise.
30070         (libc_feresetround_ctx): Likewise.
30071         (libc_feresetroundf_ctx): Likewise.
30072         (libc_feresetroundl_ctx): Likewise.
30073         (libc_feholdsetround_ctx): Likewise.
30074         (libc_feholdsetroundf_ctx): Likewise.
30075         (libc_feholdsetroundl_ctx): Likewise.
30077         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30078         with __USE_GNU instead of XOPEN cpp guards.
30080         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
30081         0.
30083         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30084         with XOPEN cpp guards.
30086 2014-04-30  Julian Brown  <julian@codesourcery.com>
30088         [BZ #16888]
30089         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
30090         handling.
30092 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
30094         [BZ #9894]
30095         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
30096         Change to 2.6.32.
30097         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
30098         * sysdeps/unix/sysv/linux/configure: Regenerated.
30099         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
30100         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
30101         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
30102         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
30103         * README: Update reference to required Linux kernel version.
30104         * manual/install.texi (Linux): Update reference to required Linux
30105         kernel headers version.
30106         * INSTALL: Regenerated.
30108         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
30109         header inclusion.
30110         [POSIX] (limits.h): Likewise.
30111         [POSIX] (math.h): Likewise.
30112         [POSIX] (sys/wait.h): Likewise.
30113         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
30114         function.
30115         [POSIX] (stddef.h): Do not allow header inclusion.
30117 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30119         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
30121 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
30123         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
30124         Return immediately after lll_futex_wake.
30126 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30128         [BZ #16791]
30129         * nscd/nscd-client.h (datahead_init_common): Initialize entire
30130         structure.
30131         (datahead_init_pos): Call datahead_init_common early.
30132         (datahead_init_neg): Likewise.
30134         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
30135         datahead_init_neg): New functions.
30136         * nscd/aicache.c (addhstaiX): Use them.
30137         * nscd/grpcache.c (cache_addgr): Likewise.
30138         * nscd/hstcache.c (cache_addhst): Likewise.
30139         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30140         * nscd/netgroupcache.c (do_notfound): Likewise.
30141         (addgetnetgrentX): Likewise.
30142         (addinnetgrX): Likewise.
30143         * nscd/pwdcache.c (cache_addpw): Likewise.
30144         * nscd/servicescache.c (cache_addserv): Likewise.
30146 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30147             Atsushi Onoe  <atsushi@onoe.org>
30149         [BZ #14308]
30150         [BZ #12994]
30151         [BZ #13651]
30152         * resolv/res_query.c (__libc_res_nsearch): Return if at least
30153         one response is valid.
30154         * resolv/res_send.c (send_dg): Check for validity of other
30155         response if the current response is a referral.
30157 2014-04-29  Steve Ellcey  <sellcey@mips.com>
30159         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
30161 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
30163         [BZ #16823]
30164         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
30165         Always divide by positive zero when computing -Inf result.
30166         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
30167         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30169 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30171         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
30172         FPSCR if value do not change.
30173         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30174         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
30175         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30176         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30177         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
30178         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
30179         function.
30181 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
30183         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
30184         * sysdeps/unix/sysv/linux/hppa: Move directory from
30185         ports/systeps/unix/sysv/linux/hppa.
30186         * README: Update listing for hppa-*-linux-gnu.
30188 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
30190         [BZ #16754]
30191         * manual/stdio.texi (Hook functions): Fix types of stream hook
30192         functions.
30193         [BZ #16854]
30194         * socket/sys/socket.h: Fix typo in comment.
30196 2014-04-28  Wilco  <wdijkstr@arm.com>
30198         * sysdeps/arm/fenv_private.h: New file.
30199         * sysdeps/arm/math_private.h: New file.
30200         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
30202 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
30204         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
30205         with __int128_t.
30206         (La_x86_64_retval): Likewise.
30208 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
30210         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
30211         fpsr if value didn't change.
30212         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
30213         to fpcr if value didn't change.
30214         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
30215         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
30216         fpsr or fpcr if value didn't change.
30217         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30218         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
30219         fpcr if value didn't change.
30220         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
30221         to fpsr if value didn't change.
30223 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30225         * nptl/tst-sem3.c: Use test-skeleton.c
30226         (main): Rename to do_test.  Use return instead of
30227         exit.
30228         * nptl/tst-sem4.c: Use test-skeleton.c
30229         (main): Rename to do_test.
30231 2014-04-22  David S. Miller  <davem@davemloft.net>
30233         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30234         (struct sigaction): New struct member __glibc_reserved0, change
30235         type of sa_flags to int.
30237 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
30239         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
30240         (COUNT_LEADING_ZEROS_0): Define for AArch64.
30242 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30244         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
30245         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
30247 2014-04-22  Will Newton  <will.newton@linaro.org>
30248             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
30250         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
30251         (__longjmp): Add longjmp and longjmp_target SystemTap
30252         probes.
30253         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
30254         (__sigsetjmp): Add setjmp SystemTap probe.
30256 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
30258         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
30259         match manual order.
30261 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30263         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
30265         * sysdeps/powerpc/fpu/fenv_private.h
30266         (libc_feholdexcept_setroundl_ctx): Define to
30267         libc_feholdexcept_setround_ppc_ctx.
30268         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
30269         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
30270         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
30271         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
30273 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
30275         * sysdeps/aarch64/math-tests.h: New file.
30277 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
30279         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
30280         New.
30281         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30282         Check and set bit_AVX2_Usable.
30283         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
30284         macro.
30285         (bit_AVX2): Likewise.
30286         (index_AVX2_Usable): Likewise.
30287         (CPUID_AVX2): Likewise.
30288         (HAS_AVX2): Likewise.
30290 2014-04-17  Will Newton  <will.newton@linaro.org>
30292         * manual/setjmp.texi (System V contexts): Add note that
30293         calling setcontext on a context created by a call to a
30294         signal handler is undefined.  Update text to note that
30295         setcontext from a signal handler is possible but not
30296         recommended.
30298         [BZ #16629]
30299         * stdlib/tst-setcontext.c: Include signal.h.
30300         (main): Check that the signal stack before and
30301         after swapcontext is the same.
30303         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
30304         Re-implement to restore registers in user code and avoid
30305         rt_sigreturn system call.
30307 2014-04-17  Wilco  <wdijkstr@arm.com>
30309         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
30310         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
30311         * math/test-fenv.c: Skip exception trap tests on targets which only
30312         support non-stop mode.
30314 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
30315             Wilco Dijkstra  <wilco.dijkstra@arm.com>
30317         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
30318         (libc_feholdsetround_aarch64_ctx)
30319         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
30320         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
30321         (libc_feresetround_ctx, libc_feresetroundf_ctx)
30322         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
30323         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
30324         (libc_feresetround_noexl_ctx): Define.
30326 2014-04-16  Richard Henderson  <rth@redhat.com>
30328         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
30330         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
30331         unwind tables.
30333         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
30334         const from the non-libc, non-ldso copy.
30336         * sysdeps/alpha/libm-test-ulps: Regenerate.
30338 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
30339             Wilco Dijkstra  <wilco.dijkstra@arm.com>
30341         * sysdeps/aarch64/fpu/math_private.h: New file.
30343 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30345         * sysdeps/aarch64/libm-test-ulps: Regenerate.
30347 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
30349         [BZ #16275]
30350         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
30351         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
30352         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
30353         Intel MPX bound registers before _dl_profile_fixup.
30354         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
30355         registers after _dl_profile_fixup.  Save and restore bound
30356         registers bnd0/bnd1 when calling _dl_call_pltexit.
30357         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
30358         (LR_BND_OFFSET): Likewise.
30359         (LRV_BND0_OFFSET): Likewise.
30360         (LRV_BND1_OFFSET): Likewise.
30362 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30364         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
30365         to...
30366         * sysdeps/mach/hurd/i386/tls.h: ... here.
30367         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
30368         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
30369         fields.
30371 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30373         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
30375 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30377         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30379 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30381         [BZ #14770]
30382         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
30383         * sysdeps/s390/configure: Regenerate.
30385         [BZ #16824]
30386         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
30387         Set round-to-nearest internally to reduce error accumulation.
30389 2014-04-16  Alan Modra  <amodra@gmail.com>
30391         [BZ #16740]
30392         [BZ #16619]
30393         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
30394         * math/libm-test.inc (frexp_test_data): Add tests.
30395         * NEWS: Update fixed bug list.
30397 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30399         * benchtests/Makefile: Depend on libraries in build directory.
30400         (bench-math): Separate out math tests.
30401         (bench-pthread): Separate out pthread tests.
30402         (bench): Include math and pthread tests.
30404 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
30406         [BZ #16831]
30407         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
30408         _dl_debug_initialize.
30410         * configure.ac: Remove SELinux header check.
30411         * configure: Regenerate.
30412         * nscd/selinux.c (perms): Array of const char* to permission names.
30413         (nscd_request_avc_has_perm): Call security_deny_unknown to find
30414         default policy. Call string_to_security_class and string_to_av_perm to
30415         translate strings. Enforce default policy and call avs_has_perm with
30416         results of translated strings.
30418 2014-04-13  David S. Miller  <davem@davemloft.net>
30420         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30422 2014-04-12  Allan McRae  <allan@archlinux.org>
30424         [BZ #16838]
30425         * manual/string.texi (Collation Functions): Fix qsort argument
30426         order in example.
30427         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30429 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
30431         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
30432         Make the test a no-op if there are no exceptions defined.
30434 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30436         * elf/Makefile (tests): make tst-dlopen-aout conditional on
30437         enable-hardcoded-path-in-tests
30439 2014-04-11  Will Newton  <will.newton@linaro.org>
30441         * benchtests/Makefile (extra-objs): Add json-lib.o.
30442         (bench-func): Tidy up JSON output.
30443         * benchtests/bench-skeleton.c: Include json-lib.h.
30444         (main): Use JSON library functions to do output of
30445         benchmark results.
30446         * benchtests/bench-timing-type.c (main): Output the
30447         timing type simply, leaving formatting to the user.
30448         * benchtests/json-lib.c: New file.
30449         * benchtests/json-lib.h: Likewise.
30451 2014-04-11  Torvald Riegel  <triegel@redhat.com>
30453         [BZ #15215]
30454         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
30455         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
30456         memory barriers.  Add comments.
30457         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
30458         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
30459         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
30460         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
30461         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
30462         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
30464 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30466         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
30467         * sysdeps/s390/s390-64/configure.ac: ... this ...
30468         * sysdeps/s390/configure.ac: ... to here.
30469         * sysdeps/s390/s390-32/configure: Delete file.
30470         * sysdeps/s390/s390-64/configure: Delete file.
30471         * sysdeps/s390/configure: Regenerate.
30473 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
30475         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
30477 2014-04-11  Will Newton  <will.newton@linaro.org>
30479         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
30480         to zero if it is not defined elsewhere.  (mtrim): Test
30481         the value of MALLOC_DEBUG with #if rather than #ifdef.
30483 2014-04-10 Torvald Riegel  <triegel@redhat.com>
30485         * benchtests/pthread_once-inputs: New file.
30486         * benchtests/pthread_once-source.c: New file.
30487         * benchtests/README: Update documentation.
30489 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
30490             H.J. Lu  <hongjiu.lu@intel.com>
30492         [BZ #16275]
30493         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
30494         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
30495         * sysdeps/x86_64/configure: Regenerated.
30496         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
30497         macro.
30498         (REGISTER_SAVE_RAX): Likewise.
30499         (REGISTER_SAVE_RCX): Likewise.
30500         (REGISTER_SAVE_RDX): Likewise.
30501         (REGISTER_SAVE_RSI): Likewise.
30502         (REGISTER_SAVE_RDI): Likewise.
30503         (REGISTER_SAVE_R8): Likewise.
30504         (REGISTER_SAVE_R9): Likewise.
30505         (REGISTER_SAVE_BND0): Likewise.
30506         (REGISTER_SAVE_BND1): Likewise.
30507         (REGISTER_SAVE_BND2): Likewise.
30508         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
30509         bound registers when calling _dl_fixup.
30511 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30513         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
30514         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
30515         of its definition.
30516         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
30517         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
30518         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
30519         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
30520         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
30521         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
30522         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
30524 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
30526         [BZ #15514]
30527         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
30528         pathconf(_PC_NAME_MAX).
30530 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30532         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
30533         Remove macro usage.
30534         (__PTHREAD_SPINS): Move definition to ...
30535         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30536         (__PTHREAD_SPINS): ... here.
30537         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30538         (__PTHREAD_SPIN): Likewise.
30539         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
30540         (__PTHREAD_SPIN): Likewise.
30541         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
30542         (__PTHREAD_SPIN): Likewise.
30543         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
30544         (__PTHREAD_SPIN): Likewise.
30545         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30546         (__PTHREAD_SPIN): Likewise.
30547         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30548         (__PTHREAD_SPIN): Likewise.
30549         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
30550         (__PTHREAD_SPIN): Likewise.
30551         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30552         (__PTHREAD_SPIN): Likewise.
30553         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30554         (__PTHREAD_SPIN): Likewise.
30555         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30556         (__PTHREAD_SPIN): Likewise.
30557         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30558         (__PTHREAD_SPIN): Likewise.
30559         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
30560         (__PTHREAD_SPIN): Likewise.
30562         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
30563         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
30564         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
30565         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
30566         imply folder.
30567         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
30568         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
30569         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
30570         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
30571         correct imply path.
30572         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
30573         strlen symbol for non multi-arch builds.
30574         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
30575         missing hidden_def and weak_alias.
30577 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
30579         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
30581 2014-04-07  Will Newton  <will.newton@linaro.org>
30583         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
30584         and contents.  [!_LIBC] Remove #ifndef and contents.
30585         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
30586         * string/memccpy.c (__memccpy): Use ANSI prototype.
30587         * string/memfrob.c (memfrob): Likewise.
30588         * string/strcoll.c (STRCOLL): Likewise.
30589         * string/strlen.c (strlen): Likewise.
30590         * string/strtok.c (STRTOK): Likewise.
30591         * string/strcat.c: Remove unused #include of memcopy.h.
30592         (strcat): Use ANSI prototype.
30593         * string/strchr.c: Remove unused #include of memcopy.h.
30594         (strchr): Use ANSI prototype.
30595         * string/strcmp.c: Remove unused #include of memcopy.h.
30596         (strcmp): Use ANSI prototype.
30597         * string/strcpy.c: Remove unused #include of memcopy.h.
30598         (strcpy): Use ANSI prototype.
30600 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30602         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
30603         * config.make.in (config-extra-cppflags): Set it from
30604         libc_extra_cppflags.
30605         * configure.ac (libc_extra_cflags): Make it accumulate over
30606         configure fragments.
30607         (libc_extra_cppflags): New flag.
30608         * configure. Regenerate.
30609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30610         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
30611         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
30612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
30614         [BZ #16815]
30615         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
30616         result for FE_DOWNWARD rounding mode.
30617         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
30618         Likewise.
30619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30621 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
30623         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
30624         in function argument name.
30626 2014-04-03  David Svoboda  <svoboda@cert.org>
30628         [BZ #5666]
30629         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
30630         explicitly.
30632 2014-04-03  Roland McGrath  <roland@hack.frob.com>
30634         * elf/dl-unmap-segments.h: New file.
30635         * sysdeps/generic/ldsodefs.h
30636         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
30637         * elf/dl-close.c: Include <dl-unmap-segments.h>.
30638         * elf/dl-fptr.c: Likewise.
30639         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
30640         * sysdeps/aarch64/tlsdesc.c: Likewise.
30641         * sysdeps/arm/tlsdesc.c: Likewise.
30642         * sysdeps/i386/tlsdesc.c: Likewise.
30643         * sysdeps/tile/dl-runtime.c: Likewise.
30644         * sysdeps/x86_64/tlsdesc.c: Likewise.
30645         * elf/dl-load.h: New file.
30646         * elf/dl-load.c: Include it.
30647         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
30648         Macros moved to dl-load.h.
30649         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
30650         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
30651         Use _dl_unmap_segments in place of __munmap.
30652         Break out segment-mapping loop into ...
30653         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
30655 2014-04-03  Will Newton  <will.newton@linaro.org>
30657         * elf/dl-lookup.c (do_lookup_x): Remove comment
30658         referring to nested function and move variable
30659         declarations down to before first use.
30661 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
30663         [BZ #16799]
30664         [BZ #16800]
30665         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
30666         with 0 numerator.
30667         * math/s_catanf.c (__catanf): Likewise.
30668         * math/s_catanh.c (__catanh): Likewise.
30669         * math/s_catanhf.c (__catanhf): Likewise.
30670         * math/s_catanhl.c (__catanhl): Likewise.
30671         * math/s_catanl.c (__catanl): Likewise.
30672         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
30673         by positive zero when computing -Inf result.
30674         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
30675         (catanh_test): Likewise.
30676         * sysdeps/i386/fpu/libm-test-ulps: Update.
30677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30679         [BZ #16789]
30680         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
30681         instead of using underflowing value in computing result.
30682         * math/s_clog10.c (__clog10): Likewise.
30683         * math/s_clog10f.c (__clog10f): Likewise.
30684         * math/s_clog10l.c (__clog10l): Likewise.
30685         * math/s_clogf.c (__clogf): Likewise.
30686         * math/s_clogl.c (__clogl): Likewise.
30687         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
30688         (clog10_test): Likewise.
30689         * sysdeps/i386/fpu/libm-test-ulps: Update.
30690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30692 2014-04-02  Alan Modra  <amodra@gmail.com>
30694         [BZ #16739]
30695         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
30696         output when value is near a power of two.  Use int64_t for lx and
30697         remove casts.  Use decimal rather than hex exponent constants.
30698         Don't use long double multiplication when double will suffice.
30699         * math/libm-test.inc (nextafter_test_data): Add tests.
30700         * NEWS: Add 16739 and 16786 to bug list.
30702         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
30704         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
30706 2014-04-01  Will Newton  <will.newton@linaro.org>
30708         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
30709         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
30711 2014-04-01  Florian Weimer  <fweimer@redhat.com>
30713         [BZ #13347]
30714         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
30715         * nptl/tst-setuid2.c: New file.
30716         * nptl/Makefile (xtests): Add tst-setuid2.
30718 2014-04-01  Alan Modra  <amodra@gmail.com>
30720         [BZ #16786]
30721         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
30723 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30725         [BZ #6803]
30726         [BZ #6804]
30727         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
30728         set errno as appropriate.
30729         * math/w_scalbf.c (__scalbf): Likewise.
30730         * math/w_scalbl.c (__scalbl): Likewise.
30731         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
30732         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
30733         * math/libm-test.inc (scalb_test_data): Add errno expectations.
30734         Add more NaN tests.
30736         [BZ #16349]
30737         * math/w_atan2.c: Include <errno.h>.
30738         (__atan2): Set errno for result underflowing to zero.
30739         * math/w_atan2f.c: Include <errno.h>.
30740         (__atan2f): Set errno for result underflowing to zero.
30741         * math/w_atan2l.c: Include <errno.h>.
30742         (__atan2l): Set errno for result underflowing to zero.
30743         * math/auto-libm-test-in: Don't allow missing errno for some atan2
30744         tests.
30745         * math/auto-libm-test-out: Regenerated.
30747 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30749         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30750         Encode instruction correctly in little endian.
30751         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30752         Likewise.
30753         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30754         Likewise.
30755         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30756         Likewise.
30757         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30758         Likewise.
30760 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30762         [BZ #9894]
30763         * sysdeps/unix/sysv/linux/kernel-features.h
30764         [__sparc__ && !__arch64__ && !__sparc_v9__]
30765         (__ASSUME_SET_ROBUST_LIST): Do not define.
30766         [__sparc__ && !__arch64__ && !__sparc_v9__]
30767         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30768         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
30769         Likewise.
30770         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30771         (__ASSUME_FUTEX_LOCK_PI): Undefine.
30772         (__ASSUME_REQUEUE_PI): Likewise.
30773         (__ASSUME_SET_ROBUST_LIST): Likewise.
30774         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30775         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
30776         Undefine.
30777         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30778         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
30779         Likewise.
30780         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
30781         Likewise.
30782         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
30783         Likewise.
30784         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30785         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
30786         Undefine.
30787         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
30788         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
30789         Likewise.
30791         [BZ #16648]
30792         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30793         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
30794         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
30796 2014-03-31  Will Newton  <will.newton@linaro.org>
30798         * benchtests/Makefile (bench): Add ffs and ffsll to list
30799         of tests.
30800         * benchtests/ffs-inputs: New file.
30801         * benchtests/ffsll-inputs: Likewise.
30803 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
30805         [BZ #16770]
30806         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
30807         too large before casting to int.
30808         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
30809         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
30810         * math/libm-test.inc (scalb_test_data): Add more tests.
30812 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30814         * benchtests/Makefile (DETAILED_OPT): New make option.
30815         (bench-func): Run benchmark program with -d if DETAILED_OPT is
30816         set.
30817         * benchtests/bench-skeleton.c: Include stdbool.h.
30818         (main): Store and print timings per input.
30819         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
30820         member to each argument value.
30821         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
30822         (_print_arg_data): Initialize per-input timing to 0.
30824         * benchtests/Makefile (timing-type): New binary.
30825         (bench-clean): Also remove bench-timing-type.
30826         (bench): New target for timing-type.
30827         (bench-func): Print output in JSON format.
30828         * benchtests/bench-skeleton.c (main): Print output in JSON
30829         format.
30830         * benchtests/bench-timing-type.c: New file.
30831         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
30832         (TIMING_PRINT_STATS): Remove.
30833         * benchtests/scripts/bench.py (_print_arg_data): Store variant
30834         name separately.
30836         * benchtests/bench-modf.c: Remove.
30837         * benchtests/modf-inputs: New inputs file.
30839 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
30841         [BZ #16362]
30842         * math/s_clog10.c (M_PI_LOG10E): New macro.
30843         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
30844         imaginary parts are 0.
30845         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
30846         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
30847         imaginary parts are 0.
30848         * math/s_clog10l.c (M_PI_LOG10El): New macro.
30849         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
30850         imaginary parts are 0.
30851         * math/libm-test.inc (clog10_test_data): Update expected results
30852         for when real and imaginary parts are 0.
30854 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
30856         * elf/dl-load.c: Finish conversion of __builtin_expect into
30857         __glibc_{un}likely.
30859 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
30861         [BZ #16348]
30862         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
30863         1+x for argument with exponent below -67.
30864         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
30865         Likewise.
30866         * math/auto-libm-test-in: Add more tests of exp.
30867         * math/auto-libm-test-out: Regenerated.
30869 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30871         [BZ #16759]
30872         * inet/getnetgrent_r.c (get_nonempty_val): New function.
30873         (nscd_getnetgrent): Use it.
30875         [BZ #16760]
30876         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
30877         of stpcpy.
30879 2014-03-27  Andi Kleen  <ak@linux.intel.com>
30881         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
30882         (lll_robust_lock, lll_cond_lock, lll_timedlock)
30883         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30884         (lll_robust_unlock): Remove out of line section. Use cfi
30885         intrinsics.
30886         (LLL_STUB_UNWIND_INFO*): Remove.
30887         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
30888         (lll_robust_lock, lll_cond_lock, lll_timedlock)
30889         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30890         (lll_robust_unlock): Remove out of line section. Use cfi
30891         intrinsics.
30892         (LLL_STUB_UNWIND_INFO*): Remove.
30894 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30896         [BZ #16758]
30897         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
30898         blank values.
30900 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
30902         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
30904 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
30906         [BZ #16198]
30907         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
30908         fnstenv.
30909         * math/test-fenv-preserve.c: New file.
30910         * math/Makefile (tests): Add test-fenv-preserve.
30912 2014-03-26  Will Newton <will.newton@linaro.org>
30914         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
30916 2014-03-25  Roland McGrath  <roland@hack.frob.com>
30918         * scripts/versionlist.awk: Partition the version sets and emit all
30919         GLIBC_* (sorted) before all others (sorted).
30921 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
30923         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
30924         GLIBC_2.2.5 version.
30926 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30928         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
30929         calls.
30931         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
30932         previous change.
30934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30936 2014-03-25  Andreas Schwab  <schwab@suse.de>
30938         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
30939         label to be used after in6ailist is initialized.
30941 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30943         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30944         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30946 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
30948         [BZ #16357]
30949         [BZ #16599]
30950         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
30951         min_plus_half.
30952         (fp_formats): Update initializers.
30953         (init_fp_formats): Initialize new field.
30954         (output_for_one_input_case): Allow underflow for results up to
30955         min_plus_half.
30956         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
30957         * math/auto-libm-test-in: Don't mark some underflows from asin and
30958         atanh as spurious.
30959         * math/auto-libm-test-out: Regenerated.
30960         * sysdeps/i386/fpu/libm-test-ulps: Update.
30961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30963 2014-03-25  Andreas Schwab  <schwab@suse.de>
30965         * libio/Makefile (tst-ftell-partial-wide-ENV)
30966         (tst-ftell-active-handler-ENV): Define.
30968 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
30970         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
30972 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30974         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
30976 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
30978         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
30979         * sysdeps/x86_64/fpu/multiarch/e_exp.c
30980         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30982 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30984         [BZ #16634]
30985         * elf/dl-load.c (open_verify): Add mode parameter.
30986         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
30987         (open_path): Change from boolean 'secure' to complete flag 'mode'
30988         (_dl_map_object): Adjust.
30989         * elf/Makefile (tests): Add tst-dlopen-aout.
30990         * elf/tst-dlopen-aout.c: New test.
30992 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
30994         [BZ #16714]
30995         * sysdeps/unix/sysv/linux/s390/bits/stat.h
30996         (struct stat): Rename member pad0 to __glibc_reserved0.
30998         [BZ #16712]
30999         * sysdeps/s390/s390-32/bits/wordsize.h
31000         (__WORDSIZE32_SIZE_ULONG): New define.
31001         * sysdeps/s390/s390-64/bits/wordsize.h
31002         (__WORDSIZE32_SIZE_ULONG): Likewise.
31003         * sysdeps/generic/stdint.h (SIZE_MAX):
31004         Define as UL if __WORDSIZE32_SIZE_ULONG.
31006         [BZ #16713]
31007         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
31008         (__glibc_reserved0): New variable.
31009         (sa_flags): Change type to int.
31011         * posix/Makefile (before-compile): Use += before-compile instead
31012         of a :=.
31014         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
31015         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
31017 2014-03-20  Andreas Schwab  <schwab@suse.de>
31019         [BZ #16743]
31020         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
31021         non-matching result from nscd.
31023 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31025         * scripts/bench.py: Moved to ...
31026         * benchtests/scripts/bench.py: ... here.
31027         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
31029 2014-03-24  Andreas Schwab  <schwab@suse.de>
31031         [BZ #16002]
31032         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
31033         alloca_account and account alloca use for struct in6ailist.
31035 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
31037         [BZ #16284]
31038         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
31039         rounding mode to recompute results that overflow to infinity or
31040         underflow to zero.
31041         * math/auto-libm-test-in: Don't mark tests as expected to fail for
31042         bug 16284.
31043         * math/auto-libm-test-out: Regenerated.
31044         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
31045         (ccosh_test): Likewise.
31046         (csin_test_data): Use plus_oflow.
31047         (csin_test): Use ALL_RM_TEST.
31048         (csinh_test_data): Use plus_oflow.
31049         (csinh_test): Use ALL_RM_TEST.
31050         * sysdeps/i386/fpu/libm-test-ulps: Update.
31051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31053 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
31055         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
31056         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
31057         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
31059         [BZ #16731]
31060         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
31061         when x - 1 is zero.
31062         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
31063         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
31064         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
31065         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
31066         argument is 1.
31067         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
31068         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
31069         zero.
31070         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
31071         * sysdeps/i386/fpu/libm-test-ulps: Update.
31072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31074 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31076         * scripts/bench.pl: Remove file.
31077         * scripts/bench.py: New benchmark script.
31078         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
31079         * benchtests/README: Mention python dependency.
31080         * scripts/pylintrc: New file.
31081         * scripts/pylint: New file.
31083         * bits/mathdef.h: Use #ifdef instead of #if.
31084         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
31085         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31086         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
31087         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31088         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
31089         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31091 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31092             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31094         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
31095         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
31096         and strpbrk-ppc64 objects.
31097         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31098         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
31099         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
31100         multiarch strpbrk for POWER7.
31101         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
31102         multiarch strpbrk for PPC64.
31103         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
31104         ifunc selector.
31105         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
31106         strpbrk for POWER7.
31108 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
31110         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
31111         (atan_test): Likewise.
31112         (atanh_test_data): Use NO_TEST_INLINE for two tests.
31113         (atanh_test): Use ALL_RM_TEST.
31114         (atan2_test_data): Likewise.
31115         (cabs_test): Likewise.
31116         (cacosh_test): Likewise.
31117         (carg_test): Likewise.
31118         (casin_test): Likewise.
31119         (casinh_test): Likewise.
31120         (cbrt_test): Likewise.
31121         (csqrt_test): Likewise.
31122         (erf_test): Likewise.
31123         (erfc_test): Likewise.
31124         (pow10_test): Likewise.
31125         (exp2_test): Likewise.
31126         (hypot_test): Likewise.
31127         (j0_test): Likewise.
31128         (j1_test): Likewise.
31129         (lgamma_test): Likewise.
31130         (gamma_test): Likewise.
31131         (sincos_test): Likewise.
31132         (tanh_test): Likewise.
31133         (y0_test): Likewise.
31134         (y1_test): Likewise.
31135         * sysdeps/i386/fpu/libm-test-ulps: Update.
31136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31138 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31140         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
31141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
31142         and strcspn-ppc64 objects.
31143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31144         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
31145         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
31146         multiarch strcspn for POWER7.
31147         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
31148         multiarch strcspn for PPC64.
31149         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
31150         ifunc selector.
31151         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
31152         strcspn for POWER7.
31154 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
31156         * math/gen-libm-test.pl (generate_testfile): Expect only function
31157         name as argument to AUTO_TESTS_* and pass results for all rounding
31158         modes to parse_args.
31159         (parse_auto_input): Separate inputs of automatic tests from
31160         outputs before storing in %auto_tests.
31161         * math/libm-test.inc (acos_test_data): Update call to
31162         AUTO_TESTS_f_f.
31163         (acos_test): Use ALL_RM_TEST.
31164         (acos_tonearest_test_data): Remove.
31165         (acos_test_tonearest): Likewise.
31166         (acos_towardzero_test_data): Likewise.
31167         (acos_test_towardzero): Likewise.
31168         (acos_downward_test_data): Likewise.
31169         (acos_test_downward): Likewise.
31170         (acos_upward_test_data): Likewise.
31171         (acos_test_upward): Likewise.
31172         (acosh_test_data): Update call to AUTO_TESTS_f_f.
31173         (asin_test_data): Likewise.
31174         (asin_test): Use ALL_RM_TEST.
31175         (asin_tonearest_test_data): Remove.
31176         (asin_test_tonearest): Likewise.
31177         (asin_towardzero_test_data): Likewise.
31178         (asin_test_towardzero): Likewise.
31179         (asin_downward_test_data): Likewise.
31180         (asin_test_downward): Likewise.
31181         (asin_upward_test_data): Likewise.
31182         (asin_test_upward): Likewise.
31183         (asinh_test_data): Update call to AUTO_TESTS_f_f.
31184         (atan_test_data): Likewise.
31185         (atanh_test_data): Likewise.
31186         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
31187         (cabs_test_data): Update call to AUTO_TESTS_c_f.
31188         (carg_test_data): Likewise.
31189         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
31190         (ccos_test_data): Update call to AUTO_TESTS_c_c.
31191         (ccosh_test_data): Likewise.
31192         (cexp_test_data): Likewise.
31193         (clog_test_data): Likewise.
31194         (clog10_test_data): Likewise.
31195         (cos_test_data): Update call to AUTO_TESTS_f_f.
31196         (cos_test): Use ALL_RM_TEST.
31197         (cos_tonearest_test_data): Remove.
31198         (cos_test_tonearest): Likewise.
31199         (cos_towardzero_test_data): Likewise.
31200         (cos_test_towardzero): Likewise.
31201         (cos_downward_test_data): Likewise.
31202         (cos_test_downward): Likewise.
31203         (cos_upward_test_data): Likewise.
31204         (cos_test_upward): Likewise.
31205         (cosh_test_data): Update call to AUTO_TESTS_f_f.
31206         (cosh_test): Use ALL_RM_TEST.
31207         (cosh_tonearest_test_data): Remove.
31208         (cosh_test_tonearest): Likewise.
31209         (cosh_towardzero_test_data): Likewise.
31210         (cosh_test_towardzero): Likewise.
31211         (cosh_downward_test_data): Likewise.
31212         (cosh_test_downward): Likewise.
31213         (cosh_upward_test_data): Likewise.
31214         (cosh_test_upward): Likewise.
31215         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
31216         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
31217         (ctan_test_data): Likewise.
31218         (ctan_test): Use ALL_RM_TEST.
31219         (ctan_tonearest_test_data): Remove.
31220         (ctan_test_tonearest): Likewise.
31221         (ctan_towardzero_test_data): Likewise.
31222         (ctan_test_towardzero): Likewise.
31223         (ctan_downward_test_data): Likewise.
31224         (ctan_test_downward): Likewise.
31225         (ctan_upward_test_data): Likewise.
31226         (ctan_test_upward): Likewise.
31227         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
31228         (ctanh_test): Use ALL_RM_TEST.
31229         (ctanh_tonearest_test_data): Remove.
31230         (ctanh_test_tonearest): Likewise.
31231         (ctanh_towardzero_test_data): Likewise.
31232         (ctanh_test_towardzero): Likewise.
31233         (ctanh_downward_test_data): Likewise.
31234         (ctanh_test_downward): Likewise.
31235         (ctanh_upward_test_data): Likewise.
31236         (ctanh_test_upward): Likewise.
31237         (erf_test_data): Update call to AUTO_TESTS_f_f.
31238         (erfc_test_data): Likewise.
31239         (exp_test_data): Likewise.
31240         (exp_test): Use ALL_RM_TEST.
31241         (exp_tonearest_test_data): Remove.
31242         (exp_test_tonearest): Likewise.
31243         (exp_towardzero_test_data): Likewise.
31244         (exp_test_towardzero): Likewise.
31245         (exp_downward_test_data): Likewise.
31246         (exp_test_downward): Likewise.
31247         (exp_upward_test_data): Likewise.
31248         (exp_test_upward): Likewise.
31249         (exp10_test_data): Update call to AUTO_TESTS_f_f.
31250         (exp10_test): Use ALL_RM_TEST.
31251         (exp10_tonearest_test_data): Remove.
31252         (exp10_test_tonearest): Likewise.
31253         (exp10_towardzero_test_data): Likewise.
31254         (exp10_test_towardzero): Likewise.
31255         (exp10_downward_test_data): Likewise.
31256         (exp10_test_downward): Likewise.
31257         (exp10_upward_test_data): Likewise.
31258         (exp10_test_upward): Likewise.
31259         (exp2_test_data): Update call to AUTO_TESTS_f_f.
31260         (expm1_test_data): Likewise.
31261         (expm1_test): Use ALL_RM_TEST.
31262         (expm1_tonearest_test_data): Remove.
31263         (expm1_test_tonearest): Likewise.
31264         (expm1_towardzero_test_data): Likewise.
31265         (expm1_test_towardzero): Likewise.
31266         (expm1_downward_test_data): Likewise.
31267         (expm1_test_downward): Likewise.
31268         (expm1_upward_test_data): Likewise.
31269         (expm1_test_upward): Likewise.
31270         (fma_test_data): Update call to AUTO_TESTS_fff_f.
31271         (fma_test): Use ALL_RM_TEST.
31272         (fma_towardzero_test_data): Remove.
31273         (fma_test_towardzero): Likewise.
31274         (fma_downward_test_data): Likewise.
31275         (fma_test_downward): Likewise.
31276         (fma_upward_test_data): Likewise.
31277         (fma_test_upward): Likewise.
31278         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
31279         (j0_test_data): Update call to AUTO_TESTS_f_f.
31280         (j1_test_data): Likewise.
31281         (jn_test_data): Update call to AUTO_TESTS_if_f.
31282         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
31283         (log_test_data): Update call to AUTO_TESTS_f_f.
31284         (log10_test_data): Likewise.
31285         (log1p_test_data): Likewise.
31286         (log2_test_data): Likewise.
31287         (pow_test_data): Update call to AUTO_TESTS_ff_f.
31288         (pow_tonearest_test_data): Likewise.
31289         (sin_test_data): Update call to AUTO_TESTS_f_f.
31290         (sin_test): Use ALL_RM_TEST.
31291         (sin_tonearest_test_data): Remove.
31292         (sin_test_tonearest): Likewise.
31293         (sin_towardzero_test_data): Likewise.
31294         (sin_test_towardzero): Likewise.
31295         (sin_downward_test_data): Likewise.
31296         (sin_test_downward): Likewise.
31297         (sin_upward_test_data): Likewise.
31298         (sin_test_upward): Likewise.
31299         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
31300         (sinh_test_data): Update call to AUTO_TESTS_f_f.
31301         (sinh_test): Use ALL_RM_TEST.
31302         (sinh_tonearest_test_data): Remove.
31303         (sinh_test_tonearest): Likewise.
31304         (sinh_towardzero_test_data): Likewise.
31305         (sinh_test_towardzero): Likewise.
31306         (sinh_downward_test_data): Likewise.
31307         (sinh_test_downward): Likewise.
31308         (sinh_upward_test_data): Likewise.
31309         (sinh_test_upward): Likewise.
31310         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
31311         (sqrt_test): Use ALL_RM_TEST.
31312         (sqrt_tonearest_test_data): Remove.
31313         (sqrt_test_tonearest): Likewise.
31314         (sqrt_towardzero_test_data): Likewise.
31315         (sqrt_test_towardzero): Likewise.
31316         (sqrt_downward_test_data): Likewise.
31317         (sqrt_test_downward): Likewise.
31318         (sqrt_upward_test_data): Likewise.
31319         (sqrt_test_upward): Likewise.
31320         (tan_test_data): Update call to AUTO_TESTS_f_f.
31321         (tan_test): Use ALL_RM_TEST.
31322         (tan_tonearest_test_data): Remove.
31323         (tan_test_tonearest): Likewise.
31324         (tan_towardzero_test_data): Likewise.
31325         (tan_test_towardzero): Likewise.
31326         (tan_downward_test_data): Likewise.
31327         (tan_test_downward): Likewise.
31328         (tan_upward_test_data): Likewise.
31329         (tan_test_upward): Likewise.
31330         (tanh_test_data): Update call to AUTO_TESTS_f_f.
31331         (tgamma_test_data): Likewise.
31332         (y0_test_data): Likewise.
31333         (y1_test_data): Likewise.
31334         (yn_test_data): Update call to AUTO_TESTS_if_f.
31335         (main): Do not call removed functions.
31337 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
31339         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
31340         (ldexp_test_data): Remove.
31341         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
31342         scalbn_test_data.
31343         (scalb_test): Use ALL_RM_TEST.
31345 2014-03-19  Andreas Schwab  <schwab@suse.de>
31347         * nscd/nscd.service: Also invalidate netgroup cache on reload.
31349 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
31351         [BZ #16649]
31352         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31353         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
31354         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
31355         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31356         (__ASSUME_PREADV): Undefine.
31357         (__ASSUME_PWRITEV): Likewise.
31359 2014-03-18  Roland McGrath  <roland@hack.frob.com>
31361         * bits/mman-linux.h: Add comment about non-Linux use.
31362         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
31363         bits/mman-linux.h resting place.
31365         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
31366         * bits/mman-linux.h: ... here.
31368 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31370         * conform/conformtest.pl: Add standard definition when calling C
31371         preprocessor on data files.
31372         (checknamespace): Remove unused variable.
31374 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
31376         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
31377         minus_oflow, plus_uflow and minus_uflow in expected results.
31378         * math/libm-test.inc (scalbn_test_data): Add more tests of
31379         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
31380         minus_uflow.
31381         (scalbn_test): Use ALL_RM_TEST.
31382         (scalbln_test_data): Add more tests of negative arguments.  Use
31383         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
31384         (scalbln_test): Use ALL_RM_TEST.
31386 2014-03-18  Roland McGrath  <roland@hack.frob.com>
31388         * scripts/abilist.awk: Ignore symbols marked with .hidden.
31390 2014-03-18  Will Newton  <will.newton@linaro.org>
31392         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
31393         inaccurate comment.
31395 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
31397         * Makerules [!subdir] (check-abi): Exit with error status if a
31398         test failed.
31400 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
31402         * math/libm-test.inc (nearbyint_test_data): Include all tests used
31403         for rint.  Include results for all rounding modes.
31404         (nearbyint_test): Use ALL_RM_TEST.
31405         (rint_test_data): Include all tests used for nearbyint.
31407 2014-03-17  Will Newton  <will.newton@linaro.org>
31409         * nptl/sysdeps/pthread/pthread.h: Revert previous
31410         change.
31412         * sysdeps/generic/ldsodefs.h: Revert previous
31413         change.
31415         * libio/genops.c: Revert previous change.
31416         * libio/libioP.h: Likewise.
31417         * stdio-common/vfprintf.c: Likewise.
31419         * sysdeps/generic/math_private.h: Revert previous
31420         change.
31422         * sysdeps/generic/math_private.h: Check whether
31423         HAVE_RM_CTX is defined with #ifdef rather
31424         than #if.
31426         * argp/argp-fmtstream.h: Check whether
31427         __STRICT_ANSI__ is defined with #ifdef rather
31428         than #if.
31429         * argp/argp.h: Likewise.
31431         * libio/genops.c: Check whether
31432         _IO_JUMPS_OFFSET is defined with #ifdef rather
31433         than #if.
31434         * libio/libioP.h: Likewise.
31435         * stdio-common/vfprintf.c: Likewise.
31437         * sysdeps/generic/ldsodefs.h: Check whether
31438         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
31439         than #if.
31441         * nptl/sysdeps/pthread/pthread.h: Check
31442         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
31443         its value.
31445 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31447         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
31448         setting O_APPEND.
31449         * libio/tst-ftell-active-handler.c (do_append_test): Add a
31450         test case.
31452         [BZ #16680]
31453         * libio/fileops.c (_IO_file_open): Seek to end of file but
31454         don't cache the offset.
31455         (get_file_offset): Remove function.
31456         (do_ftell): Use cached offset when available.
31457         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
31458         don't cache the offset.
31459         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
31460         case.
31461         (do_one_test): Call it.
31462         (do_ftell_test): Fix up expected old offset for a+ mode.
31463         * libio/wfileops.c (do_ftell_wide): Used cached offset when
31464         available.
31466         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
31467         up test status with function return status.
31468         (do_write_test): Likewise.
31469         (do_append_test): Likewise.
31471         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
31472         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
31473         Remove.
31475 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
31477         * math/gen-libm-test.pl (parse_args): Handle results specified for
31478         each rounding mode separately.
31479         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
31480         tests and results from lrint_tonearest_test_data,
31481         lrint_towardzero_test_data, lrint_downward_test_data and
31482         lrint_upward_test_data.
31483         (lrint_test): Use ALL_RM_TEST.
31484         (lrint_tonearest_test_data): Remove.
31485         (lrint_test_tonearest): Likewise.
31486         (lrint_towardzero_test_data): Likewise.
31487         (lrint_test_towardzero): Likewise.
31488         (lrint_downward_test_data): Likewise.
31489         (lrint_test_downward): Likewise.
31490         (lrint_upward_test_data): Likewise.
31491         (lrint_test_upward): Likewise.
31492         (llrint_test_data): Merge in per-rounding-mode tests and results
31493         from llrint_tonearest_test_data, llrint_towardzero_test_data,
31494         llrint_downward_test_data and llrint_upward_test_data.
31495         (llrint_test): Use ALL_RM_TEST.
31496         (llrint_tonearest_test_data): Remove.
31497         (llrint_test_tonearest): Likewise.
31498         (llrint_towardzero_test_data): Likewise.
31499         (llrint_test_towardzero): Likewise.
31500         (llrint_downward_test_data): Likewise.
31501         (llrint_test_downward): Likewise.
31502         (llrint_upward_test_data): Likewise.
31503         (llrint_test_upward): Likewise.
31504         (rint_test_data): Merge in per-rounding-mode tests and results
31505         from rint_tonearest_test_data, rint_towardzero_test_data,
31506         rint_downward_test_data and rint_upward_test_data.  Add
31507         per-rounding-mode results for tests not in those arrays.
31508         (rint_test): Use ALL_RM_TEST.
31509         (rint_tonearest_test_data): Remove.
31510         (rint_test_tonearest): Likewise.
31511         (rint_towardzero_test_data): Likewise.
31512         (rint_test_towardzero): Likewise.
31513         (rint_downward_test_data): Likewise.
31514         (rint_test_downward): Likewise.
31515         (rint_upward_test_data): Likewise.
31516         (rint_test_upward): Likewise.
31517         (main): Don't call removed functions.
31519 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31521         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
31522         "Compiled on ..." crapola.  It is anti-useful.
31524 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
31526         * scripts/evaluate-test.sh: Handle fourth argument to determine
31527         whether test run should stop on failure.
31528         * Makeconfig (stop-on-test-failure): New variable.
31529         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
31530         $(stop-on-test-failure).
31531         * Makefile (tests): Give a summary of results from testing and
31532         exit with failure status if they include an ERROR or FAIL.
31533         (xtests): Likewise.
31534         * manual/install.texi (Configuring and compiling): Mention
31535         stop-on-test-failure=y.
31536         * INSTALL: Regenerated.
31538 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31540         * scripts/versionlist.awk: New file.
31541         * Makerules [$(build-shared) = yes]
31542         (postclean-generated): Add Versions.def, not Versions.def.v and
31543         Versions.def.v.i.
31544         ($(common-objpfx)Versions.def.v.i): Target removed.
31545         ($(common-objpfx)Versions.def): New target.
31546         ($(common-objpfx)Versions.all): Depend on that rather that
31547         $(common-objpfx)Versions.def.v.
31548         * Versions.def: File removed.
31550         * Makeconfig (+gccwarn): Add -Wundef.
31551         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
31552         a dl-sysdep.h breaking its contract.
31553         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
31554         * include/stackinfo.h: New file.
31555         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
31556         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
31557         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
31558         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
31559         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
31560         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
31561         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31562         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31563         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31564         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31565         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31566         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
31567         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31568         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31569         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31571 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31573         [BZ #16707]
31574         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
31575         implementation.
31576         * math/libm-test.inc (round_test_data): Add more tests.
31578         [BZ #16706]
31579         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
31580         implementation.
31581         * math/libm-test.inc (nearbyint_test_data): Add more tests.
31583         [BZ #16701]
31584         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
31585         implementation.
31586         * math/libm-test.inc (ceil_test_data): Add more tests.
31588         * math/libm-test.inc (trunc_test_data): Add more tests related to
31589         BZ#16414.
31591 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31593         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
31594         with #if rather than #ifdef.
31595         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
31597 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
31599         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
31600         first.  Disable AVX-512 GCC support if assembler doesn't support
31601         it.
31602         * sysdeps/x86_64/configure: Regenerated.
31604 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
31606         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
31607         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
31608         (__old_pthread_attr_setstack): Likewise.
31609         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
31610         [!_STACK_GROWS_DOWN]: Likewise.
31612 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
31614         * config.make.in (have-bash2): Delete.
31615         * configure.ac (libc_cv_have_bash2): Delete.
31616         * configure: Regenerate.
31617         * elf/Makefile (common-ldd-rewrite): Rename to ...
31618         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
31619         (sh-ldd-rewrite): Delete.
31620         (bash-ldd-rewrite): Delete.
31621         (have-bash2): Delete checks.
31622         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
31623         ldd-rewrite.
31625         * config.make.in (have-ksh): Delete.
31626         (KSH): Delete.
31627         * configure.ac (libc_cv_have_ksh): Delete.
31628         * configure: Regenerate.
31630         * elf/Makefile: Delete $(have-ksh) check.
31631         ($(objpfx)sotruss): Change KSH to BASH.
31632         * elf/sotruss.ksh: Rename to ...
31633         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
31634         function style to match POSIX.  Drop ksh vim mode setting.
31636         * manual/time.texi (Specifying the Time Zone with TZ): Change
31637         Tuesday to Thursday.
31639         * debug/tst-longjmp_chk2.c: Update header comment.
31640         (stackoverflow_handler): Add comment.  Call assert on pass value.
31642 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
31644         [BZ #16194]
31645         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
31646         (HAVE_AVX512_ASM_SUPPORT): Likewise.
31647         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
31648         (La_x86_64_vector): Add zmm.
31649         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
31650         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
31651         ($(objpfx)tst-audit10): New target.
31652         ($(objpfx)tst-audit10.out): Likewise.
31653         (tst-audit10-ENV): New.
31654         (AVX512-CFLAGS): Likewise.
31655         (CFLAGS-tst-audit10.c): Likewise.
31656         (CFLAGS-tst-auditmod10a.c): Likewise.
31657         (CFLAGS-tst-auditmod10b.c): Likewise.
31658         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
31659         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
31660         * sysdeps/x86_64/configure: Regenerated.
31661         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
31662         AVX-512 zmm register support.
31663         (_dl_x86_64_save_sse): Likewise.
31664         (_dl_x86_64_restore_sse): Likewise.
31665         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
31666         size vector registers.
31667         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
31668         (ZMM_SIZE): Likewise.
31669         * sysdeps/x86_64/tst-audit10.c: New file.
31670         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
31671         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
31673 2014-03-13  Roland McGrath  <roland@hack.frob.com>
31675         * configure.ac (HAVE_EHDR_START): New check.
31676         * configure: Regenerated.
31677         * config.h.in (HAVE_EHDR_START): New #undef.
31678         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
31679         assuming the lowest-addressed segment maps the start of the file.
31681 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
31683         * INSTALL: Regenerated.
31685 2014-03-13  Will Newton  <will.newton@linaro.org>
31687         * manual/setjmp.texi (System V contexts): Improve
31688         clarity and grammar of documentation.
31690 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31692         [BZ #16381]
31693         * elf/Makefile (tests): Add tst-pie2.
31694         (tests-pie): Add tst-pie2.
31695         * elf/tst-pie2.c: New file.
31696         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
31697         for ET_EXEC.
31698         * elf/rtld.c (map_doit): Load executable as lt_executable.
31699         (dl_main): Likewise.
31701 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
31703         [BZ #16642]
31704         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31705         (__ASSUME_PSELECT): Undefine.
31707 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31709         [BZ #16689]
31710         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
31711         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
31712         static build.
31713         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
31714         selector for static builds.
31716 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31718         [BZ #16695]
31719         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
31720         key in the buffer.
31722 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31724         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
31725         IFUNC selector for static builds.
31727 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
31729         * sysdeps/mips/math_private.h [__mips_hard_float]
31730         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
31731         libc_feresetround_mips_ctx.
31732         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
31733         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
31734         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
31736         [BZ #16677]
31737         * math/s_nextafter.c (__nextafter): Do not return value from
31738         overflowing computation.
31739         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31740         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
31741         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31742         Likewise.
31743         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
31744         Likewise.
31745         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31746         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
31748 2014-03-11  Roland McGrath  <roland@hack.frob.com>
31750         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
31751         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
31752         Move sfi_sp use from the load-multiple (that no longer sets sp) to
31753         the new mov targetting sp.
31755 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31757         [BZ #16683]
31758         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
31759         Define it for static builds as well.
31760         (NO_BZERO_IMPL): Likewise.
31762 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31764         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
31765         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
31766         multiarch strspn for PPC64.
31767         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
31768         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
31769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31770         (__libc_ifunc_impl_list): Likewise.
31771         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
31772         multiarch optimizations
31773         * string/strspn.c (strspn): Using macro to redefine symbol name.
31775 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31776             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31778         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
31779         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
31780         multiarch strncat for PPC64.
31781         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
31782         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
31783         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31784         (__libc_ifunc_impl_list): Likewise.
31785         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
31786         multiarch optimizations
31788 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31790         [BZ #16639]
31791         * nscd/nscd.service: Make service type forking.
31793 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31795         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
31796         sign in non default rounding modes.
31797         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
31799 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
31801         * math/libm-test.inc (ALL_RM_TEST): New macro.
31802         (ceil_test): Use ALL_RM_TEST.
31803         (cimag_test): Likewise.
31804         (conj_test): Likewise.
31805         (copysign_test): Likewise.
31806         (cproj_test): Likewise.
31807         (creal_test): Likewise.
31808         (fabs_test): Likewise.
31809         (floor_test): Likewise.
31810         (fmax_test): Likewise.
31811         (fmin_test): Likewise.
31812         (fmod_test): Likewise.
31813         (fpclassify_test): Likewise.
31814         (frexp_test): Likewise.
31815         (ilogb_test): Likewise.
31816         (isfinite_test): Likewise.
31817         (finite_test): Likewise.
31818         (isgreater_test): Likewise.
31819         (isgreaterequal_test): Likewise.
31820         (isinf_test): Likewise.
31821         (isless_test): Likewise.
31822         (islessequal_test): Likewise.
31823         (islessgreater_test): Likewise.
31824         (isnan_test): Likewise.
31825         (isnormal_test): Likewise.
31826         (issignaling_test): Likewise.
31827         (isunordered_test): Likewise.
31828         (logb_test): Likewise.
31829         (logb_downward_test_data): Remove.
31830         (logb_test_downward): Likewise.
31831         (lround_test): Use ALL_RM_TEST.
31832         (llround_test): Likewise.
31833         (modf_test): Likewise.
31834         (nexttoward_test): Likewise.
31835         (remainder_test): Likewise.
31836         (drem_test): Likewise.
31837         (remainder_tonearest_test_data): Likewise.
31838         (remainder_test_tonearest): Likewise.
31839         (drem_test_tonearest): Likewise.
31840         (remainder_towardzero_test_data): Likewise.
31841         (remainder_test_towardzero): Likewise.
31842         (drem_test_towardzero): Likewise.
31843         (remainder_downward_test_data): Likewise.
31844         (remainder_test_downward): Likewise.
31845         (drem_test_downward): Likewise.
31846         (remainder_upward_test_data): Likewise.
31847         (remainder_test_upward): Likewise.
31848         (drem_test_upward): Likewise.
31849         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
31850         (round_test): Use ALL_RM_TEST.
31851         (signbit_test): Likewise.
31852         (trunc_test): Likewise.
31853         (significand_test): Likewise.
31854         (main): Don't call removed functions.
31856 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
31858         [BZ #16674]
31859         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
31860         || __USE_XOPEN2K8].
31861         (ILL_ILLOPN): Likewise.
31862         (ILL_ILLADR): Likewise.
31863         (ILL_ILLTRP): Likewise.
31864         (ILL_PRVOPC): Likewise.
31865         (ILL_PRVREG): Likewise.
31866         (ILL_COPROC): Likewise.
31867         (ILL_BADSTK): Likewise.
31868         (FPE_INTDIV): Likewise.
31869         (FPE_INTOVF): Likewise.
31870         (FPE_FLTDIV): Likewise.
31871         (FPE_FLTOVF): Likewise.
31872         (FPE_FLTUND): Likewise.
31873         (FPE_FLTRES): Likewise.
31874         (FPE_FLTINV): Likewise.
31875         (FPE_FLTSUB): Likewise.
31876         (SEGV_MAPERR): Likewise.
31877         (SEGV_ACCERR): Likewise.
31878         (BUS_ADRALN): Likewise.
31879         (BUS_ADRERR): Likewise.
31880         (BUS_OBJERR): Likewise.
31881         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31882         (TRAP_TRACE): Likewise.
31883         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31884         __USE_XOPEN2K8].
31885         (CLD_KILLED): Likewise.
31886         (CLD_DUMPED): Likewise.
31887         (CLD_TRAPPED): Likewise.
31888         (CLD_STOPPED): Likewise.
31889         (CLD_CONTINUED): Likewise.
31890         (POLL_IN): Likewise.
31891         (POLL_OUT): Likewise.
31892         (POLL_MSG): Likewise.
31893         (POLL_ERR): Likewise.
31894         (POLL_PRI): Likewise.
31895         (POLL_HUP): Likewise.
31896         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
31897         Likewise.
31898         (ILL_ILLOPN): Likewise.
31899         (ILL_ILLADR): Likewise.
31900         (ILL_ILLTRP): Likewise.
31901         (ILL_PRVOPC): Likewise.
31902         (ILL_PRVREG): Likewise.
31903         (ILL_COPROC): Likewise.
31904         (ILL_BADSTK): Likewise.
31905         (FPE_INTDIV): Likewise.
31906         (FPE_INTOVF): Likewise.
31907         (FPE_FLTDIV): Likewise.
31908         (FPE_FLTOVF): Likewise.
31909         (FPE_FLTUND): Likewise.
31910         (FPE_FLTRES): Likewise.
31911         (FPE_FLTINV): Likewise.
31912         (FPE_FLTSUB): Likewise.
31913         (SEGV_MAPERR): Likewise.
31914         (SEGV_ACCERR): Likewise.
31915         (BUS_ADRALN): Likewise.
31916         (BUS_ADRERR): Likewise.
31917         (BUS_OBJERR): Likewise.
31918         (BUS_MCEERR_AR): Likewise.
31919         (BUS_MCEERR_AO): Likewise.
31920         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31921         (TRAP_TRACE): Likewise.
31922         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31923         __USE_XOPEN2K8].
31924         (CLD_KILLED): Likewise.
31925         (CLD_DUMPED): Likewise.
31926         (CLD_TRAPPED): Likewise.
31927         (CLD_STOPPED): Likewise.
31928         (CLD_CONTINUED): Likewise.
31929         (POLL_IN): Likewise.
31930         (POLL_OUT): Likewise.
31931         (POLL_MSG): Likewise.
31932         (POLL_ERR): Likewise.
31933         (POLL_PRI): Likewise.
31934         (POLL_HUP): Likewise.
31935         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
31936         (ILL_ILLOPN): Likewise.
31937         (ILL_ILLADR): Likewise.
31938         (ILL_ILLTRP): Likewise.
31939         (ILL_PRVOPC): Likewise.
31940         (ILL_PRVREG): Likewise.
31941         (ILL_COPROC): Likewise.
31942         (ILL_BADSTK): Likewise.
31943         (FPE_INTDIV): Likewise.
31944         (FPE_INTOVF): Likewise.
31945         (FPE_FLTDIV): Likewise.
31946         (FPE_FLTOVF): Likewise.
31947         (FPE_FLTUND): Likewise.
31948         (FPE_FLTRES): Likewise.
31949         (FPE_FLTINV): Likewise.
31950         (FPE_FLTSUB): Likewise.
31951         (SEGV_MAPERR): Likewise.
31952         (SEGV_ACCERR): Likewise.
31953         (BUS_ADRALN): Likewise.
31954         (BUS_ADRERR): Likewise.
31955         (BUS_OBJERR): Likewise.
31956         (BUS_MCEERR_AR): Likewise.
31957         (BUS_MCEERR_AO): Likewise.
31958         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31959         (TRAP_TRACE): Likewise.
31960         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31961         __USE_XOPEN2K8].
31962         (CLD_KILLED): Likewise.
31963         (CLD_DUMPED): Likewise.
31964         (CLD_TRAPPED): Likewise.
31965         (CLD_STOPPED): Likewise.
31966         (CLD_CONTINUED): Likewise.
31967         (POLL_IN): Likewise.
31968         (POLL_OUT): Likewise.
31969         (POLL_MSG): Likewise.
31970         (POLL_ERR): Likewise.
31971         (POLL_PRI): Likewise.
31972         (POLL_HUP): Likewise.
31973         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
31974         Likewise.
31975         (ILL_ILLOPN): Likewise.
31976         (ILL_ILLADR): Likewise.
31977         (ILL_ILLTRP): Likewise.
31978         (ILL_PRVOPC): Likewise.
31979         (ILL_PRVREG): Likewise.
31980         (ILL_COPROC): Likewise.
31981         (ILL_BADSTK): Likewise.
31982         (ILL_BADIADDR): Likewise.
31983         (ILL_BREAK): Likewise.
31984         (FPE_INTDIV): Likewise.
31985         (FPE_INTOVF): Likewise.
31986         (FPE_FLTDIV): Likewise.
31987         (FPE_FLTOVF): Likewise.
31988         (FPE_FLTUND): Likewise.
31989         (FPE_FLTRES): Likewise.
31990         (FPE_FLTINV): Likewise.
31991         (FPE_FLTSUB): Likewise.
31992         (FPE_DECOVF): Likewise.
31993         (FPE_DECDIV): Likewise.
31994         (FPE_DECERR): Likewise.
31995         (FPE_INVASC): Likewise.
31996         (FPE_INVDEC): Likewise.
31997         (SEGV_MAPERR): Likewise.
31998         (SEGV_ACCERR): Likewise.
31999         (SEGV_PSTKOVF): Likewise.
32000         (BUS_ADRALN): Likewise.
32001         (BUS_ADRERR): Likewise.
32002         (BUS_OBJERR): Likewise.
32003         (BUS_MCEERR_AR): Likewise.
32004         (BUS_MCEERR_AO): Likewise.
32005         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32006         (TRAP_TRACE): Likewise.
32007         (TRAP_BRANCH): Likewise.
32008         (TRAP_HWBKPT): Likewise.
32009         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32010         __USE_XOPEN2K8].
32011         (CLD_KILLED): Likewise.
32012         (CLD_DUMPED): Likewise.
32013         (CLD_TRAPPED): Likewise.
32014         (CLD_STOPPED): Likewise.
32015         (CLD_CONTINUED): Likewise.
32016         (POLL_IN): Likewise.
32017         (POLL_OUT): Likewise.
32018         (POLL_MSG): Likewise.
32019         (POLL_ERR): Likewise.
32020         (POLL_PRI): Likewise.
32021         (POLL_HUP): Likewise.
32022         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
32023         (ILL_ILLOPN): Likewise.
32024         (ILL_ILLADR): Likewise.
32025         (ILL_ILLTRP): Likewise.
32026         (ILL_PRVOPC): Likewise.
32027         (ILL_PRVREG): Likewise.
32028         (ILL_COPROC): Likewise.
32029         (ILL_BADSTK): Likewise.
32030         (FPE_INTDIV): Likewise.
32031         (FPE_INTOVF): Likewise.
32032         (FPE_FLTDIV): Likewise.
32033         (FPE_FLTOVF): Likewise.
32034         (FPE_FLTUND): Likewise.
32035         (FPE_FLTRES): Likewise.
32036         (FPE_FLTINV): Likewise.
32037         (FPE_FLTSUB): Likewise.
32038         (SEGV_MAPERR): Likewise.
32039         (SEGV_ACCERR): Likewise.
32040         (BUS_ADRALN): Likewise.
32041         (BUS_ADRERR): Likewise.
32042         (BUS_OBJERR): Likewise.
32043         (BUS_MCEERR_AR): Likewise.
32044         (BUS_MCEERR_AO): Likewise.
32045         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32046         (TRAP_TRACE): Likewise.
32047         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32048         __USE_XOPEN2K8].
32049         (CLD_KILLED): Likewise.
32050         (CLD_DUMPED): Likewise.
32051         (CLD_TRAPPED): Likewise.
32052         (CLD_STOPPED): Likewise.
32053         (CLD_CONTINUED): Likewise.
32054         (POLL_IN): Likewise.
32055         (POLL_OUT): Likewise.
32056         (POLL_MSG): Likewise.
32057         (POLL_ERR): Likewise.
32058         (POLL_PRI): Likewise.
32059         (POLL_HUP): Likewise.
32060         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): 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/sparc/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/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
32137         (ILL_ILLOPN): Likewise.
32138         (ILL_ILLADR): Likewise.
32139         (ILL_ILLTRP): Likewise.
32140         (ILL_PRVOPC): Likewise.
32141         (ILL_PRVREG): Likewise.
32142         (ILL_COPROC): Likewise.
32143         (ILL_BADSTK): Likewise.
32144         (ILL_DBLFLT): Likewise.
32145         (ILL_HARDWALL): Likewise.
32146         (FPE_INTDIV): Likewise.
32147         (FPE_INTOVF): Likewise.
32148         (FPE_FLTDIV): Likewise.
32149         (FPE_FLTOVF): Likewise.
32150         (FPE_FLTUND): Likewise.
32151         (FPE_FLTRES): Likewise.
32152         (FPE_FLTINV): Likewise.
32153         (FPE_FLTSUB): Likewise.
32154         (SEGV_MAPERR): Likewise.
32155         (SEGV_ACCERR): Likewise.
32156         (BUS_ADRALN): Likewise.
32157         (BUS_ADRERR): Likewise.
32158         (BUS_OBJERR): Likewise.
32159         (BUS_MCEERR_AR): Likewise.
32160         (BUS_MCEERR_AO): Likewise.
32161         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32162         (TRAP_TRACE): Likewise.
32163         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32164         __USE_XOPEN2K8].
32165         (CLD_KILLED): Likewise.
32166         (CLD_DUMPED): Likewise.
32167         (CLD_TRAPPED): Likewise.
32168         (CLD_STOPPED): Likewise.
32169         (CLD_CONTINUED): Likewise.
32170         (POLL_IN): Likewise.
32171         (POLL_OUT): Likewise.
32172         (POLL_MSG): Likewise.
32173         (POLL_ERR): Likewise.
32174         (POLL_PRI): Likewise.
32175         (POLL_HUP): Likewise.
32176         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
32177         (ILL_ILLOPN): Likewise.
32178         (ILL_ILLADR): Likewise.
32179         (ILL_ILLTRP): Likewise.
32180         (ILL_PRVOPC): Likewise.
32181         (ILL_PRVREG): Likewise.
32182         (ILL_COPROC): Likewise.
32183         (ILL_BADSTK): Likewise.
32184         (FPE_INTDIV): Likewise.
32185         (FPE_INTOVF): Likewise.
32186         (FPE_FLTDIV): Likewise.
32187         (FPE_FLTOVF): Likewise.
32188         (FPE_FLTUND): Likewise.
32189         (FPE_FLTRES): Likewise.
32190         (FPE_FLTINV): Likewise.
32191         (FPE_FLTSUB): Likewise.
32192         (SEGV_MAPERR): Likewise.
32193         (SEGV_ACCERR): Likewise.
32194         (BUS_ADRALN): Likewise.
32195         (BUS_ADRERR): Likewise.
32196         (BUS_OBJERR): Likewise.
32197         (BUS_MCEERR_AR): Likewise.
32198         (BUS_MCEERR_AO): Likewise.
32199         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32200         (TRAP_TRACE): Likewise.
32201         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32202         __USE_XOPEN2K8].
32203         (CLD_KILLED): Likewise.
32204         (CLD_DUMPED): Likewise.
32205         (CLD_TRAPPED): Likewise.
32206         (CLD_STOPPED): Likewise.
32207         (CLD_CONTINUED): Likewise.
32208         (POLL_IN): Likewise.
32209         (POLL_OUT): Likewise.
32210         (POLL_MSG): Likewise.
32211         (POLL_ERR): Likewise.
32212         (POLL_PRI): Likewise.
32213         (POLL_HUP): Likewise.
32214         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
32215         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32217         [BZ #16670]
32218         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
32219         before #include of <time.h>.
32220         [!__USE_XOPEN2K] (__need_timespec): Likewise.
32221         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
32222         (test-xfail-UNIX98/sched.h/conform): Likewise.
32224 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32226         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
32227         error absence of trapping exception support.
32228         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
32230 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
32232         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
32233         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
32234         * timezone/Makefile (testdata): Move definition above include of
32235         Rules.
32236         (test-zones): New variable.
32237         (tests-special): Add zone files.
32238         (build-testdata): Use $(evaluate-test).
32240         * elf/Makefile (tests-special): Rename tests to end with .out.
32241         ($(objpfx)noload-mem): Likewise.
32242         ($(objpfx)tst-leaks1-mem): Likewise.
32243         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
32244         * iconv/Makefile (xtests-special): Change test-iconvconfig to
32245         $(objpfx)test-iconvconfig.out.
32246         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
32247         set -e inside subshell and redirect output to file.
32248         * iconvdata/Makefile (generated): Rename tests to end with .out.
32249         Correct type.
32250         (tests-special): Rename tests to end with .out.
32251         ($(objpfx)mtrace-tst-loading): Likewise.
32252         * intl/Makefile (generated): Likewise.
32253         (tests-special): Likewise.
32254         ($(objpfx)mtrace-tst-gettext): Likewise.
32255         * misc/Makefile (generated): Likewise.
32256         (tests-special): Likewise.
32257         ($(objpfx)tst-error1-mem): Likewise.
32258         * nptl/Makefile (tests-special): Likewise.
32259         ($(objpfx)tst-stack3-mem): Likewise.
32260         (generated): Likewise.
32261         * posix/Makefile (generated): Likewise.
32262         (tests-special): Likewise.
32263         (xtests-special): Likewise.
32264         ($(objpfx)tst-fnmatch-mem): Likewise.
32265         ($(objpfx)bug-regex2-mem): Likewise.
32266         ($(objpfx)bug-regex14-mem): Likewise.
32267         ($(objpfx)bug-regex21-mem): Likewise.
32268         ($(objpfx)bug-regex31-mem): Likewise.
32269         ($(objpfx)tst-vfork3-mem): Likewise.
32270         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32271         ($(objpfx)tst-pcre-mem): Likewise.
32272         ($(objpfx)tst-boost-mem): Likewise.
32273         ($(objpfx)bug-ga2-mem): Likewise.
32274         ($(objpfx)bug-glob2-mem): Likewise.
32275         * resolv/Makefile (generate): Likewise.
32276         (tests-special): Likewise.
32277         (xtests-special): Likewise.
32278         (generated): Likewise.
32279         ($(objpfx)mtrace-tst-leaks): Likewise.
32280         ($(objpfx)mtrace-tst-leaks2): Likewise.
32282         * scripts/merge-test-results.sh: New file.
32283         * Makefile (tests-special-notdir): New variable.
32284         (tests): Run merge-test-results.sh.
32285         (xtests): Likewise.
32286         * Rules (tests-special-notdir): New variable.
32287         (xtests-special-notdir): Likewise.
32288         (tests): Run merge-test-results.sh
32289         (xtests): Likewise.
32291         * Makeconfig (test-xfail-name): New variable.
32292         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
32293         compute variable name for expected failures.
32294         * conform/Makefile (conformtest-headers-data): New variable.
32295         (conformtest-standards): Likewise.
32296         (conformtest-headers-ISO): Likewise.
32297         (conformtest-headers-ISO99): Likewise.
32298         (conformtest-headers-ISO11): Likewise.
32299         (conformtest-headers-POSIX): Likewise.
32300         (conformtest-headers-XPG3): Likewise.
32301         (conformtest-headers-XPG4): Likewise.
32302         (conformtest-headers-UNIX98): Likewise.
32303         (conformtest-headers-XOPEN2K): Likewise.
32304         (conformtest-headers-POSIX2008): Likewise.
32305         (conformtest-headers-XOPEN2K8): Likewise.
32306         (conformtest-header-list-base): Likewise.
32307         (conformtest-header-list-tests): Likewise.
32308         (conformtest-header-base): Likewise.
32309         (conformtest-header-tests): Likewise.
32310         (tests-special): Add $(conformtest-header-list-tests).  If
32311         [$(fast-check) && !$(cross-compiling)], add
32312         $(conformtest-header-tests) instead of
32313         $(objpfx)run-conformtest.out.
32314         (generated): Add $(conformtest-header-list-base).  If
32315         [$(fast-check) && !$(cross-compiling)], add
32316         $(conformtest-header-base).  Remove previous setting.
32317         ($(conformtest-header-list-tests)): New target.
32318         (test-xfail-run-conformtest): Remove variable.
32319         ($(objpfx)run-conformtest.out): Remove target.
32320         (test-xfail-ISO11/complex.h/conform): New variable.
32321         (test-xfail-ISO11/stdalign.h/conform): Likewise.
32322         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
32323         (test-xfail-XPG3/varargs.h/conform): Likewise.
32324         (test-xfail-XPG4/varargs.h/conform): Likewise.
32325         (test-xfail-UNIX98/varargs.h/conform): Likewise.
32326         (test-xfail-XPG4/ndbm.h/conform): Likewise.
32327         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
32328         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
32329         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
32330         (test-xfail-XPG3/fcntl.h/conform): Likewise.
32331         (test-xfail-XPG3/ftw.h/conform): Likewise.
32332         (test-xfail-XPG3/grp.h/conform): Likewise.
32333         (test-xfail-XPG3/langinfo.h/conform): Likewise.
32334         (test-xfail-XPG3/limits.h/conform): Likewise.
32335         (test-xfail-XPG3/pwd.h/conform): Likewise.
32336         (test-xfail-XPG3/search.h/conform): Likewise.
32337         (test-xfail-XPG3/signal.h/conform): Likewise.
32338         (test-xfail-XPG3/stdio.h/conform): Likewise.
32339         (test-xfail-XPG3/stdlib.h/conform): Likewise.
32340         (test-xfail-XPG3/string.h/conform): Likewise.
32341         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
32342         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
32343         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
32344         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
32345         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
32346         (test-xfail-XPG3/sys/types.h/conform): Likewise.
32347         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
32348         (test-xfail-XPG3/termios.h/conform): Likewise.
32349         (test-xfail-XPG3/time.h/conform): Likewise.
32350         (test-xfail-XPG3/unistd.h/conform): Likewise.
32351         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
32352         (test-xfail-XPG4/fcntl.h/conform): Likewise.
32353         (test-xfail-XPG4/langinfo.h/conform): Likewise.
32354         (test-xfail-XPG4/netdb.h/conform): Likewise.
32355         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
32356         (test-xfail-XPG4/signal.h/conform): Likewise.
32357         (test-xfail-XPG4/stdio.h/conform): Likewise.
32358         (test-xfail-XPG4/stdlib.h/conform): Likewise.
32359         (test-xfail-XPG4/stropts.h/conform): Likewise.
32360         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
32361         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
32362         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
32363         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
32364         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
32365         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
32366         (test-xfail-XPG4/sys/time.h/conform): Likewise.
32367         (test-xfail-XPG4/sys/types.h/conform): Likewise.
32368         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
32369         (test-xfail-XPG4/termios.h/conform): Likewise.
32370         (test-xfail-XPG4/ucontext.h/conform): Likewise.
32371         (test-xfail-XPG4/unistd.h/conform): Likewise.
32372         (test-xfail-XPG4/utmpx.h/conform): Likewise.
32373         (test-xfail-POSIX/sched.h/conform): Likewise.
32374         (test-xfail-POSIX/signal.h/conform): Likewise.
32375         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32376         (test-xfail-POSIX/tar.h/conform): Likewise.
32377         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
32378         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
32379         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
32380         (test-xfail-UNIX98/netdb.h/conform): Likewise.
32381         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
32382         (test-xfail-UNIX98/sched.h/conform): Likewise.
32383         (test-xfail-UNIX98/signal.h/conform): Likewise.
32384         (test-xfail-UNIX98/stdio.h/conform): Likewise.
32385         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
32386         (test-xfail-UNIX98/stropts.h/conform): Likewise.
32387         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
32388         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
32389         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
32390         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
32391         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
32392         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
32393         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32394         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32395         (test-xfail-UNIX98/unistd.h/conform): Likewise.
32396         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
32397         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
32398         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
32399         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
32400         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
32401         (test-xfail-XOPEN2K/math.h/conform): Likewise.
32402         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
32403         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
32404         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
32405         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
32406         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32407         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
32408         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
32409         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
32410         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
32411         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
32412         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
32413         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
32414         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
32415         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32416         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
32417         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
32418         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32419         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
32420         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
32421         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
32422         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
32423         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
32424         (test-xfail-POSIX2008/signal.h/conform): Likewise.
32425         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
32426         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
32427         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32428         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
32429         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
32430         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
32431         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
32432         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
32433         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
32434         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32435         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
32436         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
32437         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
32438         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
32439         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
32440         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
32441         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
32442         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
32443         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
32444         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32445         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
32446         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
32447         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
32448         (conformtest-cc-flags): Likewise.
32449         ($(conformtest-header-tests): New target.
32450         * conform/check-header-lists.sh: New file.
32451         * conform/run-conformtest.sh: Remove.
32453         * conform/conformtest.pl: Allow ' and \ in values given for
32454         constants.
32455         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
32456         inclusion.
32457         [POSIX] (sys/types.h): Likewise.
32458         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
32459         inclusion.
32460         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
32461         inclusion.
32462         * conform/data/signal.h-data (SIGIO): Remove expectation.
32463         [XPG3] (SIGBUS): Do not expect.
32464         [POSIX || XPG3] (SIGPOLL): Likewise.
32465         [POSIX || XPG3] (SIGPROF): Likewise.
32466         [POSIX || XPG3] (SIGSYS): Likewise.
32467         [XPG3] (SIGTRAP): Likewise.
32468         [POSIX || XPG3] (SIGURG): Likewise.
32469         [POSIX || XPG3] (SIGVTALRM): Likewise.
32470         [POSIX || XPG3] (SIGXCPU): Likewise.
32471         [POSIX || XPG3] (SIGXFSZ): Likewise.
32472         [POSIX] (SA_SIGINFO): Expect.
32473         [XPG3] (siginfo_t): Do not expect type or contents.
32474         [POSIX] (si_pid): Do not expect element.
32475         [POSIX] (si_uid): Likewise.
32476         [POSIX] (si_addr): Likewise.
32477         [POSIX] (si_status): Likewise.
32478         [POSIX] (si_band): Likewise.
32479         [XPG4] (si_value): Likewise.
32480         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
32481         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
32482         [POSIX || XPG3] (ILL_ILLADR): Likewise.
32483         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
32484         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
32485         [POSIX || XPG3] (ILL_PRVREG): Likewise.
32486         [POSIX || XPG3] (ILL_COPROC): Likewise.
32487         [POSIX || XPG3] (ILL_BADSTK): Likewise.
32488         [POSIX || XPG3] (FPE_INTDIV): Likewise.
32489         [POSIX || XPG3] (FPE_INTOVF): Likewise.
32490         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
32491         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
32492         [POSIX || XPG3] (FPE_FLTUND): Likewise.
32493         [POSIX || XPG3] (FPE_FLTRES): Likewise.
32494         [POSIX || XPG3] (FPE_FLTINV): Likewise.
32495         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
32496         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
32497         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
32498         [POSIX || XPG3] (BUS_ADRALN): Likewise.
32499         [POSIX || XPG3] (BUS_ADRERR): Likewise.
32500         [POSIX || XPG3] (BUS_OBJERR): Likewise.
32501         [POSIX || XPG3] (CLD_EXITED): Likewise.
32502         [POSIX || XPG3] (CLD_KILLED): Likewise.
32503         [POSIX || XPG3] (CLD_DUMPED): Likewise.
32504         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
32505         [POSIX || XPG3] (CLD_STOPPED): Likewise.
32506         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
32507         [POSIX || XPG3] (POLL_IN): Likewise.
32508         [POSIX || XPG3] (POLL_OUT): Likewise.
32509         [POSIX || XPG3] (POLL_MSG): Likewise.
32510         [POSIX || XPG3] (POLL_ERR): Likewise.
32511         [POSIX || XPG3] (POLL_PRI): Likewise.
32512         [POSIX || XPG3] (POLL_HUP): Likewise.
32513         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
32514         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
32515         (SIG*): Do not allow.
32516         [XPG3] (si_*): Likewise.
32517         [XPG3] (SI_*): Likewise.
32518         [XPG3 || XPG4] (sigev_*): Likewise.
32519         [XPG3 || XPG4] (SIGEV_*): Likewise.
32520         [XPG3 || XPG4] (sival_*): Likewise.
32521         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
32522         [POSIX || XPG3] (BUS_*): Likewise.
32523         [POSIX || XPG3] (CLD_*): Likewise.
32524         [POSIX || XPG3] (FPE_*): Likewise.
32525         [POSIX || XPG3] (ILL_*): Likewise.
32526         [POSIX || XPG3] (POLL_*): Likewise.
32527         [POSIX || XPG3] (SEGV_*): Likewise.
32528         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
32529         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
32530         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
32531         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
32532         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
32533         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
32534         Specify type and value.
32535         (TVERSLEN): Likewise.
32536         (REGTYPE): Likewise.
32537         (AREGTYPE): Likewise.
32538         (LNKTYPE): Likewise.
32539         (SYMTYPE): Likewise.
32540         (CHRTYPE): Likewise.
32541         (BLKTYPE): Likewise.
32542         (DIRTYPE): Likewise.
32543         (FIFOTYPE): Likewise.
32544         (CONTTYPE): Likewise.
32545         (TSUID): Likewise.
32546         (TSGID): Likewise.
32547         (TSVTX): Likewise.
32548         (TUREAD): Likewise.
32549         (TUWRITE): Likewise.
32550         (TUEXEC): Likewise.
32551         (TGREAD): Likewise.
32552         (TGWRITE): Likewise.
32553         (TGEXEC): Likewise.
32554         (TOREAD): Likewise.
32555         (TOWRITE): Likewise.
32556         (TOEXEC): Likewise.
32557         [POSIX] (TSVTX): Expect constant.
32559 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
32561         * Makefile (tests): Change dependencies to ....
32562         (tests-special): ... additions to this variable.
32563         (tests): Depend on $(tests-special).
32564         * Makerules (check-abi-list): New variable.
32565         (check-abi): Depend on $(check-abi-list).
32566         [$(subdir) = elf] (tests-special): Add
32567         $(objpfx)check-abi-libc.out.
32568         [$(build-shared) = yes && subdir] (tests-special): Add
32569         $(check-abi-list).
32570         [$(build-shared) = yes && subdir] (tests): Do not depend on
32571         check-abi.
32572         * Rules (tests): Depend on $(tests-special).
32573         (xtests): Depend on $(xtests-special).
32574         * catgets/Makefile (tests): Change dependencies to ....
32575         (tests-special): ... additions to this variable.
32576         * conform/Makefile (tests): Change dependencies to ....
32577         (tests-special): ... additions to this variable.
32578         * elf/Makefile (tests): Change dependencies to ....
32579         (tests-special): ... additions to this variable.
32580         * grp/Makefile (tests): Change dependencies to ....
32581         (tests-special): ... additions to this variable.
32582         * iconv/Makefile (xtests): Change dependencies to ....
32583         (xtests-special): ... additions to this variable.
32584         * iconvdata/Makefile (tests): Change dependencies to ....
32585         (tests-special): ... additions to this variable.
32586         * intl/Makefile (tests): Change dependencies to ....
32587         (tests-special): ... additions to this variable.  Also add
32588         $(objpfx)tst-gettext.out.
32589         * io/Makefile (tests): Change dependencies to ....
32590         (tests-special): ... additions to this variable.
32591         * libio/Makefile (tests): Change dependencies to ....
32592         (tests-special): ... additions to this variable.
32593         * malloc/Makefile (tests): Change dependencies to ....
32594         (tests-special): ... additions to this variable.
32595         * misc/Makefile (tests): Change dependencies to ....
32596         (tests-special): ... additions to this variable.
32597         * nptl/Makefile (tests): Change dependencies to ....
32598         (tests-special): ... additions to this variable.
32599         * nptl_db/Makefile (tests): Change dependencies to ....
32600         (tests-special): ... additions to this variable.
32601         * posix/Makefile (tests): Change dependencies to ....
32602         (tests-special): ... additions to this variable.
32603         (xtests): Change dependencies to ....
32604         (xtests-special): ... additions to this variable.
32605         * resolv/Makefile (tests): Change dependencies to ....
32606         (tests-special): ... additions to this variable.
32607         (xtests): Change dependencies to ....
32608         (xtests-special): ... additions to this variable.
32609         * stdio-common/Makefile (tests): Change dependencies to ....
32610         (tests-special): ... additions to this variable.
32611         (do-tst-unbputc): Remove target.
32612         (do-tst-printf): Likewise.
32613         * stdlib/Makefile (tests): Change dependencies to ....
32614         (tests-special): ... additions to this variable.
32615         * string/Makefile (tests): Change dependencies to ....
32616         (tests-special): ... additions to this variable.
32617         * sysdeps/x86/Makefile (tests): Change dependencies to ....
32618         (tests-special): ... additions to this variable.
32620         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
32621         whole file.
32622         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
32623         whole file.
32624         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
32625         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
32627         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
32628         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
32629         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
32630         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
32631         * conform/data/libgen.h-data [XPG3]: Likewise.
32632         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
32633         * conform/data/ndbm.h-data [XPG3]: Likewise.
32634         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32635         * conform/data/netdb.h-data [XPG3]: Likewise.
32636         * conform/data/netinet/in.h-data [XPG3]: Likewise.
32637         * conform/data/poll.h-data [XPG3]: Likewise.
32638         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32639         * conform/data/strings.h-data [XPG3]: Likewise.
32640         * conform/data/stropts.h-data [XPG3]: Likewise.
32641         * conform/data/sys/mman.h-data [XPG3]: Likewise.
32642         * conform/data/sys/resource.h-data [XPG3]: Likewise.
32643         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
32644         Likewise.
32645         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
32646         * conform/data/sys/time.h-data [XPG3]: Likewise.
32647         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
32648         * conform/data/sys/uio.h-data [XPG3]: Likewise.
32649         * conform/data/sys/un.h-data [XPG3]: Likewise.
32650         * conform/data/syslog.h-data [XPG3]: Likewise.
32651         * conform/data/ucontext.h-data [XPG3]: Likewise.
32652         * conform/data/utmpx.h-data [XPG3]: Likewise.
32653         * conform/data/varargs.h-data [UNIX98]: Enable file.
32655         * manual/Makefile (INSTALL_INFO): Remove variable setting.
32657         * math/libm-test.inc (struct test_f_f_data): Move expected results
32658         into structure for each rounding mode.
32659         (struct test_ff_f_data): Likewise.
32660         (struct test_ff_f_data_nexttoward): Likewise.
32661         (struct test_fi_f_data): Likewise.
32662         (struct test_fl_f_data): Likewise.
32663         (struct test_if_f_data): Likewise.
32664         (struct test_fff_f_data): Likewise.
32665         (struct test_c_f_data): Likewise.
32666         (struct test_f_f1_data): Likewise.
32667         (struct test_fF_f1_data): Likewise.
32668         (struct test_ffI_f1_data): Likewise.
32669         (struct test_c_c_data): Likewise.
32670         (struct test_cc_c_data): Likewise.
32671         (struct test_f_i_data): Likewise.
32672         (struct test_ff_i_data): Likewise.
32673         (struct test_f_l_data): Likewise.
32674         (struct test_f_L_data): Likewise.
32675         (struct test_fFF_11_data): Likewise.
32676         (RM_): New macro.
32677         (RM_FE_DOWNWARD): Likewise.
32678         (RM_FE_TONEAREST): Likewise.
32679         (RM_FE_TOWARDZERO): Likewise.
32680         (RM_FE_UPWARD): Likewise.
32681         (RUN_TEST_LOOP_f_f): Update references to expected results.
32682         (RUN_TEST_LOOP_2_f): Likewise.
32683         (RUN_TEST_LOOP_fff_f): Likewise.
32684         (RUN_TEST_LOOP_c_f): Likewise.
32685         (RUN_TEST_LOOP_f_f1): Likewise.
32686         (RUN_TEST_LOOP_fF_f1): Likewise.
32687         (RUN_TEST_LOOP_fI_f1): Likewise.
32688         (RUN_TEST_LOOP_ffI_f1): Likewise.
32689         (RUN_TEST_LOOP_c_c): Likewise.
32690         (RUN_TEST_LOOP_cc_c): Likewise.
32691         (RUN_TEST_LOOP_f_i): Likewise.
32692         (RUN_TEST_LOOP_f_i_tg): Likewise.
32693         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32694         (RUN_TEST_LOOP_f_b): Likewise.
32695         (RUN_TEST_LOOP_f_b_tg): Likewise.
32696         (RUN_TEST_LOOP_f_l): Likewise.
32697         (RUN_TEST_LOOP_f_L): Likewise.
32698         (RUN_TEST_LOOP_fFF_11): Likewise.
32699         * math/gen-libm-test.pl (parse_args): Output four copies of
32700         expected results for each test.
32702         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32703         (__ASSUME_UTIMES): Remove.
32704         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32705         (__ASSUME_UTIMES): Likewise.
32707         * math/gen-auto-libm-tests.c: Update comment on output format.
32708         (output_for_one_input_case): Generate before-rounding and
32709         after-rounding information as conditions on output flags not
32710         floating-point format.
32711         * math/auto-libm-test-out: Regenerated.
32712         * math/gen-libm-test.pl (cond_value): New function.
32713         (or_cond_value): Use cond_value.
32714         (generate_testfile): Handle conditional exceptions.
32716 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
32718         * math/libm-test.inc (max_valid_error): New variable.
32719         (init_max_error): Take new argument specifying whether function
32720         results are exactly determined.  Set max_valid_error and bound
32721         other variables for errors based on this argument.
32722         (set_max_error): Do not record results above max_valid_error.
32723         (check_float_internal): Only accept errors of up to 0.5ulps if
32724         also at most max_valid_error.
32725         (START): Take new argument EXACT and pass it to init_max_error.
32726         (acos_test): Update call to START.
32727         (acos_test_tonearest): Likewise.
32728         (acos_test_towardzero): Likewise.
32729         (acos_test_downward): Likewise.
32730         (acos_test_upward): Likewise.
32731         (acosh_test): Likewise.
32732         (asin_test): Likewise.
32733         (asin_test_tonearest): Likewise.
32734         (asin_test_towardzero): Likewise.
32735         (asin_test_downward): Likewise.
32736         (asin_test_upward): Likewise.
32737         (asinh_test): Likewise.
32738         (atan_test): Likewise.
32739         (atanh_test): Likewise.
32740         (atan2_test): Likewise.
32741         (cabs_test): Likewise.
32742         (cacos_test): Likewise.
32743         (cacosh_test): Likewise.
32744         (carg_test): Likewise.
32745         (casin_test): Likewise.
32746         (casinh_test): Likewise.
32747         (catan_test): Likewise.
32748         (catanh_test): Likewise.
32749         (cbrt_test): Likewise.
32750         (ccos_test): Likewise.
32751         (ccosh_test): Likewise.
32752         (ceil_test): Likewise.
32753         (cexp_test): Likewise.
32754         (cimag_test): Likewise.
32755         (clog_test): Likewise.
32756         (clog10_test): Likewise.
32757         (conj_test): Likewise.
32758         (copysign_test): Likewise.
32759         (cos_test): Likewise.
32760         (cos_test_tonearest): Likewise.
32761         (cos_test_towardzero): Likewise.
32762         (cos_test_downward): Likewise.
32763         (cos_test_upward): Likewise.
32764         (cosh_test): Likewise.
32765         (cosh_test_tonearest): Likewise.
32766         (cosh_test_towardzero): Likewise.
32767         (cosh_test_downward): Likewise.
32768         (cosh_test_upward): Likewise.
32769         (cpow_test): Likewise.
32770         (cproj_test): Likewise.
32771         (creal_test): Likewise.
32772         (csin_test): Likewise.
32773         (csinh_test): Likewise.
32774         (csqrt_test): Likewise.
32775         (ctan_test): Likewise.
32776         (ctan_test_tonearest): Likewise.
32777         (ctan_test_towardzero): Likewise.
32778         (ctan_test_downward): Likewise.
32779         (ctan_test_upward): Likewise.
32780         (ctanh_test): Likewise.
32781         (ctanh_test_tonearest): Likewise.
32782         (ctanh_test_towardzero): Likewise.
32783         (ctanh_test_downward): Likewise.
32784         (ctanh_test_upward): Likewise.
32785         (erf_test): Likewise.
32786         (erfc_test): Likewise.
32787         (exp_test): Likewise.
32788         (exp_test_tonearest): Likewise.
32789         (exp_test_towardzero): Likewise.
32790         (exp_test_downward): Likewise.
32791         (exp_test_upward): Likewise.
32792         (exp10_test): Likewise.
32793         (exp10_test_tonearest): Likewise.
32794         (exp10_test_towardzero): Likewise.
32795         (exp10_test_downward): Likewise.
32796         (exp10_test_upward): Likewise.
32797         (pow10_test): Likewise.
32798         (exp2_test): Likewise.
32799         (expm1_test): Likewise.
32800         (expm1_test_tonearest): Likewise.
32801         (expm1_test_towardzero): Likewise.
32802         (expm1_test_downward): Likewise.
32803         (expm1_test_upward): Likewise.
32804         (fabs_test): Likewise.
32805         (fdim_test): Likewise.
32806         (floor_test): Likewise.
32807         (fma_test): Likewise.
32808         (fma_test_towardzero): Likewise.
32809         (fma_test_downward): Likewise.
32810         (fma_test_upward): Likewise.
32811         (fmax_test): Likewise.
32812         (fmin_test): Likewise.
32813         (fmod_test): Likewise.
32814         (fpclassify_test): Likewise.
32815         (frexp_test): Likewise.
32816         (hypot_test): Likewise.
32817         (ilogb_test): Likewise.
32818         (isfinite_test): Likewise.
32819         (finite_test): Likewise.
32820         (isgreater_test): Likewise.
32821         (isgreaterequal_test): Likewise.
32822         (isinf_test): Likewise.
32823         (isless_test): Likewise.
32824         (islessequal_test): Likewise.
32825         (islessgreater_test): Likewise.
32826         (isnan_test): Likewise.
32827         (isnormal_test): Likewise.
32828         (issignaling_test): Likewise.
32829         (isunordered_test): Likewise.
32830         (j0_test): Likewise.
32831         (j1_test): Likewise.
32832         (jn_test): Likewise.
32833         (ldexp_test): Likewise.
32834         (lgamma_test): Likewise.
32835         (gamma_test): Likewise.
32836         (lrint_test): Likewise.
32837         (lrint_test_tonearest): Likewise.
32838         (lrint_test_towardzero): Likewise.
32839         (lrint_test_downward): Likewise.
32840         (lrint_test_upward): Likewise.
32841         (llrint_test): Likewise.
32842         (llrint_test_tonearest): Likewise.
32843         (llrint_test_towardzero): Likewise.
32844         (llrint_test_downward): Likewise.
32845         (llrint_test_upward): Likewise.
32846         (log_test): Likewise.
32847         (log10_test): Likewise.
32848         (log1p_test): Likewise.
32849         (log2_test): Likewise.
32850         (logb_test): Likewise.
32851         (logb_test_downward): Likewise.
32852         (lround_test): Likewise.
32853         (llround_test): Likewise.
32854         (modf_test): Likewise.
32855         (nearbyint_test): Likewise.
32856         (nextafter_test): Likewise.
32857         (nexttoward_test): Likewise.
32858         (pow_test): Likewise.
32859         (pow_test_tonearest): Likewise.
32860         (pow_test_towardzero): Likewise.
32861         (pow_test_downward): Likewise.
32862         (pow_test_upward): Likewise.
32863         (remainder_test): Likewise.
32864         (drem_test): Likewise.
32865         (remainder_test_tonearest): Likewise.
32866         (drem_test_tonearest): Likewise.
32867         (remainder_test_towardzero): Likewise.
32868         (drem_test_towardzero): Likewise.
32869         (remainder_test_downward): Likewise.
32870         (drem_test_downward): Likewise.
32871         (remainder_test_upward): Likewise.
32872         (drem_test_upward): Likewise.
32873         (remquo_test): Likewise.
32874         (rint_test): Likewise.
32875         (rint_test_tonearest): Likewise.
32876         (rint_test_towardzero): Likewise.
32877         (rint_test_downward): Likewise.
32878         (rint_test_upward): Likewise.
32879         (round_test): Likewise.
32880         (scalb_test): Likewise.
32881         (scalbn_test): Likewise.
32882         (scalbln_test): Likewise.
32883         (signbit_test): Likewise.
32884         (sin_test): Likewise.
32885         (sin_test_tonearest): Likewise.
32886         (sin_test_towardzero): Likewise.
32887         (sin_test_downward): Likewise.
32888         (sin_test_upward): Likewise.
32889         (sincos_test): Likewise.
32890         (sinh_test): Likewise.
32891         (sinh_test_tonearest): Likewise.
32892         (sinh_test_towardzero): Likewise.
32893         (sinh_test_downward): Likewise.
32894         (sinh_test_upward): Likewise.
32895         (sqrt_test): Likewise.
32896         (sqrt_test_tonearest): Likewise.
32897         (sqrt_test_towardzero): Likewise.
32898         (sqrt_test_downward): Likewise.
32899         (sqrt_test_upward): Likewise.
32900         (tan_test): Likewise.
32901         (tan_test_tonearest): Likewise.
32902         (tan_test_towardzero): Likewise.
32903         (tan_test_downward): Likewise.
32904         (tan_test_upward): Likewise.
32905         (tanh_test): Likewise.
32906         (tgamma_test): Likewise.
32907         (trunc_test): Likewise.
32908         (y0_test): Likewise.
32909         (y1_test): Likewise.
32910         (yn_test): Likewise.
32911         (significand_test): Likewise.
32913         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
32914         individual tests in comment.
32915         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
32916         (prev_max_error): New variable.
32917         (prev_real_max_error): Likewise.
32918         (prev_imag_max_error): Likewise.
32919         (compare_ulp_data): Don't refer to test names in comment.
32920         (find_test_ulps): Remove function.
32921         (find_function_ulps): Likewise.
32922         (find_complex_function_ulps): Likewise.
32923         (init_max_error): Take function name as argument.  Look up ulps
32924         for that function.
32925         (print_ulps): Remove function.
32926         (print_max_error): Use prev_max_error instead of calling
32927         find_function_ulps.
32928         (print_complex_max_error): Use prev_real_max_error and
32929         prev_imag_max_error instead of calling find_complex_function_ulps.
32930         (check_float_internal): Take max_ulp parameter instead of calling
32931         find_test_ulps.  Don't call print_ulps.
32932         (check_float): Update call to check_float_internal.
32933         (check_complex): Update calls to check_float_internal.
32934         (START): Pass argument to init_max_error.
32935         * math/gen-libm-test.pl (%results): Don't include "kind"
32936         information.
32937         (parse_ulps): Don't handle ulps of individual tests.
32938         (print_ulps_file): Likewise.
32939         (output_ulps): Likewise.
32940         * math/README.libm-test: Update.
32941         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
32942         individual tests.
32943         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
32944         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32945         * sysdeps/arm/libm-test-ulps: Likewise.
32946         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32947         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
32948         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
32949         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
32950         * sysdeps/microblaze/libm-test-ulps: Likewise.
32951         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32952         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32953         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32954         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32955         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32956         * sysdeps/sh/libm-test-ulps: Likewise.
32957         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32958         * sysdeps/tile/libm-test-ulps: Likewise.
32959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32961 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
32963         * math/libm-test.inc (print_complex_max_error): Check separately
32964         whether real and imaginary errors are within allowed range and
32965         pass 0 to print_complex_function_ulps instead of value within
32966         allowed range.
32968 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32970         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
32971         formatting.
32972         (get_handles_fopen): Likewise.
32973         (do_write_test): Likewise.
32975         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
32977         * libio/fileops.c (do_ftell): Use cached offset when
32978         available.
32979         * libio/iofwide.c (do_ftell_wide): Likewise.
32980         * libio/iofdopen.c (_IO_new_fdopen): Don't use
32981         _IO_file_attach.
32982         * libio/wfileops.c (_IO_fwide): Don't cache offset.
32984         [BZ #16532]
32985         * libio/libioP.h (get_file_offset): New function.
32986         * libio/fileops.c (get_file_offset): Likewise.
32987         (do_ftell): Likewise.
32988         (_IO_new_file_seekoff): Split out ftell logic.
32989         * libio/wfileops.c (do_ftell_wide): Likewise.
32990         (_IO_wfile_seekoff): Split out ftell logic.
32991         * libio/tst-ftell-active-handler.c: New test case.
32992         * libio/Makefile (tests): Add it.
32994 2014-03-03  Roland McGrath  <roland@hack.frob.com>
32996         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
32997         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
32999 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33001         [BZ #16639]
33002         * nscd/connections.c (nscd_init): Call do_exit.
33003         (start_threads): Call do_exit and notify_parent.
33004         (begin_drop_privileges): Call do_exit.
33005         (finish_drop_privileges): Likewise.
33006         * nscd/selinux.c (preserve_capabilities): Likewise.
33007         (install_real_capabilities): Likewise.
33008         (nscd_selinux_enabled): Likewise.
33009         (avc_create_thread): Likewise.
33010         (avc_alloc_lock): Likewise.
33011         (nscd_avc_init): Likewise.
33012         * nscd/nscd.c (parent_fd): New static variable.
33013         (main): Create a pipe between parent and child processes.
33014         Skip closing parent_fd.
33015         (monitor_child): New function.
33016         (do_exit): Likewise.
33017         (notify_parent): Likewise.
33018         * nscd/nscd.h (notify_parent): Likewise.
33019         (do_exit): Likewise.
33021 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
33023         * malloc/malloc.c (__libc_calloc): Revert last change.
33025 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33029 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33031         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
33032         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
33033         implementation.
33034         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33035         (__libc_ifunc_impl_list): Likewise.
33036         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
33037         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
33038         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
33039         * string/strrchr.c: Define STRRCHR.
33041 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
33043         * benchtest/bench-strtok.c (simple_strtok): Delete.
33044         (strtok_string): Use as benchmark.
33045         * string/strtok (STRTOK): New macro.
33047 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
33049         * manual/threads.texi: Add header and standard comments to all
33050         functions.
33052         * elf/dl-lookup.c (check_match): New function.
33053         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
33054         (do_lookup_x): Remove nested function check_match. Use non-nested
33055         function check_match.
33057 2014-02-28  Roland McGrath  <roland@hack.frob.com>
33059         * csu/Makefile (generated, before-compile): Use += rather than =.
33060         * catgets/Makefile (generated, generated-dirs): Likewise.
33061         * debug/Makefile (generated): Likewise.
33062         * dlfcn/Makefile (generated): Likewise.
33063         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
33064         * iconvdata/Makefile (before-compile, generated): Likewise.
33065         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
33066         * libio/Makefile (generated): Likewise.
33067         * malloc/Makefile (generated): Likewise.
33068         * manual/Makefile (generated, generated-dirs): Likewise.
33069         * misc/Makefile (generated): Likewise.
33070         * posix/Makefile (generated): Likewise.
33071         * resolv/Makefile (generated): Likewise.
33072         * sunrpc/Makefile (generated, generated-dirs): Likewise.
33073         * timezone/Makefile (generated, generated-dirs): Likewise.
33075         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
33077 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33079         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
33080         power8 implementation.
33081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
33082         file: POWER8 llround ifunc implementation.
33083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
33084         (__lllround): Add POWER8 implementation.
33085         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
33086         POWER8 llround implementation.
33088         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
33089         power8 implementation.
33090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
33091         file: POWER8 llrint ifunc implementation.
33092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
33093         Add POWER8 implementation.
33094         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
33095         POWER8 llrint implementation.
33097         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
33098         power8 implementation.
33099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
33100         file: POWER8 finite ifunc implementation.
33101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
33102         Add POWER8 implementation.
33103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
33104         Likewise.
33105         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
33106         POWER8 finite implementation.
33107         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
33109         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
33110         power8 implementation.
33111         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
33112         file: POWER8 isinf ifunc implementation.
33113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
33114         POWER8 implementation.
33115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
33116         Likewise.
33117         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
33118         isinf implementation.
33119         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
33121         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
33122         (INIT_ARCH): Add hwcap2 initialization.
33123         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33124         power8 implementation.
33125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
33126         file: POWER8 isnan ifunc implementation.
33127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
33128         POWER8 implementation.
33129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
33130         Likewise.
33131         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
33132         isnan implementation.
33133         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
33135 2014-02-27  Joey Ye  <joey.ye@arm.com>
33137         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33138         (_FP_NANFRAC_Q): Set to zero.
33140 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33142         [BZ #16623]
33143         * math/auto-libm-test-in: New test inputs.
33144         * math/auto-libm-test-out: Regenerate.
33145         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
33146         and DA.
33147         (__cos): Likewise.
33148         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33150 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
33152         * scripts/evaluate-test.sh: Take new argument indicating whether
33153         failure is expected.
33154         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
33155         indicating whether failure is expected.
33156         * conform/Makefile (test-xfail-run-conformtest): New variable.
33157         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
33158         level.
33159         * posix/Makefile (test-xfail-annexc): New variable.
33160         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
33162 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
33164         * argp/Makefile: Include Makeconfig immediately after defining
33165         subdir.
33166         * assert/Makefile: Likewise.
33167         * benchtests/Makefile: Likewise.
33168         * catgets/Makefile: Likewise.
33169         * conform/Makefile: Likewise.
33170         * crypt/Makefile: Likewise.
33171         * csu/Makefile: Likewise.
33172         (all): Remove target.
33173         * ctype/Makefile: Include Makeconfig immediately after defining
33174         subdir.
33175         * debug/Makefile: Likewise.
33176         * dirent/Makefile: Likewise.
33177         * dlfcn/Makefile: Likewise.
33178         * gmon/Makefile: Likewise.
33179         * gnulib/Makefile: Likewise.
33180         * grp/Makefile: Likewise.
33181         * gshadow/Makefile: Likewise.
33182         * hesiod/Makefile: Likewise.
33183         * hurd/Makefile: Likewise.
33184         (all): Remove target.
33185         * iconvdata/Makefile: Include Makeconfig immediately after
33186         defining subdir.
33187         * inet/Makefile: Likewise.
33188         * intl/Makefile: Likewise.
33189         * io/Makefile: Likewise.
33190         * libio/Makefile: Likewise.
33191         (all): Remove target.
33192         * locale/Makefile: Include Makeconfig immediately after defining
33193         subdir.
33194         * login/Makefile: Likewise.
33195         * mach/Makefile: Likewise.
33196         (all): Remove target.
33197         * malloc/Makefile: Include Makeconfig immediately after defining
33198         subdir.
33199         (all): Remove target.
33200         * manual/Makefile: Include Makeconfig immediately after defining
33201         subdir.
33202         * math/Makefile: Likewise.
33203         * misc/Makefile: Likewise.
33204         * nis/Makefile: Likewise.
33205         * nss/Makefile: Likewise.
33206         * po/Makefile: Likewise.
33207         (all): Remove target.
33208         * posix/Makefile: Include Makeconfig immediately after defining
33209         subdir.
33210         * pwd/Makefile: Likewise.
33211         * resolv/Makefile: Likewise.
33212         * resource/Makefile: Likewise.
33213         * rt/Makefile: Likewise.
33214         * setjmp/Makefile: Likewise.
33215         * shadow/Makefile: Likewise.
33216         * signal/Makefile: Likewise.
33217         * socket/Makefile: Likewise.
33218         * soft-fp/Makefile: Likewise.
33219         * stdio-common/Makefile: Likewise.
33220         * stdlib/Makefile: Likewise.
33221         * streams/Makefile: Likewise.
33222         * string/Makefile: Likewise.
33223         * sunrpc/Makefile: Likewise.
33224         (all): Remove target.
33225         * sysvipc/Makefile: Include Makeconfig immediately after defining
33226         subdir.
33227         * termios/Makefile: Likewise.
33228         * time/Makefile: Likewise.
33229         * timezone/Makefile: Likewise.
33230         (all): Remove target.
33231         * wcsmbs/Makefile: Include Makeconfig immediately after defining
33232         subdir.
33233         * wctype/Makefile: Likewise.
33235 2014-02-26  Steve Ellcey  <sellcey@mips.com>
33237         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
33238         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
33239         (libc_feholdexcept_setround_mips): Ditto.
33240         (libc_feholdsetround): New.
33241         (libc_feholdsetroundf): New.
33242         (libc_feholdsetroundl): New.
33243         (libc_feupdateenv_test_mips): New.
33244         (libc_feupdateenv_test): New.
33245         (libc_feupdateenv_testf): New.
33246         (libc_feupdateenv_testl): New.
33247         (libc_feresetround): New.
33248         (libc_feresetroundf): New.
33249         (libc_feresetroundl): New.
33250         (libc_fetestexcept_mips): New.
33251         (libc_fetestexcept): New.
33252         (libc_fetestexceptf): New.
33253         (libc_fetestexceptl): New.
33254         (HAVE_RM_CTX): New.
33255         (libc_feholdexcept_setround_mips_ctx): New.
33256         (libc_feholdexcept_setround_ctx): New.
33257         (libc_feholdexcept_setroundf_ctx): New.
33258         (libc_feholdexcept_setroundl_ctx): New.
33259         (libc_fesetenv_mips_ctx): New.
33260         (libc_fesetenv_ctx): New.
33261         (libc_fesetenv_ctxf): New.
33262         (libc_fesetenv_ctxl): New.
33263         (libc_feupdateenv_mips_ctx): New.
33264         (libc_feupdateenv_ctx): New.
33265         (libc_feupdateenvf_ctx): New.
33266         (libc_feupdateenvl_ctx): New.
33267         (libc_feholdsetround_mips_ctx): New.
33268         (libc_feholdsetround_ctx): New.
33269         (libc_feholdsetroundf_ctx): New.
33270         (libc_feholdsetroundl_ctx): New.
33271         (libc_feresetround_mips_ctx): New.
33272         (libc_feresetround_ctx): New.
33273         (libc_feresetroundf_ctx): New.
33274         (libc_feresetroundl_ctx): New.
33276 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
33278         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
33280         * manual/ipc.texi: New file.
33281         * manual/Makefile (chapters): Add ipc.
33282         * manual/job.texi: Add "Inter-Process Communication" to next.
33283         * manual/process.texi: Add "Inter-Process Communication" to prev.
33285 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33287         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33289 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
33291         * malloc/malloc.c (__libc_calloc): Simplify implementation.
33293         * manual/arith.texi: Fix spaces after sentences.
33294         * manual/charset.texi: Likewise.
33295         * manual/errno.texi: Likewise.
33296         * manual/install.texi: Likewise.
33297         * manual/llio.texi: Likewise.
33298         * manual/locale.texi: Likewise.
33299         * manual/maint.texi: Likewise.
33300         * manual/math.texi: Likewise.
33301         * manual/memory.texi: Likewise.
33302         * manual/message.texi: Likewise.
33303         * manual/probes.texi: Likewise.
33304         * manual/resource.texi: Likewise.
33305         * manual/signal.texi: Likewise.
33306         * manual/socket.texi: Likewise.
33307         * manual/stdio.texi: Likewise.
33308         * manual/string.texi: Likewise.
33309         * manual/time.texi: Likewise.
33310         * manual/users.texi: Likewise.
33312 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
33314         [BZ #16632]
33315         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
33316         _DEFAULT_SOURCE is defined.
33318 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
33319             Carlos O'Donell  <carlos@redhat.com>
33321         [BZ #16613]
33322         * elf/dl-tls.c (_dl_count_modids): New function.
33323         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
33324         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
33325         audit library and increment generation counter.
33326         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
33327         * elf/tst-audit9.c: New file.
33328         * elf/tst-auditmod9a.c: New file.
33329         * elf/tst-auditmod9b.c: New file.
33330         * elf/Makefile: Add rules to build and run tst-audit9.
33332 2014-02-25  Florian Weimer  <fweimer@redhat.com>
33334         [BZ #15347]
33335         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
33337 2014-02-25  Will Newton  <will.newton@linaro.org>
33339         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
33340         (__longjmp): Restore sp and lr before restoring callee
33341         saved registers.  Add longjmp and longjmp_target
33342         SystemTap probe point.
33343         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
33344         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
33345         Define to zero to match jmpbuf layout.
33346         * sysdeps/arm/setjmp.S: Include stap-probe.h.
33347         (__sigsetjmp): Save sp and lr before saving callee
33348         saved registers.  Add setjmp SystemTap probe point.
33350 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
33352         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33354 2014-02-24  Andreas Schwab  <schwab@suse.de>
33356         [BZ #15804]
33357         * elf/pldd.c (wait_for_ptrace_stop): New function.
33358         (main): Call it after attaching.
33360 2014-02-22  Roland McGrath  <roland@hack.frob.com>
33362         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
33363         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
33364         Versions files is now verboten.
33365         * hurd/Versions (libc: GLIBC_2.0):
33366         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
33367         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
33368         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
33369         * mach/Versions: Likewise.
33371         * csu/Versions: Remove unused %include.
33372         * resolv/Versions: Likewise.
33374 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
33376         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
33377         ($(objpfx)check-local-headers.out): Likewise.
33378         ($(objpfx)begin-end-check.out): Likewise.
33379         * Makerules (check-abi-%.out): Likewise.
33380         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
33381         ($(objpfx)test2.cat): Likewise.
33382         ($(objpfx)de/libc.cat): Likewise.
33383         ($(objpfx)test-gencat.out): Likewise.
33384         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
33385         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
33386         ($(objpfx)noload-mem): Likewise.
33387         ($(objpfx)tst-pathopt.out): Likewise.
33388         ($(objpfx)tst-rtld-load-self.out): Likewise.
33389         ($(objpfx)tst-array1-cmp.out): Likewise.
33390         ($(objpfx)tst-array1-static-cmp.out): Likewise.
33391         ($(objpfx)tst-array2-cmp.out): Likewise.
33392         ($(objpfx)tst-array3-cmp.out): Likewise.
33393         ($(objpfx)tst-array4-cmp.out): Likewise.
33394         ($(objpfx)tst-array5-cmp.out): Likewise.
33395         ($(objpfx)tst-array5-static-cmp.out): Likewise.
33396         ($(objpfx)check-textrel.out): Likewise.
33397         ($(objpfx)check-execstack.out): Likewise.
33398         ($(objpfx)check-localplt.out): Likewise.
33399         ($(objpfx)order2-cmp.out): Likewise.
33400         ($(objpfx)tst-leaks1-mem): Likewise.
33401         ($(objpfx)tst-leaks1-static-mem): Likewise.
33402         ($(objpfx)tst-initorder-cmp.out): Likewise.
33403         ($(objpfx)tst-initorder2-cmp.out): Likewise.
33404         ($(objpfx)tst-unused-dep.out): Likewise.
33405         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
33406         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33407         * iconv/Makefile (test-iconvconfig): Likewise.
33408         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
33409         ($(objpfx)iconv-test.out): Likewise.
33410         ($(objpfx)tst-tables.out): Likewise.
33411         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
33412         ($(objpfx)tst-gettext.out): Likewise.
33413         ($(objpfx)tst-translit.out): Likewise.
33414         ($(objpfx)tst-gettext2.out): Likewise.
33415         ($(objpfx)tst-gettext4.out): Likewise.
33416         ($(objpfx)tst-gettext6.out): Likewise.
33417         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
33418         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33419         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
33420         ($(objpfx)tst-fopenloc-mem.out): Likewise.
33421         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33422         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
33423         * posix/Makefile ($(objpfx)globtest.out): Likewise.
33424         ($(objpfx)wordexp-tst.out): Likewise.
33425         ($(objpfx)annexc.out): Likewise.
33426         ($(objpfx)tst-fnmatch-mem): Likewise.
33427         ($(objpfx)bug-regex2-mem): Likewise.
33428         ($(objpfx)bug-regex14-mem): Likewise.
33429         ($(objpfx)bug-regex21-mem): Likewise.
33430         ($(objpfx)bug-regex31-mem): Likewise.
33431         ($(objpfx)tst-vfork3-mem): Likewise.
33432         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
33433         ($(objpfx)tst-pcre-mem): Likewise.
33434         ($(objpfx)tst-boost-mem): Likewise.
33435         ($(objpfx)tst-getconf.out): Likewise.
33436         ($(objpfx)bug-ga2-mem): Likewise.
33437         ($(objpfx)bug-glob2-mem): Likewise.
33438         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
33439         ($(objpfx)mtrace-tst-leaks2): Likewise.
33440         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
33441         ($(objpfx)tst-printf.out): Likewise.
33442         ($(objpfx)tst-setvbuf1.out): Likewise.
33443         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
33444         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
33445         ($(objpfx)tst-fmtmsg.out): Likewise.
33446         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
33447         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
33449         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
33450         * bits/sigaction.h [__USE_MISC]: Likewise.
33451         * bits/waitstatus.h: Update #endif comments.
33452         * ctype/ctype.h: Likewise.
33453         * dirent/dirent.h: Likewise.
33454         [__USE_MISC]: Remove redundant conditionals.
33455         * grp/grp.h: Update #endif comments.
33456         [__USE_GNU]: Remove redundant conditionals.
33457         [__USE_MISC]: Likewise.
33458         * inet/netinet/in.h [__USE_GNU]: Likewise.
33459         * io/sys/stat.h [__USE_MISC]: Likewise.
33460         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
33461         * libio/bits/stdio.h: Update #endif comments.
33462         [__USE_MISC]: Remove redundant conditionals.
33463         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
33464         * libio/stdio.h: Update #endif comments.
33465         [__USE_MISC]: Remove redundant conditionals.
33466         * math/bits/math-finite.h [__USE_MISC]: Likewise.
33467         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
33468         * math/math.h: Update #else and #endif comments.
33469         [__USE_MISC]: Remove redundant conditionals.
33470         * misc/sys/uio.h: Update #endif comments.
33471         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
33472         * posix/glob.h [__USE_MISC]: Likewise.
33473         * posix/sys/types.h: Update #endif comments.
33474         [__USE_MISC]: Remove redundant conditionals.
33475         * posix/sys/wait.h: Update #endif comments.
33476         [__USE_MISC]: Remove redundant conditionals.
33477         * posix/unistd.h: Update #endif comments.
33478         [__USE_MISC]: Remove redundant conditionals.
33479         * pwd/pwd.h [__USE_GNU]: Likewise.
33480         [__USE_MISC]: Likewise.
33481         * resolv/netdb.h [__USE_GNU]: Likewise.
33482         * signal/signal.h: Update #endif comments.
33483         [__USE_MISC]: Remove redundant conditionals.
33484         * stdlib/stdlib.h: Update #else and #endif comments.
33485         [__USE_MISC]: Remove redundant conditionals.
33486         [__USE_GNU]: Likewise.
33487         * string/bits/string2.h [__USE_MISC]: Likewise.
33488         * string/string.h: Update #endif comments.
33489         [__USE_MISC]: Remove redundant conditionals.
33490         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
33491         Likewise.
33492         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
33493         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
33494         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
33495         Likewise.
33496         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
33497         Likewise.
33498         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
33499         comments.
33500         [__USE_MISC]: Remove redundant conditionals.
33501         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
33502         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
33503         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
33504         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
33505         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
33506         Likewise.
33507         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
33508         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
33509         Likewise.
33510         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
33511         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
33512         Likewise.
33513         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
33514         Likewise.
33515         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
33516         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
33517         Likewise.
33518         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
33519         Likewise.
33520         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
33521         * sysdeps/x86/bits/string.h: Update #endif comments.
33522         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
33523         conditionals.
33524         * time/sys/time.h: Update #endif comments.
33525         * time/time.h: Likewise.
33526         [__USE_MISC]: Remove redundant conditionals.
33528 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
33530         [BZ #16600]
33531         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
33533 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
33535         * Versions.def (librt): Add GLIBC_2.17.
33537 2014-02-21  Adam Conrad  <adconrad@0c3.net>
33539         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
33540         synonym for _SYS_AUXV_H to allow direct inclusion.
33541         * sysdeps/sparc/bits/hwcap.h: Likewise.
33542         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
33543         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
33544         * sysdeps/sparc/sysdep.h: Likewise.
33546 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33548         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
33550 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33552         * benchtests/bench-strrchr.c: Print length instead of position.
33554 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
33556         [BZ #16611]
33557         * sysdeps/unix/sysv/linux/kernel-features.h
33558         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
33559         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
33560         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
33561         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
33562         Likewise.
33563         [__i386__ || __powerpc__ || __sh__ || __sparc__]
33564         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33565         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
33566         (__ASSUME_SENDMMSG): Define instead of using previous
33567         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
33568         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33569         (__ASSUME_SENDMMSG_SYSCALL): Define.
33570         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33571         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
33572         Likewise.
33573         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33574         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33575         Likewise.
33576         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33577         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33578         Likewise.
33579         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
33580         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33581         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33582         [__ASSUME_SENDMMSG]: Change conditionals to
33583         [__ASSUME_SENDMMSG_SOCKETCALL].
33584         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33585         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
33586         Define.
33587         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33588         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
33589         Likewise.
33590         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
33591         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33592         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33593         [!__ASSUME_SENDMMSG]: Change conditional to
33594         [!__ASSUME_SENDMMSG_SOCKETCALL].
33595         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33596         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33597         Define.
33599         [BZ #16610]
33600         * sysdeps/unix/sysv/linux/kernel-features.h
33601         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
33602         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
33603         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
33604         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
33605         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33606         [__i386__ || __sparc__]
33607         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33608         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
33609         (__ASSUME_RECVMMSG): Define instead of using previous
33610         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
33611         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33612         (__ASSUME_RECVMMSG_SYSCALL): Define.
33613         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33614         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33615         Likewise.
33616         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33617         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33618         Likewise.
33619         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33620         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33621         Likewise.
33622         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
33623         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33624         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33625         [__ASSUME_RECVMMSG]: Change condition to
33626         [__ASSUME_RECVMMSG_SOCKETCALL].
33627         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33628         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33629         Define.
33630         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33631         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33632         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33633         Likewise.
33634         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
33635         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33636         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33637         [!__ASSUME_RECVMMSG]: Change condition to
33638         [!__ASSUME_RECVMMSG_SOCKETCALL].
33639         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33640         (__ASSUME_RECVMMSG_SYSCALL): Define.
33642         [BZ #16609]
33643         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
33644         __powerpc__ || __s390__ || __sh__ || __sparc__]
33645         (__ASSUME_SOCKETCALL): Define.
33646         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
33647         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
33648         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
33649         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
33650         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33651         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
33652         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
33653         (__ASSUME_ACCEPT4): Define instead of using previous
33654         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
33655         __powerpc__ || __sparc__ || __s390__)] condition.
33656         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33657         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33658         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
33659         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33660         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33661         [!__ASSUME_ACCEPT4]: Change condition to
33662         [!__ASSUME_ACCEPT4_SOCKETCALL].
33663         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33664         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
33665         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
33666         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33667         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
33668         __ASSUME_ACCEPT4_SYSCALL.
33669         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
33670         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
33671         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33672         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
33673         __ASSUME_ACCEPT4_SYSCALL.
33674         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
33675         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33676         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33677         [__ASSUME_ACCEPT4]: Change condition to
33678         [__ASSUME_ACCEPT4_SOCKETCALL].
33679         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33680         (__ASSUME_SOCKETCALL): Define.
33681         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
33682         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33683         (__ASSUME_SOCKETCALL): Define.
33684         (__ASSUME_ACCEPT4): Remove.
33685         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
33686         Define.
33687         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33688         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
33689         Likewise.
33690         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33691         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33693         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
33694         macro.
33695         (HWCAP_ARM_LPAE): Likewise.
33696         (HWCAP_ARM_EVTSTRM): Likewise.
33697         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
33698         Add vpfd32, lpae and evtstrm.
33699         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
33700         Increase to 22.
33702 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
33704         * math/auto-libm-test-in: Add tests of clog10.
33705         * math/auto-libm-test-out: Regenerated.
33706         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
33707         * sysdeps/i386/fpu/libm-test-ulps: Update.
33708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33710 2014-02-18  Andreas Schwab  <schwab@suse.de>
33712         [BZ #16574]
33713         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
33714         Store non-zero if the second buffer was newly allocated.
33715         (send_dg): Likewise.
33716         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
33717         to send_vc and send_dg.
33718         (res_nsend): Pass NULL for ansp2_malloced.
33719         * resolv/res_query.c (__libc_res_nquery): Add parameter
33720         answerp2_malloced and pass it down to __libc_res_nsend.
33721         (res_nquery): Pass additional NULL to __libc_res_nquery.
33722         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
33723         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
33724         second answer buffer if answerp2_malloced was set.
33725         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
33726         (__libc_res_nquerydomain): Add parameter
33727         answerp2_malloced and pass it down to __libc_res_nquery.
33728         (res_nquerydomain): Pass additional NULL to
33729         __libc_res_nquerydomain.
33730         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
33731         additional NULL to __libc_res_nsend and __libc_res_nquery.
33732         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
33733         additional NULL to __libc_res_nsearch.
33734         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
33735         parameter of __libc_res_nsearch to check for separately allocated
33736         second buffer.
33737         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
33738         __libc_res_nquery.
33739         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
33740         additional NULL to __libc_res_nquery.
33741         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
33742         __libc_res_nsearch.
33743         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
33744         * include/resolv.h: Update prototypes of __libc_res_nquery,
33745         __libc_res_nsearch, __libc_res_nsend.
33747 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
33749         * math/auto-libm-test-in: Add tests of fma.
33750         * math/auto-libm-test-out: Regenerated.
33751         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
33752         (fma_towardzero_test_data): Likewise.
33753         (fma_downward_test_data): Likewise.
33754         (fma_upward_test_data): Likewise.
33755         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
33756         mpc_mode.
33757         (rounding_modes): Add values for new field.
33758         (func_calc_method): Add value mpfr_fff_f.
33759         (func_calc_desc): Add mpfr_fff_f union field.
33760         (test_function): Add field exact_args.
33761         (FUNC): Add macro argument EXACT_ARGS.
33762         (FUNC_mpfr_f_f): Update call to FUNC.
33763         (FUNC_mpfr_f_f): Likewise.
33764         (FUNC_mpfr_ff_f): Likewise.
33765         (FUNC_mpfr_if_f): Likewise.
33766         (FUNC_mpc_c_f): Likewise.
33767         (FUNC_mpc_c_c): Likewise.
33768         (test_functions): Add fma.  Update calls to FUNC.
33769         (handle_input_arg): Add argument exact_args.
33770         (add_test): Update call to handle_input_arg.
33771         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
33772         (output_for_one_input_case): Update call to calc_generic_results.
33773         Recalculate exact zero results in each rounding mode.
33775         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
33776         non-negative before setting low bit.
33777         * math/auto-libm-test-in: Mark one asin test possibly having
33778         spurious underflow.
33779         * math/auto-libm-test-out: Regenerated.
33780         * sysdeps/i386/fpu/libm-test-ulps: Update.
33781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33783 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
33785         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
33786         * sysdeps/unix/sysv/linux/microblaze: Move directory from
33787         ports/sysdeps/unix/sysv/linux/microblaze.
33788         * README: Add missing listing for microblaze*-*-linux-gnu.
33790 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
33792         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
33793         duplicate code
33795 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
33797         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
33798         * sysdeps/unix/sysv/linux/ia64: Move directory from
33799         ports/sysdeps/unix/sysv/linux/ia64.
33800         * README: Update listing for ia64-*-linux-gnu.
33802 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
33803             Joseph Myers  <joseph@codesourcery.com>
33805         * Makeconfig (test-name): New variable.
33806         (evaluate-test): Likewise.
33807         * Makerules (do-test-clean): Remove .test-result files.
33808         (common-mostlyclean): Likewise.
33809         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
33810         * scripts/evaluate-test.sh: New file.
33812 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
33814         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
33815         separate $(objpfx)tst-fopenloc-cmp.out and
33816         $(objpfx)tst-fopenloc-mem.out targets.
33817         (tests): Update dependencies.
33818         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
33819         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
33820         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
33821         (tst-rxspencer-no-utf8-ARGS): New variable.
33822         (tst-rxspencer-no-utf8-ENV): Likewise.
33823         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
33824         instead of $(objpfx)tst-rxspencer-mem.
33825         ($(objpfx)tst-rxspencer-mem): Change target to
33826         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
33827         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
33828         * posix/tst-rxspencer-no-utf8.c: New file.
33830         * elf/Makefile ($(objpfx)order.out): Remove rule.
33831         [$(run-built-tests) = yes] (tests): Depend on
33832         $(objpfx)order-cmp.out.
33833         ($(objpfx)order-cmp.out): New rule.
33834         [$(run-built-tests) = yes] (tests): Depend on
33835         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
33836         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
33837         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
33838         $(objpfx)tst-array5-static-cmp.out.
33839         ($(objpfx)tst-array1.out): Remove rule.
33840         ($(objpfx)tst-array1-cmp.out): New rule.
33841         ($(objpfx)tst-array1-static.out): Remove rule.
33842         ($(objpfx)tst-array1-static-cmp.out): New rule.
33843         ($(objpfx)tst-array2.out): Remove rule.
33844         ($(objpfx)tst-array2-cmp.out): New rule.
33845         ($(objpfx)tst-array3.out): Remove rule.
33846         ($(objpfx)tst-array3-cmp.out): New rule.
33847         ($(objpfx)tst-array4.out): Remove rule.
33848         ($(objpfx)tst-array4-cmp.out): New rule.
33849         ($(objpfx)tst-array5.out): Remove rule.
33850         ($(objpfx)tst-array5-cmp.out): New rule.
33851         ($(objpfx)tst-array5-static.out): Remove rule.
33852         ($(objpfx)tst-array5-static-cmp.out): New rule.
33853         [$(run-built-tests) = yes] (tests): Depend on
33854         $(objpfx)order2-cmp.out.
33855         ($(objpfx)order2.out): Remove rule.
33856         ($(objpfx)order2-cmp.out): New rule.
33857         ($(objpfx)tst-initorder.out): Remove rule.
33858         [$(run-built-tests) = yes] (tests): Depend on
33859         $(objpfx)tst-initorder-cmp.out.
33860         ($(objpfx)tst-initorder-cmp.out): New rule.
33861         ($(objpfx)tst-initorder2.out): Remove rule.
33862         [$(run-built-tests) = yes] (tests): Depend on
33863         $(objpfx)tst-initorder2-cmp.out.
33864         ($(objpfx)tst-initorder2-cmp.out): New rule.
33865         [$(run-built-tests) = yes] (tests): Depend on
33866         $(objpfx)tst-unused-dep-cmp.out.
33867         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
33868         ($(objpfx)tst-unused-dep-cmp.out): New rule.
33869         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
33870         on $(objpfx)tst-setvbuf1-cmp.out.
33871         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
33872         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
33873         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
33874         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
33875         ($(objpfx)tst-svc.out): Remove rule.
33876         ($(objpfx)tst-svc-cmp.out): New rule.
33878 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
33880         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
33881         * ctype/ctype.h [__USE_MISC]: Likewise.
33882         * dirent/dirent.h [__USE_MISC]: Likewise.
33883         * grp/grp.h [__USE_MISC]: Likewise.
33884         * io/fcntl.h [__USE_MISC]: Likewise.
33885         * io/sys/stat.h [__USE_MISC]: Likewise.
33886         * libio/stdio.h [__USE_MISC]: Likewise.
33887         * posix/unistd.h [__USE_MISC]: Likewise.
33888         * pwd/pwd.h [__USE_MISC]: Likewise.
33889         * stdlib.h [__USE_MISC]: Likewise.
33890         * string/bits/string2.h [__USE_MISC]: Likewise.
33891         * string/string.h [__USE_MISC]: Likewise.
33892         * time/time.h [__USE_MISC]: Likewise.
33894 2014-02-13  Andreas Schwab  <schwab@suse.de>
33896         [BZ #16574]
33897         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
33898         second answer buffer if it was separately allocated.
33900 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
33902         * sysdeps/mips/math-tests.h: Include <features.h>.
33903         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33904         (ROUNDING_TESTS_long_double): Do not define.
33905         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33906         (EXCEPTION_TESTS_long_double): Likewise.
33907         * sysdeps/mips/mips64/libm-test-ulps: Update.
33909         * include/features.h (__USE_BSD): Remove macro definitions.
33910         (__USE_SVID): Likewise.
33911         (_BSD_SOURCE): Likewise.
33912         (_SVID_SOURCE): Likewise.
33913         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
33914         from definition of _DEFAULT_SOURCE.
33915         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
33916         [_DEFAULT_SOURCE].
33917         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
33918         * bits/mman.h [__USE_BSD]: Likewise.
33919         * bits/termios.h [__USE_BSD]: Likewise.
33920         * bits/waitstatus.h [__USE_BSD]: Likewise.
33921         * ctype/ctype.h [__USE_SVID]: Likewise.
33922         * dirent/dirent.h [__USE_BSD]: Likewise.
33923         * grp/grp.h [__USE_SVID]: Likewise.
33924         [__USE_BSD]: Likewise.
33925         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
33926         * io/fcntl.h [__USE_BSD]: Likewise.
33927         * io/ftw.h [__USE_BSD]: Likewise.
33928         * io/sys/stat.h [__USE_BSD]: Likewise.
33929         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
33930         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
33931         * libio/stdio.h [__USE_SVID]: Likewise.
33932         [__USE_BSD]: Likewise.
33933         * math/math.h [__USE_SVID]: Likewise.
33934         [__USE_BSD]: Likewise.
33935         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
33936         * misc/bits/syslog.h [__USE_BSD]: Likewise.
33937         * misc/search.h [__USE_SVID]: Likewise.
33938         * misc/sys/mman.h [__USE_BSD]: Likewise.
33939         * misc/sys/syslog.h [__USE_BSD]: Likewise.
33940         * misc/sys/uio.h [__USE_BSD]: Likewise.
33941         * posix/bits/unistd.h [__USE_BSD]: Likewise.
33942         * posix/glob.h [__USE_BSD]: Likewise.
33943         * posix/regex.h [__USE_BSD]: Likewise.
33944         * posix/sys/types.h [__USE_BSD]: Likewise.
33945         [__USE_SVID]: Likewise.
33946         * posix/sys/utsname.h [__USE_SVID]: Likewise.
33947         * posix/sys/wait.h [__USE_BSD]: Likewise.
33948         [__USE_SVID]: Likewise.
33949         * posix/unistd.h [__USE_BSD]: Likewise.
33950         [__USE_SVID]: Likewise.
33951         * pwd/pwd.h [__USE_SVID]: Likewise.
33952         * resolv/netdb.h [__USE_BSD]: Likewise.
33953         * setjmp/setjmp.h [__USE_BSD]: Likewise.
33954         * signal/signal.h [__USE_BSD]: Likewise.
33955         [__USE_SVID]: Likewise.
33956         * socket/sys/socket.h [__USE_BSD]: Likewise.
33957         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
33958         * stdlib/stdlib.h [__USE_BSD]: Likewise.
33959         [__USE_SVID]: Likewise.
33960         * string/bits/string2.h [__USE_BSD]: Likewise.
33961         [__USE_SVID]: Likewise.
33962         * string/bits/string3.h [__USE_BSD]: Likewise.
33963         * string/endian.h [__USE_BSD]: Likewise.
33964         * string/string.h [__USE_SVID]: Likewise.
33965         [__USE_BSD]: Likewise.
33966         * string/strings.h [__USE_BSD]: Likewise.
33967         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
33968         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
33969         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
33970         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
33971         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
33972         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
33973         Likewise.
33974         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
33975         Likewise.
33976         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
33977         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
33978         Likewise.
33979         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
33980         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
33981         Likewise.
33982         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
33983         Likewise.
33984         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
33985         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
33986         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
33987         Likewise.
33988         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
33989         Likewise.
33990         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
33991         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
33992         * termios/termios.h [__USE_BSD]: Likewise.
33993         * time/sys/time.h [__USE_BSD]: Likewise.
33994         * time/time.h [__USE_BSD]: Likewise.
33995         [__USE_SVID]: Likewise.
33997         * Makefile (subdir_targets): Remove subdir_lint.out.
33999         * stdio-common/Makefile (do-tst-unbputc): Remove target.
34000         (do-tst-printf): Likewise.
34001         (tests): Depend directly on $(objpfx)tst-unbputc.out and
34002         $(objpfx)tst-printf.out.
34004         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
34006         * Makerules (check-abi-%): Change target to
34007         $(objpfx)check-abi-%.out.
34008         (check-abi target): Update dependencies.
34009         (check-abi-pattern variable): Redirect output of diff to $@.
34010         (check-abi variable): Likewise.
34011         * elf/Makefile (check-abi): Update dependencies.
34013         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
34014         unused.
34015         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
34016         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
34017         subnormal range.
34018         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
34019         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
34020         value has largest subnormal exponent.
34021         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
34022         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
34023         * sysdeps/aarch64/soft-fp/sfp-machine.h
34024         (_FP_TININESS_AFTER_ROUNDING): New macro.
34025         * sysdeps/alpha/soft-fp/sfp-machine.h
34026         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34027         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34028         Likewise.
34029         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
34030         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34031         * sysdeps/mips/soft-fp/sfp-machine.h
34032         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34033         * sysdeps/powerpc/soft-fp/sfp-machine.h
34034         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34035         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34036         Likewise.
34037         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
34038         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34039         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
34040         (_FP_TININESS_AFTER_ROUNDING): Likewise.
34041         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
34042         Likewise.
34044 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
34046         [BZ #16545]
34047         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
34048         model 1.
34050 2014-02-12  Richard Henderson  <rth@redhat.com>
34052         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
34053         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
34054         * sysdeps/unix/sysv/linux/alpha: Move directory from
34055         ports/sysdeps/unix/sysv/linux/alpha.
34056         * README: Update listing for alpha-*-linux-gnu.
34058 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
34060         * include/features.h: Update comment documenting feature test
34061         macros.
34062         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
34063         _DEFAULT_SOURCE.
34064         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
34065         (_SVID_SOURCE): Likewise.
34066         (_DEFAULT_SOURCE): Update description of default features.
34067         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
34068         with _GNU_SOURCE.
34069         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
34070         (S_ISVTX): Likewise.
34071         * manual/math.texi (Mathematical Constants): Likewise.
34072         * manual/signal.texi (Interrupted Primitives): Likewise.
34073         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
34074         * math/test-matherr.c (_SVID_SOURCE): Do not define.
34075         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
34076         Don't refer to _SVID_SOURCE in warning text.
34078         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34080         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
34081         already defined.
34082         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
34083         * sysdeps/mips/dl-lookup.c: Remove.
34084         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
34086 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34088         [BZ #16447]
34089         * math/auto-libm-test-in: Add testcase for expl.
34090         * math/auto-libm-test-out: Regenerate.
34091         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
34092         calculation of unsafe.
34093         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
34095 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34097         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
34098         * sysdeps/unix/sysv/linux/aarch64: Move directory from
34099         ports/sysdeps/unix/sysv/linux/aarch64.
34100         * README: Update listing for aarch64*-*-linux-gnu.
34102 2014-02-11  Will Newton  <will.newton@linaro.org>
34104         * manual/probes.texi (Mathematical Function Probes): Use
34105         "triggered" instead of "hit".
34107         * manual/probes.texi (Internal Probes): Add documentation
34108         of setjmp, longjmp and longjmp_target probes.
34110         * include/stap-probe.h: Add comment about probe argument
34111         format.
34113         * malloc/mtrace.c (attribute_hidden): Remove unused macro
34114         definition.  (tr_where, tr_freehook, tr_mallochook,
34115         tr_reallochook, tr_memalignhook): Use ANSI protoype.
34117 2014-02-11  David S. Miller  <davem@davemloft.net>
34119         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
34120         processing int_tests.
34122 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
34124         * sysdeps/mips: Move directory from ports/sysdeps/mips.
34125         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
34126         * sysdeps/unix/sysv/linux/mips: Move directory from
34127         ports/sysdeps/unix/sysv/linux/mips.
34128         * README: Update listing for mips-*-linux-gnu and
34129         mips64-*-linux-gnu.
34131 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
34133         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
34134         * sysdeps/unix/sysv/linux/m68k: Move directory from
34135         ports/sysdeps/unix/sysv/linux/m68k.
34136         * README: Update listing for m68k-*-linux-gnu.
34138 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
34140         * sysdeps/tile: Move directory from ports/sysdeps/tile.
34141         * sysdeps/unix/sysv/linux/generic: Move directory from
34142         ports/sysdeps/unix/sysv/linux/generic.
34143         * sysdeps/unix/sysv/linux/tile: Move directory from
34144         ports/sysdeps/unix/sysv/linux/tile.
34145         * README: Update listing for tile*-*-linux-gnu.
34147 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
34149         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
34150         __builtin_expect.
34151         * benchtests/bench-memmem.c (simple_memmem): Likewise.
34152         * catgets/open_catalog.c (__open_catalog): Likewise.
34153         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
34154         * debug/confstr_chk.c: Likewise.
34155         * debug/fread_chk.c (__fread_chk): Likewise.
34156         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
34157         * debug/getgroups_chk.c: Likewise.
34158         * debug/mbsnrtowcs_chk.c: Likewise.
34159         * debug/mbsrtowcs_chk.c: Likewise.
34160         * debug/mbstowcs_chk.c: Likewise.
34161         * debug/memcpy_chk.c: Likewise.
34162         * debug/memmove_chk.c: Likewise.
34163         * debug/mempcpy_chk.c: Likewise.
34164         * debug/memset_chk.c: Likewise.
34165         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34166         * debug/strcat_chk.c (__strcat_chk): Likewise.
34167         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
34168         * debug/strncat_chk.c (__strncat_chk): Likewise.
34169         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
34170         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
34171         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
34172         * debug/wcpncpy_chk.c: Likewise.
34173         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34174         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
34175         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
34176         * debug/wcsncpy_chk.c: Likewise.
34177         * debug/wcsnrtombs_chk.c: Likewise.
34178         * debug/wcsrtombs_chk.c: Likewise.
34179         * debug/wcstombs_chk.c: Likewise.
34180         * debug/wmemcpy_chk.c: Likewise.
34181         * debug/wmemmove_chk.c: Likewise.
34182         * debug/wmempcpy_chk.c: Likewise.
34183         * debug/wmemset_chk.c: Likewise.
34184         * dirent/scandirat.c (SCANDIRAT): Likewise.
34185         * dlfcn/dladdr1.c (dladdr1): Likewise.
34186         * dlfcn/dladdr.c (dladdr): Likewise.
34187         * dlfcn/dlclose.c (dlclose_doit): Likewise.
34188         * dlfcn/dlerror.c (__dlerror): Likewise.
34189         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
34190         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
34191         * dlfcn/dlopen.c (dlopen_doit): Likewise.
34192         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
34193         * dlfcn/dlsym.c (dlsym_doit): Likewise.
34194         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
34195         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
34196         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
34197         Likewise.
34198         * elf/dl-conflict.c: Likewise.
34199         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34200         * elf/dl-dst.h: Likewise.
34201         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
34202         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
34203         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34204         * elf/dl-init.c (call_init, _dl_init): Likewise.
34205         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
34206         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
34207         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
34208         Likewise.
34209         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
34210         Likewise.
34211         * elf/dl-minimal.c (__libc_memalign): Likewise.
34212         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
34213         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34214         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
34215         * elf/dl-sym.c (do_sym): Likewise.
34216         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
34217         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
34218         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
34219         * elf/dl-writev.h (_dl_writev): Likewise.
34220         * elf/ldconfig.c (search_dir): Likewise.
34221         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
34222         (dl_main): Likewise.
34223         * elf/setup-vdso.h (setup_vdso): Likewise.
34224         * grp/compat-initgroups.c (compat_call): Likewise.
34225         * grp/fgetgrent.c (fgetgrent): Likewise.
34226         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
34227         * grp/putgrent.c (putgrent): Likewise.
34228         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34229         Likewise.
34230         * hurd/hurdinit.c: Likewise.
34231         * iconvdata/8bit-gap.c (struct): Likewise.
34232         * iconvdata/ansi_x3.110.c : Likewise.
34233         * iconvdata/big5.c : Likewise.
34234         * iconvdata/big5hkscs.c : Likewise.
34235         * iconvdata/cp1255.c: Likewise.
34236         * iconvdata/cp1258.c : Likewise.
34237         * iconvdata/cp932.c : Likewise.
34238         * iconvdata/euc-cn.c: Likewise.
34239         * iconvdata/euc-jisx0213.c : Likewise.
34240         * iconvdata/euc-jp.c: Likewise.
34241         * iconvdata/euc-jp-ms.c : Likewise.
34242         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
34243         * iconvdata/gb18030.c : Likewise.
34244         * iconvdata/gbbig5.c (const): Likewise.
34245         * iconvdata/gbgbk.c: Likewise.
34246         * iconvdata/gbk.c : Likewise.
34247         * iconvdata/ibm1364.c : Likewise.
34248         * iconvdata/ibm930.c : Likewise.
34249         * iconvdata/ibm932.c: Likewise.
34250         * iconvdata/ibm933.c : Likewise.
34251         * iconvdata/ibm935.c : Likewise.
34252         * iconvdata/ibm937.c : Likewise.
34253         * iconvdata/ibm939.c : Likewise.
34254         * iconvdata/ibm943.c: Likewise.
34255         * iconvdata/iso_11548-1.c: Likewise.
34256         * iconvdata/iso-2022-cn.c : Likewise.
34257         * iconvdata/iso-2022-cn-ext.c : Likewise.
34258         * iconvdata/iso-2022-jp-3.c: Likewise.
34259         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
34260         * iconvdata/iso-2022-kr.c : Likewise.
34261         * iconvdata/iso646.c (gconv_end): Likewise.
34262         * iconvdata/iso_6937-2.c : Likewise.
34263         * iconvdata/iso_6937.c : Likewise.
34264         * iconvdata/iso8859-1.c: Likewise.
34265         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
34266         * iconvdata/shift_jisx0213.c : Likewise.
34267         * iconvdata/sjis.c : Likewise.
34268         * iconvdata/t.61.c : Likewise.
34269         * iconvdata/tcvn5712-1.c : Likewise.
34270         * iconvdata/tscii.c: Likewise.
34271         * iconvdata/uhc.c : Likewise.
34272         * iconvdata/unicode.c (gconv_end): Likewise.
34273         * iconvdata/utf-16.c (gconv_end): Likewise.
34274         * iconvdata/utf-32.c (gconv_end): Likewise.
34275         * iconvdata/utf-7.c (base64): Likewise.
34276         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34277         * iconv/gconv_close.c (__gconv_close): Likewise.
34278         * iconv/gconv_open.c (__gconv_open): Likewise.
34279         * iconv/gconv_simple.c (internal_ucs4_loop_single)
34280         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
34281         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
34282         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
34283         (ucs4le_internal_loop_single): Likewise.
34284         * iconv/iconv.c (iconv): Likewise.
34285         * iconv/iconv_close.c: Likewise.
34286         * iconv/loop.c (SINGLE): Likewise.
34287         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
34288         * include/atomic.h: Likewise.
34289         * inet/inet6_option.c (option_alloc): Likewise.
34290         * intl/bindtextdom.c (set_binding_values): Likewise.
34291         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
34292         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
34293         * intl/localealias.c (read_alias_file): Likewise.
34294         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
34295         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
34296         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
34297         * libio/fmemopen.c (fmemopen): Likewise.
34298         * libio/iofgets.c (_IO_fgets): Likewise.
34299         * libio/iofgets_u.c (fgets_unlocked): Likewise.
34300         * libio/iofgetws.c (fgetws): Likewise.
34301         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
34302         * libio/iogetdelim.c (_IO_getdelim): Likewise.
34303         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
34304         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
34305         * locale/findlocale.c (_nl_find_locale): Likewise.
34306         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34307         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
34308         Likewise.
34309         * locale/setlocale.c (setlocale): Likewise.
34310         * login/programs/pt_chown.c (main): Likewise.
34311         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
34312         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
34313         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
34314         (mmap, mmap64, mremap, munmap): Likewise.
34315         * math/e_exp2l.c: Likewise.
34316         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
34317         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
34318         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
34319         * math/s_catan.c (__catan): Likewise.
34320         * math/s_catanf.c (__catanf): Likewise.
34321         * math/s_catanh.c (__catanh): Likewise.
34322         * math/s_catanhf.c (__catanhf): Likewise.
34323         * math/s_catanhl.c (__catanhl): Likewise.
34324         * math/s_catanl.c (__catanl): Likewise.
34325         * math/s_ccosh.c (__ccosh): Likewise.
34326         * math/s_ccoshf.c (__ccoshf): Likewise.
34327         * math/s_ccoshl.c (__ccoshl): Likewise.
34328         * math/s_cexp.c (__cexp): Likewise.
34329         * math/s_cexpf.c (__cexpf): Likewise.
34330         * math/s_cexpl.c (__cexpl): Likewise.
34331         * math/s_clog10.c (__clog10): Likewise.
34332         * math/s_clog10f.c (__clog10f): Likewise.
34333         * math/s_clog10l.c (__clog10l): Likewise.
34334         * math/s_clog.c (__clog): Likewise.
34335         * math/s_clogf.c (__clogf): Likewise.
34336         * math/s_clogl.c (__clogl): Likewise.
34337         * math/s_csin.c (__csin): Likewise.
34338         * math/s_csinf.c (__csinf): Likewise.
34339         * math/s_csinh.c (__csinh): Likewise.
34340         * math/s_csinhf.c (__csinhf): Likewise.
34341         * math/s_csinhl.c (__csinhl): Likewise.
34342         * math/s_csinl.c (__csinl): Likewise.
34343         * math/s_csqrt.c (__csqrt): Likewise.
34344         * math/s_csqrtf.c (__csqrtf): Likewise.
34345         * math/s_csqrtl.c (__csqrtl): Likewise.
34346         * math/s_ctan.c (__ctan): Likewise.
34347         * math/s_ctanf.c (__ctanf): Likewise.
34348         * math/s_ctanh.c (__ctanh): Likewise.
34349         * math/s_ctanhf.c (__ctanhf): Likewise.
34350         * math/s_ctanhl.c (__ctanhl): Likewise.
34351         * math/s_ctanl.c (__ctanl): Likewise.
34352         * math/w_pow.c: Likewise.
34353         * math/w_powf.c: Likewise.
34354         * math/w_powl.c: Likewise.
34355         * math/w_scalb.c (sysv_scalb): Likewise.
34356         * math/w_scalbf.c (sysv_scalbf): Likewise.
34357         * math/w_scalbl.c (sysv_scalbl): Likewise.
34358         * misc/error.c (error_tail): Likewise.
34359         * misc/pselect.c (__pselect): Likewise.
34360         * nis/nis_callback.c (__nis_create_callback): Likewise.
34361         * nis/nis_call.c (__nisfind_server): Likewise.
34362         * nis/nis_creategroup.c (nis_creategroup): Likewise.
34363         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
34364         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
34365         * nis/nis_getservlist.c (nis_getservlist): Likewise.
34366         * nis/nis_lookup.c (nis_lookup): Likewise.
34367         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
34368         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
34369         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
34370         * nis/nis_xdr.c (xdr_endpoint): Likewise.
34371         * nis/nss_compat/compat-grp.c (getgrent_next_file)
34372         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
34373         * nis/nss_compat/compat-initgroups.c (add_group)
34374         (internal_getgrent_r): Likewise.
34375         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
34376         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
34377         * nis/nss_compat/compat-spwd.c (getspent_next_file)
34378         (internal_getspnam_r): Likewise.
34379         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
34380         (_nss_nis_getaliasbyname_r): Likewise.
34381         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
34382         (_nss_nis_getntohost_r): Likewise.
34383         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
34384         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
34385         (_nss_nis_getgrgid_r): Likewise.
34386         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
34387         (internal_nis_gethostent_r, internal_gethostbyname2_r)
34388         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
34389         (_nss_nis_gethostbyname4_r): Likewise.
34390         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
34391         (initgroups_netid): Likewise.
34392         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
34393         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
34394         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
34395         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
34396         (_nss_nis_getprotobynumber_r): Likewise.
34397         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
34398         (_nss_nis_getsecretkey): Likewise.
34399         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
34400         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
34401         (_nss_nis_getpwuid_r): Likewise.
34402         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
34403         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
34404         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
34405         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
34406         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
34407         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
34408         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
34409         Likewise.
34410         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
34411         (_nss_nisplus_getntohost_r): Likewise.
34412         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
34413         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
34414         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
34415         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
34416         Likewise.
34417         * nis/nss_nisplus/nisplus-initgroups.c
34418         (_nss_nisplus_initgroups_dyn): Likewise.
34419         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
34420         (_nss_nisplus_getnetbyaddr_r): Likewise.
34421         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
34422         (_nss_nisplus_getprotobynumber_r): Likewise.
34423         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
34424         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
34425         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
34426         Likewise.
34427         * nis/nss_nisplus/nisplus-service.c
34428         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
34429         (_nss_nisplus_getservbyport_r): Likewise.
34430         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
34431         (_nss_nisplus_getspnam_r): Likewise.
34432         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
34433         Likewise.
34434         * nscd/aicache.c (addhstaiX): Likewise.
34435         * nscd/cache.c (cache_search, prune_cache): Likewise.
34436         * nscd/connections.c (register_traced_file, send_ro_fd)
34437         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
34438         (main_loop_epoll): Likewise.
34439         * nscd/grpcache.c (addgrbyX): Likewise.
34440         * nscd/hstcache.c (addhstbyX): Likewise.
34441         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34442         * nscd/mem.c (gc, mempool_alloc): Likewise.
34443         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
34444         (addinnetgrX): Likewise.
34445         * nscd/nscd-client.h (__nscd_acquire_maplock)
34446         (__nscd_drop_map_ref): Likewise.
34447         * nscd/nscd_getai.c (__nscd_getai): Likewise.
34448         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34449         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
34450         Likewise.
34451         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34452         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34453         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
34454         (__nscd_get_map_ref): Likewise.
34455         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34456         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
34457         Likewise.
34458         * nscd/pwdcache.c (addpwbyX): Likewise.
34459         * nscd/selinux.c (preserve_capabilities): Likewise.
34460         * nscd/servicescache.c (addservbyX): Likewise.
34461         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
34462         * posix/fnmatch.c (fnmatch): Likewise.
34463         * posix/getopt.c (_getopt_internal_r): Likewise.
34464         * posix/glob.c (glob, glob_in_dir): Likewise.
34465         * posix/wordexp.c (exec_comm_child): Likewise.
34466         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
34467         (getanswer_r, gaih_getanswer_slice): Likewise.
34468         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
34469         * resolv/res_init.c: Likewise.
34470         * resolv/res_mkquery.c (res_nmkquery): Likewise.
34471         * resolv/res_query.c (__libc_res_nquery): Likewise.
34472         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
34473         Likewise.
34474         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
34475         * stdio-common/perror.c (perror): Likewise.
34476         * stdio-common/printf_fp.c (___printf_fp): Likewise.
34477         * stdio-common/tmpnam.c (tmpnam): Likewise.
34478         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34479         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
34480         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34481         Likewise.
34482         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
34483         * stdlib/putenv.c (putenv): Likewise.
34484         * stdlib/setenv.c (__add_to_environ): Likewise.
34485         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34486         * stdlib/strtol_l.c (INTERNAL): Likewise.
34487         * string/memmem.c (memmem): Likewise.
34488         * string/strerror.c (strerror): Likewise.
34489         * string/strnlen.c (__strnlen): Likewise.
34490         * string/test-memmem.c (simple_memmem): Likewise.
34491         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
34492         * sunrpc/pm_getport.c (__get_socket): Likewise.
34493         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
34494         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
34495         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
34496         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
34497         Likewise.
34498         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
34499         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
34500         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34501         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
34502         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34503         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
34504         Likewise.
34505         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
34506         Likewise.
34507         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34508         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34509         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34510         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34511         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
34512         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
34513         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34514         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
34515         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34516         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
34517         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34518         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
34519         Likewise.
34520         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
34521         Likewise.
34522         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
34523         Likewise.
34524         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
34525         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34526         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
34527         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
34528         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
34529         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
34530         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34531         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
34532         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
34533         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
34534         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
34535         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34536         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
34537         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
34538         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34539         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34540         Likewise.
34541         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
34542         Likewise.
34543         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
34544         Likewise.
34545         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
34546         Likewise.
34547         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34548         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34549         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
34550         Likewise.
34551         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
34552         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
34553         * sysdeps/posix/opendir.c (__opendirat): Likewise.
34554         * sysdeps/posix/sleep.c: Likewise.
34555         * sysdeps/posix/tempname.c: Likewise.
34556         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
34557         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
34558         Likewise.
34559         * sysdeps/powerpc/powerpc32/dl-machine.h
34560         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
34561         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
34562         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34563         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
34564         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
34565         Likewise.
34566         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
34567         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
34568         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34569         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
34570         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34571         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
34572         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
34573         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
34574         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34575         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
34576         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
34577         (elf_machine_lazy_rel): Likewise.
34578         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34579         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
34580         (elf_machine_lazy_rel): Likewise.
34581         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
34582         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
34583         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
34584         * sysdeps/unix/grantpt.c (grantpt): Likewise.
34585         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
34586         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
34587         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34588         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34589         Likewise.
34590         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
34591         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
34592         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
34593         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
34594         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34595         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34596         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
34597         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
34598         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
34599         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34600         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34601         Likewise.
34602         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
34603         (__posix_fallocate64_l64): Likewise.
34604         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
34605         (posix_fallocate): Likewise.
34606         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
34607         Likewise.
34608         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34609         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
34610         (getifaddrs_internal): Likewise.
34611         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
34612         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
34613         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
34614         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
34615         * sysdeps/unix/sysv/linux/posix_fallocate64.c
34616         (__posix_fallocate64_l64): Likewise.
34617         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
34618         Likewise.
34619         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
34620         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
34621         (__get_clockfreq): Likewise.
34622         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
34623         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
34624         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
34625         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34626         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34627         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
34628         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
34629         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
34630         Likewise.
34631         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
34632         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
34633         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
34634         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
34635         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34636         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
34637         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
34638         Likewise.
34639         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34640         (posix_fallocate): Likewise.
34641         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34642         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
34643         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
34644         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
34645         (elf_machine_rela, elf_machine_rela_relative)
34646         (elf_machine_lazy_rel): Likewise.
34647         * time/asctime.c (asctime_internal): Likewise.
34648         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
34649         * time/tzset.c (__tzset_parse_tz): Likewise.
34650         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34651         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
34652         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
34653         * wcsmbs/wcsmbsload.h: Likewise.
34655         [BZ #15894]
34656         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
34658         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
34659         (arena_get2): Remove THREAD_STATS conditionals.
34660         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
34661         (__malloc_stats, int): Likewise.
34663 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
34665         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
34666         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
34668         * manual/setjmp.texi: Fix typos/grammar errors.
34670         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
34671         Only return early when n is <= 0.  Delete unused return statement.
34673         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
34674         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
34675         * debug/tst-longjmp_chk3.c: New file.
34677         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
34678         (test_main): Replace code with set_fortify_handler call.
34679         * debug/test-strcpy_chk.c: Likewise.
34680         * debug/tst-chk1.c: Likewise.
34681         * debug/tst-longjmp_chk.c: Likewise.
34682         * test-skeleton.c: Include fcntl.h & paths.h
34683         (set_fortify_handler): Define.
34685         * debug/tst-longjmp_chk.c: Add header comment and include
34686         ../test-skeleton.c.
34687         (do_test): Mark static.
34688         (TEST_FUNCTION): Define.
34690         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
34691         (IP_PMTUDISC_INTERFACE): Likewise.
34692         (IP_MULTICAST_IF): Likewise.
34693         (IP_MULTICAST_TTL): Likewise.
34694         (IP_MULTICAST_LOOP): Likewise.
34695         (IP_ADD_MEMBERSHIP): Likewise.
34696         (IP_DROP_MEMBERSHIP): Likewise.
34697         (IP_UNBLOCK_SOURCE): Likewise.
34698         (IP_BLOCK_SOURCE): Likewise.
34699         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
34700         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
34701         (IP_MSFILTER): Likewise.
34702         (MCAST_JOIN_GROUP): Likewise.
34703         (MCAST_BLOCK_SOURCE): Likewise.
34704         (MCAST_UNBLOCK_SOURCE): Likewise.
34705         (MCAST_LEAVE_GROUP): Likewise.
34706         (MCAST_JOIN_SOURCE_GROUP): Likewise.
34707         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
34708         (MCAST_MSFILTER): Likewise.
34709         (IP_MULTICAST_ALL): Likewise.
34710         (IP_UNICAST_IF): Likewise.
34712         * timezone/Makefile: Delete $(have-ksh) check.
34713         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
34714         * timezone/tzselect.ksh: Add +x mode bits.
34716         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
34717         (ANON_INODE_FS_MAGIC): Likewise.
34718         (BDEVFS_MAGIC): Likewise.
34719         (BINFMTFS_MAGIC): Likewise.
34720         (BTRFS_TEST_MAGIC): Likewise.
34721         (CRAMFS_MAGIC_WEND): Likewise.
34722         (DEBUGFS_MAGIC): Likewise.
34723         (ECRYPTFS_SUPER_MAGIC): Likewise.
34724         (EXT3_SUPER_MAGIC): Likewise.
34725         (EXT4_SUPER_MAGIC): Likewise.
34726         (FUTEXFS_SUPER_MAGIC): Likewise.
34727         (HOSTFS_SUPER_MAGIC): Likewise.
34728         (HUGETLBFS_MAGIC): Likewise.
34729         (MINIX3_SUPER_MAGIC): Likewise.
34730         (MTD_INODE_FS_MAGIC): Likewise.
34731         (NILFS_SUPER_MAGIC): Likewise.
34732         (OPENPROM_SUPER_MAGIC): Likewise.
34733         (PIPEFS_MAGIC): Likewise.
34734         (PSTOREFS_MAGIC): Likewise.
34735         (QNX6_SUPER_MAGIC): Likewise.
34736         (RAMFS_MAGIC): Likewise.
34737         (REISERFS_SUPER_MAGIC_STRING): Likewise.
34738         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
34739         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
34740         (SECURITYFS_MAGIC): Likewise.
34741         (SELINUX_MAGIC): Likewise.
34742         (SMACK_MAGIC): Likewise.
34743         (SOCKFS_MAGIC): Likewise.
34744         (SQUASHFS_MAGIC): Likewise.
34745         (STACK_END_MAGIC): Likewise.
34746         (TMPFS_MAGIC): Likewise.
34747         (USBDEVICE_SUPER_MAGIC): Likewise.
34748         (V9FS_MAGIC): Likewise.
34749         (XENFS_SUPER_MAGIC): Likewise.
34750         (CRAMFS_MAGIC): Fix typo in comment.
34751         (EXT2_SUPER_MAGIC): Update comment.
34752         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
34754 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
34756         * sysdeps/arm: Move directory from ports/sysdeps/arm.
34757         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
34758         * sysdeps/unix/sysv/linux/arm: Move directory from
34759         ports/sysdeps/unix/sysv/linux/arm.
34760         * README: Update listing for arm-*-linux-gnueabi.
34762         * README: Remove mention of am33.
34764 2014-02-07  Roland McGrath  <roland@hack.frob.com>
34766         * bits/sigset.h (__sigemptyset): Use a statement expression rather
34767         than the comma operator, to avoid "rhs of comma has no effect"
34768         compiler warnings.
34769         (__sigfillset, __sigandset, __sigorset): Likewise.
34770         * include/signal.h (__sigemptyset): Likewise.
34771         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
34773 2014-02-07  Allan McRae  <allan@archlinux.org>
34775         * version.h (RELEASE): Set to "development".
34776         (VERSION): Set to "2.19.90"
34777         * NEWS: Add 2.20 section.
34779 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
34781         [BZ #16529]
34782         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
34784 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34786         * manual/contrib.texi: Update entry for Carlos O'Donell,
34787         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
34789 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
34791         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
34793         * sysdeps/unix/sysv/linux/kernel-features.h
34794         [__LINUX_KERNEL_VERSION >= 0x020621]
34795         (__ASSUME_PROC_PID_TASK_COMM): Define.
34797 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34799         [BZ #16398]
34800         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
34801         conversion when destination buffer does not have enough space.
34802         * libio/tst-ftell-partial-wide.c: New test case.
34803         * libio/Makefile (tests): Add tst-ftell-partial-wide.
34805         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
34806         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
34807         Leonard and Allan McRae.
34809 2014-02-04  David S. Miller  <davem@davemloft.net>
34811         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
34812         32-bit.
34814 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34817         New file
34818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34819         New file
34820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34821         New file.
34822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34823         New file.
34824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34825         New file.
34826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34827         New file.
34828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34829         New file.
34830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34831         New file.
34832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34833         New file.
34834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34835         New file.
34836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34837         New file.
34838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34839         New file.
34840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34841         New file.
34843 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34845         * nptl/shlib-versions: Change powerpc*le start to 2.17.
34846         * shlib-versions: Likewise.
34848 2014-02-04  Roland McGrath  <roland@hack.frob.com>
34849             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34851         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
34852         (abilist-pattern): New variable, set to %-le.abilist.
34854         * Makerules (abilist-pattern): New variable.
34855         (vpath): Use $(abilist-pattern) in place of %.abilist.
34856         (check-abi-% pattern rule): Likewise.
34857         (check-abi, update-abi): Likewise.
34859 2014-02-04  Eric Wong  <normalperson@yhbt.net>
34861         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34863 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
34865         * manual/startup.texi: Add next, previous, and top entries for
34866         the `Program Arguments' and `Environment Variables' nodes.
34868 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
34870         * manual/macros.texi: Add comments before MTASC-safety macros.
34872         * manual/users.texi: Document MTASC-safety properties.
34874         * manual/threads.texi (pthread_key_create, pthread_key_delete)
34875         (pthread_getspecific, pthread_setspecific): Format with
34876         @deftypefun, and add @safety note.
34877         * manual/signal.texi: Move comments that analyze the above
34878         functions to their home place.
34880 2014-02-03  Allan McRae  <allan@archlinux.org>
34882         * po/sl.po: Update Slovenian translation from translation project.
34884 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
34886         * manual/time.texi (timegm): Add missing blank after @c.
34887         Reported by Joseph Myers <joseph@codesourcery.com>.
34889 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
34891         * manual/check-safety.sh: New.
34892         * manual/Makefile ($(objpfx)stamp-summary): Run it.
34894         * manual/terminal.texi: Document MTASC-safety properties.
34896         * manual/filesys.texi: Document MTASC-safety properties.
34898         * manual/errno.texi: Document MTASC-safety properties.
34900         * manual/intro.texi: Document safety identifiers and
34901         conditionals.
34903         * manual/string.texi (wcstok): Fix prototype.
34904         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
34906         * manual/time.texi: Document MTASC-safety properties.
34908         * manual/string.texi: Document MTASC-safety properties.
34910         * manual/threads.texi: Document MTASC-safety properties.
34912         * manual/stdio.texi: Document MTASC-safety properties.
34914         * manual/syslog.texi: Document MTASC-safety properties.
34916         * manual/sysinfo.texi: Document MTASC-safety properties.
34918         * manual/startup.texi: Document MTASC-safety properties.
34920         * manual/socket.texi: Document MTASC-safety properties.
34922         * manual/signal.texi: Document MTASC-safety properties.
34924 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
34926         * manual/setjmp.texi: Document MTASC-safety properties.
34928         * manual/search.texi: Document MTASC-safety properties.
34930         * manual/resource.texi: Document MTASC-safety properties.
34932         * manual/process.texi: Document MTASC-safety properties.
34934         * manual/platform.texi: Document MTASC-safety properties.
34936         * manual/pipe.texi: Document MTASC-safety properties.
34938         * manual/pattern.texi: Document MTASC-safety properties.
34940         * manual/message.texi: Document MTASC-safety properties.
34942         [BZ #12751]
34943         * manual/memory.texi: Document MTASC-safety properties.
34945         * manual/math.texi: Document MTASC-safety properties.
34947         * manual/locale.texi: Document MTASC-safety properties.
34949         * manual/llio.texi: Document MTASC-safety properties.
34951         * manual/libdl.texi: New.
34953         * manual/lang.texi: Document MTASC-safety properties.
34955         * manual/job.texi: Document MTASC-safety properties.
34957         * manual/getopt.texi: Document MTASC-safety properties.
34959         * manual/ctype.texi: Document MTASC-safety properties.
34961 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
34963         [BZ #16046]
34964         * csu/libc-tls.c (static_map): Remove variable.
34965         (__libc_setup_tls): Use main executable's link map for TLS data.
34966         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
34967         casing for LM_ID_BASE and GL(dl_nns).
34968         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
34969         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
34970         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
34971         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
34972         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
34973         member.
34974         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
34975         l_phnum members.
34977 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
34979         * manual/debug.texi: Document MTASC-safety properties.
34981 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
34983         [BZ #16510]
34984         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
34985         of __x86_64__ when disabling x87 inline functions.
34987 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
34989         * manual/charset.texi: Document MTASC-safety properties.
34991         * manual/crypt.texi: Document MTASC-safety properties.
34993         * manual/conf.texi: Document MTASC-safety properties.
34995         * manual/arith.texi: Document MTASC-safety properties.
34997         * manual/argp.texi: Document MTASC-safety properties.
34999         * manual/macros.texi: Introduce macros to document multi
35000         thread, asynchronous signal and asynchronous cancellation
35001         safety properties.
35002         * manual/intro.texi: Introduce the properties themselves.
35004 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35006         * sysdeps/sh/sh4/Makefile: New file.
35008 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
35010         * math/gen-libm-test.pl ($srcdir): New variable.
35011         ($auto_input): Use it.
35013 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35015         [BZ #16506]
35016         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
35017         access beyond array bounds when parsing netgroups file.
35019         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
35020         the old buffer before realloc.
35022 2014-01-27  Allan McRae  <allan@archlinux.org>
35024         * po/fr.po: Update French translation from translation project.
35026 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35028         * sysdeps/sh/libm-test-ulps: Regenerate.
35030 2014-01-24  David S. Miller  <davem@davemloft.net>
35032         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
35034 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35036         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
35037         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
35039 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35041         [BZ #16474]
35042         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
35043         string pointers after reallocation.
35045 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35047         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
35048         __SH4A__ instead of __SH_FPU_ANY__.
35050 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35052         * sysdeps/sh/fpu_control.h: New file.
35053         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
35054         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
35055         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
35056         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
35057         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
35058         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
35059         * sysdeps/sh/sys/ucontext.h: Remove.
35060         * sysdeps/sh/sys: Remove directory.
35062 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35064         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
35065         s390/sys/ucontext.h.
35066         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
35067         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
35069 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
35071         [BZ #15605]
35072         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
35074 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35076         [BZ#16431]
35077         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35078         Adjust the vDSO correctly for internal calls.
35079         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
35081 2014-01-20  Allan McRae  <allan@archlinux.org>
35083         * po/ca.po: Update Catalan translation from translation project.
35085 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
35087         * sysdeps/s390/sotruss-lib.c: New file.
35089 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35091         [BZ#16430]
35092         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
35093         (__GI___gettimeofday): Alias for a different internal symbol to avoid
35094         local calls issues by not having a PLT stub required for IFUNC calls.
35095         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
35097 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
35099         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
35100         * math/test-fpucw-static.c: Likewise.
35102 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35104         [BZ #16453]
35105         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
35107 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35109         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
35110         implementation for powerpc.
35112 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
35114         [BZ #14782]
35115         * sysdeps/posix/system.c (__libc_system): Do not enable
35116         asynchronous cancellation.
35118 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35120         [BZ #16427]
35121         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
35122         handling only for numbers special also in the IEEE case.
35124 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35126         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35128 2014-01-11  Allan McRae  <allan@archlinux.org>
35130         * po/bg.po: Update Bulgarian translation from translation project.
35132         * po/de.po: Update German translation from translation project.
35134 2014-01-10  Roland McGrath  <roland@hack.frob.com>
35136         * sysdeps/generic/gcc-compat.h: New file.
35138 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35140         * benchtests/asin-inputs: Correct slow inputs.
35141         * benchtests/acos-inputs: Likewise.
35143 2014-01-10  Allan McRae  <allan@archlinux.org>
35145         * po:sv.po: Update Swedish translation from translation project.
35147         * po/vi.po: Update Vietnamese translation from translation project.
35149         * po/eo.po: Update Esperanto translation from translation project.
35151         * po/cs.po: Update Czech translation from translation project.
35153         * po/nl.po: Update Dutch translation from translation project.
35155         * po/pl.po: Update Polish translation from translation project.
35157         * po/ru.po: Update Russian translation from translation project.
35159         * po/uk.po: Update Ukrainian translation from translation project.
35161 2014-01-08  Brooks Moses  <bmoses@google.com>
35163         * elf/dl-load.c: Fix comment typo.
35165 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
35167         * po/header.pot: Rename to...
35168         * po/pot.header: ... this.
35169         * po/Makefile: Use pot.header.
35171 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
35172             Maxim Kuvyrkov  <maxim@kugelworks.com>
35174         [BZ #16394]
35175         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
35176         SRC and DEST against LEN.
35178 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35180         [BZ #16414]
35181         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
35182         implementation.
35183         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
35185 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35187         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35189 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
35191         [BZ #16408]
35192         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
35193         for large positive arguments.
35195 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
35197         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35199         * math/auto-libm-test-in: Mark various tests with
35200         xfail-rounding:ldbl-128ibm.
35201         * math/auto-libm-test-out: Regenerated.
35203         [BZ #16407]
35204         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
35205         Increase overflow threshold.
35207 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
35209         [BZ #14286]
35210         * stdio-common/vfprintf.c: Check for integer overflow.
35212 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35214         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
35215         the first argument and return value of __tls_get_addr_internal.
35217 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35219         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
35220         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
35222 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35224         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
35225         * sysdeps/s390/rtld-global-offsets.sym: New file.
35226         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
35227         GLIBC_2.19 symbol.
35228         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
35229         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
35230         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35231         ... this.
35232         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
35233         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35234         ... this.
35235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35236         Regenerate.
35237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35238         Regenerate.
35239         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
35240         halfs of GPRs for high_gprs contexts.
35241         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
35242         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
35243         field.
35244         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
35245         uc_flags field.
35246         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
35247         64 bit versions:
35248         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
35249         for high GPRs (uc_high_gprs) and for future extensions
35250         (__reserved).
35251         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
35252         for future extensions (__reserved).
35253         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
35254         64 bit versions:
35255         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
35256         SC_HIGHGPRS offset definition.
35257         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
35258         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
35260         * Versions.def: Add GLIBC_2.19 for libpthread.
35261         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
35262         siglongjmp for libpthread with GLIBC_2.19 symver.
35263         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
35264         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
35265         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
35266         * sysdeps/s390/__longjmp.c: New file.
35267         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
35268         * sysdeps/s390/longjmp.c: New file.
35269         * sysdeps/s390/setjmp.S: New file.
35270         * sysdeps/s390/sigjmp.S: New file.
35271         * sysdeps/s390/v1-longjmp.c: New file.
35272         * sysdeps/s390/v1-setjmp.h: New file.
35273         * sysdeps/s390/v1-sigjmp.c: New file.
35274         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
35275         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
35276         GLIBC_2.19 version.
35277         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
35278         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
35279         versioned symbols for ____longjmp_chk.
35280         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35281         Likewise.
35282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35283         Regenerate.
35284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35285         Regenerate.
35286         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35287         Regenerate.
35288         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35289         Regenerate.
35290         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
35291         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
35292         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
35293         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
35294         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
35295         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
35296         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
35297         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
35298         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
35299         * sysdeps/s390/rtld-__longjmp.c: New file.
35300         * sysdeps/s390/rtld-setjmp.S: New file.
35302 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
35304         [BZ #16400]
35305         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35306         Return -__logl (x) for small positive arguments without evaluating
35307         a polynomial.
35309 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
35311         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
35312         Rename to ...
35313         (__ptrace_peeksiginfo_args): ... this.
35314         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35315         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35316         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35318 2014-01-06  Allan McRae  <allan@archlinux.org>
35320         * inet/netinet/in.h: Fix typo in comment.
35322 2014-01-05  Andreas Jaeger  <aj@suse.de>
35324         * sysdeps/i386/fpu/libm-test-ulps: Update.
35326 2014-01-05  Allan McRae  <allan@archlinux.org>
35328         * po/libc.pot: Regenerated.
35330         * malloc/memusagestat.c: Fix gettext call formatting.
35332 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
35334         * nscd/nscd.c: Improve usage() output.
35336 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
35338         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
35339         * sysdeps/unix/sysv/linux/configure: Regenerated.
35340         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
35341         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
35343 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
35345         [BZ #16390]
35346         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
35347         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
35349 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35351         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
35352         extra tokens at end of #undef directive.
35353         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
35354         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
35355         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
35357 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
35359         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35361         * math/auto-libm-test-in: Mark various tests with
35362         xfail-rounding:ldbl-128ibm.
35363         * math/auto-libm-test-out: Regenerated.
35365 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
35367         [BZ #16386]
35368         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
35369         numbers with subnormal high part when calculating exponent.
35371         [BZ #16385]
35372         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
35373         fabs.
35375         [BZ #16384]
35376         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
35377         M_LN2l.
35378         (__ieee754_acoshl): Use __log1pl not __log1p.
35380 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
35382         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
35383         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
35384         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
35385         (grow_heap, heap_trim, _int_new_arena, get_free_list)
35386         (reused_arena, arena_get2): Convert to GNU style.
35387         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
35388         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
35389         (memalign_check, __malloc_set_state): Likewise.
35390         * malloc/mallocbug.c (main): Likewise.
35391         * malloc/malloc.c (__malloc_assert, malloc_init_state)
35392         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
35393         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
35394         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
35395         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
35396         (__posix_memalign, malloc_info): Likewise.
35397         * malloc/malloc.h: Likewise.
35398         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
35399         (mallochook, memalignhook, reallochook, mabort): Likewise.
35400         * malloc/mcheck.h: Likewise.
35401         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
35402         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
35403         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
35404         * malloc/morecore.c (__default_morecore): Likewise.
35405         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
35406         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
35407         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
35408         (print_and_abort): Likewise.
35409         * malloc/obstack.h: Likewise.
35410         * malloc/set-freeres.c (__libc_freeres): Likewise.
35411         * malloc/tst-mallocstate.c (main): Likewise.
35412         * malloc/tst-mtrace.c (main): Likewise.
35413         * malloc/tst-realloc.c (do_test): Likewise.
35415 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35417         [BZ #16366]
35418         * nscd/netgroupcache.c (do_notfound): New function.
35419         (addgetnetgrentX): Use it.
35421         [BZ # 16365]
35422         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
35423         NSS_STATUS_NOTFOUND.
35425 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
35427         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35430 2014-01-01  Allan McRae  <allan@archlinux.org>
35432         * scripts/update-copyrights: Update configure input file suffix.
35434         * NEWS: Update copyright year.
35435         * catgets/gencat.c: Likewise.
35436         * csu/version.c: Likewise.
35437         * debug/catchsegv.sh: Likewise.
35438         * debug/pcprofiledump.c: Likewise.
35439         * debug/xtrace.sh: Likewise.
35440         * elf/ldconfig.c: Likewise.
35441         * elf/ldd.bash.in: Likewise.
35442         * elf/pldd.c: Likewise.
35443         * elf/sotruss.ksh: Likewise.
35444         * elf/sprof.c: Likewise.
35445         * iconv/iconv_prog.c: Likewise.
35446         * iconv/iconvconfig.c: Likewise.
35447         * locale/programs/locale.c: Likewise.
35448         * locale/programs/localedef.c: Likewise.
35449         * login/programs/pt_chown.c: Likewise.
35450         * malloc/memusage.sh: Likewise.
35451         * malloc/memusagestat.c: Likewise.
35452         * malloc/mtrace.pl: Likewise.
35453         * manual/libc.texinfo: Likewise.
35454         * nscd/nscd.c: Likewise.
35455         * nss/getent.c: Likewise.
35456         * nss/makedb.c: Likewise.
35457         * posix/getconf.c: Likewise.
35458         * scripts/test-installation.pl: Likewise.
35460         * All files with FSF copyright notices: Update copyright dates
35461         using scripts/update-copyrights.
35462         * intl/plural.c: Regenerated.
35463         * locale/programs/charmap-kw.h: Likewise.
35464         * locale/programs/locfile-kw.h: Likewise.
35466 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
35468         * sysdeps/unix/sysv/linux/configure: Regenerated.
35469         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
35470         the linux/fanotify.h header.
35471         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
35472         HAVE_LINUX_FANOTIFY_H is defined.
35474 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35476         * benchtests/cos-inputs: New inputs.
35477         * benchtests/sin-inputs: Likewise.
35479         * benchtests/atan-inputs: New inputs. Fix name of multiple
35480         precision fallback inputs.
35482         * benchtests/atanh-inputs: New inputs.
35483         * benchtests/tanh-inputs: Likewise.
35485         * benchtests/acosh-inputs: New inputs.
35486         * benchtests/asinh-inputs: Likewise.
35488         * benchtests/cosh-inputs: New inputs.
35489         * benchtests/sinh-inputs: Likewise.
35491         * benchtests/acos-inputs: Add more inputs.
35492         * benchtests/asin-inputs: Likewise.
35494 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
35496         [BZ #16375]
35497         * manual/arith.texi: Fix spelling.
35498         * manual/charset.texi: Likewise.
35499         * manual/errno.texi: Likewise.
35500         * manual/filesys.texi: Likewise.
35501         * manual/lang.texi: Likewise.
35502         * manual/llio.texi: Likewise.
35503         * manual/locale.texi: Likewise.
35504         * manual/message.texi: Likewise.
35505         * manual/resource.texi: Likewise.
35506         * manual/search.texi: Likewise.
35507         * manual/setjmp.texi: Likewise.
35508         * manual/stdio.texi: Likewise.
35509         * manual/string.texi: Likewise.
35510         * manual/sysinfo.texi: Likewise.
35511         * manual/time.texi: Likewise.
35513 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
35515         * po/sl.po: New file.
35517 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
35519         * .gitignore: Add core/.gdbinit/.gdb_history.
35521 2013-12-27  Allan McRae  <allan@archlinux.org>
35523         [BZ #16369]
35524         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
35525         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
35527 2013-12-24  Brooks Moses  <bmoses@google.com>
35529         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
35530         all compilers that claim C++98 compliance, not just GCC.
35531         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
35532         Likewise.
35534 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
35536         * NEWS: Restore accidentally deleted bug-fix entries.
35538 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
35539             Ondřej Bílka  <neleai@seznam.cz>
35541         [BZ #15073]
35542         * malloc/malloc.c (_int_free): Perform sanity check only if we
35543         have_lock.
35545 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
35547         [BZ #12986]
35548         * manual/stdio.texi (String Input Conversions): Clarify that character
35549         classes are not supported.
35551 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35555 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
35557         [BZ #16337]
35558         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35559         Calculate results for small negative arguments directly rather
35560         than using reflection formula with special underflow handling.
35562         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
35563         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
35564         sysdeps/unix/bsd/bsd4.4/syscalls.list.
35565         (fchflags): Likewise.
35566         (revoke): Likewise.
35567         (setlogin): Likewise.
35568         (sigaltstack): Likewise.
35569         (wait4): Likewise.
35570         (sigblock): Remove.
35571         (sigsetmask): Likewise.
35572         (wait3): Likewise.
35573         (waitpid): Likewise.
35574         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
35575         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
35576         file.
35577         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
35578         * sysdeps/unix/bsd/Makefile: ... here.
35579         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
35580         * sysdeps/unix/bsd/Versions: ... here.
35581         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
35582         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
35583         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
35584         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
35585         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
35586         * sysdeps/unix/bsd/sigblock.c: ... here.
35587         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
35588         * sysdeps/unix/bsd/sigsetmask.c: ... here.
35589         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
35590         * sysdeps/unix/bsd/sigvec.c: ... here.
35591         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
35592         * sysdeps/unix/bsd/tcdrain.c: ... here.
35593         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
35594         * sysdeps/unix/bsd/tcgetattr.c: ... here.
35595         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
35596         * sysdeps/unix/bsd/tcsetattr.c: ... here.
35597         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
35598         * sysdeps/unix/bsd/wait.c: ... here.
35599         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
35600         * sysdeps/unix/bsd/wait3.c: ... here.
35601         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
35602         * sysdeps/unix/bsd/waitpid.c: ... here.
35604 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
35606         [BZ #16356]
35607         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
35608         round-to-nearest for [!USE_AS_EXPM1L].
35609         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
35610         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
35611         more tests of exp and exp10.  Expect some exp10 tests to miss
35612         exceptions or fail in directed rounding modes.
35613         * math/auto-libm-test-out: Regenerated.
35614         * math/libm-test.inc (exp10_tonearest_test_data): New array.
35615         (exp10_test_tonearest): New function.
35616         (exp10_towardzero_test_data): New array.
35617         (exp10_test_towardzero): New function.
35618         (exp10_downward_test_data): New array.
35619         (exp10_test_downward): New function.
35620         (exp10_upward_test_data): New array.
35621         (exp10_test_upward): New function.
35622         (main): Call the new functions.
35623         * sysdeps/i386/fpu/libm-test-ulps: Update.
35624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35626 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
35628         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
35629         asinh, atan, atan2, atanh, cbrt, cos and cosh.
35630         * math/auto-libm-test-out: Regenerated.
35631         * math/libm-test.inc (acosh_test_data): Add more tests.
35632         (atanh_test_data): Likewise.
35633         (ceil_test_data): Likewise.
35634         (copysign_test_data): Likewise.
35635         * sysdeps/i386/fpu/libm-test-ulps: Update.
35636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35638         * timezone/checktab.awk: Update from tzcode 2013i.
35639         * timezone/private.h: Likewise.
35640         * timezone/scheck.c: Likewise.
35641         * timezone/tzfile.h: Likewise.
35642         * timezone/tzselect.ksh: Likewise.
35643         * timezone/zdump.c: Likewise.
35644         * timezone/zic.c: Likewise.
35646         * math/auto-libm-test-in: Add tests of cpow.
35647         * math/auto-libm-test-out: Regenerated.
35648         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
35649         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35650         mpc_cc_c.
35651         (func_calc_desc): Add mpc_cc_c union field.
35652         (test_functions): Add cpow.
35653         (special_fill_2pi): New function.
35654         (special_real_inputs): Add 2pi.
35655         (calc_generic_results): Handle mpc_cc_c.
35656         * sysdeps/i386/fpu/libm-test-ulps: Update.
35657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35659         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
35660         csqrt, ctan and ctanh.
35661         * math/auto-libm-test-out: Regenerated.
35662         * math/libm-test.inc (TEST_COND_x86_64): New macro.
35663         (TEST_COND_x86): Likewise.
35664         (ccos_test_data): Use AUTO_TESTS_c_c.
35665         (ccosh_test_data): Likewise.
35666         (cexp_test_data): Likewise.
35667         (clog_test_data): Likewise.
35668         (csqrt_test_data): Likewise.
35669         (ctan_test_data): Likewise.
35670         (ctan_tonearest_test_data): Likewise.
35671         (ctan_towardzero_test_data): Likewise.
35672         (ctan_downward_test_data): Likewise.
35673         (ctan_upward_test_data): Likewise.
35674         (ctanh_test_data): Likewise.
35675         (ctanh_tonearest_test_data): Likewise.
35676         (ctanh_towardzero_test_data): Likewise.
35677         (ctanh_downward_test_data): Likewise.
35678         (ctanh_upward_test_data): Likewise.
35679         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35680         mpc_c_c.
35681         (func_calc_desc): Add mpc_c_c union field.
35682         (FUNC_mpc_c_c): New macro.
35683         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
35684         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
35685         ctanh.
35686         (special_fill_min_subnorm_p120): New function.
35687         (special_real_inputs): Add min_subnorm_p120.
35688         (calc_generic_results): Handle mpc_c_c.
35689         * sysdeps/i386/fpu/libm-test-ulps: Update.
35690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35692 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35694         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
35695         (do_sin_slow): New functions.
35696         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
35697         (cslow2, csloww1, csloww2): Use the new functions.
35699         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
35700         Use M to change sign of result instead of X.  Assume X is
35701         positive.
35702         (csloww1): Likewise.
35703         (__sin): Adjust.
35704         (__cos): Adjust.
35706         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
35707         arguments A and DA.
35708         (__sin): Adjust.
35709         (__cos): Likewise.
35711         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
35712         (__cos): Likewise.
35713         (sloww1): Don't adjust sign of DX.
35714         (csloww1): Likewise.
35715         (sloww2): Use X directly and don't adjust sign of DX.
35716         (csloww2): Likewise.
35718 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35720         * math/auto-libm-test-in: Add tests of cabs and carg.
35721         * math/auto-libm-test-out: Regenerated.
35722         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
35723         (carg_test_data): Likewise.
35724         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35725         mpc_c_f.
35726         (func_calc_desc): Add mpc_c_f union field.
35727         (test_functions): Add cabs and carg.
35728         (calc_generic_results): Handle mpc_c_f.
35730         * sysdeps/powerpc/powerpc32/libgcc-compat.S
35731         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
35732         as a macro and a compat symbol.
35733         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
35734         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
35735         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
35736         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
35737         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
35738         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
35739         not use .hidden.
35740         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
35741         Likewise.
35742         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
35743         Likewise.
35744         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
35745         Likewise.
35746         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
35747         Likewise.
35748         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
35749         Likewise.
35750         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
35751         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
35752         from GLIBC_2.3.2.
35754 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35756         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35758 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35760         * manual/texinfo.tex: Update to version 2013-11-26.10 with
35761         trailing whitespace removed.
35762         * scripts/config.guess: Update to version 2013-11-29.
35763         * scripts/config.sub: Update to version 2013-10-01.
35765         * math/auto-libm-test-in: Add tests of sincos.
35766         * math/auto-libm-test-out: Regenerated.
35767         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
35768         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35769         mpfr_f_11.
35770         (func_calc_desc): Add mpfr_f_11 union field.
35771         (test_functions): Add sincos.
35772         (calc_generic_results): Handle mpfr_f_11.
35773         * sysdeps/i386/fpu/libm-test-ulps: Update.
35774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35776 2013-12-19  Andreas Schwab  <schwab@suse.de>
35778         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
35779         CALL_MCOUNT.
35780         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35781         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
35782         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
35784 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35786         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
35787         * sysdeps/i386/fpu/libm-test-ulps: Update.
35788         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35790         [BZ #16293]
35791         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
35792         round-to-nearest mode when using frndint.
35793         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
35794         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35795         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35796         Likewise.
35797         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
35798         sinh test to fail.
35799         * math/auto-libm-test-out: Regenerated.
35800         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
35801         (TEST_COND_x86): Likewise.
35802         (expm1_tonearest_test_data): New array.
35803         (expm1_test_tonearest): New function.
35804         (expm1_towardzero_test_data): New array.
35805         (expm1_test_towardzero): New function.
35806         (expm1_downward_test_data): New array.
35807         (expm1_test_downward): New function.
35808         (expm1_upward_test_data): New array.
35809         (expm1_test_upward): New function.
35810         (main): Run the new test functions.
35811         * sysdeps/i386/fpu/libm-test-ulps: Update.
35812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35814         * include/features.h: Update comment documenting feature test
35815         macros.  Mention _DEFAULT_SOURCE in comment.
35816         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
35817         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
35818         _BSD_SOURCE and _SVID_SOURCE.
35819         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
35820         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
35821         !_SVID_SOURCE]: Likewise.
35822         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35823         (__USE_POSIX_IMPLICITLY): Define.
35824         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35825         (_POSIX_SOURCE): Undefine and redefine.
35826         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35827         (_POSIX_C_SOURCE): Likewise.
35828         * manual/creature.texi (_DEFAULT_SOURCE): Document.
35829         (Feature Test Macros): Update documentation of default features.
35831 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35833         * benchtests/Makefile: Add bench-strtok.
35834         * benchtests/bench-strtok.c: New file: strtok benchtest.
35836 2013-12-19  Allan McRae  <allan@archlinux.org>
35838         * manual/install.texi: Suppress menu for plain text output.
35839         * INSTALL: Regenerated.
35841 2013-12-18  Brooks Moses  <bmoses@google.com>
35843         [BZ #15846]
35844         * misc/getauxval.c: Include errno.h.
35845         (__getauxval): Set errno to ENOENT if the requested type is not
35846         found.
35847         * misc/sys/auxv.h (getauxval): Document that it may set errno;
35848         don't declare with __attribute_const__.
35849         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
35850         * manual/startup.texi: Document that getauxval sets errno.
35852 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
35854         * math/auto-libm-test-in: Add tests of jn and yn.
35855         * math/auto-libm-test-out: Regenerated.
35856         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
35857         (yn_test_data): Likewise.
35858         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35859         mpfr_if_f.
35860         (func_calc_desc): Add mpfr_if_f union field.
35861         (FUNC_mpfr_if_f): New macro.
35862         (test_functions): Add jn and yn.
35863         (calc_generic_results): Assert type of second input for
35864         mpfr_ff_f.  Handle mpfr_if_f.
35865         (output_for_one_input_case): Disable all checking for arguments
35866         fitting floating-point types in case of an integer argument.
35867         * sysdeps/i386/fpu/libm-test-ulps: Update.
35868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35871         Don't expect fegetround reference in libm.so.
35873 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35875         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
35876         $(config-cflags-nofma).
35878 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
35880         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
35881         * math/auto-libm-test-out: Regenerated.
35883         [BZ #16338]
35884         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
35885         to determine exponent and adjust argument to have exponent of -1.
35886         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
35887         log2.
35888         * math/auto-libm-test-out: Regenerated.
35889         * sysdeps/i386/fpu/libm-test-ulps: Update.
35890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35892 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
35894         * manual/probes.texi: Remove cases when per-thread arenas are
35895         disabled.
35897 2013-12-18  Andreas Schwab  <schwab@suse.de>
35899         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
35900         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
35901         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
35902         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
35903         * sysdeps/i386/i686/multiarch/Makefile: Update.
35904         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
35906 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35908         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
35909         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
35911 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
35913         [BZ #15968]
35914         Support TZ transition times < 00:00:00.
35915         This is needed for version-3 tz-format files; it supports time
35916         stamps past 2037 for America/Godthab (the only entry in the tz
35917         database for which this change is relevant).
35918         * manual/time.texi (TZ Variable): Document transition times
35919         from -167:59:59 through -00:00:01.
35920         * time/tzset.c (tz_rule): Time of day is now signed.
35921         (__tzset_parse_tz): Parse negative time of day.
35923         Document TZ transition times >= 25:00:00.
35924         * manual/time.texi (TZ Variable): Document transition times from
35925         25:00:00 through 167:59:59.  These are already supported, and this
35926         support will help with version-3 tz-format files.
35928         * manual/time.texi (TZ Variable): Modernize North America example
35929         to reflect current (i.e., 2007-and-later) daylight saving rules.
35931         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
35933 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35935         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
35936         * sysdeps/unix/bsd/bits/stat.h: Likewise.
35937         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
35938         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35939         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
35940         * sysdeps/unix/bsd/bsdstat.h: Likewise.
35941         * sysdeps/unix/bsd/clock.c: Likewise.
35942         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
35943         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
35944         * sysdeps/unix/bsd/init-posix.c: Likewise.
35945         * sysdeps/unix/bsd/poll.c: Likewise.
35946         * sysdeps/unix/bsd/ptsname.c: Likewise.
35947         * sysdeps/unix/bsd/seekdir.c: Likewise.
35948         * sysdeps/unix/bsd/setegid.c: Likewise.
35949         * sysdeps/unix/bsd/seteuid.c: Likewise.
35950         * sysdeps/unix/bsd/setgid.c: Likewise.
35951         * sysdeps/unix/bsd/setrgid.c: Likewise.
35952         * sysdeps/unix/bsd/setruid.c: Likewise.
35953         * sysdeps/unix/bsd/setsid.c: Likewise.
35954         * sysdeps/unix/bsd/setuid.c: Likewise.
35955         * sysdeps/unix/bsd/sigaction.c: Likewise.
35956         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
35957         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
35958         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
35959         * sysdeps/unix/bsd/telldir.c: Likewise.
35960         * sysdeps/unix/bsd/times.c: Likewise.
35961         * sysdeps/unix/bsd/usleep.c: Likewise.
35963         * misc/Makefile (install-lib): Remove libbsd-compat.a.
35964         ($(objpfx)libbsd-compat.a): Remove rule.
35966         * include/features.h (__FAVOR_BSD): Do not define.
35967         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
35968         features conflicting with POSIX.
35969         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
35970         (_BSD_SOURCE): Remove description of not being a subset of other
35971         feature test macros.
35972         * manual/job.texi (getpgrp): Do not document BSD version.
35973         (getpgid): Do not document by reference to BSD getpgrp.
35974         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
35975         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
35976         * signal/signal.h [__FAVOR_BSD]: Likewise.
35977         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
35978         instead of making contents conditional on [__FAVOR_BSD].
35979         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
35981 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35985 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35987         [BZ #16314]
35988         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
35989         values below 2**-450, not 2**-500.
35990         * math/auto-libm-test-in: Don't allow spurious underflow from
35991         hypot.
35992         * math/auto-libm-test-out: Regenerated.
35994         [BZ #16316]
35995         [BZ #16330]
35996         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
35997         values of ha and hb and sort them after adjusting subnormal
35998         arguments.
35999         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
36000         Likewise.
36001         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
36002         values of ea and eb and sort them after adjusting subnormal
36003         arguments.
36004         * math/auto-libm-test-in: Do not expect some hypot tests of
36005         subnormals to fail.  Add more hypot tests.
36006         * math/auto-libm-test-out: Regenerated.
36008 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36010         [BZ #13304]
36011         * sysdeps/sh/s_fma.c: New file.
36012         * sysdeps/sh/s_fmaf.c: New file.
36013         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
36014         version.
36015         * sysdeps/sh/Implies: Add sh/soft-fp.
36017 2013-12-16  Roland McGrath  <roland@hack.frob.com>
36019         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
36020         level of indirection to members `objname', `errstring', `malloced'.
36021         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
36022         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
36023         it as the __longjmp argument (just pass 1 instead).
36024         (_dl_catch_error): Initialize C with argument pointers and address of
36025         volatile local ERRCODE rather than copying values out of C at return.
36027 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
36029         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
36030         * math/auto-libm-test-out: Regenerated.
36031         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
36032         (hypot_test_data): Likewise.
36033         (pow_test_data): Likewise.
36034         (pow_tonearest_test_data): Likewise.
36035         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36036         mpfr_ff_f.
36037         (func_calc_desc): Add mpfr_ff_f union field.
36038         (FUNC_mpfr_ff_f): New macro.
36039         (test_functions): Add atan2, hypot and pow.
36040         (special_fill_min): New function.
36041         (special_fill_minus_min): Likewise.
36042         (special_fill_min_subnorm): Likewise.
36043         (special_fill_minus_min_subnorm): Likewise.
36044         (special_real_inputs): Add min, -min, min_subnorm and
36045         -min_subnorm.
36046         (calc_generic_results): Handle mpfr_ff_f.
36047         * sysdeps/i386/fpu/libm-test-ulps: Update.
36048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36050 2013-12-16  Will Newton  <will.newton@linaro.org>
36052         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
36053         (Aligned Memory Blocks): Add documentation for aligned_alloc
36054         and suggest it as an alternative to posix_memalign.
36055         (Hooks for Malloc): Document __memalign_hook is also called
36056         for aligned_alloc.  (Summary of Malloc): Add summary for
36057         aligned alloc.  Document __memalign_hook is also called
36058         for aligned_alloc.
36060 2013-12-16  Will Newton  <will.newton@linaro.org>
36062         * manual/memory.texi (Malloc Examples): Clarify default
36063         alignment documentation.  Suggest posix_memalign rather
36064         than memalign or valloc.
36065         (Aligned Memory Blocks): Remove suggestion to use memalign
36066         or valloc.  Remove obsolete comment about BSD.
36067         Document memalign errno values and mark the function obsolete.
36068         Document posix_memalign returned error codes.  Mark valloc
36069         as obsolete.  (Hooks for Malloc): __memalign_hook is also
36070         called for posix_memalign and valloc.
36071         (Summary of Malloc): Add posix_memalign to function summary.
36072         __memalign_hook is also called for posix_memalign and valloc.
36074 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36076         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
36077         TAYLOR_SIN.
36078         (__sin): Adjust.
36079         (__cos): Likewise.
36080         (sloww): Use mynumber union.  Expand ternary operator into
36081         if-else statements.
36082         (cslow): use mynumber union.
36084 2013-12-16  Allan McRae  <allan@archlinux.org>
36086         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
36087         * configure: Regenerated.
36089         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
36091         [BZ #14120]
36092         * configure.ac: Added --enable-maintainer-mode. Check for
36093         autoconf when enabled.
36094         * configure: Regenerated.
36096         * nscd/nscd.service: New file.
36097         * nscd/nscd.tmpfiles: New file.
36099 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
36101         [BZ #12100]
36102         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
36103         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
36104         * sysdeps/x86_64/multiarch/strstr.c: ... here.
36105         (strstr): Add __strstr_sse2_unaligned ifunc.
36106         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
36107         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
36108         (strcasestr): Remove __strcasestr_sse42 ifunc.
36109         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
36110         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36111         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
36113 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36115         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
36116         * sysdeps/sh/bits/fenv.h: ... here.
36117         * sysdeps/sh/sh4/fpu/bits: Remove directory.
36119 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36121         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
36123         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
36124         hypotf multiarch implementations.
36125         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
36126         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
36127         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
36128         multiarch hypot for PPC64.
36129         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
36130         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
36131         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
36132         multiarch hypotf for PPC64.
36134         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
36135         modff multiarch implementations.
36136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
36137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
36138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
36139         multiarch modf for PPC64.
36140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
36141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
36142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
36143         multiarch modff for PPC64.
36145         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
36146         and logl multiarch implementations.
36147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
36148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
36149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
36150         multiarch logb for PPC64.
36151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
36152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
36153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
36154         multiarch logb for PPC64.
36155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
36156         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
36157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
36158         multiarch logb for PPC64.
36160         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
36161         isinff multiarch implementation.
36162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
36163         file.
36164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
36165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
36166         multiarch isinf for PPC64.
36167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
36168         file.
36169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
36170         multiarch isinff for PPC64.
36172         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
36173         finitef multiarch implementation.
36174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
36175         file.
36176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
36177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
36178         multiarch finite for PPC64.
36179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
36180         file.
36181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
36182         multiarch finitef for PPC64.
36184         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
36185         lrint multiarch implementation.
36186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
36187         file.
36188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
36189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
36190         multiarch llrint for PPC64.
36191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
36192         multiarch lrint for PPC64.
36194         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
36195         copysignf multiarch implementation.
36196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
36197         file.
36198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
36199         file.
36200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
36201         multiarch copysign for PPC64.
36202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
36203         multiarch copysignf for PPC64.
36205         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
36206         multiarch implementation.
36207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
36208         file.
36209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
36210         file.
36211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
36212         file.
36213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
36214         file.
36215         multiarch llround for PPC64.
36216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
36217         multiarch trunc for PPC64.
36218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
36219         multiarch truncf for PPC64.
36221         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
36222         multiarch implementation.
36223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
36224         file.
36225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
36226         file.
36227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
36228         file.
36229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
36230         file.
36231         multiarch llround for PPC64.
36232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
36233         multiarch round for PPC64.
36234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
36235         multiarch roundf for PPC64.
36237         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
36238         multiarch implementation.
36239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
36240         file.
36241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
36242         file.
36243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
36244         file.
36245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
36246         file.
36247         multiarch llround for PPC64.
36248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
36249         multiarch floor for PPC64.
36250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
36251         multiarch floorf for PPC64.
36253         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
36254         multiarch implementation.
36255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
36256         file.
36257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
36258         file.
36259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
36260         file.
36261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
36262         file.
36263         multiarch llround for PPC64.
36264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
36265         multiarch ceil for PPC64.
36266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
36267         multiarch ceilf for PPC64.
36269         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36270         multiarch implementation.
36271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
36272         file.
36273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
36274         file.
36275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
36276         file.
36277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
36278         multiarch llround for PPC64.
36279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
36280         multiarch lround for PPC64.
36282         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36283         multiarch implementation.
36284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
36285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
36286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
36287         file.
36288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
36289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
36290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
36291         multiarch isnan for PPC64.
36292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
36293         multiarch isnanf for PPC64.
36295         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
36296         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
36297         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
36298         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
36299         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
36300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
36302         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
36303         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36304         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36305         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36307         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
36308         multiarch implementations.
36309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36310         (__libc_ifunc_impl_list): Likewise.
36311         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
36312         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
36313         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
36314         multiarch stpcpy for PPC64.
36316         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
36317         multiarch implementations.
36318         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36319         (__libc_ifunc_impl_list): Likewise.
36320         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
36321         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
36322         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
36323         multiarch strcpy for PPC64.
36325         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
36326         redefine function name.
36327         (_wordcopy_fwd_dest_aligned): Likewise.
36328         (_wordcopy_bwd_aligned): Likewise.
36329         (_wordcopy_bwd_dest_aligned): Likewise.
36330         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
36331         multiarch implementations.
36332         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36333         (__libc_ifunc_impl_list): Likewise.
36334         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
36335         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
36336         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
36337         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
36338         multiarch wcscpy for PPC64.
36340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
36341         multiarch implementations.
36342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36343         (__libc_ifunc_impl_list): Likewise.
36344         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
36345         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
36346         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
36347         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
36348         multiarch wcscpy for PPC64.
36350         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
36351         multiarch implementations.
36352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36353         (__libc_ifunc_impl_list): Likewise.
36354         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
36355         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
36356         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
36357         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
36358         multiarch wcsrchr for PPC64.
36360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
36361         multiarch implementations.
36362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36363         (__libc_ifunc_impl_list): Likewise.
36364         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
36365         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
36366         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
36367         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
36368         multiarch wcschr for PPC64.
36370         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
36371         multiarch implementations.
36372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36373         (__libc_ifunc_impl_list): Likewise.
36374         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
36375         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
36376         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
36377         multiarch strchrnul for PPC64.
36379         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
36380         implementations.
36381         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36382         (__libc_ifunc_impl_list): Likewise.
36383         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
36384         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
36385         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
36386         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
36387         strchr for PPC64.
36389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
36390         implementations.
36391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36392         (__libc_ifunc_impl_list): Likewise.
36393         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
36394         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
36395         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
36396         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
36397         strncmp for PPC64.
36399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
36400         multiarch implementations.
36401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36402         (__libc_ifunc_impl_list): Likewise.
36403         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
36404         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
36405         strncasecmp for PPC64.
36406         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
36407         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
36408         multiarch strncasecmp_l for PPC64.
36410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
36411         multiarch implementations.
36412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36413         (__libc_ifunc_impl_list): Likewise.
36414         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
36415         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
36416         multiarch strcasecmp for PPC64.
36417         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
36418         file.
36419         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
36420         multiarch strcasecmp_l for PPC64.
36422         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
36423         implementations.
36424         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36425         (__libc_ifunc_impl_list): Likewise.
36426         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
36427         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
36428         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
36429         strnlen for PPC64.
36431         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
36432         implementations.
36433         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36434         (__libc_ifunc_impl_list): Likewise.
36435         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
36436         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
36437         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
36438         strlen for PPC64.
36440         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
36441         implementations.
36442         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36443         (__libc_ifunc_impl_list): Likewise.
36444         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
36445         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
36446         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
36447         rawmemrchr for PPC64.
36449         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
36450         implementation.
36451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36452         (__libc_ifunc_impl_list): Likewise.
36453         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
36454         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
36455         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
36456         memrchr for PPC64.
36458         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
36459         implementation.
36460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36461         (__libc_ifunc_impl_list): Likewise.
36462         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
36463         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
36464         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
36465         memchr for PPC64.
36467         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
36468         implementation.
36469         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36470         (__libc_ifunc_impl_list): Likewise.
36471         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
36472         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
36473         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
36474         mempcpy for PPC64.
36476         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
36477         avoid cretion of __bzero symbol.
36478         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
36479         Likewise.
36480         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
36481         Likewise.
36482         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
36483         Likewise.
36484         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
36485         multiarch implementations.
36486         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36487         (__libc_ifunc_impl_list): Likewise.
36488         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
36489         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
36490         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
36491         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
36492         bzero for PPC32.
36493         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
36494         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
36495         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
36496         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
36497         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
36498         memset for PPC64.
36499         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
36501         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
36502         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
36503         implementations.
36504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36505         (__libc_ifunc_impl_list): Likewise.
36506         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
36507         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
36508         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
36509         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
36510         memcmp for PPC64.
36512         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
36513         multiarch for POWER/PPC64.
36514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
36515         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
36516         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
36517         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
36518         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
36519         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
36520         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
36521         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
36522         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
36523         memcpy for PPC64.
36525         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
36526         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
36527         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
36528         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
36529         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
36530         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
36531         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
36532         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
36533         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
36534         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
36535         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
36536         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
36537         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
36538         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
36539         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
36540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
36541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
36542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
36543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
36544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
36545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
36546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
36548 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36550         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
36552 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36554         * benchtests/Makefile (bench): Add exp2 and log2.
36555         (LDLIBS-bench-exp2): Add -lm.
36556         (LDLIBS-bench-log2): Likewise.
36557         * benchtests/exp2-inputs: New inputs file.
36558         * benchtests/log2-inputs: New inputs file.
36559         * benchtests/log-inputs: Add new inputs.
36560         * benchtests/tan-inputs: Likewise.
36562 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36564         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
36565         definition...
36566         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
36567         (csloww2): ... from here.
36569         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
36570         instead of structures.
36571         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
36572         (POLYNOMIAL): Likewise.
36573         (TAYLOR_SLOW): Likewise.
36574         (__sin): Likewise.
36575         (__cos): Likewise.
36576         (slow1): Likewise.
36577         (slow2): Likewise.
36578         (sloww): Likewise.
36579         (sloww1); Likewise.
36580         (sloww2): Likewise.
36581         (bsloww1): Likewise.
36582         (bsloww2): Likewise.
36583         (cslow2): Likewise.
36584         (csloww): Likewise.
36585         (csloww1): Likewise.
36586         (csloww2): Likewise.
36588 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
36590         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
36591         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
36592         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
36593         * malloc/hooks.c (realloc_check): Likewise.
36595         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
36596         * malloc/arena.c: Remove PER_THREAD conditional.
36597         [!PER_THREAD]: Remove code.
36598         (ptmalloc_unlock_all2): Likewise.
36599         (ptmalloc_init): Likewise.
36600         (_int_new_arena): Likewise.
36601         (arena_get2): Likewise.
36602         * malloc/hooks.c (__malloc_get_state): Likewise.
36603         (__malloc_set_state): Likewise.
36604         * malloc/malloc.c: Likewise.
36605         (struct malloc_state): Likewise.
36606         (struct malloc_par): Likewise.
36607         (__libc_realloc): Likewise.
36608         (__libc_mallopt): Likewise.
36610 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36612         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
36614 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
36616         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
36617         macro to a function.  Check for zero perturb_byte.
36618         (_int_malloc, _int_free): Remove zero perturb_byte checks.
36620         * malloc/malloc.c: (force_reg): Remove.
36621         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
36622         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
36623         force_reg by atomic_forced_read.
36624         * malloc/arena.c (ptmalloc_init): Likewise.
36625         * malloc/hooks.c (top_check): Likewise.
36627 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36629         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36631 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
36633         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36635 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
36637         * math/auto-libm-test-in: Add tests of lgamma.
36638         * math/auto-libm-test-out: Regenerated.
36639         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
36640         (M_LOG_2_SQRT_PIl): Likewise.
36641         (lgamma_test_data): Use AUTO_TESTS_f_f1.
36642         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36643         mpfr_f_f1.
36644         (func_calc_desc): Add mpfr_f_f1 union field.
36645         (ARGS1): New macro.
36646         (ARGS2): Likewise.
36647         (ARGS3): Likewise.
36648         (ARGS4): Likewise.
36649         (RET1): Likewise.
36650         (RET2): Likewise.
36651         (CALC): Likewise.
36652         (FUNC): Likewise.
36653         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
36654         (test_functions): Add lgamma.
36655         (calc_generic_results): Handle mpfr_f_f1.
36656         * sysdeps/i386/fpu/libm-test-ulps: Update.
36657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36659 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36661         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
36662         __mpn_add_n for PowerPC64/POWER7.
36663         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
36664         __mpn_sub_n for PowerPC64/POWER7.
36666         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
36667         __mpn_addmul_1 for PowerPC64.
36668         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
36669         __mpn_submul_1 for PowerPC64.
36670         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
36671         for PowerPC64.
36672         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
36673         for PowerPC64.
36675 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
36677         [BZ #15089]
36678         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
36680 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36682         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
36684         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
36685         add multiarch folders.
36686         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
36687         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
36688         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
36689         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
36690         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
36691         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
36692         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
36693         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
36694         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
36695         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
36696         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
36697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
36698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
36699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
36700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
36701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
36702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
36704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36705         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
36706         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
36707         New file.
36708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
36709         New file.
36710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
36711         multiarch __ieee754_hypot for PowerPC32.
36712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
36713         New file.
36714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
36715         New file.
36716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
36717         multiarch __ieee754_hypotf for PowerPC32.
36719         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
36720         long_double_symbol only if __logbl is defined.
36721         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
36722         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
36723         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
36724         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
36725         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
36726         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
36727         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
36728         path for implementation.
36729         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
36730         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
36731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
36732         logb, and logbl multiarch implementations for PowerPC32.
36733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
36734         file.
36735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
36736         file.
36737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
36738         multiarch logb for PowerPC32.
36739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
36740         file.
36741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
36742         file.
36743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
36744         multiarch logbf for PowerPC32.
36745         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
36746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
36747         file.
36748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
36749         multiarch logbl implementation for PowerPC32.
36751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
36752         and modff multiarch implementations.
36753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
36754         New file.
36755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
36756         New file.
36757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
36758         multiarch modf for PowerPC32.
36759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
36760         New file.
36761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
36762         New file.
36763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
36764         multiarch modff for PowerPC32.
36766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
36767         and lrintf multiarch implementations.
36768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
36769         New file.
36770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
36771         New file.
36772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
36773         multiarch lrint for PowerPC32.
36774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
36775         file: multiarch lrintf for PowerPC32.
36777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
36778         and lroundf multiarch implementations.
36779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
36780         New file.
36781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
36782         New file.
36783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
36784         New file.
36785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
36786         multiarch lround for PowerPC32.
36787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
36788         file: multiarch lroundf for PowerPC32.
36790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36791         copysign and copysignf multiarch implementations.
36792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
36793         New file.
36794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
36795         New file.
36796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
36797         file: multiarch copysign for PowerPC32.
36798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
36799         file: multiarch copysignf for PowerPC32.
36801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
36802         and truncf multiarch implementations.
36803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
36804         New file.
36805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
36806         file.
36807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
36808         multiarch trunc for PowerPC32.
36809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
36810         New file.
36811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
36812         New file.
36813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
36814         multiarch truncf for PowerPC32.
36816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
36817         and roundf multiarch implementations.
36818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
36819         New file.
36820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
36821         file.
36822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
36823         multiarch round for PowerPC32.
36824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
36825         New file.
36826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
36827         New file.
36828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
36829         multiarch roundf for PowerPC32.
36831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
36832         and floorf multiarch implementations.
36833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
36834         New file.
36835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
36836         file.
36837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
36838         multiarch floor for PowerPC32.
36839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
36840         New file.
36841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
36842         New file.
36843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
36844         multiarch floorf for PowerPC32.
36846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
36847         and ceilf multiarch implementations.
36848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
36849         New file.
36850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
36851         file.
36852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
36853         multiarch ceil for PowerPC32.
36854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
36855         New file.
36856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
36857         file.
36858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
36859         multiarch ceilf for PowerPC32.
36861         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
36862         is defined.
36863         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
36864         FINITEF is defined.
36865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
36866         and finitef multiarch implementations.
36867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
36868         New file.
36869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
36870         file.
36871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
36872         multiarch finite for PowerPC32.
36873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
36874         New file.
36875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
36876         file: multiarch finitef for PowerPC32.
36878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
36879         and isinff multiarch implementations.
36880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
36881         file.
36882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
36883         file.
36884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
36885         multiarch isinf for PowerPC32.
36886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
36887         New file.
36888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
36889         multiarch isinff for PowerPC32.
36891         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
36892         alias when __isnan is defined.
36893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
36894         and isnanf multiarch implementations.
36895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
36896         file.
36897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
36898         file.
36899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
36900         file.
36901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
36902         file.
36903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
36904         multiarch isnan for PowerPC32.
36905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
36906         New file.
36907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
36908         New file.
36909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
36910         multiarch isnanf for PowerPC32.
36912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
36913         and sqrtf multiarch implementations.
36914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
36915         file.
36916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
36917         file.
36918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
36919         multiarch sqrt for PowerPC32.
36920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
36921         file.
36922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
36923         file.
36924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
36925         multiarch sqrtf for PowerPC32.
36927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
36928         and llroundf multiarch implementations.
36929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
36930         New file.
36931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
36932         New file.
36933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
36934         New file.
36935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
36936         file: multiarch llround for PowerPC32.
36937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
36938         file: multiarch llroundf for PowerPC32.
36940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
36941         multiarch PowerPC32 fpu implementations.
36942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
36943         New file.
36944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
36945         New file.
36946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
36947         multiarch llrint for PowerPC32.
36948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
36949         New file.
36950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
36951         New file.
36952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
36953         file.
36955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
36957         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
36958         file.
36959         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
36960         file.
36961         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
36962         file.
36963         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
36964         multiarch wordcopy for PPC32.
36965         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36966         wordcopy objects.
36967         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36968         (__libc_ifunc_impl_list): Likewise.
36969         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
36970         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
36971         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
36972         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
36973         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
36974         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
36976         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
36977         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
36978         file.
36979         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
36980         file.
36981         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
36982         file.
36983         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
36984         multiarch wcscpy for PPC32.
36985         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36986         multiarch objects.
36987         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36988         (__libc_ifunc_impl_list): Likewise.
36989         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
36990         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36991         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
36992         sysdeps/powerpc/power6/wcscpy.c.
36994         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
36995         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
36996         file.
36997         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
36998         file.
36999         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
37000         file.
37001         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
37002         multiarch wcsrchr for PPC32.
37003         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
37004         multiarch objects.
37005         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37006         (__libc_ifunc_impl_list): Likewise.
37007         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
37008         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
37009         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
37010         sysdeps/powerpc/power6/wcsrchr.c.
37012         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
37013         file.
37014         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
37015         file.
37016         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
37017         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
37018         multiarch wcschr for PPc32.
37019         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
37020         multiarch objects.
37021         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37022         (__libc_ifunc_impl_list): Likewise.
37023         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
37024         * sysdeps/powerpc/power6/wcschr.c: ... to here.
37025         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
37026         sysdeps/powerpc/power6/wcschr.c.
37028         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
37029         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
37030         file.
37031         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
37032         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
37033         file: multiarch strchr for PPC32.
37034         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
37035         multiarch objects.
37036         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37037         (__libc_ifunc_impl_list): Likewise.
37039         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
37040         name.
37041         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
37042         file.
37043         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
37044         file.
37045         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
37046         multiarch strchrnul for PPC32.
37047         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
37048         multiarch objects.
37049         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37050         (__libc_ifunc_impl_list): Likewise.
37052         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
37053         file.
37054         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
37055         multiarch strncasecmp for PPC32.
37056         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
37057         file.
37058         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
37059         multiarch strncasecmp_l for PPC32.
37060         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
37061         strncasecmp multiarch objects.
37062         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37063         (__libc_ifunc_impl_list): Likewise.
37065         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
37066         file.
37067         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
37068         multiarch strncasecmp for PPC32.
37069         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
37070         New file.
37071         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
37072         multiarch strcasecmp_l for PPC32.
37073         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
37074         multiarch objects.
37075         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37076         (__libc_ifunc_impl_list): Likewise.
37078         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
37079         file.
37080         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
37081         file.
37082         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
37083         multiarch strncmp for PPC32.
37084         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
37085         multiarch objects.
37086         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37087         (__libc_ifunc_impl_list): Likewise.
37089         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
37090         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
37091         file.
37092         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
37093         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
37094         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
37095         multiarch objects.
37096         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37097         (__libc_ifunc_impl_list): Likewise.
37099         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
37100         file.
37101         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
37102         file.
37103         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
37104         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
37105         multiarch objects.
37106         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37107         (__libc_ifunc_impl_list): Likewise.
37109         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
37110         file.
37111         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
37112         file.
37113         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
37114         multiarch rawmemchr for PPC32.
37115         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
37116         multiarch objects.
37117         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37118         (__libc_ifunc_impl_list): Likewise.
37120         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
37121         file.
37122         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
37123         file.
37124         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
37125         file: memrchr multiarch for PPC32.
37126         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
37127         multiarch objects.
37128         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37129         (__libc_ifunc_impl_list): Likewise.
37131         * string/memchr.c (__memchr): Using macro to redefine symbol name.
37132         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
37133         file.
37134         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
37135         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
37136         multiarch memchr for PPC32.
37137         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
37138         multiarch objects.
37139         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37140         (__libc_ifunc_impl_list): Likewise.
37142         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
37143         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
37144         file.
37145         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
37146         file.
37147         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
37148         file: multiarch mempcpy for PPC32.
37149         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
37150         multiarch objects.
37151         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37152         (__libc_ifunc_impl_list): Likewise.
37154         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
37155         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
37156         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
37157         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
37158         multiarch bzero for PPC32.
37159         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
37160         file.
37161         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
37162         file.
37163         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
37164         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
37165         file: multiarch memset for PPC32.
37166         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
37167         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
37168         memset multiarch objects.
37169         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37170         (__libc_ifunc_impl_list): Likewise.
37172         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
37173         file.
37174         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
37175         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
37176         memcmp for PPC32.
37177         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
37178         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
37179         multiarch objects.
37180         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37181         (__libc_ifunc_impl_list): Likewise.
37183         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
37184         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
37185         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
37186         file.
37187         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
37188         file.
37189         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
37190         file.
37191         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
37192         multiarch memcpy for PPC32.
37193         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
37194         multiarch objects.
37195         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37196         (__libc_ifunc_impl_list): Likewise.
37198         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
37199         support multiarch for POWER/PPC32.
37200         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
37201         Likewise.
37202         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
37204         Implies file to make multiarch folder appers before the fpu and
37205         default folder for power4 configuration.
37207 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37209         * scripts/bench.pl: Append volatile keyword to type.
37211 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37213         * sysdeps/sh/sotruss-lib.c: New file.
37214         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
37216 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37220 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
37222         [BZ #6810]
37223         * math/w_tgamma.c: Include <errno.h>.
37224         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
37225         * math/w_tgammaf.c: Include <errno.h>.
37226         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
37227         * math/w_tgammal.c: Include <errno.h>.
37228         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
37229         * math/auto-libm-test-in: Do not allow missing errno on tgamma
37230         underflow.  Add more tgamma tests.
37231         * math/auto-libm-test-out: Regenerated.
37232         * sysdeps/i386/fpu/libm-test-ulps: Update.
37233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37235         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
37236         sin, sinh, tan, tanh, tgamma, y0 and y1.
37237         * math/auto-libm-test-out: Regenerated.
37238         * math/libm-test.inc (TEST_COND_x86_64): New macro.
37239         (TEST_COND_x86): Likewise.
37240         (M_E2l): Remove macro.
37241         (M_E3l): Likewise.
37242         (M_2_SQRT_PIl): Likewise.
37243         (M_SQRT_PIl): Likewise.
37244         (M_1_DIV_El): Likewise.
37245         (log_test_data): Use AUTO_TESTS_f_f.
37246         (log10_test_data): Likewise.
37247         (log1p_test_data): Likewise.
37248         (log2_test_data): Likewise.
37249         (sin_test_data): Likewise.
37250         (sin_tonearest_test_data): Likewise.
37251         (sin_towardzero_test_data): Likewise.
37252         (sin_downward_test_data): Likewise.
37253         (sin_upward_test_data): Likewise.
37254         (sinh_test_data): Likewise.
37255         (sinh_tonearest_test_data): Likewise.
37256         (sinh_towardzero_test_data): Likewise.
37257         (sinh_downward_test_data): Likewise.
37258         (sinh_upward_test_data): Likewise.
37259         (tan_test_data): Likewise.
37260         (tan_tonearest_test_data): Likewise.
37261         (tan_towardzero_test_data): Likewise.
37262         (tan_downward_test_data): Likewise.
37263         (tan_upward_test_data): Likewise.
37264         (tanh_test_data): Likewise.
37265         (tgamma_test_data): Likewise.
37266         (y0_test_data): Likewise.
37267         (y1_test_data): Likewise.
37268         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
37269         (special_real_inputs): Add pi/4.
37270         * sysdeps/i386/fpu/libm-test-ulps: Update.
37271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37273 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37275         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
37276         "longjmp_target" static probes.
37277         (__longjmp): Rename to __longjmp_symbol.
37278         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37279         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
37280         on which longjmp to generate.
37281         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37282         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
37283         probe.
37284         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37285         (__sigjmp_save): Rename to __sigjmp_save_symbol.
37286         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37287         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
37288         and __sigjmp_save_symbol based on which sigsetjmp to generated.
37289         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
37291         __longjmp_symbol based on which __longjmp to generate.
37292         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
37293         probe.
37294         (setjmp): Rename to setjmp_symbol.
37295         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37296         (_setjmp): Rename to _setjmp_symbol.
37297         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37298         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
37299         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
37300         which setjmp to generate.
37301         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
37302         "longjmp_target" static probes.
37304 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37306         * benchtests/README: Add note about output arguments.
37307         * benchtests/bench-sincos.c: Remove file.
37308         * benchtests/sincos-inputs: New file.
37309         * scripts/bench.pl: Identify output arguments and define
37310         static variables for them.
37312         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
37314         [BZ #15941]
37315         * Makefile (INSTALL): Add install-plain.texi as the primary
37316         dependency.
37317         * manual/install-plain.texi: New file.
37318         * manual/install.texi: Include node directive only for
37319         non-plaintext output.
37321 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
37323         * stdlib/longlong.h: Update from GCC.
37325         [BZ #6807]
37326         [BZ #15901]
37327         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
37328         * math/w_j0f.c (y0f): Likewise.
37329         * math/w_j0l.c (__y0l): Likewise.
37330         * math/w_j1.c (y1): Likewise.
37331         * math/w_j1f.c (y1f): Likewise.
37332         * math/w_j1l.c (__y1l): Likewise.
37333         * math/w_jn.c (yn): Likewise.
37334         * math/w_jnf.c (ynf): Likewise.
37335         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
37336         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
37337         value for Bessel function domain errors outside _SVID_ mode.
37338         Adjust sign of return value for yn (negative integer, 0).
37339         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
37340         by zero in return for negative x and set sign appropriately for
37341         negative n.
37342         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
37343         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37344         * math/libm-test.inc (y0_test_data): Add more tests and adjust
37345         expectations in error cases.
37346         (y1_test_data): Likewise.
37347         (yn_test_data): Likewise.
37348         * sysdeps/i386/fpu/libm-test-ulps: Update.
37349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37351 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37353         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
37354         "64" to "64-v1".  Add "64-v2".
37355         (abi-64-options): Rename to ...
37356         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
37357         (abi-64-condition): Rename to ...
37358         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
37359         (abi-64-ld-soname): Rename to ...
37360         (abi-64-v1-ld-soname): ... this.
37361         (abi-64-v2-options): Define.
37362         (abi-64-v2-condition): Likewise.
37363         (abi-64-v2-ld-soname): Likewise.
37364         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
37365         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
37366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
37367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
37368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
37370 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37371             Alan Modra  <amodra@gmail.com>
37373         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
37374         New versions for use with the ELFv2 ABI.
37375         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
37376         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
37377         declaration.
37378         (struct La_ppc64v2_retval): Likewise.
37379         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
37380         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
37381         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
37382         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
37383         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
37384         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37385         Do not save or restore CR.
37386         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
37387         (_dl_profile_resolve): Do no save or restore CR.  Support extended
37388         return values for ELFv2 ABI.  Fix location of FPR return registers.
37389         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
37390         updated values for _CALL_ELF == 2.
37391         (La_regs, La_retval, int_retval): Likewise.
37393 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37395         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
37396         (FRAME_MIN_SIZE_PARM): Likewise.
37397         (FRAME_BACKCHAIN): Likewise.
37398         (FRAME_CR_SAVE): Likewise.
37399         (FRAME_LR_SAVE): Likewise.
37400         (FRAME_TOC_SAVE): Likewise.
37401         (FRAME_PARM_SAVE): Likewise.
37402         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
37403         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
37404         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37405         (call_mcount_parm_offset): New macro.
37406         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
37407         (PROF): Use symbolic stack frame offsets.
37408         (TAIL_CALL_SYSCALL_ERROR): Likewise.
37409         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
37410         Redefine in terms of FRAME_MIN_SIZE.
37411         (_dl_runtime_resolve): Use symbolic stack frame offsets.
37412         (_dl_profile_resolve): Likewise.  Update comment.
37413         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
37414         symbols stack frame offsets.
37415         (__sigsetjmp): Likewise.
37416         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
37417         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
37418         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
37419         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
37421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
37422         (FRAME_BACKCHAIN): Remove.
37423         (FRAME_CR_SAVE): Likewise.
37424         (FRAME_LR_SAVE): Likewise.
37425         (FRAME_COMPILER_DW): Likewise.
37426         (FRAME_LINKER_DW): Likewise.
37427         (FRAME_TOC_SAVE): Likewise.
37428         (FRAME_PARM_SAVE): Likewise.
37429         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
37430         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
37431         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
37433         (CHECK_SP): Use symbolic stack frame offsets.
37434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
37435         zone" instead of caller's parameter save area for temp storage.
37436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37437         Likewise.  Also, use symbolic stack frame offsets.
37438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
37439         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
37440         our own stack frame instead of the caller's.
37441         (__socket): Use symbolic stack frame offsets.
37443 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37444             Alan Modra  <amodra@gmail.com>
37446         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
37447         Define.
37448         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
37449         (PPC64_LOCAL_ENTRY_OFFSET): Define.
37450         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
37451         New function.
37452         (elf_machine_fixup_plt): Call it.
37453         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
37454         reloc arguments.
37455         (elf_machine_rela): Update call to elf_machine_plt_conflict.
37456         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37457         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
37458         r2 before calling target.
37460 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37461             Alan Modra  <amodra@gmail.com>
37463         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
37464         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
37465         versions of macros to support ELFv2 ABI.
37466         (LOCALENTRY): New macro.
37467         (ENTRY, EALIGN): Use it.
37468         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
37469         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
37470         fall through into ENTRY entry point.
37471         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
37472         Only define if _CALL_ELF != 2.
37474         (elf_machine_matches_host): Verify ABI version matches.
37475         (RTLD_START): Use LOCALENTRY.
37476         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
37477         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
37478         (PLT_ENTRY_WORDS): New macro.
37479         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
37480         (elf_machine_runtime_setup): Support ELFv2 ABI.
37481         (elf_machine_fixup_plt): Likewise.
37482         (elf_machine_plt_conflict): Likewise.
37483         (resolve_ifunc): Likewise.
37484         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37485         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37486         Likewise.
37487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
37488         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
37489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37490         (makecontext): Support ELFv2 ABI.
37491         * elf/elf.h (EF_PPC64_ABI): Define.
37493 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37495         * sysdeps/powerpc/powerpc64/sysdep.h
37496         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
37497         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
37498         (ENTRY) [ASSEMBLER]: ... but instead here ...
37499         (EALIGN) [ASSEMBLER]: ... and here.
37500         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
37501         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
37502         (ENTRY_2) [!ASSEMBLER]: Use it.
37503         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
37504         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
37505         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37506         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
37507         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
37508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
37509         Use PPC64_LOAD_FUNCPTR.
37511         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
37513 2013-12-04  Alan Modra  <amodra@gmail.com>
37515         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
37516         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
37517         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
37518         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
37520         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
37521         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
37522         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
37523         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
37524         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
37525         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
37527 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37530         (__makecontext): Fix incorrect CFI when backtracing out of
37531         context created via makecontext.
37532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
37533         (__setcontext): Fix incorrect CFI during switch to new context.
37534         (__novec_setcontext): Likewise.
37536 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
37538         [BZ #4772]
37539         * time/strptime_l.c (__strptime_internal): Allow modifiers
37540         in strptime.
37541         * time/tst-strptime.c (day_tests): Add testcase.
37543 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37545         * scripts/bench.pl: Skip over blank lines.
37547 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
37549         [BZ #926]
37550         * manual/time.texi (Calendar Time): Clarify what timezone functions
37551         use.
37553 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37557 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
37559         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
37560         implementation.
37561         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
37562         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
37563         * debug/memset_chk.c (__memset_chk): Likewise.
37564         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
37565         * debug/strncpy_chk.c: Likewise.
37567 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
37569         [BZ #15268]
37570         [BZ #15425]
37571         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
37572         (__ieee754_exp): For possibly underflowing results, check size of
37573         result and force underflow exception if required.
37574         * math/auto-libm-test-in: Add more tests of exp.
37575         * math/auto-libm-test-out: Regenerated.
37576         * sysdeps/i386/fpu/libm-test-ulps: Update.
37577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37579         [BZ #16283]
37580         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
37581         * math/w_exp2f.c (__exp2f): Likewise.
37582         * math/w_exp2l.c (__exp2l): Likewise.
37583         * math/auto-libm-test-in: Do not allow missing errno on exp2
37584         underflow.
37585         * math/auto-libm-test-out: Regenerated.
37587 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
37589         [BZ #16274]
37590         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
37591         handle filename validation.
37592         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
37593         (do_open): Delete.
37595 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
37597         [BZ #6786]
37598         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
37599         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
37600         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
37601         <float.h>.
37602         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
37603         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
37604         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37605         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
37606         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37607         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
37608         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37609         * math/auto-libm-test-in: Don't allow missing errno from erfc.
37610         Add more erfc tests.
37611         * math/auto-libm-test-out: Regenerated.
37612         * sysdeps/i386/fpu/libm-test-ulps: Update.
37613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37615         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
37616         exp2, expm1, j0 and j1.
37617         * math/auto-libm-test-out: Regenerated.
37618         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
37619         (erfc_test_data): Likewise.
37620         (exp_test_data): Likewise.
37621         (exp_tonearest_test_data): Likewise.
37622         (exp_towardzero_test_data): Likewise.
37623         (exp_downward_test_data): Likewise.
37624         (exp_upward_test_data): Likewise.
37625         (exp10_test_data): Likewise.
37626         (exp2_test_data): Likewise.
37627         (expm1_test_data): Likewise.
37628         (j0_test_data): Likewise.
37629         (j1_test_data): Likewise.
37630         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
37631         (input_flag_type): Add flag_xfail_rounding.
37632         (input_flags): Add xfail-rounding.
37633         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
37634         (output_for_one_input_case): Handle flag_xfail_rounding.
37635         * sysdeps/i386/fpu/libm-test-ulps: Update.
37636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37638 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
37640         [BZ #16289]
37641         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
37642         division by 0.
37644 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37646         [BZ #16195]
37647         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
37648         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
37649         (STAP_PROBE0): New macro.
37650         (STAP_PROBE1): Likewise.
37651         (STAP_PROBE2): Likewise.
37652         (STAP_PROBE3): Likewise.
37653         (STAP_PROBE4): Likewise.
37655 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
37657         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
37659 2013-12-02  Steve Ellcey  <sellcey@mips.com>
37661         * benchtests/Makefile (bench): Add sqrt.
37662         (LDLIBS-bench-sqrt): New.
37663         * benchtests/sqrt-input: New.
37665 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
37667         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
37668         (GAIH_EAI): Likewise.
37669         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
37670         (gaih_inet): Likewise.
37671         (getaddrinfo): Don't use GAIH_EAI.
37673         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
37674         (struct gaih): Remove definition.
37676 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37678         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
37679         Use HERRNOP directly.
37681 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37685 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
37687         * math/gen-auto-libm-tests.c (test_functions): Add more
37688         single-argument functions.
37689         (special_fill_pi_2): New function.
37690         (special_fill_minus_pi_2): Likewise.
37691         (special_fill_pi_6): Likewise.
37692         (special_fill_minus_pi_6): Likewise.
37693         (special_fill_pi_3): Likewise.
37694         (special_fill_2pi_3): Likewise.
37695         (special_fill_e): Likewise.
37696         (special_fill_1_e): Likewise.
37697         (special_fill_e_minus_1): Likewise.
37698         (special_real_inputs): Add more special inputs.
37699         (output_for_one_input_case): Do not require ERANGE on underflow to
37700         zero if round-to-nearest result does not underflow to zero, unless
37701         exact results required.
37702         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
37703         atan, atanh, cbrt, cos and cosh.
37704         * math/auto-libm-test-out: Regenerated.
37705         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
37706         (acos_tonearest_test_data): Likewise.
37707         (acos_towardzero_test_data): Likewise.
37708         (acos_downward_test_data): Likewise.
37709         (acos_upward_test_data): Likewise.
37710         (acosh_test_data): Likewise.
37711         (asin_test_data): Likewise.
37712         (asin_tonearest_test_data): Likewise.
37713         (asin_towardzero_test_data): Likewise.
37714         (asin_upward_test_data): Likewise.
37715         (asinh_test_data): Likewise.
37716         (atan_test_data): Likewise.
37717         (atanh_test_data): Likewise.
37718         (cbrt_test_data): Likewise.
37719         (cos_test_data): Likewise.
37720         (cos_tonearest_test_data): Likewise.
37721         (cos_towardzero_test_data): Likewise.
37722         (cos_downward_test_data): Likewise.
37723         (cos_upward_test_data): Likewise.
37724         (cosh_test_data): Likewise.
37725         (cosh_tonearest_test_data): Likewise.
37726         (cosh_towardzero_test_data): Likewise.
37727         (cosh_downward_test_data): Likewise.
37728         (cosh_upward_test_data): Likewise.
37729         * sysdeps/i386/fpu/libm-test-ulps: Update.
37730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37732 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
37734         [BZ #6787]
37735         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
37736         * math/w_exp10f.c (__exp10f): Likewise.
37737         * math/w_exp10l.c (__exp10l): Likewise.
37738         * math/libm-test.inc (exp10_test_data): Add more tests and expect
37739         errno settings in existing tests.
37741         [BZ #14032]
37742         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
37743         precision control set to double precision.
37744         * sysdeps/i386/fpu/w_sqrt.c: New file.
37745         * math/auto-libm-test-in: Add more tests.
37746         * math/auto-libm-test-out: Update.
37748         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
37749         (sqrt_test_tonearest): New function.
37750         (sqrt_towardzero_test_data): New variable.
37751         (sqrt_test_towardzero): New function.
37752         (sqrt_downward_test_data): New variable.
37753         (sqrt_test_downward): New function.
37754         (sqrt_upward_test_data): New variable.
37755         (sqrt_test_upward): New function.
37756         (main): Call the new functions.
37758         * math/gen-auto-libm-tests.c: New file.
37759         * math/auto-libm-test-in: Likewise.
37760         * math/auto-libm-test-out: New generated file.
37761         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
37762         variables.
37763         (%beautify): Add generated representations of zero.
37764         (top level): Set $auto_input and call parse_auto_input.
37765         (beautify): Remove trailing "f" from hex float constants.
37766         (parse_args): Handle XFAIL_TEST.
37767         (convert_condition): New function.
37768         (or_value): Likewise.
37769         (or_cond_value): Likewise.
37770         (generate_testfile): Handle AUTO_TESTS_* lines.
37771         (parse_auto_input): New function.
37772         * math/libm-test.inc (XFAIL_TEST): New macro.
37773         (ERRNO_UNCHANGED): Update value.
37774         (ERRNO_EDOM): Likewise.
37775         (ERRNO_ERANGE): Likewise.
37776         (IGNORE_RESULT): Likewise.
37777         (TEST_COND_flt_32): New macro.
37778         (TEST_COND_dbl_64): Likewise.
37779         (TEST_COND_ldbl_96_intel): Likewise.
37780         (TEST_COND_ldbl_96_m68k): Likewise.
37781         (TEST_COND_ldbl_128): Likewise.
37782         (TEST_COND_ldbl_128ibm): Likewise.
37783         (TEST_COND_long32): Likewise.
37784         (TEST_COND_long64): Likewise.
37785         (TEST_COND_before_rounding): Likewise.
37786         (TEST_COND_after_rounding): Likewise.
37787         (enable_test): Handle XFAIL_TEST flag.
37788         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
37789         with finite results.
37790         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
37791         auto-libm-test-out.
37793 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37794             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37796         [BZ #16214]
37797         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
37798         __tls_get_addr_internal instead of __tls_get_offset in order to
37799         avoid GOT pointer dependency.  Make rtld export
37800         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
37801         __tls_get_addr since we are a __tls_get_offset platform.
37802         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
37803         GOT pointer being set up before.
37804         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
37806 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
37808         * manual/math.texi (Errors in Math Functions): Document accuracy
37809         goals.
37811         [BZ #15004]
37812         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
37813         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
37814         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37815         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37816         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37817         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37818         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37819         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37820         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37821         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37822         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37823         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37824         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37825         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37826         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37827         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37829         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
37830         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
37831         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
37832         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
37833         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
37834         Likewise.
37835         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
37836         Likewise.
37837         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
37838         Likewise.
37839         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
37840         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
37841         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
37842         atomic-feupdateenv and flt-rounds.
37843         * sysdeps/powerpc/nofpu/Versions (libc): Add
37844         __atomic_feholdexcept, __atomic_feclearexcept,
37845         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
37846         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
37847         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
37848         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
37849         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
37850         here.
37851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
37852         Update.
37854         * manual/arith.texi (FP Exceptions): Document that exceptions may
37855         not be raised when matherr is used.
37856         (Math Error Reporting): Document overflow in directed rounding
37857         modes.  Document that errno may not be set when finite values are
37858         returned on overflow.  Document intent to set errno on underflow
37859         only for underflow to zero.
37861         [BZ #16271]
37862         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
37863         round-to-nearest then adjust result for other rounding modes.
37864         * include/fenv.h (fegetround): Use libm_hidden_proto.
37865         * math/fegetround.c (fegetround): Use libm_hidden_def.
37866         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
37867         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
37868         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37869         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
37870         Likewise.
37871         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
37872         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37873         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
37874         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
37876 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37878         [BZ #16077]
37879         * nss/Versions (libnss_files): Add
37880         _nss_files_gethostbyname3_r.
37881         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
37882         New function.
37883         (HOST_DB_LOOKUP): Remove macro.
37884         (_nss_files_gethostbyname_r): Implement function without the
37885         HOST_DB_LOOKUP macro.
37886         (_nss_files_gethostbyname2_r): Likewise.
37888 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
37890         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
37892 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
37894         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
37895         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
37896         warning.
37898 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37900         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
37901         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
37902         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37903         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37904         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
37905         __fe_nomask_env_priv and attribute_hidden.
37906         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
37907         (libc_feupdateenv_test_ppc): Likewise.
37908         (libc_feresetround_ppc): Likewise.
37909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37910         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
37911         compat_symbol macro.
37912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37913         (__fe_nomask_env): Likewise.
37914         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
37916 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37918         * string/Makefile: Remove ifunc tests.
37919         * string/test-string.h: Define TEST_IFUNC.
37920         * string/test-bcopy-ifunc.c: Remove.
37921         * string/test-bzero-ifunc.c: Likewise.
37922         * string/test-memccpy-ifunc.c: Likewise.
37923         * string/test-memchr-ifunc.c: Likewise.
37924         * string/test-memcmp-ifunc.c: Likewise.
37925         * string/test-memcpy-ifunc.c: Likewise.
37926         * string/test-memmem-ifunc.c: Likewise.
37927         * string/test-memmove-ifunc.c: Likewise.
37928         * string/test-mempcpy-ifunc.c: Likewise.
37929         * string/test-memrchr-ifunc.c: Likewise.
37930         * string/test-memset-ifunc.c: Likewise.
37931         * string/test-rawmemchr-ifunc.c: Likewise.
37932         * string/test-stpcpy-ifunc.c: Likewise.
37933         * string/test-stpncpy-ifunc.c: Likewise.
37934         * string/test-strcasecmp-ifunc.c: Likewise.
37935         * string/test-strcasestr-ifunc.c: Likewise.
37936         * string/test-strcat-ifunc.c: Likewise.
37937         * string/test-strchr-ifunc.c: Likewise.
37938         * string/test-strchrnul-ifunc.c: Likewise.
37939         * string/test-strcmp-ifunc.c: Likewise.
37940         * string/test-strcpy-ifunc.c: Likewise.
37941         * string/test-strcspn-ifunc.c: Likewise.
37942         * string/test-strlen-ifunc.c: Likewise.
37943         * string/test-strncasecmp-ifunc.c: Likewise.
37944         * string/test-strncat-ifunc.c: Likewise.
37945         * string/test-strncmp-ifunc.c: Likewise.
37946         * string/test-strncpy-ifunc.c: Likewise.
37947         * string/test-strnlen-ifunc.c: Likewise.
37948         * string/test-strpbrk-ifunc.c: Likewise.
37949         * string/test-strrchr-ifunc.c: Likewise.
37950         * string/test-strspn-ifunc.c: Likewise.
37951         * string/test-strstr-ifunc.c: Likewise.
37953 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37955         * benchtests/Makefile: Remove ifunc tests.
37956         * benchtests/bench-string.h: Define TEST_IFUNC.
37957         * benchtests/bench-bcopy-ifunc.c: Remove.
37958         * benchtests/bench-bzero-ifunc.c: Likewise.
37959         * benchtests/bench-memccpy-ifunc.c: Likewise.
37960         * benchtests/bench-memchr-ifunc.c: Likewise.
37961         * benchtests/bench-memcmp-ifunc.c: Likewise.
37962         * benchtests/bench-memcpy-ifunc.c: Likewise.
37963         * benchtests/bench-memmem-ifunc.c: Likewise.
37964         * benchtests/bench-memmove-ifunc.c: Likewise.
37965         * benchtests/bench-mempcpy-ifunc.c: Likewise.
37966         * benchtests/bench-memrchr-ifunc.c: Likewise.
37967         * benchtests/bench-memset-ifunc.c: Likewise.
37968         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
37969         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
37970         * benchtests/bench-stpcpy-ifunc.c: Likewise.
37971         * benchtests/bench-stpncpy-ifunc.c: Likewise.
37972         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
37973         * benchtests/bench-strcasestr-ifunc.c: Likewise.
37974         * benchtests/bench-strcat-ifunc.c: Likewise.
37975         * benchtests/bench-strchr-ifunc.c: Likewise.
37976         * benchtests/bench-strchrnul-ifunc.c: Likewise.
37977         * benchtests/bench-strcmp-ifunc.c: Likewise.
37978         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
37979         * benchtests/bench-strcpy-ifunc.c: Likewise.
37980         * benchtests/bench-strcspn-ifunc.c: Likewise.
37981         * benchtests/bench-strlen-ifunc.c: Likewise.
37982         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
37983         * benchtests/bench-strncat-ifunc.c: Likewise.
37984         * benchtests/bench-strncmp-ifunc.c: Likewise.
37985         * benchtests/bench-strncpy-ifunc.c: Likewise.
37986         * benchtests/bench-strnlen-ifunc.c: Likewise.
37987         * benchtests/bench-strpbrk-ifunc.c: Likewise.
37988         * benchtests/bench-strrchr-ifunc.c: Likewise.
37989         * benchtests/bench-strsep-ifunc.c: Likewise.
37990         * benchtests/bench-strspn-ifunc.c: Likewise.
37991         * benchtests/bench-strstr-ifunc.c: Likewise.
37993 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37995         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
37997 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37999         * resolv/netdb.h: Use __glibc_reserved instead __unused.
38000         * rt/aio.h: Likewise.
38001         * sysdeps/gnu/bits/utmp.h: Likewise.
38002         * sysdeps/gnu/bits/utmpx.h: Likewise.
38003         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
38004         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
38005         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
38006         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
38007         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
38008         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
38009         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
38010         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
38011         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
38012         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
38013         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
38014         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
38015         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
38016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
38017         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
38018         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
38019         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
38020         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
38021         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
38022         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
38023         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
38024         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
38025         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
38026         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
38027         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
38028         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38029         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
38030         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
38031         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
38032         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
38033         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
38034         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
38035         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
38036         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38037         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
38038         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
38039         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
38040         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
38041         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
38042         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
38043         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
38044         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
38046 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
38048         [BZ #16245]
38049         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
38050         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
38052 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
38054         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
38055         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
38056         Likewise.
38058 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38060         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
38061         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
38062         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
38063         (__fesetround): Remove define.
38064         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
38065         rounding and exceptions handling.
38066         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
38067         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
38068         (__fe_nomask_env): Likewise.
38069         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
38070         __fegetround instead of fegetround.
38071         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
38072         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
38074 2013-11-21  Roland McGrath  <roland@hack.frob.com>
38076         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
38077         it's there.
38079         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
38081 2013-11-21  Meador Inge  <meadori@codesourcery.com>
38083         [BZ #11157]
38084         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
38085         (encrypt_r): Likewise.
38086         * malloc/obstack.h (obstack_free): Likewise.
38087         * posix/unistd.h (encrypt): Likewise.
38089 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
38091         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
38092         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
38093         DL_CALL_DT_FINI() that call the functions directly.
38094         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
38095         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
38096         * elf/dl-fini.c: Likewise.
38098 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
38100         * malloc/hooks.c (memalign_check): Add alignment rounding.
38101         * malloc/malloc.c (_mid_memalign): New function.
38102         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
38103         Implement by calling _mid_memalign.
38104         * manual/probes.texi (Memory Allocation Probes): Remove
38105         memory_valloc_retry and memory_pvalloc_retry.
38107 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38109         * locale/programs/locarchive.c (open_archive): Add const
38110         qualifier to ARCHIVEFNAME and copy default fname to
38111         DEFAULT_FNAME.
38113         [BZ #15601]
38114         * libio/tst-widetext.input: Rename Oriya to Odia.
38115         * locale/iso-639.def: Likewise.
38117         * manual/probes.texi (Mathematical Function Probes): Add
38118         documentation for sin, cos, asin and acos probes.
38119         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
38120         (__sin32): Add slowasin probe.
38121         (__cos32): Add slowacos probe.
38122         (__mpsin): Add slowsin probe.
38123         (__mpcos): Add slowcos probe.
38125 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
38127         [BZ #15483]
38128         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
38129         thread-local __sim_exceptions_thread and global
38130         __sim_exceptions_global.
38131         (__sim_disabled_exceptions): Change to thread-local
38132         __sim_disabled_exceptions_thread and global
38133         __sim_disabled_exceptions_global.
38134         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38135         and global __sim_round_mode_global.
38136         (__simulate_exceptions): Use thread-local floating-point state and
38137         set global state from it as needed.
38138         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
38139         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
38140         __sim_round_mode_thread.
38141         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
38142         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
38143         and global __sim_exceptions_global.
38144         (__sim_disabled_exceptions): Change to thread-local
38145         __sim_disabled_exceptions_thread and global
38146         __sim_disabled_exceptions_global.
38147         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38148         and global __sim_round_mode_global.
38149         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
38150         (SIM_SET_GLOBAL): Likewise.
38151         * sysdeps/powerpc/soft-fp/sfp-machine.h
38152         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
38153         __sim_round_mode_thread.
38154         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
38155         __sim_disabled_exceptions_thread.
38156         (__sim_exceptions): Change to __sim_exceptions_thread.
38157         (__sim_disabled_exceptions): Change to
38158         __sim_disabled_exceptions_thread.
38159         (__sim_round_mode): Change to __sim_round_mode_thread.
38160         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
38161         thread-local floating-point state and set global state from it as
38162         needed.
38163         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
38164         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
38165         (__sim_disabled_exceptions): Remove extern declaration.
38166         (feenableexcept): Use thread-local floating-point state and set
38167         global state from it as needed.
38168         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
38169         extern declaration.
38170         (__sim_disabled_exceptions): Likewise.
38171         (__sim_round_mode): Likewise.
38172         (__fegetenv): Use thread-local floating-point state.
38173         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
38174         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
38175         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
38176         floating-point state and set global state from it as needed.
38177         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
38178         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38179         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
38180         Likewise.
38181         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
38182         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
38183         Likewise.
38184         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
38185         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
38186         Use __sim_round_mode_thread.
38187         * math/test-fenv-tls.c: New file.
38188         * math/Makefile (tests): Add test-fenv-tls.
38189         ($(objpfx)test-fenv-tls): Depend on
38190         $(common-objpfx)nptl/libpthread.so.
38192 2013-11-19  Andreas Schwab  <schwab@suse.de>
38194         * locale/programs/locale.c (show_info): Decode wordarray elements.
38195         * locale/categories.def (LC_MONETARY): Add element for
38196         _NL_MONETARY_CRNCYSTR.
38197         * locale/C-monetary.c (conversion_rate): New variable.
38198         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
38199         element.
38201 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
38203         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
38204         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
38206 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
38208         * elf/Makefile (tst-auxv): New test.
38209         * elf/tst-auxv.c: New
38210         * elf/rtld.c (dl_main): Adjust AT_EXECFN
38212 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
38214         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
38215         (hidden_proto): Caller changed.
38216         (hidden_tls_proto): New macro.
38217         (libc_hidden_tls_proto): Likewise.
38218         (rtld_hidden_tls_proto): Likewise.
38219         (libm_hidden_tls_proto): Likewise.
38220         (libresolv_hidden_tls_proto): Likewise.
38221         (librt_hidden_tls_proto): Likewise.
38222         (libdl_hidden_tls_proto): Likewise.
38223         (libnss_files_hidden_tls_proto): Likewise.
38224         (libnsl_hidden_tls_proto): Likewise.
38225         (libnss_nisplus_hidden_tls_proto): Likewise.
38226         (libutil_hidden_tls_proto): Likewise.
38228 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
38230         [BZ #10253]
38231         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
38232         (decompose_rpath): Defer expansion to fillin_rpath.
38233         (_dl_init_paths): Pass linkmap to fillin_rpath.
38235 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38237         * benchtests/Makefile: Add strsep.
38238         * benchtests/bench-strsep.c: New file: strsep benchtest.
38239         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
38241 2013-11-18  Andreas Schwab  <schwab@suse.de>
38243         * locale/programs/locale.c (show_info) [case byte]: Check for
38244         '\377' instead of '\177'.
38245         * locale/C-monetary.c (not_available): Always use "\377".
38246         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
38247         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
38248         detect unavailable sign_posn locale elements.
38249         * locale/localeconv.c (__localeconv): For grouping and
38250         mon_grouping handle "\177" and "\377" like no grouping.
38251         (INT_ELEM): New macro.  Use it to set all numeric members.
38252         * locale/programs/ld-monetary.c (monetary_read)
38253         <tok_mon_grouping>: Normalize single -1 to the empty string.
38254         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
38255         Likewise.
38257 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
38259         [BZ #16055]
38260         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
38261         when we match (nil).
38262         * stdio-common/tst-sscanf.c (struct test): Add testcase.
38264 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
38266         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
38267         (NO_TEST_INLINE): Update value.
38268         (ERRNO_UNCHANGED): Likewise.
38269         (ERRNO_EDOM): Likewise.
38270         (ERRNO_ERANGE): Likewise.
38271         (IGNORE_RESULT): Likewise.
38272         (check_float_internal): Check signs of NaN results if
38273         TEST_NAN_SIGN used.
38274         (check_complex): Pass TEST_NAN_SIGN flag through to second
38275         check_float_internal call.
38276         (copysign_test_data): Add tests with quiet NaNs as second
38277         argument.  Use TEST_NAN_SIGN.
38278         (fabs_test_data): Add test of negative quiet NaN argument.  Use
38279         TEST_NAN_SIGN.
38280         (signbit_test_data): Add tests of quiet NaN argument.
38281         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
38283         * math/gen-libm-test.pl (show_exceptions): Take extra argument
38284         $ignore_result.
38285         (parse_args): Handle function results specified as IGNORE.
38286         * math/libm-test.inc (IGNORE_RESULT): New macro.
38287         (check_float_internal): Do not check numerical result if flag
38288         IGNORE_RESULT set.
38289         (check_complex): Pass through IGNORE_RESULT to second
38290         check_float_internal call.
38291         (check_int): Do not check numerical result if flag IGNORE_RESULT
38292         set.
38293         (check_long): Likewise.
38294         (check_bool): Likewise.
38295         (check_longlong): Likewise.
38296         (lrint_test_data): Add tests of infinite and NaN arguments.
38297         (lrint_tonearest_test_data): Likewise.
38298         (lrint_towardzero_test_data): Likewise.
38299         (lrint_downward_test_data): Likewise.
38300         (lrint_upward_test_data): Likewise.
38301         (llrint_test_data): Likewise.
38302         (llrint_tonearest_test_data): Likewise.
38303         (llrint_towardzero_test_data): Likewise.
38304         (llrint_downward_test_data): Likewise.
38305         (llrint_upward_test_data): Likewise.
38306         (lround_test_data): Likewise.
38307         (llround_test_data): Likewise.
38309         * math/libm-test.inc (NO_TEST_INLINE): New macro.
38310         (ERRNO_UNCHANGED): Update value.
38311         (ERRNO_EDOM): Likewise.
38312         (ERRNO_ERANGE): Likewise.
38313         (NO_TEST_INLINE_FLOAT): New macro.
38314         (NO_TEST_INLINE_DOUBLE): Likewise.
38315         (enable_test): New function.
38316         (RUN_TEST_f_f): Check enable_test before running test.
38317         (RUN_TEST_2_f): Likewise.
38318         (RUN_TEST_fff_f): Likewise.
38319         (RUN_TEST_c_f): Likewise.
38320         (RUN_TEST_f_f1): Likewise.
38321         (RUN_TEST_fF_f1): Likewise.
38322         (RUN_TEST_fI_f1): Likewise.
38323         (RUN_TEST_ffI_f1): Likewise.
38324         (RUN_TEST_c_c): Likewise.
38325         (RUN_TEST_cc_c): Likewise.
38326         (RUN_TEST_f_i): Likewise.
38327         (RUN_TEST_f_i_tg): Likewise.
38328         (RUN_TEST_ff_i_tg): Likewise.
38329         (RUN_TEST_f_b): Likewise.
38330         (RUN_TEST_f_b_tg): Likewise.
38331         (RUN_TEST_f_l): Likewise.
38332         (RUN_TEST_f_L): Likewise.
38333         (RUN_TEST_fFF_11): Likewise.
38334         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
38335         conditionals.
38336         (cosh_test_data): Likewise.
38337         (exp_test_data): Likewise.
38338         (expm1_test_data): Likewise.
38339         (hypot_test_data): Likewise.
38340         (pow_test_data): Likewise.
38341         (sinh_test_data): Likewise.
38342         (tanh_test_data): Likewise.
38343         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
38344         flags argument.
38346         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
38347         tests with quiet NaN input and output.
38348         (acosh_test_data): Likewise.
38349         (asin_test_data): Likewise.
38350         (asinh_test_data): Likewise.
38351         (atan_test_data): Likewise.
38352         (atanh_test_data): Likewise.
38353         (atan2_test_data): Likewise.
38354         (cbrt_test_data): Likewise.
38355         (cos_test_data): Likewise.
38356         (cosh_test_data): Likewise.
38357         (erf_test_data): Likewise.
38358         (erfc_test_data): Likewise.
38359         (exp_test_data): Likewise.
38360         (exp10_test_data): Likewise.
38361         (exp2_test_data): Likewise.
38362         (expm1_test_data): Likewise.
38363         (hypot_test_data): Likewise.
38364         (j0_test_data): Likewise.
38365         (j1_test_data): Likewise.
38366         (jn_test_data): Likewise.
38367         (lgamma_test_data): Likewise.
38368         (log_test_data): Likewise.
38369         (log10_test_data): Likewise.
38370         (log1p_test_data): Likewise.
38371         (log2_test_data): Likewise.
38372         (pow_test_data): Likewise.
38373         (scalb_test_data): Likewise.
38374         (sin_test_data): Likewise.
38375         (sincos_test_data): Likewise.
38376         (sinh_test_data): Likewise.
38377         (tan_test_data): Likewise.
38378         (tanh_test_data): Likewise.
38379         (tgamma_test_data): Likewise.
38380         (y0_test_data): Likewise.
38381         (y1_test_data): Likewise.
38382         (yn_test_data): Likewise.
38384         [BZ #16167]
38385         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
38386         argument being NaN and avoid computations with second argument in
38387         that case.
38388         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38389         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38390         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38392 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
38394         * locale/iso-639.def: Add Chitwani Tharu (the).
38396 2013-11-14  Andreas Schwab  <schwab@suse.de>
38398         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
38399         word instead of empty string.
38401 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38404         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
38405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38406         (__fe_nomask_env): Likewise.
38408 2013-11-13  Steve Ellcey  <sellcey@mips.com>
38410         * benchtests/bench-timing.h: Include time.h.
38412 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
38414         [BZ #15997]
38415         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
38416         to 3.4.0 for x32.
38417         * sysdeps/unix/sysv/linux/configure: Regenerated.
38419 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
38421         [BZ #16151]
38422         * stdlib/strtod_l.c (round_and_return): Do not consider
38423         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
38424         exponent one less than half the least subnormal exponent.
38425         * stdlib/test-strtod-round-data: Add more tests.
38426         * stdlib/tst-strtod-round.c (tests): Regenerated.
38428 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38430         [BZ #14143]
38431         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
38432         (__fe_mask_env): Likewise.
38433         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
38434         libm_hidden_proto and add function prototype.
38435         (__fe_mask_env): Add function prototype.
38436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38437         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
38438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38439         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
38440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38441         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
38443 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38445         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
38446         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
38448 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38450         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
38451         of htab_find_slot().
38453 2013-11-11  David S. Miller  <davem@davemloft.net>
38455         [BZ #16150]
38456         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
38457         symbol in the non-vis3 case in static builds.
38458         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
38459         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
38460         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
38461         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
38463 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
38465         [BZ #387]
38466         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
38467         it is empty.
38469 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38471         * benchtests/Makefile: Add bench-strtod.
38472         * benchtests/bench-strtod.c: New file: strtod benchtest
38474 2013-11-11  Andreas Schwab  <schwab@suse.de>
38476         [BZ #16153]
38477         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
38478         terminating NUL in key length.
38480 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38482         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
38483         Add artificial ODP entry for vDSO symbol for PPC64.
38484         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
38485         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38487 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
38489         [BZ #15374]
38490         * nss/getent.c (services_keys): Recognize services starting with digit.
38492 2013-11-06  David S. Miller  <davem@davemloft.net>
38494         [BZ #15985]
38495         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
38496         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
38498 2013-11-06  Will Newton  <will.newton@linaro.org>
38500         * manual/memory.texi (Malloc Examples): Remove register
38501         keyword from examples.
38503 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
38505         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
38507 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
38509         [BZ #6981]
38510         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
38511         depending on [__GCC_IEC_559 > 0].
38512         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
38513         depending on [__GCC_IEC_559_COMPLEX > 0].
38515 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
38517         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
38518         to iso-639.def.
38520 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
38522         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
38524 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
38526         [BZ #16112]
38527         * malloc/malloc (malloc_info): Do not handle first bin as
38528         special case.
38530 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
38532         * locale/iso-639.def: Add Central Nahuatl (nhn).
38534 2013-11-01  Bruno Haible  <bruno@clisp.org>
38536         [BZ #7003]
38537         * manual/math.texi (BSD Random): Specify range upper bound as
38538         in POSIX.
38540 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
38542         * locale/iso-639.def: Add Meadow Mari (mhr).
38544 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
38546         [BZ #14752], [BZ #15763]
38547         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
38548         Validate name.
38549         * rt/tst_shm.c: Add test for escaping directory.
38551 2013-10-31  Andreas Schwab  <schwab@suse.de>
38553         [BZ #15917]
38554         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
38555         followed by 'x' as part of digit sequence.
38556         * stdio-common/tst-sscanf.c (double_tests2): New tests.
38558 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
38560         [BZ #16037]
38561         * configure.ac: allow GNU Make 4.0 and greater.
38562         * configure: Regenerated.
38564 2013-10-30  Will Newton  <will.newton@linaro.org>
38566         [BZ #16038]
38567         * malloc/hooks.c (memalign_check): Limit alignment to the
38568         maximum representable power of two.
38569         * malloc/malloc.c (__libc_memalign): Likewise.
38570         * malloc/tst-memalign.c (do_test): Add test for very
38571         large alignment values.
38572         * malloc/tst-posix_memalign.c (do_test): Likewise.
38574 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
38576         [BZ #11087]
38577         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
38578         (munmap_chunk): Likewise.
38579         (mremap_chunk): Likewise.
38581 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
38583         [BZ #15799]
38584         * stdlib/div.c (div): Remove obsolete code.
38585         * stdlib/ldiv.c (ldiv): Likewise.
38586         * stdlib/lldiv.c (lldiv): Likewise.
38588 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38590         [BZ #16071]
38591         * nss/nss_files/files-XXX.c (get_contents_ret): New
38592         enumerator.
38593         (get_contents): New function.
38594         (internal_getent): Use it.  Expand size of LINEBUFLEN.
38596 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
38598         * configure.in: Moved to ...
38599         * configure.ac: ... here. Change reference to configure.in
38600         to configure.ac.
38601         * sysdeps/arm/preconfigure.ac: ... here.
38602         configure.in to configure.ac.
38603         * sysdeps/gnu/configure.in: Moved to ...
38604         * sysdeps/gnu/configure.ac: ... here.
38605         * sysdeps/i386/configure.in: Moved to ...
38606         * sysdeps/i386/configure.ac: ... here.
38607         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
38608         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
38609         * sysdeps/mach/configure.in: Moved to ...
38610         * sysdeps/mach/configure.ac: ... here.
38611         * sysdeps/mach/hurd/configure.in: Moved to ...
38612         * sysdeps/mach/hurd/configure.ac: ... here.
38613         * sysdeps/powerpc/configure.in: Moved to ...
38614         * sysdeps/powerpc/configure.ac: ... here.
38615         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
38616         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
38617         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
38618         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
38619         * sysdeps/s390/s390-32/configure.in: Moved to ...
38620         * sysdeps/s390/s390-32/configure.ac: ... here.
38621         * sysdeps/s390/s390-64/configure.in: Moved to ...
38622         * sysdeps/s390/s390-64/configure.ac: ... here.
38623         * sysdeps/sh/configure.in: Moved to ...
38624         * sysdeps/sh/configure.ac: ... here.
38625         * sysdeps/sparc/configure.in: Moved to ...
38626         * sysdeps/sparc/configure.ac: ... here.
38627         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
38628         * sysdeps/unix/sysv/linux/configure.ac: ... here.
38629         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
38630         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
38631         * sysdeps/x86_64/configure.in: Moved to ...
38632         * sysdeps/x86_64/configure.ac: ... here.
38633         * sysdeps/x86_64/preconfigure.in: Moved to ...
38634         * sysdeps/x86_64/preconfigure.ac: ... here.
38635         * aclocal.m4: Change reference to configure.in to configure.ac.
38636         * config.h.in: Likewise.
38637         * manual/install.texi: Likewise.
38638         * manual/maint.texi: Likewise.
38639         * Makefile: Likewise.
38640         * malloc/Makefile: Likewise.
38641         * nscd/Makefile: Likewise.
38642         * Makeconfig: Change reference to configure.in and
38643         preconfigure.in to configure.ac and preconfigure.ac
38644         respectively.
38645         * INSTALL: Regenerated.
38646         * configure: Likewise.
38647         * sysdeps/gnu/configure: Likewise.
38648         * sysdeps/i386/configure: Likewise.
38649         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
38650         * sysdeps/mach/configure: Likewise.
38651         * sysdeps/mach/hurd/configure: Likewise.
38652         * sysdeps/powerpc/configure: Likewise.
38653         * sysdeps/powerpc/powerpc32/configure: Likewise.
38654         * sysdeps/powerpc/powerpc64/configure: Likewise.
38655         * sysdeps/s390/s390-32/configure: Likewise.
38656         * sysdeps/s390/s390-64/configure: Likewise.
38657         * sysdeps/sh/configure: Likewise.
38658         * sysdeps/sparc/configure: Likewise.
38659         * sysdeps/unix/sysv/linux/configure: Likewise.
38660         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
38661         * sysdeps/x86_64/configure: Likewise.
38662         * sysdeps/x86_64/preconfigure: Likewise.
38664 2013-10-29  Andreas Schwab  <schwab@suse.de>
38666         * stdio-common/Makefile (tst-swscanf-ENV): Define.
38668 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38670         * benchtests/pow-inputs: Add new inputs.
38672         * benchtests/exp-inputs: Add new inputs.
38674         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
38675         conditional check for return value.
38676         (__cos32): Likewise.
38678 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38680         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
38681         to provide a boost for large inputs with word alignment.
38682         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
38683         implementation based on optimized PPC64 strcpy.
38684         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
38685         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
38686         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
38687         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
38689 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38691         [BZ #2801]
38692         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
38694 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38696         [BZ #14876]
38697         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
38698         * time/tst-strptime.c (day_tests): Add testcase.
38700 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38702         [BZ #14029]
38703         * manual/pattern.texi: Acknowledge that fnmatch can fail.
38705 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
38707         [BZ #16074]
38708         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
38709         MAP_FAILED on error.
38711 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38713         [BZ #16072]
38714         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
38715         heap for large requests.
38717 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
38719         [BZ #9954]
38720         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
38721         result if the result has no associated interface.
38722         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
38723         interface for all 127.X.Y.Z addresses.
38725 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
38727         * locale/iso-639.def: Add Ligurian (lij)
38729 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
38731         [BZ #15825]
38732         * sunrpc/rpc_main.c: Document rpcgen -5.
38734 2013-10-19  Michael Stahl  <mstahl@redhat.com>
38736         * elf/rtld.c (do_preload): Print the reason why preloading failed.
38738 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38740         [BZ #10278]
38741         * posix/glob.c: Match only directories when trailing slash is present.
38742         * posix/tst-gnuglob.c (my_opendir): Do not open files.
38743         (main): Add testcase.
38745 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38747         [BZ #15670]
38748         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
38750 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
38752         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
38753         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
38754         AUTH_DES and cindex for FIPS 140-2.
38755         (DES Encryption): Add cindex FIPS 46-3.
38757         * locale/locarchive.h (struct locarhandle): Add fname.
38758         * locale/programs/localedef.c (main): Pass ARGV[remaining]
38759         if an optional argument was specified to --list-archive,
38760         otherwise NULL.
38761         * locale/programs/locarchive.c (show_archive_content): Take new
38762         argument fname and pass it via ah.fname to open_archive.
38763         * locale/programs/localedef.h: Update decl.
38764         (open_archive): If AH->fname is non-null, open that file
38765         rather than the default file name, and don't ignore ENOENT.
38766         (create_archive): Set AH.fname to NULL.
38767         (delete_locales_from_archive): Likewise.
38768         (add_locales_to_archive): Likewise.
38769         * locale/programs/locfile.c (write_all_categories): Likewise.
38771 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
38772             Aldy Hernandez  <aldyh@redhat.com>
38774         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
38775         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
38776         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
38777         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
38778         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
38779         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
38780         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
38781         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
38782         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
38783         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
38784         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
38785         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
38786         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
38787         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
38788         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
38789         Likewise.
38790         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
38791         Likewise.
38792         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
38793         Likewise.
38794         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
38795         Likewise.
38796         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
38797         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
38798         Likewise.
38799         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
38800         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
38801         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
38802         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
38803         Likewise.
38804         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
38805         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
38806         * sysdeps/powerpc/preconfigure: Likewise.
38807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
38808         Likewise.
38809         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
38810         Replace contents of file by #include of <fenv_libc.h>.
38811         * sysdeps/powerpc/soft-fp/sfp-machine.h
38812         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
38813         and <sys/prctl.h>.
38814         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
38815         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
38816         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
38817         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
38818         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
38819         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
38820         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
38821         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
38822         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
38823         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
38824         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
38825         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
38826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38827         Allow copysignl PLT reference to be missing.
38829 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
38830             Joseph Myers  <joseph@codesourcery.com
38832         [BZ #15948]
38833         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
38834         single character.
38835         (add_to_tablewc): Assert sequence of wide characters is nonempty.
38837 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38839         * elf/tst-tls-dlinfo.c: Don't include tls.h.
38840         * elf/tst-tls1.c: Likewise.
38841         * elf/tst-tls10.h: Likewise.
38842         * elf/tst-tls14.c: Likewise.
38843         * elf/tst-tls2.c: Likewise.
38844         * elf/tst-tls3.c: Likewise.
38845         * elf/tst-tls4.c: Likewise.
38846         * elf/tst-tls5.c: Likewise.
38847         * elf/tst-tls6.c: Likewise.
38848         * elf/tst-tls7.c: Likewise.
38849         * elf/tst-tls8.c: Likewise.
38850         * elf/tst-tls9.c: Likewise.
38851         * elf/tst-tlsmod1.c: Likewise.
38852         * elf/tst-tlsmod13.c: Likewise.
38853         * elf/tst-tlsmod13a.c: Likewise.
38854         * elf/tst-tlsmod14a.c: Likewise.
38855         * elf/tst-tlsmod16a.c: Likewise.
38856         * elf/tst-tlsmod16b.c: Likewise.
38857         * elf/tst-tlsmod2.c: Likewise.
38858         * elf/tst-tlsmod3.c: Likewise.
38859         * elf/tst-tlsmod4.c: Likewise.
38860         * elf/tst-tlsmod5.c: Likewise.
38861         * elf/tst-tlsmod6.c: Likewise.
38863 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
38865         [BZ #12486]
38866         * malloc/malloc.c: remove checks for statistics.
38868 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
38870         [BZ #15277]
38871         * inet/inet_net.c (inet_network): Detect additional invalid strings.
38872         * inet/tst-network.c: Add testcase.
38874 2013-10-17  Andreas Schwab  <schwab@suse.de>
38876         [BZ #15218]
38877         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
38878         to determine canonical name.
38880 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
38882         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
38883         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
38884         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38885         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38886         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38887         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38888         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38889         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38890         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38891         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38892         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38893         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38894         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38895         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38896         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38897         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38898         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38899         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38900         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38901         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38902         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38903         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38904         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38905         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
38906         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
38907         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38908         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38909         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
38910         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38911         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
38912         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38913         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38914         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38915         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38916         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38917         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38918         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38919         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38920         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38921         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38922         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38923         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38924         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38925         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38926         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38927         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38928         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38929         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38930         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38931         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38932         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38933         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38934         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38935         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38936         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38937         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38938         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38939         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38941 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
38943         [BZ #16041]
38944         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
38945         make result into a quiet NaN.
38947 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
38949         * soft-fp/adddf3.c: Fix horizontal whitespace.
38950         * soft-fp/addsf3.c: Likewise.
38951         * soft-fp/addtf3.c: Likewise.
38952         * soft-fp/divdf3.c: Likewise.
38953         * soft-fp/divsf3.c: Likewise.
38954         * soft-fp/divtf3.c: Likewise.
38955         * soft-fp/double.h: Likewise.
38956         * soft-fp/eqdf2.c: Likewise.
38957         * soft-fp/eqsf2.c: Likewise.
38958         * soft-fp/eqtf2.c: Likewise.
38959         * soft-fp/extenddftf2.c: Likewise.
38960         * soft-fp/extended.h: Likewise.
38961         * soft-fp/extendsfdf2.c: Likewise.
38962         * soft-fp/extendsftf2.c: Likewise.
38963         * soft-fp/extendxftf2.c: Likewise.
38964         * soft-fp/fixdfdi.c: Likewise.
38965         * soft-fp/fixdfsi.c: Likewise.
38966         * soft-fp/fixdfti.c: Likewise.
38967         * soft-fp/fixsfdi.c: Likewise.
38968         * soft-fp/fixsfsi.c: Likewise.
38969         * soft-fp/fixsfti.c: Likewise.
38970         * soft-fp/fixtfdi.c: Likewise.
38971         * soft-fp/fixtfsi.c: Likewise.
38972         * soft-fp/fixtfti.c: Likewise.
38973         * soft-fp/fixunsdfdi.c: Likewise.
38974         * soft-fp/fixunsdfsi.c: Likewise.
38975         * soft-fp/fixunsdfti.c: Likewise.
38976         * soft-fp/fixunssfdi.c: Likewise.
38977         * soft-fp/fixunssfsi.c: Likewise.
38978         * soft-fp/fixunssfti.c: Likewise.
38979         * soft-fp/fixunstfdi.c: Likewise.
38980         * soft-fp/fixunstfsi.c: Likewise.
38981         * soft-fp/fixunstfti.c: Likewise.
38982         * soft-fp/floatdidf.c: Likewise.
38983         * soft-fp/floatdisf.c: Likewise.
38984         * soft-fp/floatditf.c: Likewise.
38985         * soft-fp/floatsidf.c: Likewise.
38986         * soft-fp/floatsisf.c: Likewise.
38987         * soft-fp/floatsitf.c: Likewise.
38988         * soft-fp/floattidf.c: Likewise.
38989         * soft-fp/floattisf.c: Likewise.
38990         * soft-fp/floattitf.c: Likewise.
38991         * soft-fp/floatundidf.c: Likewise.
38992         * soft-fp/floatundisf.c: Likewise.
38993         * soft-fp/floatunditf.c: Likewise.
38994         * soft-fp/floatunsidf.c: Likewise.
38995         * soft-fp/floatunsisf.c: Likewise.
38996         * soft-fp/floatunsitf.c: Likewise.
38997         * soft-fp/floatuntidf.c: Likewise.
38998         * soft-fp/floatuntisf.c: Likewise.
38999         * soft-fp/floatuntitf.c: Likewise.
39000         * soft-fp/fmadf4.c: Likewise.
39001         * soft-fp/fmasf4.c: Likewise.
39002         * soft-fp/fmatf4.c: Likewise.
39003         * soft-fp/gedf2.c: Likewise.
39004         * soft-fp/gesf2.c: Likewise.
39005         * soft-fp/getf2.c: Likewise.
39006         * soft-fp/ledf2.c: Likewise.
39007         * soft-fp/lesf2.c: Likewise.
39008         * soft-fp/letf2.c: Likewise.
39009         * soft-fp/muldf3.c: Likewise.
39010         * soft-fp/mulsf3.c: Likewise.
39011         * soft-fp/multf3.c: Likewise.
39012         * soft-fp/negdf2.c: Likewise.
39013         * soft-fp/negsf2.c: Likewise.
39014         * soft-fp/negtf2.c: Likewise.
39015         * soft-fp/op-1.h: Likewise.
39016         * soft-fp/op-2.h: Likewise.
39017         * soft-fp/op-4.h: Likewise.
39018         * soft-fp/op-8.h: Likewise.
39019         * soft-fp/op-common.h: Likewise.
39020         * soft-fp/quad.h: Likewise.
39021         * soft-fp/single.h: Likewise.
39022         * soft-fp/soft-fp.h: Likewise.
39023         * soft-fp/sqrtdf2.c: Likewise.
39024         * soft-fp/sqrtsf2.c: Likewise.
39025         * soft-fp/sqrttf2.c: Likewise.
39026         * soft-fp/subdf3.c: Likewise.
39027         * soft-fp/subsf3.c: Likewise.
39028         * soft-fp/subtf3.c: Likewise.
39029         * soft-fp/truncdfsf2.c: Likewise.
39030         * soft-fp/trunctfdf2.c: Likewise.
39031         * soft-fp/trunctfsf2.c: Likewise.
39032         * soft-fp/trunctfxf2.c: Likewise.
39033         * soft-fp/unorddf2.c: Likewise.
39034         * soft-fp/unordsf2.c: Likewise.
39035         * soft-fp/unordtf2.c: Likewise.
39037 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
39039         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
39040         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
39042 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
39044         * elf/dl-libc.c: Clear initfini list after freeing.
39046 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
39048         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
39049         * soft-fp/addsf3.c: Likewise.
39050         * soft-fp/addtf3.c: Likewise.
39051         * soft-fp/divdf3.c: Likewise.
39052         * soft-fp/divsf3.c: Likewise.
39053         * soft-fp/divtf3.c: Likewise.
39054         * soft-fp/double.h: Likewise.
39055         * soft-fp/eqdf2.c: Likewise.
39056         * soft-fp/eqsf2.c: Likewise.
39057         * soft-fp/eqtf2.c: Likewise.
39058         * soft-fp/extenddftf2.c: Likewise.
39059         * soft-fp/extended.h: Likewise.
39060         * soft-fp/extendsfdf2.c: Likewise.
39061         * soft-fp/extendsftf2.c: Likewise.
39062         * soft-fp/extendxftf2.c: Likewise.
39063         * soft-fp/fixdfdi.c: Likewise.
39064         * soft-fp/fixdfsi.c: Likewise.
39065         * soft-fp/fixdfti.c: Likewise.
39066         * soft-fp/fixsfdi.c: Likewise.
39067         * soft-fp/fixsfsi.c: Likewise.
39068         * soft-fp/fixsfti.c: Likewise.
39069         * soft-fp/fixtfdi.c: Likewise.
39070         * soft-fp/fixtfsi.c: Likewise.
39071         * soft-fp/fixtfti.c: Likewise.
39072         * soft-fp/fixunsdfdi.c: Likewise.
39073         * soft-fp/fixunsdfsi.c: Likewise.
39074         * soft-fp/fixunsdfti.c: Likewise.
39075         * soft-fp/fixunssfdi.c: Likewise.
39076         * soft-fp/fixunssfsi.c: Likewise.
39077         * soft-fp/fixunssfti.c: Likewise.
39078         * soft-fp/fixunstfdi.c: Likewise.
39079         * soft-fp/fixunstfsi.c: Likewise.
39080         * soft-fp/fixunstfti.c: Likewise.
39081         * soft-fp/floatdidf.c: Likewise.
39082         * soft-fp/floatdisf.c: Likewise.
39083         * soft-fp/floatditf.c: Likewise.
39084         * soft-fp/floatsidf.c: Likewise.
39085         * soft-fp/floatsisf.c: Likewise.
39086         * soft-fp/floatsitf.c: Likewise.
39087         * soft-fp/floattidf.c: Likewise.
39088         * soft-fp/floattisf.c: Likewise.
39089         * soft-fp/floattitf.c: Likewise.
39090         * soft-fp/floatundidf.c: Likewise.
39091         * soft-fp/floatundisf.c: Likewise.
39092         * soft-fp/floatunsidf.c: Likewise.
39093         * soft-fp/floatunsisf.c: Likewise.
39094         * soft-fp/floatuntidf.c: Likewise.
39095         * soft-fp/floatuntisf.c: Likewise.
39096         * soft-fp/floatuntitf.c: Likewise.
39097         * soft-fp/fmadf4.c: Likewise.
39098         * soft-fp/fmasf4.c: Likewise.
39099         * soft-fp/fmatf4.c: Likewise.
39100         * soft-fp/gedf2.c: Likewise.
39101         * soft-fp/gesf2.c: Likewise.
39102         * soft-fp/getf2.c: Likewise.
39103         * soft-fp/ledf2.c: Likewise.
39104         * soft-fp/lesf2.c: Likewise.
39105         * soft-fp/letf2.c: Likewise.
39106         * soft-fp/muldf3.c: Likewise.
39107         * soft-fp/mulsf3.c: Likewise.
39108         * soft-fp/multf3.c: Likewise.
39109         * soft-fp/negdf2.c: Likewise.
39110         * soft-fp/negsf2.c: Likewise.
39111         * soft-fp/negtf2.c: Likewise.
39112         * soft-fp/op-1.h: Likewise.
39113         * soft-fp/op-2.h: Likewise.
39114         * soft-fp/op-4.h: Likewise.
39115         * soft-fp/op-8.h: Likewise.
39116         * soft-fp/op-common.h: Likewise.
39117         * soft-fp/quad.h: Likewise.
39118         * soft-fp/single.h: Likewise.
39119         * soft-fp/soft-fp.h: Likewise.
39120         * soft-fp/sqrtdf2.c: Likewise.
39121         * soft-fp/sqrtsf2.c: Likewise.
39122         * soft-fp/sqrttf2.c: Likewise.
39123         * soft-fp/subdf3.c: Likewise.
39124         * soft-fp/subsf3.c: Likewise.
39125         * soft-fp/subtf3.c: Likewise.
39126         * soft-fp/truncdfsf2.c: Likewise.
39127         * soft-fp/trunctfdf2.c: Likewise.
39128         * soft-fp/trunctfsf2.c: Likewise.
39129         * soft-fp/trunctfxf2.c: Likewise.
39130         * soft-fp/unorddf2.c: Likewise.
39131         * soft-fp/unordsf2.c: Likewise.
39132         * soft-fp/unordtf2.c: Likewise.
39134 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
39136         [BZ #15672]
39137         * misc/error.c (error_tail): Fix possible buffer overflow.
39139 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
39141         [BZ #13028]
39142         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
39143         address.
39145 2013-10-14  P. J. McDermott  <pj@pehjota.net>
39147         [BZ #832]
39148         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
39149         testing pipefail option.
39151 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
39153         * soft-fp/double.h: Indent preprocessor directives inside #if.
39154         * soft-fp/extended.h: Likewise.
39155         * soft-fp/op-2.h: Likewise.
39156         * soft-fp/op-4.h: Likewise.
39157         * soft-fp/op-common.h: Likewise.
39158         * soft-fp/quad.h: Likewise.
39159         * soft-fp/single.h: Likewise.
39160         * soft-fp/soft-fp.h: Likewise.
39162 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
39164         * iconv/iconv_prog.c: Fix typos.
39165         * stdio-common/psiginfo-data.h: Likewise.
39167 2013-10-12   Reuben Thomas <rrt@sc3d.org>
39169         [BZ #15764]
39170         * locale/setlocale.c: Fix typo.
39172 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
39174         [BZ #16036]
39175         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
39176         signaling NaN arguments.
39177         * soft-fp/unordsf2.c (__unordsf2): Likewise.
39178         * soft-fp/unordtf2.c (__unordtf2): Likewise.
39180         [BZ #14910]
39181         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
39182         unordered operands.
39183         * soft-fp/gesf2.c (__gesf2): Likewise.
39184         * soft-fp/getf2.c (__getf2): Likewise.
39185         * soft-fp/ledf2.c (__ledf2): Likewise.
39186         * soft-fp/lesf2.c (__lesf2): Likewise.
39187         * soft-fp/letf2.c (__letf2): Likewise.
39189         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
39190         * soft-fp/eqsf2.c (__eqsf2): Likewise.
39191         * soft-fp/eqtf2.c (__eqtf2): Likewise.
39192         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
39193         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
39194         * soft-fp/fixdfti.c (__fixdfti): Likewise.
39195         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
39196         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
39197         * soft-fp/fixsfti.c (__fixsfti): Likewise.
39198         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
39199         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
39200         * soft-fp/fixtfti.c (__fixtfti): Likewise.
39201         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
39202         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
39203         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
39204         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
39205         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
39206         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
39207         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
39208         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
39209         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
39210         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
39211         * soft-fp/floatdisf.c (__floatdisf): Likewise.
39212         * soft-fp/floatsisf.c (__floatsisf): Likewise.
39213         * soft-fp/floattidf.c (__floattidf): Likewise.
39214         * soft-fp/floattisf.c (__floattisf): Likewise.
39215         * soft-fp/floattitf.c (__floattitf): Likewise.
39216         * soft-fp/floatundidf.c (__floatundidf): Likewise.
39217         * soft-fp/floatundisf.c (__floatundisf): Likewise.
39218         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
39219         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
39220         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
39221         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
39222         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
39223         * soft-fp/gesf2.c (__gesf2): Likewise.
39224         * soft-fp/getf2.c (__getf2): Likewise.
39225         * soft-fp/ledf2.c (__ledf2): Likewise.
39226         * soft-fp/lesf2.c (__lesf2): Likewise.
39227         * soft-fp/letf2.c (__letf2): Likewise.
39229         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
39230         Undefine and redefine.
39231         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
39232         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
39233         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
39234         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
39235         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39236         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
39237         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39238         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
39239         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39240         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
39241         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39242         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
39243         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39244         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
39245         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39247         [BZ #16032]
39248         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
39249         without decrementing exponent if mantissa >= that for the
39250         denominator, not >.
39251         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
39252         denominator, not >.  Decrement exponent in < case instead of
39253         incrementing in >= case.
39254         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
39255         without decrementing exponent if mantissa >= that for the
39256         denominator, not >.
39258         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
39259         computing saturated result for unsigned overflow.
39261 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39262             Jeff Law  <law@redhat.com>
39264         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
39265         (atan2Mp): Add systemtap probe marker.
39266         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
39267         (__ieee754_log): Add systemtap probe marker.
39268         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
39269         (atanMp): Add systemtap probe marker.
39270         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
39271         (tanMp): Add systemtap probe marker.
39272         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
39273         (__slowexp): Add systemtap probe marker.
39274         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
39275         (__slowpow): Add systemtap probe marker.
39276         * manual/probes.texi: Document probes.
39278 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
39280         [BZ #15362]
39281         * libio/fileops.c (_IO_new_file_write): Return count of bytes
39282         written.
39283         (_IO_new_file_xsputn): Don't return EOF if nothing has been
39284         written.
39285         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
39286         written to buffer but not flushed.
39287         * libio/iofwrite_u.c:  Likewise.
39288         * libio/iopadn.c:  Return bytes returned even if EOF was
39289         encountered.
39290         * libio/iowpadn.c:  Likewise.
39291         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
39292         if _IO_padn does not write the whole buffer.
39293         [!COMPILE_WPRINTF] (PAD): Likewise.
39295 2013-10-10  David S. Miller  <davem@davemloft.net>
39297         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
39298         directory block.
39300 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
39302         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
39303         instead of FSF address.
39304         * soft-fp/fixdfti.c: Likewise.
39305         * soft-fp/fixsfti.c: Likewise.
39306         * soft-fp/fixtfti.c: Likewise.
39307         * soft-fp/fixunsdfti.c: Likewise.
39308         * soft-fp/fixunssfti.c: Likewise.
39309         * soft-fp/fixunstfti.c: Likewise.
39310         * soft-fp/floattidf.c: Likewise.
39311         * soft-fp/floattisf.c: Likewise.
39312         * soft-fp/floattitf.c: Likewise.
39313         * soft-fp/floatuntidf.c: Likewise.
39314         * soft-fp/floatuntisf.c: Likewise.
39315         * soft-fp/floatuntitf.c: Likewise.
39316         * soft-fp/trunctfxf2.c: Likewise.
39318         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
39319         * soft-fp/fixdfti.c: Likewise.
39320         * soft-fp/fixsfti.c: Likewise.
39321         * soft-fp/fixtfti.c: Likewise.
39322         * soft-fp/fixunsdfti.c: Likewise.
39323         * soft-fp/fixunssfti.c: Likewise.
39324         * soft-fp/fixunstfti.c: Likewise.
39325         * soft-fp/floattidf.c: Likewise.
39326         * soft-fp/floattisf.c: Likewise.
39327         * soft-fp/floattitf.c: Likewise.
39328         * soft-fp/floatuntidf.c: Likewise.
39329         * soft-fp/floatuntisf.c: Likewise.
39330         * soft-fp/floatuntitf.c: Likewise.
39331         * soft-fp/trunctfxf2.c: Likewise.
39333 2013-10-10  David S. Miller  <davem@davemloft.net>
39335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39337 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
39339         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39340         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
39341         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
39342         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
39343         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
39344         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
39345         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
39347         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
39348         for NaNs before doing comparisons on argument.
39349         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
39350         Likewise.
39352 2013-10-10  Will Newton  <will.newton@linaro.org>
39354         * malloc/hooks.c (memalign_check): Ensure the value of bytes
39355         passed to _int_memalign does not overflow.
39357 2013-10-10  Torvald Riegel  <triegel@redhat.com>
39359         * scripts/bench.pl: Add include-sources directive.
39360         * benchtests/README: Update documentation.
39362 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
39364         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
39365         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
39366         instead of FP_INIT_ROUNDMODE.
39367         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
39368         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
39370         [BZ #16034]
39371         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
39372         copy class of input value.
39373         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
39374         not handle exceptions.
39375         * soft-fp/negsf2.c (__negsf2): Likewise.
39376         * soft-fp/negtf2.c (__negtf2): Likewise.
39377         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
39379 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
39381         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
39382         semicolon.  From Linux kernel.
39384 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
39386         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
39388 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
39390         [BZ #156]
39391         * manual/socket.texi: Added statement about buffer
39392         for gethostbyname2_r.
39394 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
39396         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
39397         Use .p2align directive instead, throughout.
39398         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39399         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
39400         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
39401         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39402         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39403         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
39404         * sysdeps/x86_64/strchr.S: Likewise.
39405         * sysdeps/x86_64/strrchr.S: Likewise.
39407 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39409         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
39411         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
39413         * sysdeps/generic/math_private.h (__mpsin1): Remove
39414         declaration.
39415         (__mpcos1): Likewise.
39416         (__mpsin): New argument __range_reduce.
39417         (__mpcos): Likewise.
39418         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39419         (slow): Use __mpsin and __mpcos.
39420         (slow1): Likewise.
39421         (slow2): Likewise.
39422         (sloww): Likewise.
39423         (sloww1): Likewise.
39424         (sloww2): Likewise.
39425         (bsloww): Likewise.
39426         (bsloww1): Likewise.
39427         (bsloww2): Likewise.
39428         (cslow2): Likewise.
39429         (csloww): Likewise.
39430         (csloww1): Likewise.
39431         (csloww2): Likewise.
39432         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
39433         range_reduce.  Merge in __mpsin1.
39434         (__mpcos): Likewise.
39435         (__mpsin1): Remove.
39436         (__mpcos1): Likewise.
39438 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
39440         * locale/loadlocale.c (_nl_intern_locale_data): Use
39441         LOCFILE_ALIGNED_P.
39442         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
39443         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
39444         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
39445         obstack data is appropriately aligned.
39446         (obstack_int32_grow_fast): Likewise.
39447         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
39448         * locale/programs/locfile.c (add_locale_uint32): Likewise.
39449         (add_locale_uint32_array): Likewise.
39451 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
39453         * benchtests/Makefile: Remove ARGLIST and RET variables.
39454         ($(objpfx)bench-%.c): Pass only function name to the script.
39455         * benchtests/README: Update documentation.
39456         * benchtests/acos-inputs: Add new directives.
39457         * benchtests/acosh-inputs: Likewise.
39458         * benchtests/asin-inputs: Likewise.
39459         * benchtests/asinh-inputs: Likewise.
39460         * benchtests/atan-inputs: Likewise.
39461         * benchtests/atanh-inputs: Likewise.
39462         * benchtests/cos-inputs: Likewise.
39463         * benchtests/cosh-inputs: Likewise.
39464         * benchtests/exp-inputs: Likewise.
39465         * benchtests/log-inputs: Likewise.
39466         * benchtests/pow-inputs: Likewise.
39467         * benchtests/rint-inputs: Likewise.
39468         * benchtests/sin-inputs: Likewise.
39469         * benchtests/sinh-inputs: Likewise.
39470         * benchtests/tan-inputs: Likewise.
39471         * benchtests/tanh-inputs: Likewise.
39472         * scripts/bench.pl: Add support for new directives.
39474 2013-10-07  Alan Modra  <amodra@gmail.com>
39476         * README: Fix careless merge.
39478 2013-10-05  Alan Modra  <amodra@gmail.com>
39480         * NEWS: Mention powerpc64le support and bugs fixed.
39481         * README: Both big-endian and little-endian powerpc64 supported.
39483 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39485         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
39486         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
39487         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
39488         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
39490 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
39492         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
39493         match prototype.
39495 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
39497         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
39498         Move -mhard-float appending from
39499         ports/sysdeps/powerpc/powerpc32/Makefile.
39500         [$(with-fp) = yes] (ASFLAGS): Likewise.
39501         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
39502         * sysdeps/powerpc/nofpu: Move directory from
39503         ports/sysdeps/powerpc/nofpu.
39504         * sysdeps/powerpc/soft-fp: Move directory from
39505         ports/sysdeps/powerpc/soft-fp.
39506         * sysdeps/powerpc/powerpc32/405: Move directory from
39507         ports/sysdeps/powerpc/powerpc32/405.
39508         * sysdeps/powerpc/powerpc32/440: Move directory from
39509         ports/sysdeps/powerpc/powerpc32/440.
39510         * sysdeps/powerpc/powerpc32/464: Move directory from
39511         ports/sysdeps/powerpc/powerpc32/464.
39512         * sysdeps/powerpc/powerpc32/476: Move directory from
39513         ports/sysdeps/powerpc/powerpc32/476.
39514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
39515         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
39516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
39517         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
39518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
39519         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
39520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
39521         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
39522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
39523         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
39524         * README: Update for powerpc-*-linux-gnu software floating point
39525         support in libc.
39527         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
39528         case to powerpc/powerpc32*.
39529         * sysdeps/unix/sysv/linux/configure: Regenerated.
39531         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
39532         (_FPU_MASK_OM): Define as 0x04.
39533         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
39534         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
39535         0x00c10080.
39536         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
39537         0x0000003c.
39538         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
39540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
39541         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39542         getcontext_e500.
39543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
39544         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39545         setcontext_e500.
39546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
39547         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
39548         and setcontext_e500.
39550 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
39552         * locale/iso-3166.def: Update iso-1366.def and related occurrences
39554 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39556         * manual/threads.texi (Default Thread Attributes): Fix typo.
39558 2013-10-04  Will Newton  <will.newton@linaro.org>
39560         * malloc/Makefile: Add tst-memalign.
39561         * malloc/tst-memalign.c: New file.
39563         * malloc/tst-posix_memalign.c: Add comments.
39564         (do_test): Add comments and call free on all potentially
39565         allocated pointers. Add space after cast.
39567         * malloc/tst-pvalloc.c: Add comments.
39568         (do_test): Add comments and call free on all potentially
39569         allocated pointers. Remove duplicate check for NULL pointer.
39570         Add space after cast.
39572         * malloc/tst-valloc.c: Add comments.
39573         (do_test): Add comments and call free on all potentially
39574         allocated pointers. Remove duplicate check for NULL pointer.
39575         Add space after cast.
39577 2013-10-04  Alan Modra  <amodra@gmail.com>
39579         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39580         Use stdint types in rather than __attribute__((mode())).
39581         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39583 2013-10-04  Alan Modra  <amodra@gmail.com>
39585         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39586         Correct handling of unaligned relocs for little-endian.
39587         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39589 2013-10-04  Alan Modra  <amodra@gmail.com>
39591         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
39592         * configure: Regenerate.
39593         * nptl/shlib-versions: Powerpc*le starts at 2.18.
39594         * shlib-versions: Likewise.
39596 2013-10-04  Alan Modra  <amodra@gmail.com>
39598         * string/tester.c (test_memrchr): Increment reported test cycle.
39600 2013-10-04  Alan Modra  <amodra@gmail.com>
39602         * string/test-memcpy.c (do_one_test): When reporting errors, print
39603         string address and don't overrun end of string.
39605 2013-10-04  Alan Modra  <amodra@gmail.com>
39607         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
39608         insrdi.  Make better use of reg selection to speed exit slightly.
39609         Schedule entry path a little better.  Remove useless "are we done"
39610         checks on entry to main loop.  Handle wrapping around zero address.
39611         Correct main loop count.  Handle single left-over word from main
39612         loop inline rather than by using loop_small.  Remove extra word
39613         case in loop_small caused by wrong loop count.  Add little-endian
39614         support.
39615         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39616         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
39617         cache hint.
39618         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39619         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
39620         support.  Avoid rlwimi.
39621         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
39623 2013-10-04  Alan Modra  <amodra@gmail.com>
39625         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
39626         insrdi.  Formatting.
39627         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
39628         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39629         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39630         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39631         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39632         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
39634 2013-10-04  Alan Modra  <amodra@gmail.com>
39636         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
39637         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39638         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
39639         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
39640         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39641         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39642         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39643         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39644         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
39645         use of regs.  Use power7 mtocrf.  Tidy function tails.
39647 2013-10-04  Alan Modra  <amodra@gmail.com>
39649         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
39650         Formatting.  Consistently use rXXX register defines or rN defines.
39651         Use early exit labels that avoid restoring unused non-volatile regs.
39652         Make cr field use more consistent with rWORDn compares.  Rename
39653         regs used as shift registers for unaligned loop, using rN defines
39654         for short lifetime/multiple use regs.
39655         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39656         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
39657         addi 1,1,64 to pop stack frame.  Simplify return value code.
39658         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39660 2013-10-04  Alan Modra  <amodra@gmail.com>
39662         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
39663         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
39664         rather than rlwimi.
39665         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
39666         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
39667         little-endian support.  Correct typos.
39668         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
39669         rather than rlwimi.
39670         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
39671         in loop and entry code to keep "and." results.
39672         (strchr): Add little-endian support.  Comment.  Move cntlzd
39673         earlier in tail.
39674         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
39676 2013-10-04  Alan Modra  <amodra@gmail.com>
39678         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
39679         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
39680         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
39681         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
39683 2013-10-04  Alan Modra  <amodra@gmail.com>
39685         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
39686         (rTMP): Define as r11.
39687         (strcmp): Add little-endian support.  Optimise tail.
39688         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
39689         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39690         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39691         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39692         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39693         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39694         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39696 2013-10-04  Alan Modra  <amodra@gmail.com>
39698         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
39699         little-endian support.  Remove unnecessary "are we done" tests.
39700         Handle "s" wrapping around zero and extremely large "size".
39701         Correct main loop count.  Handle single left-over word from main
39702         loop inline rather than by using small_loop.  Correct comments.
39703         Delete "zero" tail, use "end_max" instead.
39704         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
39706 2013-10-04  Alan Modra  <amodra@gmail.com>
39708         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
39709         support.  Don't branch over align.
39710         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
39711         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
39712         support.  Rearrange tmp reg use to suit.  Comment.
39713         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
39715 2013-10-04  Alan Modra  <amodra@gmail.com>
39717         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
39719 2013-10-04  Alan Modra  <amodra@gmail.com>
39721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
39722         conditional form of branch and link when obtaining pc.
39723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
39725 2013-10-04  Alan Modra  <amodra@gmail.com>
39727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
39728         HIWORD/LOWORD.
39729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
39730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
39732 2013-10-04  Alan Modra  <amodra@gmail.com>
39734         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
39735         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
39736         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39737         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
39738         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39739         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39740         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
39741         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39742         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39743         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
39745 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39746             Alistair Popple <alistair@ozlabs.au.ibm.com>
39747             Alan Modra <amodra@gmail.com>
39749         [BZ #15723]
39750         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
39751         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
39752         _dl_hwcap access for little-endian.
39753         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
39754         destroy vmx regs when saving unaligned.
39755         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
39756         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
39757         destroy vmx regs when saving unaligned.
39759 2013-10-04  Alan Modra  <amodra@gmail.com>
39761         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
39762         Don't use a union to pack hi/low value.
39764 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39766         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
39767         for little-endian.
39768         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39769         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
39770         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39771         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39772         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39774 2013-10-04  Alan Modra  <amodra@gmail.com>
39776         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
39777         constants to usual value for .cst8 section, and remove redundant
39778         high address load.
39779         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
39780         constant for 0x1p52.  Load little-endian words of double from
39781         correct stack offsets.
39783 2013-10-04  Alan Modra  <amodra@gmail.com>
39785         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
39786         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
39787         words of double from correct stack offsets.
39788         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
39789         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
39790         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39791         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39792         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39793         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39794         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39795         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
39796         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39797         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39798         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39799         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39800         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39801         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39802         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39803         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
39804         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
39806 2013-10-04  Alan Modra  <amodra@gmail.com>
39808         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
39809         64-bit int/double union.
39810         (_FPU_SETCW): Likewise.
39811         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
39812         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
39814 2013-10-04  Alan Modra  <amodra@gmail.com>
39816         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
39817         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
39819 2013-10-04  Alan Modra  <amodra@gmail.com>
39821         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
39822         use vector int constants.
39823         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
39825 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39827         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
39828         array with long long.
39829         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
39830         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
39831         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
39832         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
39833         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
39834         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
39835         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
39836         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
39837         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
39838         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
39839         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
39840         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
39841         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
39843 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39845         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
39846         (__signbit): Likewise.  Correct for little-endian.
39847         (__signbitl): Call __signbit.
39848         (lrint): Correct for little-endian.
39849         (lrintf): Call lrint.
39851 2013-10-04  Alan Modra  <amodra@gmail.com>
39853         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
39854         union 32-bit int array member with 64-bit int array.
39855         (t515, tm256): Double rather than long double.
39856         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
39858 2013-10-04  Alan Modra  <amodra@gmail.com>
39860         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
39861         Delete.
39862         (IEEE854_LONG_DOUBLE_BIAS): Delete.
39863         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
39864         version of math_ldbl.h.
39866 2013-10-04  Alan Modra  <amodra@gmail.com>
39868         [BZ #15734], [BZ #15735]
39869         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
39870         all uses of ieee875 long double macros and unions.  Simplify test
39871         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
39872         ldbl_extract_mantissa value for ix,iy exponents.  Properly
39873         normalize after ldbl_extract_mantissa, and don't add hidden bit
39874         already handled.  Don't treat low word of ieee854 mantissa like
39875         low word of IBM long double and mask off bit when testing for
39876         zero.
39877         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
39878         all uses of ieee875 long double macros and unions.  Simplify tests
39879         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
39880         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
39881         two1022, instead use their values.  Recognise that tests for large
39882         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
39883         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
39884         Rewrite all uses of ieee875 long double macros and unions.  Simplify
39885         test for 0.0L and nan.  Correct negation.
39886         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
39887         ieee875 long double macros and unions.  Correct output for large
39888         magnitude x.  Correct absolute value calculation.
39889         (__erfcl): Likewise.
39890         * math/libm-test.inc: Add tests for errors discovered in IBM long
39891         double versions of fmodl, remainderl, erfl and erfcl.
39893 2013-10-04  Alan Modra  <amodra@gmail.com>
39895         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
39896         all uses of ieee854 long double macros and unions.  Simplify tests
39897         for long doubles that are fully specified by the high double.
39898         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
39899         Likewise.
39900         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
39901         Remove dead code too.
39902         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
39903         (__ieee754_ynl): Likewise.
39904         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
39905         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
39906         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
39907         Remove dead code too.
39908         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
39909         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
39910         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
39911         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
39912         Simplify.
39913         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
39914         Simplify.
39915         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
39916         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
39917         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
39918         Comment on variable precision.
39919         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
39920         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39921         Likewise.
39922         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39923         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39924         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39925         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
39926         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
39928 2013-10-04  Alan Modra  <amodra@gmail.com>
39930         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
39931         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
39932         all uses of ieee854 long double macros and unions.
39933         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
39934         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39935         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
39936         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
39937         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
39938         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39939         Likewise.
39940         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
39941         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39942         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
39943         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39944         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
39945         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
39946         Simplify sign and nan test too.
39947         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
39948         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
39949         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
39950         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
39951         Likewise.
39952         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39953         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
39954         Likewise.
39955         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39956         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
39957         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
39958         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
39959         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
39960         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
39962 2013-10-04  Alan Modra  <amodra@gmail.com>
39964         * stdio-common/printf_size.c (__printf_size): Don't use
39965         union ieee854_long_double in fpnum union.
39966         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
39967         signbit macro to retrieve sign from long double.
39968         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
39969         retrieve sign from long double.
39970         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
39971         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
39972         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
39973         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39974         * math/test-misc.c (main): Don't use union ieee854_long_double.
39976 2013-10-04  Alan Modra  <amodra@gmail.com>
39978         [BZ #15680]
39979         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
39980         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
39981         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
39982         calculation.  Remove unnecessary test for denormal exponent.
39983         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
39984         Correct handling of denormals.  Avoid undefined shift behaviour.
39985         Correct normalisation of low mantissa when low double is denormal.
39986         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
39987         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
39988         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
39989         Correct normalisation of low mantissa.  Test for overflow of high
39990         mantissa and normalise.
39991         (ldbl_nearbyint): Use more readable constant for two52.
39992         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
39993         (__mpn_construct_long_double): Fix test for overflow of high
39994         mantissa and correct normalisation.  Avoid undefined shift.
39996 2013-10-04  Alan Modra  <amodra@gmail.com>
39998         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39999         (union ibm_extended_long_double): Define as an array of ieee754_double.
40000         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
40001         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
40002         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
40003         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40004         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40005         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
40006         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
40007         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
40008         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40009         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
40010         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40012 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
40014         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
40015         page size instead of calling getpagesize.
40017         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
40018         (LOCFILE_ALIGN_MASK): Likewise.
40019         (LOCFILE_ALIGN_UP): Likewise.
40020         (LOCFILE_ALIGNED_P): Likewise.
40021         * locale/programs/ld-collate.c (collate_output): Use the new
40022         macros instead of __alignof__ (int32_t).
40023         * locale/weight.h (findidx): Likewise.
40025 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
40027         [BZ #431]
40028         * manual/string.texi: Fix strncat and wcsncat.
40030 2013-10-03  Brooks Moses  <bmoses@google.com>
40032         [BZ #15915]
40033         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
40034         * Makerules: ...here, and adjust associated comments.
40036 2013-10-02  Will Newton  <will.newton@linaro.org>
40038         * malloc/Makefile: Add tst-pvalloc.
40039         * malloc/tst-pvalloc.c: New file.
40041 2013-10-02  Will Newton  <will.newton@linaro.org>
40043         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
40044         improve test coverage.
40046 2013-10-02  Will Newton  <will.newton@linaro.org>
40048         * malloc/Makefile: Add tst-posix_memalign.
40049         * malloc/tst-posix_memalign.c: New file.
40051 2013-10-01  Eric Blake  <eblake@redhat.com>
40053         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
40054         Use __THROWNL rather than __THROW on static functions.
40056 2013-09-30  Petr Machata  <pmachata@redhat.com>
40058         * elf/elf.h (R_AARCH64_ABS16): New macro.
40059         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
40060         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
40061         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
40062         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
40063         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
40064         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
40065         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
40066         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
40067         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
40068         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
40069         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
40070         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
40071         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
40072         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
40073         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
40074         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
40075         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
40076         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
40077         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
40078         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
40079         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
40080         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
40081         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
40082         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
40083         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
40084         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
40085         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
40086         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
40087         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
40088         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
40089         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
40090         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
40091         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
40092         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
40093         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
40094         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
40095         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
40096         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
40097         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
40098         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
40099         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
40100         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
40101         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
40102         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
40103         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
40104         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
40105         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
40106         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
40107         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
40108         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
40109         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
40110         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
40111         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
40112         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
40113         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
40114         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
40115         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
40116         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
40117         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
40118         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
40119         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
40120         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
40121         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
40122         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
40123         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
40124         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
40125         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
40126         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
40127         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
40128         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
40129         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
40130         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
40131         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
40132         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
40133         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
40134         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
40135         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
40136         (R_AARCH64_TLSDESC_LDR): Likewise.
40137         (R_AARCH64_TLSDESC_ADD): Likewise.
40138         (R_AARCH64_TLSDESC_CALL): Likewise.
40140 2013-09-30  Andreas Schwab  <schwab@suse.de>
40142         [BZ #15048]
40143         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
40144         the nss database lookup.
40145         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40146         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40148 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
40150         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
40152 2013-09-28  P. J. McDermott  <pj@pehjota.net>
40154         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
40155         ${Bash-specific parameter/pattern/string} parameter expansion.
40156         * sysdeps/unix/make-syscalls.sh: Likewise.
40158 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40160         * sysdeps/sh/stackguard-macros.h: New file.
40162 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
40164         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40165         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
40166         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
40167         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
40168         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40169         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
40171 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40173         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
40174         Fix thread ID register.
40176 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
40178         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
40179         [POSIX || UNIX98]: Require rather than permitting all symbols from
40180         <time.h>.
40181         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
40182         element of struct sched_param.
40183         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
40184         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
40185         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
40186         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
40187         constant.
40189 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
40191         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
40192         argument calculation.
40194 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
40196         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
40197         Expect macro.
40198         [POSIX] (pthread_attr_t): Do not require type.
40199         [POSIX] (pthread_cond_t): Likewise.
40200         [POSIX] (pthread_condattr_t): Likewise.
40201         [POSIX] (pthread_key_t): Likewise.
40202         [POSIX] (pthread_mutex_t): Likewise.
40203         [POSIX] (pthread_mutexattr_t): Likewise.
40204         [POSIX] (pthread_once_t): Likewise.
40205         [POSIX] (pthread_t): Likewise.
40206         [POSIX-based standards] (pthread_atfork): Expect function.
40208 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
40209             Richard Sandiford  <richard@codesourcery.com>
40211         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
40212         (swap_endianness_p): New extern variable.
40213         (set_big_endian): New inline function.
40214         (maybe_swap_uint32): Likewise.
40215         (maybe_swap_uint32_array): Likewise.
40216         (maybe_swap_uint32_obstack): Likewise.
40217         * locale/programs/locfile.c: Include <stdbool.h>.
40218         (swap_endianness_p): New variable.
40219         (add_locale_uint32): Call maybe_swap_uint32.
40220         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
40221         (write_locale_data): Call maybe_swap_uint32_array.
40222         * locale/programs/ld-collate.c (obstack_int32_grow): Call
40223         maybe_swap_uint32.
40224         (obstack_int32_grow_fast): Likewise.
40225         (output_weightwc): Call maybe_swap_uint32_obstack.
40226         (collate_output): Likewise.
40227         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
40228         (OPT_LITTLE_ENDIAN): Likewise.
40229         (options): Add --little-endian and --big-endian options.
40230         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
40231         * locale/programs/locarchive.c: Include "locfile.h".
40232         (GET): New macro.
40233         (SET): Likewise.
40234         (INC): Likewise.
40235         (create_archive): Use the new macros to access fields of
40236         structures directly mapped from or written to locale archives.
40237         (oldlocrecentcmp): Likewise.
40238         (enlarge_archive): Likewise.
40239         (insert_name): Likewise.
40240         (add_alias): Likewise.
40241         (add_locale): Likewise.
40242         (delete_locales_from_archive): Likewise.
40243         (show_archive_content): Likewise.
40244         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
40245         locale data.
40247 2013-09-24  Roland McGrath  <roland@hack.frob.com>
40249         * manual/freemanuals.texi: Updated from (newly) canonical copy at
40250         http://www.gnu.org/doc/freemanuals.texi.
40251         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
40253 2013-09-24  Will Newton  <will.newton@linaro.org>
40255         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
40256         macro.
40258 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
40260         * locale/hashval.h (compute_hashval): Interpret bytes of key as
40261         unsigned char.
40263 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
40265         * manual/threads.texi (POSIX Threads): Fix a typo.
40267 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40269         [BZ #14547]
40270         * string/tst-strcoll-overflow.c: New test case.
40271         * string/Makefile (xtests): Add tst-strcoll-overflow.
40272         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
40273         cache if string sizes may cause integer overflow.
40275         [BZ #14547]
40276         * string/strcoll_l.c (coll_seq): New members rule, idx,
40277         save_idx and back_us.
40278         (get_next_seq_nocache): New function.
40279         (do_compare_nocache): New function.
40280         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
40281         when malloc fails.
40283 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
40285         [BZ #15754]
40286         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
40287         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
40288         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
40290         [BZ #15754]
40291         * elf/Makefile (tests): Add tst-ptrguard1.
40292         (tests-static): Add tst-ptrguard1-static.
40293         (tst-ptrguard1-ARGS): Define.
40294         (tst-ptrguard1-static-ARGS): Define.
40295         * elf/tst-ptrguard1.c: New file.
40296         * elf/tst-ptrguard1-static.c: New file.
40297         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
40298         * sysdeps/i386/stackguard-macros.h: Likewise.
40299         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40300         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40301         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40302         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40303         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40304         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40306 2013-09-23  Hector Marco  <hecmargi@upv.es>
40307             Ismael Ripoll  <iripoll@disca.upv.es>
40308             Carlos O'Donell  <carlos@redhat.com>
40310         [BZ #15754]
40311         * sysdeps/generic/stackguard-macros.h: Define
40312         __pointer_chk_guard_local and POINTER_CHK_GUARD.
40313         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
40314         Define __pointer_chk_guard_local.
40315         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
40316         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
40318 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
40320         [BZ #15859]
40321         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
40323 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
40325         * include/string.h (__ffs): Declare as hidden.
40326         * string/ffs.c (__ffs): Define as hidden.
40327         * sysdeps/i386/ffs.c (__ffs): Likewise.
40328         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
40329         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
40330         * sysdeps/s390/ffs.c (__ffs): Likewise.
40331         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
40333 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
40335         * NEWS: Mention malloc probes.
40337         * malloc/arena.c (new_heap): New memory_heap_new probe.
40338         (grow_heap): New memory_heap_more probe.
40339         (shrink_heap): New memory_heap_less probe.
40340         (heap_trim): New memory_heap_free probe.
40341         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
40342         (systrim): New memory_sbrk_less probe.
40343         * manual/probes.texi: Document them.
40345         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
40346         * manual/probes.texi: Document it.
40348         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
40349         (__libc_realloc): Add memory_realloc_retry probe.
40350         (__libc_memalign): Add memory_memalign_retry probe.
40351         (__libc_valloc): Add memory_valloc_retry probe.
40352         (__libc_pvalloc): Add memory_pvalloc_retry probe.
40353         (__libc_calloc): Add memory_calloc_retry probe.
40354         * manual/probes.texi: Document them.
40356         * malloc/arena.c (get_free_list): Add probe
40357         memory_arena_reuse_free_list.
40358         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
40359         and memory_arena_reuse.
40360         (arena_get2) [!PER_THREAD]: Likewise.
40361         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
40362         memory_arena_reuse_realloc.
40363         * manual/probes.texi: Document them.
40365         * malloc/malloc.c (__libc_free): Add
40366         memory_mallopt_free_dyn_thresholds probe.
40367         (__libc_mallopt): Add multiple memory_mallopt probes.
40368         * manual/probes.texi: Document them.
40370         * malloc/malloc.c: Include stap-probe.h.
40371         (__libc_mallopt): Add memory_mallopt probe.
40372         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
40373         * manual/probes.texi: New.
40374         * manual/Makefile (chapters): Add probes.
40375         * manual/threads.texi: Set next node.
40377 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
40379         [BZ #15963, #13985]
40380         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
40381         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
40382         Add `Chinese' to `nan' entry name.
40384 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40386         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
40387         (POLYNOMIAL): Likewise.
40388         (TAYLOR_SINCOS): Likewise.
40389         (TAYLOR_SLOW): Likewise.
40390         (__sin): Use TAYLOR_SINCOS.
40391         (__cos): Likewise.
40392         (slow): Use TAYLOR_SLOW.
40393         (sloww): Likewise.
40394         (bsloww): Likewise.
40395         (csloww): Likewise.
40397 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40399         * stdlib/strtod_l.c: Fix buffer overrun.
40401 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40403         * benchtests/Makefile (bench): Add sincos.
40404         * benchtests/bench-sincos.c: New file.
40406         * math/libm-test.inc (cos_test_data): New test inputs.
40407         (sin_test_data): Likewise.
40409         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
40410         macro.
40411         (__sin): Use it.
40412         (__cos): Likewise.
40413         (slow1): Likewise.
40414         (slow2): Likewise.
40415         (sloww1): Likewise.
40416         (sloww2): Likewise.
40417         (bsloww1): Likewise.
40418         (bsloww2): Likewise.
40419         (cslow2): Likewise.
40420         (csloww1): Likewise.
40421         (csloww2): Likewise.
40423         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
40424         function.
40425         (__sin): Use it.
40426         (__cos): Likewise.
40428         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
40429         gotos.
40430         (__cos): Likewise.
40432 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
40434         * config.h.in (HAVE_MIPS_NAN2008): New macro.
40435         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
40436         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
40437         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
40438         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
40439         * elf/cache.c (print_entry): Handle the new cache flags.
40441 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
40442             Aldy Hernandez  <aldyh@redhat.com>
40444         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
40445         Change condition to [_SOFT_FLOAT].
40446         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
40447         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
40448         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
40449         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
40450         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
40451         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
40452         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
40453         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
40454         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
40455         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
40456         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
40457         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
40458         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
40459         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
40460         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
40461         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
40462         declaration.
40464 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
40466         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
40467         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40468         (__longjmp): Use LOAD_GP to load saved GPRs.
40469         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
40470         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40471         (__sigsetjmp): Use SAVE_GP to save GPRs.
40473         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
40474         Do not append -msoft-float.
40475         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
40477 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40479         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
40481 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
40483         [BZ #15966]
40484         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
40485         (_FPU_GETCW): Use initial "__" on variable and field names but not
40486         on macro parameter name.
40487         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
40488         parentheses around reference to macro parameter.
40490 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
40492         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
40493         prototype.
40494         (ctype_startup): Use uint32_t in cast and sizeof for
40495         ctype->charnames.
40497 2013-09-11  Jia Liu  <proljc@gmail.com>
40499         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
40500         __daddr_t_defined.
40501         [__FreeBSD__]: Likewise.
40503 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
40505         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
40506         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
40507         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
40508         (strchr): Remove __strchr_sse42 ifunc selection.
40509         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
40510         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
40512 2013-09-11  Will Newton  <will.newton@linaro.org>
40514         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
40515         parameter to RES. Remove hardcoded 1000 value.
40516         * benchtests/bench-skeleton.c (main): Pass RES parameter
40517         to TIMING_INIT and multiply result by 1000.
40519 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40523 2013-09-11  Andreas Schwab  <schwab@suse.de>
40525         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40526         if not defined.
40527         (O_TMPFILE) [__USE_GNU]: Define.
40528         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
40529         Define.
40531 2013-09-11  Will Newton  <will.newton@linaro.org>
40533         [BZ #15857]
40534         * malloc/malloc.c (__libc_memalign): Check the value of bytes
40535         does not overflow.
40537 2013-09-11  Will Newton  <will.newton@linaro.org>
40539         [BZ #15856]
40540         * malloc/malloc.c (__libc_valloc): Check the value of bytes
40541         does not overflow.
40543 2013-09-11  Will Newton  <will.newton@linaro.org>
40545         [BZ #15855]
40546         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
40547         does not overflow.
40549 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
40551         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
40552         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40553         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40554         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40555         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40557 2013-09-10  Allan McRae  <allan@archlinux.org>
40559         [BZ #15748]
40560         * manual/arith.texi (Parsing of Floats): Clarify
40561         cross-reference.
40563         [BZ #15849]
40564         * manual/install.texi (Running make install): Mention
40565         --enable-pt-chown.
40566         * INSTALL: Regenerated.
40568 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
40570         * csu/init-first.c (_init): Remove the !SHARED condition around
40571         FPU control word initialization.
40572         * elf/dl-support.c (_dl_fpu_control): New variable.
40573         (_dl_aux_init) <AT_FPUCW>: Initialize it.
40574         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
40575         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
40576         * math/test-fpucw-static.c: New file.
40577         * math/test-fpucw-ieee.c: New file.
40578         * math/test-fpucw-ieee-static.c: New file.
40579         * math/Makefile (tests): Add `test-fpucw-ieee' and
40580         `$(tests-static)'.
40581         (tests-static): New variable.
40582         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
40583         dependency to...
40584         [($(build-shared),yes)]
40585         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
40586         ... this.
40587         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
40588         New dependency.
40590 2013-09-09  Allan McRae  <allan@archlinux.org>
40592         [BZ #15939]
40593         * manual/string.texi (Collation Functions): Fix typo in
40594         strcoll example.
40595         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
40597         [BZ #15893]
40598         * stdlib/isomac.c (get_null_defines): Fix memory leak.
40600         [BZ #15892]
40601         * libio/memstream.c (open_memstream): Fix memory leak.
40602         * libio/wmemstream.c (open_wmemstream): Likewise.
40604         [BZ #15895]
40605         * nscd/netgroupcache.c: Fix nesting of ifdefs.
40607 2013-09-09  Will Newton  <will.newton@linaro.org>
40609         * malloc/Makefile: Add tst-realloc to tests.
40610         * malloc/tst-realloc.c: New file.
40612 2013-09-09  Allan McRae  <allan@archlinux.org>
40614         [BZ #15844]
40615         * COPYING: Update from GNU website to fix FSF address.
40616         * COPYING.LIB: Likewise.
40618 2013-09-06  David S. Miller  <davem@davemloft.net>
40620         * po/zh_TW.po: Update Chinese (traditional) translation from
40621         translation project.
40623 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
40624             Joseph Myers  <joseph@codesourcery.com>
40626         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
40627         "localeinfo.h".
40628         (obstack_chunk_alloc): New macro.
40629         (obstack_chunk_free): Likewise.
40630         (record_offset): New function.
40631         (init_locale_data): Likewise.
40632         (align_locale_data): Likewise.
40633         (add_locale_empty): Likewise.
40634         (add_locale_raw_data): Likewise.
40635         (add_locale_raw_obstack): Likewise.
40636         (add_locale_string): Likewise.
40637         (add_locale_wstring): Likewise.
40638         (add_locale_uint32): Likewise.
40639         (add_locale_uint32_array): Likewise.
40640         (add_locale_char): Likewise.
40641         (start_locale_structure): Likewise.
40642         (end_locale_structure): Likewise.
40643         (start_locale_prelude): Likewise.
40644         (end_locale_prelude): Likewise.
40645         (write_locale_data): Take locale_file structure rather than an
40646         iovec.
40647         * locale/programs/locfile.h: Include "obstack.h".
40648         (struct locale_file): Change to store locale file contents instead
40649         of header.
40650         (init_locale_data): New prototype.
40651         (align_locale_data): Likewise.
40652         (add_locale_empty): Likewise.
40653         (add_locale_raw_data): Likewise.
40654         (add_locale_raw_obstack): Likewise.
40655         (add_locale_string): Likewise.
40656         (add_locale_wstring): Likewise.
40657         (add_locale_uint32): Likewise.
40658         (add_locale_uint32_array): Likewise.
40659         (add_locale_char): Likewise.
40660         (start_locale_structure): Likewise.
40661         (end_locale_structure): Likewise.
40662         (start_locale_prelude): Likewise.
40663         (end_locale_prelude): Likewise.
40664         (write_locale_data): Update prototype.
40665         * locale/programs/3level.h (struct TABLE): Remove result field.
40666         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
40667         Use new locale_file interface.
40668         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
40669         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
40670         * locale/programs/ld-address.c (address_output): Use new
40671         locale_file interface.
40672         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
40673         NO_ADD_LOCALE.
40674         (collate_finish): Don't call collseq_table_finalize.
40675         (collate_output): Use new locale_file interface.
40676         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
40677         in file.
40678         (NO_FINALIZE): Change to NO_ADD_LOCALE.
40679         (TABLE): Move defines earlier in file.
40680         (ELEMENT): Likewise.
40681         (DEFAULT): Likewise.
40682         (wctrans_table_add): Move macro and inline function earlier in
40683         file.
40684         (struct wctype_table): Move type earlier in file.
40685         (add_locale_wctype_table): New static prototype.
40686         (struct locale_ctype_t): Use logical types instead of struct iovec
40687         pointers for members.
40688         (ctype_output): Use new locale_file interface.
40689         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
40690         new locale_file interface.
40691         (allocate_arrays): Update for use of new locale_file interface.
40692         * locale/programs/ld-identification.c (identification_output): Use
40693         new locale_file interface.
40694         * locale/programs/ld-measurement.c (measurement_output): Likewise.
40695         * locale/programs/ld-messages.c (messages_output): Likewise.
40696         * locale/programs/ld-monetary.c (monetary_output): Likewise.
40697         * locale/programs/ld-name.c (name_output): Likewise.
40698         * locale/programs/ld-numeric.c (numeric_output): Likewise.
40699         * locale/programs/ld-paper.c (paper_output): Likewise.
40700         * locale/programs/ld-telephone.c (telephone_output): Likewise.
40701         * locale/programs/ld-time.c (time_output): Likewise.
40703 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40705         * benchtests/Makefile: Add memrchr benchmark.
40706         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
40707         benchmark as memrchr.
40708         * benchtests/bench-memrchr-ifunc.c: New file.
40709         * benchtests/bench-memrchr.c: New file.
40711 2013-09-06   Will Newton  <will.newton@linaro.org>
40713         * benchtests/Makefile (string-bench): Add memcpy.
40715 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
40716             Cong Wang  <amwang@redhat.com>
40718         [BZ #15850]
40719         * sysdeps/unix/sysv/linux/bits/in.h
40720         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
40721         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
40722         before __USE_KERNEL_IPV6_DEFS uses.
40723         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
40724         IPPROTO_BEETPH.
40725         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
40726         sockaddr_in6, or ipv6_mreq.
40728 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40730         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
40731         memory access for final bytes in some large inputs.
40732         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
40734 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40736         * string/test-memrchr.c: New file.
40737         * string/test-memrchr-ifunc.c: New file.
40738         * string/Makefile: Add new memrchr testcase.
40740 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
40742         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
40743         fanotify_init returns EPERM.
40745 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40747         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
40748         errors.
40749         (top level): Treat second token from macro or constant entries for
40750         allowed headers as allowed.
40751         * include/complex.h: Condition internal declarations on
40752         [!_ISOMAC].
40753         * include/fenv.h: Condition include of <stdbool.h> and internal
40754         declarations on [!_ISOMAC].
40756 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
40758         [BZ #15923]
40759         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
40761 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40763         * configure.in (--enable-versioning): Remove configure option.
40764         (libc_cv_asm_symver_directive): Remove configure test.
40765         (libc_cv_ld_version_script_option): Likewise.
40766         (VERSIONING): Remove variable and AC_SUBST.
40767         (DO_VERSIONING): Remove AC_DEFINE.
40768         * configure: Regenerated.
40769         * config.h.in (DO_VERSIONING): Remove macro.
40770         * Makerules [$(versioning) = yes]: Change conditionals to
40771         [$(build-shared) = yes].
40772         * config.make.in (versioning): Remove variable.
40773         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
40774         [$(build-shared) = yes].
40775         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
40776         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
40777         * elf/Makefile [$(versioning) = yes]: Change conditionals to
40778         [$(build-shared) = yes].
40779         * extra-lib.mk [$(versioning) = yes]: Likewise.
40780         * hurd/Makefile [$(versioning) = yes]: Likewise.
40781         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
40782         [SHARED].
40783         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
40784         [SHARED].
40785         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40786         [SHARED && !NO_HIDDEN].
40787         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
40788         [SHARED].
40789         [SHARED && DO_VERSIONING]: Likewise..
40790         * libio/Makefile [$(versioning) = yes]: Change conditionals to
40791         [$(build-shared) = yes].
40792         * manual/install.texi (--disable-versioning): Remove
40793         documentation.
40794         * INSTALL: Regenerated.
40795         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
40796         to [SHARED].
40797         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
40798         [$(build-shared) = yes].
40799         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
40800         * sysdeps/i386/i686/multiarch/strstr-c.c
40801         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40802         [SHARED && !NO_HIDDEN].
40803         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
40804         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
40805         * sysdeps/powerpc/powerpc32/dl-machine.c
40806         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
40807         * sysdeps/powerpc/powerpc32/sysdep.h
40808         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
40809         to [SHARED && PIC && !NO_HIDDEN].
40810         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
40811         conditional to [SHARED].
40813 2013-09-04   Will Newton  <will.newton@linaro.org>
40815         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
40816         * benchtests/bench-string.h: Include bench-timing.h instead
40817         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
40818         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
40819         call to HP_TIMING_DIFF_INIT.
40820         * benchtests/bench-memccpy.c: Use bench-timing.h macros
40821         instead of hp-timing.h macros.
40822         * benchtests/bench-memchr.c: Likewise.
40823         * benchtests/bench-memcmp.c: Likewise.
40824         * benchtests/bench-memcpy.c: Likewise.
40825         * benchtests/bench-memmem.c: Likewise.
40826         * benchtests/bench-memmove.c: Likewise.
40827         * benchtests/bench-memset.c: Likewise.
40828         * benchtests/bench-rawmemchr.c: Likewise.
40829         * benchtests/bench-strcasecmp.c: Likewise.
40830         * benchtests/bench-strcasestr.c: Likewise.
40831         * benchtests/bench-strcat.c: Likewise.
40832         * benchtests/bench-strchr.c: Likewise.
40833         * benchtests/bench-strcmp.c: Likewise.
40834         * benchtests/bench-strcpy.c: Likewise.
40835         * benchtests/bench-strcpy_chk.c: Likewise.
40836         * benchtests/bench-strlen.c: Likewise.
40837         * benchtests/bench-strncasecmp.c: Likewise.
40838         * benchtests/bench-strncat.c: Likewise.
40839         * benchtests/bench-strncmp.c: Likewise.
40840         * benchtests/bench-strncpy.c: Likewise.
40841         * benchtests/bench-strnlen.c: Likewise.
40842         * benchtests/bench-strpbrk.c: Likewise.
40843         * benchtests/bench-strrchr.c: Likewise.
40844         * benchtests/bench-strspn.c: Likewise.
40845         * benchtests/bench-strstr.c: Likewise.
40847 2013-09-04  Will Newton  <will.newton@linaro.org>
40849         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
40851 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
40853         [BZ #15427]
40854         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
40855         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
40856         * math/libm-test.inc (lgamma_test_data): Add more tests.
40857         * sysdeps/i386/fpu/libm-test-ulps: Update.
40858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40860 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
40862         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
40863         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40864         Add ifunc.
40865         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40866         Add strcmp-sse2-unaligned
40867         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
40869 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
40871         * Versions.def (libc): Add GLIBC_2.19.
40873 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
40875         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
40876         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
40878 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
40880         [BZ #14155]
40881         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
40882         intermediate calculations in recurrence.
40883         (__ieee754_ynf): Likewise.
40884         * math/libm-test.inc (jn_test_data): Do not allow spurious
40885         underflow exception.  Add more tests.
40886         (yn_test_data): Add more tests.
40887         * sysdeps/i386/fpu/libm-test-ulps: Update.
40888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40890 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
40892         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
40894 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
40896         * csu/init-first.c: Fix then/than typos.
40897         * locale/programs/ld-collate.c: Likewise.
40898         * locale/programs/linereader.h: Likewise.
40899         * manual/charset.texi: Likewise.
40900         * manual/filesys.texi: Likewise.
40901         * manual/stdio.texi: Likewise.
40902         * manual/string.texi: Likewise.
40903         * stdlib/fmtmsg.c: Likewise.
40904         * sysdeps/i386/stpncpy.S: Likewise.
40905         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40906         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40907         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40908         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40910 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
40912         * elf/dl-open.c: Fix typos.
40913         * iconvdata/gbbig5.c: Likewise.
40914         * iconvdata/iso-2022-jp.c: Likewise.
40915         * iconv/gconv_int.h: Likewise.
40916         * iconv/loop.c: Likewise.
40917         * nis/rpcsvc/nis.h: Likewise.
40918         * resolv/ns_name.c: Likewise.
40919         * stdio-common/vfscanf.c: Likewise.
40920         * streams/stropts.h: Likewise.
40921         * sunrpc/rpc_thread.c: Likewise.
40922         * sysdeps/i386/strpbrk.S: Likewise.
40923         * sysdeps/ieee754/k_standard.c: Likewise.
40924         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40925         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40926         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
40927         * sysdeps/mach/hurd/profil.c: Likewise.
40928         * sysdeps/s390/dl-procinfo.h: Likewise.
40929         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
40930         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
40931         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
40932         * sysdeps/x86_64/dl-trampoline.S: Likewise.
40933         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40935 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
40937         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
40938         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
40940 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
40942         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
40943         aix specific files.
40944         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
40945         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
40946         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
40947         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
40948         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
40949         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
40950         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
40951         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
40953 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
40954             Roland McGrath  <roland@hack.frob.com>
40956         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
40957         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
40959 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40961         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
40962         __executable_start symbol instead of _start.
40964 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
40966         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
40967         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
40968         Move macros to...
40969         * sysdeps/gnu/ldsodefs.h: ... this new file.
40971         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
40972         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
40973         instead of ELFOSABI_LINUX.
40975         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
40976         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
40977         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
40978         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
40979         Likewise.
40980         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
40981         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
40982         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
40983         Likewise.
40984         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
40985         (ibm_extended_long_double): Add ieee_nan member.
40986         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
40987         (do_test): New function.
40989         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
40990         TEST_TRUNC.
40991         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
40992         functions, renamed from truncdfsf_test, trunctfsf_test,
40993         trunctfdf_test.
40994         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
40995         functions.
40996         (do_test): Run all these.
40998 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
41000         * argp/argp-help.c: Fix typos.
41001         * argp/argp-parse.c: Likewise.
41002         * debug/backtracesyms.c: Likewise.
41003         * elf/elf.h: Likewise.
41004         * malloc/malloc.c: Likewise.
41005         * nis/nis_print.c: Likewise.
41006         * resolv/res_comp.c: Likewise.
41007         * stdlib/stdlib.h: Likewise.
41008         * sunrpc/clnt_tcp.c: Likewise.
41009         * sunrpc/clnt_udp.c: Likewise.
41010         * sunrpc/clnt_unix.c: Likewise.
41011         * sysdeps/unix/bsd/ptsname.c: Likewise.
41012         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
41013         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
41014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
41015         Likewise.
41016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
41017         Likewise.
41018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
41019         Likewise.
41020         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
41022 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41024         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
41025         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41027 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
41029         [BZ #15897]
41030         * dlfcn/Makefile (tests): Add bug-dl-leaf.
41031         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
41032         ($(objpfx)bug-dl-leaf): New rule.
41033         ($(objpfx)bug-dl-leaf.so): Likewise.
41034         ($(objpfx)bug-dl-leaf.out): Likewise.
41035         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
41036         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
41037         * dlfcn/bug-dl-leaf.c: New test.
41038         * dlfcn/bug-dl-leaf-lib.c: Likewise.
41039         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
41040         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
41041         (dlclose): Likewise.
41042         (dlmopen): Likewise.
41044 2013-08-27  Roland McGrath  <roland@hack.frob.com>
41046         * include/netdb.h [!_ISOMAC]:
41047         Don't include <tls.h>.
41048         (h_errno, __libc_h_errno): Move declaration and macros out of
41049         [_LIBC_REENTRANT].
41051         * include/resolv.h [_RESOLV_H_]:
41052         Don't include <tls.h>.
41053         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
41054         * resolv/res_libc.c: Don't include <tls.h>.
41055         (_res): Use __attribute__ ((nocommon)) in place of
41056         __attribute__ ((section (".bss"))).
41058         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
41059         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
41061         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
41063         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
41064         only under [SIOCGIFCONF && SIOCGIFNETMASK].
41066         * resolv/res_mkquery.c: Include <sys/time.h>.
41068         * inet/ifreq.c: Moved to ...
41069         * sysdeps/unix/ifreq.c: ... here.
41070         * inet/ifreq.c: New file, true stub version.
41072         * socket/sa_len.c: New file.
41073         * socket/Makefile (aux): Add it.
41074         * sysdeps/unix/sysv/linux/Makefile
41075         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
41076         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
41077         and #include <socket/sa_len.c>.
41078         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
41079         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
41081         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
41082         * bits/socket.h: ... here.
41084         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
41085         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
41086         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
41088 2013-08-27  Andreas Schwab  <schwab@suse.de>
41090         [BZ #15736]
41091         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
41092         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
41093         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
41094         * string/test-strcasecmp.c (test_main): Run tests in several
41095         locales.
41096         * string/test-strncasecmp.c (test_main): Likewise.
41098         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
41099         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
41100         to __strcasecmp_nonascii and __strncasecmp_nonascii.
41101         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
41102         (__strncasecmp_ssse3) [PIC]: Likewise.
41104 2013-08-26  Roland McGrath  <roland@hack.frob.com>
41106         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
41108         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
41109         instead of explicitly declaring xdecrypt.
41110         * nis/nss_nis/nis-publickey.c: Likewise.
41112 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41114         [BZ #15890]
41115         * nscd/aicache.c: Include res_hconf.h.
41116         (addhstaiX): Initialize res_hconf.
41118 2013-08-26  Andreas Schwab  <schwab@suse.de>
41120         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
41121         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
41123 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41125         * nscd/aicache.c (addhstaiX): Fix indentation.
41127 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
41129         * configure.ac: Quote $build_pt_chown test.
41130         * configure: Regenerated.
41132 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
41134         [BZ #15532]
41135         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
41136         * math/s_cexpf.c (__cexpf): Likewise.
41137         * math/s_cexpl.c (__cexpl): Likewise.
41138         * math/libm-test.inc (cexp_test_data): Correct expected return
41139         value for NaN + i0.  Add another test.
41141 2013-08-22  David S. Miller  <davem@davemloft.net>
41143         * po/ca.po: Update Catalan translation from translation project.
41144         * po/uk.po: Add Ukrainian translations from translation project.
41146 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
41148         [BZ #15797]
41149         * math/s_fdim.c (__fdim): Check for infinite arguments if result
41150         is infinite, not alongside NaN test.
41151         * math/s_fdimf.c (__fdimf): Likewise.
41152         * math/s_fdiml.c (__fdiml): Likewise.
41153         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
41154         errno is unchanged.
41156 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
41158         * argp/argp-help.c: Fix typos.
41159         * crypt/speeds.c: Likewise.
41160         * csu/check_fds.c: Likewise.
41161         * elf/dl-load.c: Likewise.
41162         * elf/dl-open.c: Likewise.
41163         * elf/reldep3.c: Likewise.
41164         * elf/reldep.c: Likewise.
41165         * elf/sprof.c: Likewise.
41166         * iconv/iconv_charmap.c: Likewise.
41167         * iconv/skeleton.c: Likewise.
41168         * iconv/strtab.c: Likewise.
41169         * io/lockf64.c: Likewise.
41170         * libio/libioP.h: Likewise.
41171         * resolv/gai_notify.c: Likewise.
41172         * resolv/ns_name.c: Likewise.
41173         * resolv/ns_samedomain.c: Likewise.
41174         * resolv/res_send.c: Likewise.
41175         * stdlib/random.c: Likewise.
41176         * sunrpc/rpc/xdr.h: Likewise.
41177         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
41178         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41179         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41180         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41181         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41182         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41183         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41184         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41185         * sysdeps/mach/hurd/check_fds.c: Likewise.
41186         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41187         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41188         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41189         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41190         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41191         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41192         * sysdeps/pthread/aio_notify.c: Likewise.
41193         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
41194         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
41195         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
41196         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41197         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41199 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41201         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
41202         version if bit_Slow_SSE4_2 is set.
41203         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41204         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41206 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41208         [BZ #15867]
41209         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
41210         trampoline stack frame information.
41211         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
41212         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
41213         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
41214         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
41215         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
41216         * sysdeps/unix/sysv/linux/powerpc/init-first.c
41217         (_libc_vdso_platform_setup): Initialize the signal trampolines.
41218         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
41219         sa_flags value.
41220         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
41221         interrupting a syscall and set with option SA_SIGINFO.
41223 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
41225         [BZ #15531]
41226         * math/s_cproj.c (__cproj): Only return an infinity if one part of
41227         argument is infinite.
41228         * math/s_cprojf.c (__cprojf): Likewise.
41229         * math/s_cprojl.c (__cprojl): Likewise.
41230         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
41231         * math/libm-test.inc (cproj_test_data): Add more tests.
41233         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
41235         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
41236         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
41237         size.  Use __ffs to determine corresponding shift.
41239 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
41240             Roland McGrath  <roland@hack.frob.com>
41242         * Makefile (INSTALL): Remove trailing blank lines from output of
41243         makeinfo.
41245 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41247         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
41248         Align 32 bit compat elf_greg to 8 bytes.
41250 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
41252         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
41254 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41256         * string/strcoll_l.c (coll_seq): New structure.
41257         (get_next_seq_cached): New function.
41258         (get_next_seq): New function.
41259         (do_compare): New function.
41260         (STRCOLL): Use GNU style definition.  Simplify implementation
41261         by using get_next_seq, get_next_seq_cached and do_compare.
41263 2013-08-16  Florian Weimer  <fweimer@redhat.com>
41265         [BZ #14699]
41266         CVE-2013-4237
41267         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
41268         member.
41269         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
41270         member.
41271         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
41272         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
41273         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
41274         conditional.
41275         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
41276         GETDENTS_64BIT_ALIGNED.
41277         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41278         * manual/filesys.texi (Reading/Closing Directory): Document
41279         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
41280         strongly.
41281         * manual/conf.texi (Limits for Files): Add portability note to
41282         NAME_MAX, PATH_MAX.
41283         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
41285 2013-08-13  Andreas Schwab  <schwab@suse.de>
41287         [BZ #15749]
41288         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
41289         of fabs.
41290         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
41291         LDBL_MAX_EXP >= 16384]: Add tests for it.
41293 2013-08-12  David S. Miller  <davem@davemloft.net>
41295         * version.h (RELEASE): Set to "development".
41296         (VERSION): Set to "2.18.90".
41297         * NEWS: Add 2.19 section.
41299 2013-08-03  David S. Miller  <davem@davemloft.net>
41301         * po/ko.po: Update Korean translation from translation project.
41303 2013-08-01  David S. Miller  <davem@davemloft.net>
41305         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
41306         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
41307         Bilka.
41309 2013-07-30  David S. Miller  <davem@davemloft.net>
41311         * po/fr.po: Update French translation from translation project.
41313 2013-07-28  David S. Miller  <davem@davemloft.net>
41315         * po/cs.po: Update Czech translation from translation project.
41317         * po/sv.po: Update Swedish translation from translation project.
41319 2013-07-27  David S. Miller  <davem@davemloft.net>
41321         * po/eo.po: Update Esperanto translation from translation project.
41323         * po/vi.po: Update Vietnamese translation from translation project.
41325         * po/de.po: Update German translation from translation project.
41327 2013-07-26  David S. Miller  <davem@davemloft.net>
41329         * po/bg.po: Update Bulgarian translation from translation project.
41331         * po/nl.po: Update Dutch translation from translation project.
41332         * po/pl.po: Update Polish translation from translation project.
41333         * po/ru.po: Update Russian translation from translation project.
41335 2013-07-24  David S. Miller  <davem@davemloft.net>
41337         * po/libc.pot: Update.
41339 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41341         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
41342         variable page size.
41343         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
41344         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
41345         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
41347 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41349         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
41351 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41352             Andreas Schwab  <schwab@suse.de>
41353             Roland McGrath  <roland@hack.frob.com>
41354             Joseph Myers  <joseph@codesourcery.com>
41355             Carlos O'Donell  <carlos@redhat.com>
41357         [BZ #15755]
41358         * config.h.in: Define HAVE_PT_CHOWN.
41359         * config.make.in (build-pt-chown): New variable.
41360         * configure.in (--enable-pt_chown): New configure option.
41361         * configure: Regenerate.
41362         * login/Makefile: Include Makeconfig.  Build pt_chown only if
41363         build-pt-chown is enabled.
41364         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
41365         pt_chown to fix pty ownership.
41366         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
41367         CLOSE_ALL_FDS.
41368         * manual/install.texi (Configuring and compiling): Mention
41369         --enable-pt_chown. Add @findex for grantpt.
41370         * INSTALL: Regenerate.
41372 2013-07-20  David S. Miller  <davem@davemloft.net>
41374         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
41375         difference between 32-bit and 64-bit.
41377 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
41379         [BZ #15711]
41380         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
41381         Avoid system header dependency with -ffreestanding.
41382         ($(objpfx)bits/syscall%d): Likewise.
41384 2013-07-13  David S. Miller  <davem@davemloft.net>
41386         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
41387         underflows from atanl/atan2l due to bug 15319.
41388         (casinh_test_data): Likewise.
41390 2013-07-07  David S. Miller  <davem@davemloft.net>
41392         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
41394 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
41396         * sysdeps/i386/fpu/libm-test-ulps: Update.
41397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41399 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41401         * configure.in (--enable-lock-elision): Fix message text.
41402         * INSTALL: Regenerate.
41403         * configure: Regenerate.
41405 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41409 2013-07-03  Andreas Jaeger  <aj@suse.de>
41411         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
41412         define.
41413         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
41414         (ptrace_peeksiginfo_args): Add.
41415         (__ptrace_peeksiginfo_flags): Add.
41416         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41417         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41418         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41420 2013-07-03  Allan McRae  <allan@archlinux.org>
41422         * sysdeps/i386/fpu/libm-test-ulps: Update.
41424 2013-07-02  David S. Miller  <davem@davemloft.net>
41426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41428 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
41430         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41432 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
41434         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41437 2013-07-02  Andi Kleen <ak@linux.intel.com>
41439         * config.h.in (ENABLE_LOCK_ELISION): Add.
41440         * configure.in (--enable-lock-elision): Add option.
41441         * manual/install.texi: Document --enable lock elision.
41442         * configure: Regenerate
41443         * INSTALL: Regenerate.
41445 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
41447         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
41448         SSE4.2 strcasecmp for libc.a.
41449         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
41451 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
41453         [BZ #13304]
41454         * soft-fp/op-common.h (_FP_FMA): New macro.
41455         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
41456         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
41457         (_FP_MUL_MEAT_1_imm): ... here.
41458         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
41459         (_FP_MUL_MEAT_1_wide): ... here.
41460         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
41461         (_FP_MUL_MEAT_1_hard): ... here.
41462         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
41463         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
41464         (_FP_MUL_MEAT_2_wide): ... here.
41465         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
41466         (_FP_MUL_MEAT_2_wide_3mul): ... here.
41467         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
41468         (_FP_MUL_MEAT_2_gmp): ... here.
41469         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
41470         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
41471         (_FP_MUL_MEAT_4_wide): ... here.
41472         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
41473         (_FP_MUL_MEAT_4_gmp): ... here.
41474         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
41475         (_FP_WFRACBITS_DW_S): Likewise.
41476         (_FP_WFRACXBITS_DW_S): Likewise.
41477         (_FP_HIGHBIT_DW_S): Likewise.
41478         (FP_FMA_S): Likewise.
41479         (_FP_FRAC_HIGH_DW_S): Likewise.
41480         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
41481         (_FP_WFRACBITS_DW_D): Likewise.
41482         (_FP_WFRACXBITS_DW_D): Likewise.
41483         (_FP_HIGHBIT_DW_D): Likewise.
41484         (FP_FMA_D): Likewise.
41485         (_FP_FRAC_HIGH_DW_D): Likewise.
41486         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
41487         (_FP_WFRACBITS_DW_E): Likewise.
41488         (_FP_WFRACXBITS_DW_E): Likewise.
41489         (_FP_HIGHBIT_DW_E): Likewise.
41490         (FP_FMA_E): Likewise.
41491         (_FP_FRAC_HIGH_DW_E): Likewise.
41492         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
41493         (_FP_WFRACBITS_DW_Q): Likewise.
41494         (_FP_WFRACXBITS_DW_Q): Likewise.
41495         (_FP_HIGHBIT_DW_Q): Likewise.
41496         (FP_FMA_Q): Likewise.
41497         (_FP_FRAC_HIGH_DW_Q): Likewise.
41498         * soft-fp/fmasf4.c: New file.
41499         * soft-fp/fmadf4.c: Likewise.
41500         * soft-fp/fmatf4.c: Likewise.
41502 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41504         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41505         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
41506         Silvermont.
41507         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
41508         macro.
41509         (index_Slow_SSE4_2): Likewise.
41510         (index_Prefer_PMINUB_for_stringop): Likewise.
41511         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
41512         bit_Slow_SSE4_2 is set.
41513         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41514         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41516 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41518         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
41519         rtld_global._dl_hwcap2.
41520         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
41521         POWER8.
41522         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
41523         POWER8 feature descriptions defined in _dl_hwcap2.
41524         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
41525         string handling for POWER8 feature bits.
41526         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
41527         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
41528         _dl_powerpc_cap_flags.
41529         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
41530         * sysdeps/powerpc/rtld-global-offsets.sym
41531         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
41532         _dl_hwcap2 in the rtld_global_ro structure.
41534 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41536         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
41537         hardware capabilities in support of AT_HWCAP2.
41538         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
41539         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
41540         GLRO(dl_hwcap2).
41541         (_dl_show_auxv): Add support for calling _dl_procinfo to display
41542         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
41543         explicitly the unknown a_type display mechanism is used.
41544         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
41545         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
41546         struct member.
41547         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
41548         to macro prototype for AT_HWCAP2 support.
41549         * sysdeps/i386/dl-procinfo.h: Likewise.
41550         * sysdeps/s390/dl-procinfo.h: Likewise.
41551         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
41552         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
41553         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
41554         return -1 for unknown a_type display fallback.
41555         * sysdeps/sparc/dl-procinfo.h: Likewise.
41556         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
41557         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
41559 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
41561         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
41562         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
41564 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
41566         [BZ #12492]
41567         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
41568         mprotect making __stack_prot writable.
41570 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
41571             Joseph Myers  <joseph@codesourcery.com>
41573         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
41574         as being properly aligned.
41576 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
41578         * dlfcn/modstatic5.c: New file.
41579         * dlfcn/tststatic5.c: New file.
41580         * dlfcn/Makefile (tests): Add tststatic5.
41581         (tests-static): Likewise.
41582         (modules-names): Add modstatic5.
41583         (tststatic5-ENV): New variable.
41584         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
41586         [BZ #15022]
41587         * elf/dl-support.c (_dl_main_map): New variable.
41588         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
41589         (_dl_nns, _dl_load_adds): Set to 1.
41590         (_dl_initial_searchlist): Refer to _dl_main_map.
41591         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
41592         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
41593         call to _dl_get_origin.
41594         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
41595         around call_map.
41596         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
41597         * dlfcn/modstatic3.c: New file.
41598         * dlfcn/tststatic3.c: New file.
41599         * dlfcn/tststatic4.c: New file.
41600         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
41601         (tests-static): Likewise.
41602         (modules-names): Add modstatic3.
41603         (tststatic3-ENV, tststatic4-ENV): New variables.
41604         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
41605         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
41607 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
41609         * configure.in (CC): Require GCC version 4.4 or later.
41610         * configure: Regenerated.
41611         * manual/install.texi (Tools for Compilation): Update GCC version
41612         requirement.
41613         * INSTALL: Regenerated.
41615 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41617         [BZ #15674]
41618         * string/test-memcmp.c (check2): New.
41619         (main): Call check2.
41621         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
41623 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
41625         [BZ #15022]
41626         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
41627         over to...
41628         (dl_open_worker) [!SHARED]: ... here.
41630 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41632         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
41634 2013-06-25  Richard Henderson  <rth@redhat.com>
41636         * locale/programs/locarchive.c: Include <libc-internal.h>
41638 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
41640         * manual/texinfo.tex: Update to version 2013-06-21.17, with
41641         trailing whitespace removed.
41643 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
41645         [BZ #10283]
41646         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
41647         * locale/programs/locarchive.c: Include libc-mmap.h.
41648         (prepare_address_space): Take two new outputs (the mmap base and len).
41649         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
41650         values.
41651         (create_archive): Declare new mmap base and len values for
41652         prepare_address_space, and store the result in ah.
41653         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
41654         (enlarge_archive): If ah->mmap_base is not NULL, use that and
41655         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41656         Declare new mmap base and len values for
41657         prepare_address_space, and store the result in new_ah.
41658         (open_archive): Declare new mmap base and len values for
41659         prepare_address_space, and store the result in ah.
41660         (close_archive): If ah->mmap_base is not NULL, use that and
41661         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41662         * sysdeps/generic/libc-mmap.h: New file.
41664 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
41666         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
41667         (ALIGN_UP): Likewise.
41668         (PTR_ALIGN_DOWN): Likewise.
41669         (PTR_ALIGN_UP): Likewise.
41671 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41673         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
41674         entry mapped to PPC_PLATFORM_POWER8.
41675         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
41676         POWER8.
41677         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
41678         (_dl_string_platform): Add case for exporting platform position for
41679         POWER8.
41680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
41681         search path to sysdeps/powerpc/powerpc32/power8 directory.
41682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
41683         search path to sysdeps/powerpc/powerpc64/power8 directory.
41684         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
41685         power7 directories.
41686         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
41687         power7 directories.
41689 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41691         * INSTALL: Regenerate.
41693         * nscd/connections.c (nscd_init): Fix comment.
41695 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
41697         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
41699         [BZ #15667]
41700         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
41701         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
41703 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41705         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
41706         DL_DST_REQ_STATIC.
41707         (DL_DST_REQ_STATIC): Remove macro.
41709 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
41711         [BZ #7006]
41712         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
41713         with a shift of 0 bits.
41715 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41717         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
41718         $(tststatic-ENV).
41720 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41722         [BZ #15655]
41723         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
41725 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41727         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
41728         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
41729         accepts -fno-tree-loop-distribute-patterns.
41730         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
41731         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
41732         recursive call.
41733         * string/memset.c (memset): Likewise.
41734         * string/test-memmove.c (simple_memmove): Disable loop transformation
41735         to library calls.
41736         * string/test-memset.c (simple_memset): Likewise.
41737         * benchtests/bench-memmove.c (simple_memmove): Likewise.
41738         * benchtests/bench-memset.c (simple_memset): Likewise.
41739         * configure: Regenerated.
41741 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
41743         * math/test-misc.c (main): Ignore fesetround failure when failures
41744         of subsequent rounding tests would be ignored.
41746         [BZ #15654]
41747         * math/fedisblxcpt.c (fedisableexcept): Return 0.
41748         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
41749         * math/fegetenv.c (__fegetenv): Return 0.
41750         * math/fegetexcept.c (fegetexcept): Return 0.
41751         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
41752         FE_TONEAREST.
41753         * math/feholdexcpt.c (feholdexcept): Return 0.
41754         * math/fesetenv.c (__fesetenv): Return 0.
41755         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
41756         argument FE_TONEAREST.
41757         * math/feupdateenv.c (__feupdateenv): Return 0.
41758         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
41760 2013-06-18  Roland McGrath  <roland@hack.frob.com>
41762         * elf/rtld-Rules (rtld-compile-command.S): New variable.
41763         (rtld-compile-command.s, rtld-compile-command.c): New variables.
41764         ($(objpfx)rtld-%.os rules): Use them.
41766 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41768         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
41769         fields.
41771 2013-06-17  Roland McGrath  <roland@hack.frob.com>
41773         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
41774         length of target pattern, then descending length of dependency pattern.
41775         * configure.in (AWK): Require gawk 3.1.2 or newer.
41776         * manual/install.texi (Tools for Compilation): Say that we do.
41777         * configure: Regenerated.
41779         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
41780         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
41781         * scripts/sysd-rules.awk: ... this new script.
41782         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
41783         than a glob-style pattern.
41785 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
41787         * math/test-misc.c (main): Do not treat incorrectly rounded
41788         conversions as failure unless ROUNDING_TESTS passes.
41790 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
41792         [BZ #15631]
41793         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
41794         restore exception state around main square root computation, then
41795         check for inexactness explicitly.
41797         * math/libm-test.inc (fma_test_data): Add another test.
41799 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41801         * manual/threads.texi (Non-POSIX Extensions): New document
41802         node.  Document pthread_getattr_default_np and
41803         pthread_setattr_default_np.
41805         * Versions.def (libpthread): Add GLIBC_2.18.
41806         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
41807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41808         Likewise.
41809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41810         Likewise.
41811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41812         Likewise.
41813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41814         Likewise.
41815         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
41816         Likewise.
41817         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41818         Likewise.
41819         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41820         Likewise.
41821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41822         Likewise.
41823         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41824         Likewise.
41826 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41828         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41829         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
41831 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41832             H.J. Lu  <hjl.tools@gmail.com>
41834         [BZ #15627]
41835         * sysdeps/x86_64/rtld-memset.c: Remove file.
41836         * sysdeps/x86_64/rtld-memset.S: New file.
41838 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
41840         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
41841         (test_in_one_mode): Take arguments for whether the rounding mode
41842         is supported for each floating-point type.
41843         (do_test): Pass new arguments to test_in_one_mode using
41844         ROUNDING_TESTS.
41846 2013-06-13  Roland McGrath  <roland@hack.frob.com>
41848         * posix/tst-waitid.c (do_test): Distinguish different instances of
41849         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
41850         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
41851         before entering the kernel for waitpid.
41853 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41855         * NEWS: Fix note on clock function precision.  Text by Roland
41856         McGrath.
41858 2013-06-13  Roland McGrath  <roland@hack.frob.com>
41860         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
41861         it into place only when and if the sanity check passes.
41863 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
41865         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
41866         output for whether conversion result is exact.  Take argument
41867         indicating whether type is IBM long double.
41868         (round_for_all): Change need_exact field to ibm_ld.
41869         * stdlib/tst-strtod-round.c (struct exactness): New type.
41870         (struct test): Change bool ld_ok field to struct exactness exact.
41871         (TEST): Update all definitions for change to field.
41872         (tests): Regenerate array contents.
41873         (test_in_one_mode): Take pointer to new field instead of old ld_ok
41874         field value.  Check for IBM long double here.
41875         (do_test): Update calls to test_in_one_mode.
41877 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41879         [BZ #12515]
41880         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
41881         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
41883 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41885         [BZ #15605]
41886         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
41887         generated by the compiler on loop optimizations.
41888         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
41889         general definitions.
41891 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
41893         * math/bug-nextafter.c: Include <math-tests.h>.
41894         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41895         the relevant type.
41896         * math/bug-nexttoward.c: Include <math-tests.h>.
41897         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41898         the relevant type.
41899         * math/test-misc.c: Include <math-tests.h>.
41900         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41901         the relevant type.
41903 2013-06-12  Andreas Jaeger  <aj@suse.de>
41905         * po/ia.po: Update Interlingua translation from translation
41906         project.
41908 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41910         * include/fenv.h: Include stdbool.h.
41911         (struct rm_ctx): New structure.
41912         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
41913         Define macro.
41914         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
41915         (SET_RESTORE_ROUNDF): Likewise.
41916         (SET_RESTORE_ROUNDL): Likewise.
41917         (SET_RESTORE_ROUND_NOEX): Likewise.
41918         (SET_RESTORE_ROUND_NOEXF): Likewise.
41919         (SET_RESTORE_ROUND_NOEXL): Likewise.
41920         (SET_RESTORE_ROUND_53BIT): Likewise.
41921         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
41922         (libc_feresetround_noexf_ctx): Likewise.
41923         (libc_feresetround_noexl_ctx): Likewise.
41924         (libc_feholdsetround_53bit_ctx): Likewise.
41925         (libc_feresetround_53bit_ctx): Likewise.
41926         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
41927         (libc_feholdexcept_setround_sse_ctx): New function.
41928         (libc_fesetenv_sse_ctx): Likewise.
41929         (libc_feupdateenv_sse_ctx): Likewise.
41930         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
41931         (libc_feholdexcept_setround_387_ctx): Likewise.
41932         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
41933         (libc_feholdsetround_387_prec_ctx): Likewise.
41934         (libc_feholdsetround_387_ctx): Likewise.
41935         (libc_feholdsetround_387_53bit_ctx): Likewise.
41936         (libc_feholdsetround_sse_ctx): Likewise.
41937         (libc_feresetround_sse_ctx): Likewise.
41938         (libc_feresetround_387_ctx): Likewise.
41939         (libc_feupdateenv_387_ctx): Likewise.
41940         (libc_feholdexcept_setroundf_ctx): Define macro.
41941         (libc_fesetenvf_ctx): Likewise.
41942         (libc_feupdateenvf_ctx): Likewise.
41943         (libc_feholdsetroundf_ctx): Likewise.
41944         (libc_feresetroundf_ctx): Likewise.
41945         (libc_feholdexcept_setround_ctx): Likewise.
41946         (libc_fesetenv_ctx): Likewise.
41947         (libc_feupdateenv_ctx): Likewise.
41948         (libc_feholdsetround_ctx): Likewise.
41949         (libc_feresetround_ctx): Likewise.
41950         (libc_feholdexcept_setroundl_ctx): Likewise.
41951         (libc_feupdateenvl_ctx): Likewise.
41952         (libc_feholdsetroundl_ctx): Likewise.
41953         (libc_feresetroundl_ctx): Likewise.
41954         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
41955         (libc_feresetround_53bit_ctx): Likewise.
41957 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41959         * locale/iso-639.def: Convert to UTF-8.
41961 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
41963         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
41964         (EXCEPTION_TESTS_double): Likewise.
41965         (EXCEPTION_TESTS_long_double): Likewise.
41966         (EXCEPTION_TESTS): Likewise.
41967         * math/libm-test.inc (test_exceptions): Only test exceptions if
41968         EXCEPTION_TESTS (FLOAT).
41970 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41972         * benchtests/Makefile (string-bench): Add strcpy_chk and
41973         stpcpy_chk.
41974         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
41975         * benchtests/bench-stpcpy_chk.c: New file.
41976         * benchtests/bench-strcpy_chk-ifunc.c: New file.
41977         * benchtests/bench-strcpy_chk.c: New file.
41978         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
41979         code.
41980         (do_test): Likewise.
41982 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41984         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
41985         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
41986         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
41987         with tabs where appropriate.
41988         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
41989         dl-procinfo.h.
41990         [PPC_PLATFORM_PPC440]: Likewise.
41991         [PPC_PLATFORM_PPC464]: Likewise.
41992         [PPC_PLATFORM_PPC476]: Likewise.
41993         (_dl_string_platform): Add support for detecting ppc405, ppc440,
41994         ppc464, and ppc476 platform strings merging from ports/
41995         dl-procinfo.h.
41997 2013-06-11  Andreas Schwab  <schwab@suse.de>
41999         [BZ #14991]
42000         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
42001         (from_ucs4_idx): Regenerate.
42002         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
42003         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
42004         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
42005         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
42006         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
42007         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
42008         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
42009         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
42010         from FROM_LOOP and TO_LOOP specific macros.
42011         (BODY): Handle combining characters.
42012         * iconvdata/BIG5HKSCS.irreversible: Update.
42013         * iconvdata/BIG5HKSCS.precomposed: New file.
42014         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
42015         characters.
42016         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
42018 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42020         * include/sys/time.h: Fix indentation and add copyright header.
42022         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
42023         (do_test): Likewise.
42024         * string/test-memchr.c (do_one_test): Likewise.
42025         (do_test): Likewise.
42026         * string/test-memcmp.c (do_one_test): Likewise.
42027         (do_test): Likewise.
42028         * string/test-memcpy.c (do_one_test): Likewise.
42029         (do_test): Likewise.
42030         * string/test-memmem.c (do_one_test): Likewise.
42031         (do_test): Likewise.
42032         (do_random_tests): Likewise.
42033         * string/test-memmove.c (do_one_test): Likewise.
42034         (do_test): Likewise.
42035         * string/test-memset.c (do_one_test): Likewise.
42036         (do_test): Likewise.
42037         * string/test-rawmemchr.c (do_one_test): Likewise.
42038         (do_test): Likewise.
42039         * string/test-strcasecmp.c (do_one_test): Likewise.
42040         (do_test): Likewise.
42041         * string/test-strcasestr.c (do_one_test): Likewise.
42042         (do_test): Likewise.
42043         * string/test-strcat.c (do_one_test): Likewise.
42044         (do_test): Likewise.
42045         * string/test-strchr.c (do_one_test): Likewise.
42046         (do_test): Likewise.
42047         * string/test-strcmp.c (do_one_test): Likewise.
42048         (do_test): Likewise.
42049         * string/test-strcpy.c (do_one_test): Likewise.
42050         (do_test): Likewise.
42051         * string/test-string.h: Likewise.
42052         (test_init): Likewise.
42053         * string/test-strlen.c (do_one_test): Likewise.
42054         (do_test): Likewise.
42055         * string/test-strncasecmp.c (do_one_test): Likewise.
42056         (do_test): Likewise.
42057         * string/test-strncat.c (do_one_test): Likewise.
42058         (do_test): Likewise.
42059         * string/test-strncmp.c (do_one_test): Likewise.
42060         (do_test_limit): Likewise.
42061         (do_test): Likewise.
42062         * string/test-strncpy.c (do_one_test): Likewise.
42063         (do_test): Likewise.
42064         * string/test-strnlen.c (do_one_test): Likewise.
42065         (do_test): Likewise.
42066         * string/test-strpbrk.c (do_one_test): Likewise.
42067         (do_test): Likewise.
42068         * string/test-strrchr.c (do_one_test): Likewise.
42069         (do_test): Likewise.
42070         * string/test-strspn.c (do_one_test): Likewise.
42071         (do_test): Likewise.
42072         * string/test-strstr.c (do_one_test): Likewise.
42073         (do_test): Likewise.
42075         * benchtests/Makefile (string-bench): Add string benchmarks.
42076         * benchtests/bench-bcopy-ifunc.c: New file.
42077         * benchtests/bench-bcopy.c: New file.
42078         * benchtests/bench-bzero-ifunc.c: New file.
42079         * benchtests/bench-bzero.c: New file.
42080         * benchtests/bench-memccpy-ifunc.c: New file.
42081         * benchtests/bench-memccpy.c: New file.
42082         * benchtests/bench-memchr-ifunc.c: New file.
42083         * benchtests/bench-memchr.c: New file.
42084         * benchtests/bench-memcmp-ifunc.c: New file.
42085         * benchtests/bench-memcmp.c: New file.
42086         * benchtests/bench-memmem-ifunc.c: New file.
42087         * benchtests/bench-memmem.c: New file.
42088         * benchtests/bench-memmove-ifunc.c: New file.
42089         * benchtests/bench-memmove.c: New file.
42090         * benchtests/bench-mempcpy-ifunc.c: New file.
42091         * benchtests/bench-mempcpy.c: New file.
42092         * benchtests/bench-memset-ifunc.c: New file.
42093         * benchtests/bench-memset.c: New file.
42094         * benchtests/bench-rawmemchr-ifunc.c: New file.
42095         * benchtests/bench-rawmemchr.c: New file.
42096         * benchtests/bench-stpcpy-ifunc.c: New file.
42097         * benchtests/bench-stpcpy.c: New file.
42098         * benchtests/bench-stpncpy-ifunc.c: New file.
42099         * benchtests/bench-stpncpy.c: New file.
42100         * benchtests/bench-strcasecmp-ifunc.c: New file.
42101         * benchtests/bench-strcasecmp.c: New file.
42102         * benchtests/bench-strcasestr-ifunc.c: New file.
42103         * benchtests/bench-strcasestr.c: New file.
42104         * benchtests/bench-strcat-ifunc.c: New file.
42105         * benchtests/bench-strcat.c: New file.
42106         * benchtests/bench-strchr-ifunc.c: New file.
42107         * benchtests/bench-strchr.c: New file.
42108         * benchtests/bench-strchrnul-ifunc.c: New file.
42109         * benchtests/bench-strchrnul.c: New file.
42110         * benchtests/bench-strcmp-ifunc.c: New file.
42111         * benchtests/bench-strcmp.c: New file.
42112         * benchtests/bench-strcpy-ifunc.c: New file.
42113         * benchtests/bench-strcpy.c: New file.
42114         * benchtests/bench-strcspn-ifunc.c: New file.
42115         * benchtests/bench-strcspn.c: New file.
42116         * benchtests/bench-strlen-ifunc.c: New file.
42117         * benchtests/bench-strlen.c: New file.
42118         * benchtests/bench-strncasecmp-ifunc.c: New file.
42119         * benchtests/bench-strncasecmp.c: New file.
42120         * benchtests/bench-strncat-ifunc.c: New file.
42121         * benchtests/bench-strncat.c: New file.
42122         * benchtests/bench-strncmp-ifunc.c: New file.
42123         * benchtests/bench-strncmp.c: New file.
42124         * benchtests/bench-strncpy-ifunc.c: New file.
42125         * benchtests/bench-strncpy.c: New file.
42126         * benchtests/bench-strnlen-ifunc.c: New file.
42127         * benchtests/bench-strnlen.c: New file.
42128         * benchtests/bench-strpbrk-ifunc.c: New file.
42129         * benchtests/bench-strpbrk.c: New file.
42130         * benchtests/bench-strrchr-ifunc.c: New file.
42131         * benchtests/bench-strrchr.c: New file.
42132         * benchtests/bench-strspn-ifunc.c: New file.
42133         * benchtests/bench-strspn.c: New file.
42134         * benchtests/bench-strstr-ifunc.c: New file.
42135         * benchtests/bench-strstr.c: New file.
42137         * benchtests/Makefile: Disable parallel execution of targets.
42138         (string-bench): Add memcpy.
42139         (benchset): New variable to store a list of benchmark sets.
42140         (bench-func): Renamed from bench.
42141         (bench-set): New target.
42142         (bench): Depend on bench-func and bench-set.
42143         * benchtests/README: Add section on benchmark sets.
42144         * benchtests/bench-memcpy-ifunc.c: New file.
42145         * benchtests/bench-memcpy.c: New file.
42146         * benchtests/bench-string.h: New file.
42148 2013-06-11  Andreas Schwab  <schwab@suse.de>
42150         [BZ #15577]
42151         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
42152         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
42153         values in the triple.
42154         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
42155         terminator in the group key.
42157 2013-06-11  Andreas Jaeger  <aj@suse.de>
42159         * po/zh_TW.po: Update Chinese (traditional) translation from
42160         translation project.
42162 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42164         * include/time.h (__clock_gettime): Add libc_hidden_proto.
42165         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
42166         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
42167         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42168         (clock_getcpuclockid): Likewise.
42169         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
42170         Add weak_alias and libc_hidden_def.
42171         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
42172         * rt/clock_gettime.c (clock_gettime): Rename to
42173         __clock_gettime.  Add weak_alias and libc_hidden_def.
42174         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
42175         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
42176         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
42177         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
42178         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
42179         Likewise.
42180         * rt/clock_settime.c (clock_settime): Rename to
42181         __clock_settime.  Add weak_alias and libc_hidden_def.
42182         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
42184 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
42186         * mach/err_boot.sub: Remove trailing whitespace.
42187         * mach/err_ipc.sub: Likewise.
42188         * mach/err_mach.sub: Likewise.
42190         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
42191         (ROUNDING_TESTS_double): Likewise.
42192         (ROUNDING_TESTS_long_double): Likewise.
42193         (ROUNDING_TESTS): Likewise.
42194         * math/libm-test.inc: Include <math-tests.h>.
42195         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
42196         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
42197         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42198         (IF_ROUND_INIT_FE_UPWARD): Likewise.
42200 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42202         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
42203         of assigning.
42205 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
42207         * sysdeps/gnu/errlist.awk: Do not generate space at end of
42208         otherwise empty TRANS lines.
42209         * sysdeps/gnu/errlist.c: Regenerated.
42211         * catgets/gencat.c (error_print): Use (void) in function
42212         definition.
42213         * crypt/crypt_util.c (__init_des): Likewise.
42214         * crypt/speeds.c (Stop): Likewise.
42215         (main): Likewise.
42216         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
42217         * inet/ruserpass.c (token): Likewise.
42218         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
42219         * intl/localealias.c (extend_alias_table): Likewise.
42220         * intl/plural-exp.c (init_germanic_plural): Likewise.
42221         * libio/fcloseall.c (__fcloseall): Likewise.
42222         * libio/genops.c (_IO_flush_all): Likewise.
42223         (_IO_flush_all_linebuffered): Likewise.
42224         (_IO_cleanup): Likewise.
42225         (_IO_iter_begin): Likewise.
42226         (_IO_iter_end): Likewise.
42227         (_IO_list_lock): Likewise.
42228         (_IO_list_unlock): Likewise.
42229         (_IO_list_resetlock): Likewise.
42230         * libio/getchar.c (getchar): Likewise.
42231         * libio/getchar_u.c (getchar_unlocked): Likewise.
42232         * libio/getwchar.c (getwchar): Likewise.
42233         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
42234         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
42235         * login/getpt.c (__getpt): Likewise.
42236         * login/tst-utmp.c (main): Likewise.
42237         * malloc/hooks.c (__malloc_check_init): Likewise.
42238         * malloc/malloc.c (__malloc_stats): Likewise.
42239         * malloc/mtrace.c (tr_break): Likewise.
42240         (mtrace): Likewise.
42241         (muntrace): Likewise.
42242         * misc/fstab.c (endfsent): Likewise.
42243         * misc/getclktck.c (__getclktck): Likewise.
42244         * misc/getdtsz.c (__getdtablesize): Likewise.
42245         * misc/gethostid.c (gethostid): Likewise.
42246         * misc/getpagesize.c (__getpagesize): Likewise.
42247         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
42248         (__get_nprocs): Likewise.
42249         (__get_phys_pages): Likewise.
42250         (__get_avphys_pages): Likewise.
42251         * misc/getttyent.c (getttyent): Likewise.
42252         (setttyent): Likewise.
42253         (endttyent): Likewise.
42254         * misc/getusershell.c (getusershell): Likewise.
42255         (endusershell): Likewise.
42256         (setusershell): Likewise.
42257         (initshells): Likewise.
42258         * misc/hsearch.c (__hdestroy): Likewise.
42259         * misc/sync.c (sync): Likewise.
42260         * misc/syslog.c (closelog_internal): Likewise.
42261         (closelog): Likewise.
42262         * misc/ttyslot.c (ttyslot): Likewise.
42263         * misc/vhangup.c (vhangup): Likewise.
42264         * posix/fork.c (__fork): Likewise.
42265         * posix/getegid.c (__getegid): Likewise.
42266         * posix/geteuid.c (__geteuid): Likewise.
42267         * posix/getgid.c (__getgid): Likewise.
42268         * posix/getpid.c (__getpid): Likewise.
42269         * posix/getppid.c (__getppid): Likewise.
42270         * posix/getuid.c (__getuid): Likewise.
42271         * posix/pause.c (pause): Likewise.
42272         * posix/setpgrp.c (setpgrp): Likewise.
42273         * posix/setsid.c (__setsid): Likewise.
42274         * posix/test-vfork.c (noop): Likewise.
42275         * resolv/gethnamaddr.c (_endhtent): Likewise.
42276         (_gethtent): Likewise.
42277         (ht_endhostent): Likewise.
42278         (gethostent): Likewise.
42279         (dns_service): Likewise.
42280         * stdlib/drand48.c (drand48): Likewise.
42281         * stdlib/lrand48.c (lrand48): Likewise.
42282         * stdlib/mrand48.c (mrand48): Likewise.
42283         * stdlib/rand.c (rand): Likewise.
42284         * stdlib/random.c (__random): Likewise.
42285         * stdlib/setenv.c (clearenv): Likewise.
42286         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
42287         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
42288         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
42289         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
42290         (__get_nprocs): Likewise.
42291         (__get_phys_pages): Likewise.
42292         (__get_avphys_pages): Likewise.
42293         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
42294         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
42295         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
42296         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
42297         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
42298         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
42299         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
42300         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
42301         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
42302         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
42303         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
42304         * sysdeps/mach/hurd/sync.c (sync): Likewise.
42305         * sysdeps/posix/clock.c (clock): Likewise.
42306         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
42307         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
42308         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
42309         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
42310         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
42311         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
42312         (__get_nprocs_conf): Likewise.
42313         (__get_phys_pages): Likewise.
42314         (__get_avphys_pages): Likewise.
42315         * time/clock.c (clock): Likewise.
42316         * time/tzset.c (__tzname_max): Likewise.
42318 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
42320         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
42321         (__bswap_32): Do not use "register".
42322         * crypt/crypt.c (_ufc_doit_r): Likewise.
42323         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
42324         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
42325         * gmon/gmon.c (__monstartup): Likewise.
42326         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
42327         * hurd/hurdmalloc.c (more_memory): Likewise.
42328         (malloc): Likewise.
42329         (free): Likewise.
42330         (realloc): Likewise.
42331         (malloc_fork_prepare): Likewise.
42332         (malloc_fork_parent): Likewise.
42333         (malloc_fork_child): Likewise.
42334         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
42335         (_svcauth_des): Likewise.
42336         * inet/inet_lnaof.c (inet_lnaof): Likewise.
42337         * inet/inet_net.c (inet_network): Likewise.
42338         * inet/inet_netof.c (inet_netof): Likewise.
42339         * inet/rcmd.c (__validuser2_sa): Likewise.
42340         * io/fts.c (fts_open): Likewise.
42341         (fts_load): Likewise.
42342         (fts_close): Likewise.
42343         (fts_read): Likewise.
42344         (fts_children): Likewise.
42345         (fts_build): Likewise.
42346         (fts_stat): Likewise.
42347         (fts_sort): Likewise.
42348         (fts_alloc): Likewise.
42349         (fts_lfree): Likewise.
42350         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
42351         (_IO_file_xsgetn): Likewise.
42352         (_IO_file_xsgetn_mmap): Likewise.
42353         * libio/iofopncook.c (_IO_cookie_read): Likewise.
42354         (_IO_cookie_write): Likewise.
42355         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
42356         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
42357         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
42358         * malloc/obstack.c (_obstack_begin): Likewise.
42359         (_obstack_begin_1): Likewise.
42360         (_obstack_newchunk): Likewise.
42361         (_obstack_allocated_p): Likewise.
42362         (obstack_free): Likewise.
42363         (_obstack_memory_used): Likewise.
42364         * misc/getttyent.c (getttynam): Likewise.
42365         (getttyent): Likewise.
42366         (skip): Likewise.
42367         (value): Likewise.
42368         * misc/getusershell.c (initshells): Likewise.
42369         * misc/syslog.c (__vsyslog_chk): Likewise.
42370         * misc/ttyslot.c (ttyslot): Likewise.
42371         * nis/nis_hash.c (__nis_hash): Likewise.
42372         * posix/fnmatch_loop.c (FCT): Likewise.
42373         * posix/getconf.c (print_all): Likewise.
42374         (main): Likewise.
42375         * posix/getopt.c (exchange): Likewise.
42376         * posix/glob.c (globfree): Likewise.
42377         (prefix_array): Likewise.
42378         (__glob_pattern_type): Likewise.
42379         * resolv/arpa/nameser.h (NS_GET16): Likewise.
42380         (NS_GET32): Likewise.
42381         (NS_PUT16): Likewise.
42382         (NS_PUT32): Likewise.
42383         * resolv/gethnamaddr.c (getanswer): Likewise.
42384         (gethostbyname2): Likewise.
42385         (gethostbyaddr): Likewise.
42386         (_gethtent): Likewise.
42387         (_gethtbyname2): Likewise.
42388         (_gethtbyaddr): Likewise.
42389         * resolv/ns_print.c (dst_s_get_int16): Likewise.
42390         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
42391         * resolv/res_init.c (__res_vinit): Likewise.
42392         (net_mask): Likewise.
42393         * resolv/res_mkquery.c (outchar): Likewise.
42394         (PRINT): Likewise.
42395         * stdio-common/printf_fp.c (outchar): Likewise.
42396         (PRINT): Likewise.
42397         * stdio-common/printf_fphex.c (outchar): Likewise.
42398         (PRINT): Likewise.
42399         * stdio-common/printf_size.c (outchar): Likewise.
42400         (PRINT): Likewise.
42401         * stdio-common/test_rdwr.c (main): Likewise.
42402         * stdio-common/tfformat.c (matches): Likewise.
42403         * stdio-common/vfprintf.c (outchar): Likewise.
42404         (printf_unknown): Likewise.
42405         (buffered_vfprintf): Likewise.
42406         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42407         * stdio-common/xbug.c (AppendToBuffer): Likewise.
42408         (ReadFile): Likewise.
42409         * stdlib/qsort.c (SWAP): Likewise.
42410         (_quicksort): Likewise.
42411         * stdlib/setenv.c (__add_to_environ): Likewise.
42412         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42413         * stdlib/strtol_l.c (__strtol_l): Likewise.
42414         * stdlib/tst-strtod.c (main): Likewise.
42415         * stdlib/tst-strtol.c (main): Likewise.
42416         * stdlib/tst-strtoll.c (main): Likewise.
42417         * string/bits/string2.h (__strcmp_cc): Likewise.
42418         (__strcmp_cg): Likewise.
42419         (__strcspn_c1): Likewise.
42420         (__strcspn_c2): Likewise.
42421         (__strcspn_c3): Likewise.
42422         (__strspn_c1): Likewise.
42423         (__strspn_c2): Likewise.
42424         (__strspn_c3): Likewise.
42425         (__strsep_1c): Likewise.
42426         (__strsep_2c): Likewise.
42427         (__strsep_3c): Likewise.
42428         * string/memccpy.c (__memccpy): Likewise.
42429         * string/stpcpy.c (__stpcpy): Likewise.
42430         * string/strcmp.c (strcmp): Likewise.
42431         * string/strrchr.c (strrchr): Likewise.
42432         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
42433         Likewise.
42434         * sysdeps/mach/hurd/getcwd.c
42435         (_hurd_canonicalize_directory_name_internal): Likewise.
42436         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
42437         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
42438         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
42439         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
42440         Likewise, in both definitions.
42441         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
42442         definitions.
42443         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
42444         64] (__bswap_64): Likewise.
42445         * time/test_time.c (main): Likewise.
42446         * time/tzfile.c (__tzfile_read): Likewise.
42447         (__tzfile_compute): Likewise.
42448         * time/tzset.c (__tzset_parse_tz): Likewise.
42449         (tzset_internal): Likewise.
42450         (compute_change): Likewise.
42451         * wcsmbs/wcscat.c (__wcscat): Likewise.
42452         * wcsmbs/wcschr.c (wcschr): Likewise.
42453         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
42454         * wcsmbs/wcscspn.c (wcscspn): Likewise.
42455         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
42456         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
42457         * wcsmbs/wcsspn.c (wcsspn): Likewise.
42458         * wcsmbs/wcsstr.c (wcsstr): Likewise.
42459         * wcsmbs/wmemchr.c (wmemchr): Likewise.
42460         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42461         * wcsmbs/wmemset.c (wmemset): Likewise.
42463 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
42465         * scripts/config.guess: Update to version 2013-05-16.
42466         * scripts/config.sub: Update to version 2013-04-24.
42467         * scripts/install-sh: Update to version 2011-11-20.07.
42468         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
42469         * scripts/move-if-change: Update to version 2012-01-06 07:23.
42471 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
42473         * debug/fgetws_u_chk.c: Fix leading whitespaces.
42474         * elf/sln.c: Likewise.
42475         * hurd/hurd/ioctl.h: Likewise.
42476         * hurd/hurdmalloc.c: Likewise.
42477         * hurd/xattr.c: Likewise.
42478         * include/shlib-compat.h: Likewise.
42479         * inet/ruserpass.c: Likewise.
42480         * libio/iofgets_u.c: Likewise.
42481         * libio/iofgetws_u.c: Likewise.
42482         * locale/programs/ld-identification.c: Likewise.
42483         * locale/programs/ld-time.c: Likewise.
42484         * mach/msg-destroy.c: Likewise.
42485         * nss/nss_files/files-netgrp.c: Likewise.
42486         * resolv/res_data.c: Likewise.
42487         * soft-fp/op-1.h: Likewise.
42488         * soft-fp/op-2.h: Likewise.
42489         * soft-fp/op-4.h: Likewise.
42490         * soft-fp/op-common.h: Likewise.
42491         * stdio-common/printf_fphex.c: Likewise.
42492         * stdlib/strtod_l.c: Likewise.
42493         * sunrpc/rpc/clnt.h: Likewise.
42494         * sysdeps/generic/framestate.c: Likewise.
42495         * sysdeps/i386/bsd-_setjmp.S: Likewise.
42496         * sysdeps/i386/bsd-setjmp.S: Likewise.
42497         * sysdeps/i386/__longjmp.S: Likewise.
42498         * sysdeps/i386/setjmp.S: Likewise.
42499         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42500         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42501         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42502         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42503         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42504         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42505         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42506         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42507         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42508         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42509         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42510         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42511         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42512         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42513         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42514         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42515         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42516         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
42517         * sysdeps/ieee754/support.c: Likewise.
42518         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42519         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
42520         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
42521         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
42522         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
42523         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
42524         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
42525         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
42526         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
42527         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
42528         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
42529         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
42530         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
42531         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
42532         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
42533         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
42534         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42537 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
42539         * posix/transbug.c: Remove executable mode.
42541 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
42543         * crypt/speeds.c: Remove trailing whitespace.
42544         * dlfcn/default.c: Likewise.
42545         * elf/ifuncdep2.c: Likewise.
42546         * elf/ifuncmain1.c: Likewise.
42547         * elf/ifuncmain1vis.c: Likewise.
42548         * elf/testobj.h: Likewise.
42549         * elf/tst-stackguard1.c: Likewise.
42550         * gmon/sys/gmon.h: Likewise.
42551         * hurd/hurdmsg.c: Likewise.
42552         * hurd/new-fd.c: Likewise.
42553         * hurd/ports-get.c: Likewise.
42554         * iconvdata/ibm1008_420.c: Likewise.
42555         * inet/tst-getni1.c: Likewise.
42556         * inet/tst-getni2.c: Likewise.
42557         * libio/ioungetc.c: Likewise.
42558         * libio/wfiledoalloc.c: Likewise.
42559         * manual/libm-err-tab.pl: Likewise.
42560         * math/w_dremf.c: Likewise.
42561         * misc/ftruncate.c: Likewise.
42562         * posix/bug-glob2.c: Likewise.
42563         * posix/tst-pcre.c: Likewise.
42564         * posix/wait4.c: Likewise.
42565         * resolv/README: Likewise.
42566         * resolv/res_debug.h: Likewise.
42567         * resolv/tst-inet_ntop.c: Likewise.
42568         * setjmp/bug269-setjmp.c: Likewise.
42569         * soft-fp/extended.h: Likewise.
42570         * soft-fp/op-1.h: Likewise.
42571         * soft-fp/op-2.h: Likewise.
42572         * soft-fp/op-4.h: Likewise.
42573         * soft-fp/op-8.h: Likewise.
42574         * soft-fp/testit.c: Likewise.
42575         * stdio-common/bug16.c: Likewise.
42576         * stdlib/random.c: Likewise.
42577         * sunrpc/rpcsvc/rquota.x: Likewise.
42578         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
42579         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42580         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42581         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42582         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42583         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42584         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42585         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42586         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42587         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42588         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42589         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42590         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42591         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42592         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42593         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42594         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42595         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42596         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42597         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42598         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42599         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42600         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
42601         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42602         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42603         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42604         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42605         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42606         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42607         * sysdeps/ieee754/s_lib_version.c: Likewise.
42608         * sysdeps/mach/hurd/check_fds.c: Likewise.
42609         * sysdeps/mach/hurd/getsockname.c: Likewise.
42610         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
42611         * sysdeps/mach/hurd/recvfrom.c: Likewise.
42612         * sysdeps/powerpc/bits/link.h: Likewise.
42613         * sysdeps/powerpc/dl-procinfo.c: Likewise.
42614         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
42615         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
42616         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
42617         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42618         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42619         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
42620         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42621         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
42622         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42623         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
42624         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42625         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
42626         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42627         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42628         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42629         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42630         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42631         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42632         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42633         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42634         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
42635         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42636         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42637         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
42638         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42639         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42640         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42641         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42642         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42643         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42644         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42645         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42646         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42647         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
42648         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42649         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
42650         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42651         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
42652         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
42653         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
42654         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
42655         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
42656         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
42657         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42658         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
42659         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
42660         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42661         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
42662         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
42663         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42664         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42665         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42666         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42667         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
42668         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
42669         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
42670         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42671         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
42672         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
42673         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
42674         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
42675         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
42676         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42677         * sysdeps/powerpc/sysdep.h: Likewise.
42678         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42679         * sysdeps/s390/s390-64/sub_n.S: Likewise.
42680         * sysdeps/sh/dl-trampoline.S: Likewise.
42681         * sysdeps/sh/memset.S: Likewise.
42682         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
42683         * sysdeps/sh/strlen.S: Likewise.
42684         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
42685         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
42686         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
42687         * sysdeps/sparc/sparc32/rem.S: Likewise.
42688         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
42689         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
42690         * sysdeps/sparc/sparc32/strchr.S: Likewise.
42691         * sysdeps/sparc/sparc32/udiv.S: Likewise.
42692         * sysdeps/sparc/sparc32/urem.S: Likewise.
42693         * sysdeps/sparc/sparc64/add_n.S: Likewise.
42694         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42695         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
42696         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
42697         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
42698         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
42699         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
42700         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
42701         * sysdeps/unix/bsd/times.c: Likewise.
42702         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
42703         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
42704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42707         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
42708         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42709         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
42710         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
42711         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
42712         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
42713         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42714         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
42715         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42716         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42717         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
42718         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42719         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
42720         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
42721         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
42722         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
42723         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
42724         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42725         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
42726         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
42727         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
42728         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
42729         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42730         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
42731         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
42732         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
42733         * sysdeps/x86_64/strcspn.S: Likewise.
42735 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42737         * locale/C-translit.h: Revert #include <stdint.h> because this is a
42738         generated file.  Regenerate properly from gen-translit.pl.
42739         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
42740         locale/C-translit.h.
42742 2013-06-05  Andreas Schwab  <schwab@suse.de>
42744         [BZ #15100]
42745         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
42746         week as 6 instead of -1.
42747         * time/tst-strptime.c (day_tests): Add test case.
42749 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42751         * sysdeps/generic/math_private.h
42752         (libc_feholdexcept_setround_53bit): Replace with
42753         libc_feholdsetround_53bit.
42754         (libc_feupdateenv_53bit): Replace with
42755         libc_feresetround_53bit.
42756         (SET_RESTORE_ROUND_53BIT): Adjust.
42758 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42760         * string/test-strchrnul.c: Add copyright header.
42762         * posix/tst-getaddrinfo4.c: Increase test timeout.
42764 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
42766         [BZ #15536]
42767         * math/libm-test.inc (MAX_EXP): Remove
42768         (MIN_EXP): Define.
42769         (ulp): Use MIN_EXP - MANT_DIG.
42770         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
42772 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
42774         * po/be.po: Revert last change.
42775         * po/zh_CN.po: Likewise.
42776         * po/header.pot: Likewise.
42778 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
42780         * Makefile ($(common-objpfx)linkobj/libc.so): Define
42781         link-libc-deps to empty as target-specific variable.
42782         * Makerules (link-libc-args): New variable.
42783         (libc-for-link): Likewise.
42784         (link-libc-deps): Likewise.
42785         (lib%.so): Depend on $(link-libc-deps).  Link with
42786         $(link-libc-args).
42787         (build-module): Link with $(link-libc-args).
42788         (build-module-asneeded): Likewise.
42789         (build-module-helper-objlist): Filter out $(link-libc-deps) from
42790         list of objects.
42791         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
42792         target-specific variable.
42793         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
42794         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
42795         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
42796         libc.
42797         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
42798         libc and ld.so.
42799         ($(objpfx)libpcprofile.so): Likewise.
42800         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
42801         libc_nonshared.a.
42802         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
42803         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
42804         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
42805         $(link-libc-deps).
42806         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
42807         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
42808         * login/Makefile ($(objpfx)libutil.so): Likewise.
42809         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
42810         * math/Makefile ($(objpfx)libm.so): Likewise.
42811         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
42812         $(objpfx)libnsl.so): Define libc-for-link as target-specific
42813         variable instead of depending directly on libc.
42814         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
42815         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
42816         $(link-libc-deps).
42817         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
42818         libc.
42819         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
42820         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
42821         ($(objpfx)libanl.so): Likewise.
42822         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
42823         ld.so.
42824         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
42825         $(link-libc-deps).
42826         * sysdeps/i386/fpu/Makefile: Remove file.
42827         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
42828         ($(objpfx)libm.so): Remove dependency on ld.so.
42830 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
42832         [BZ # 15553]
42833         * nis/yp_xdr.c (XDRMAXNAME): Define.
42834         (XDRMAXRECORD): Define.
42835         (xdr_domainname): Use XDRMAXNAME.
42836         (xdr_mapname): Likewise.
42837         (xdr_peername): Likewise.
42838         (xdr_keydat): Use XDRMAXRECORD.
42839         (xdr_valdat): Likewise.
42841 2013-05-30  Jeff Law  <law@redhat.com>
42843         [BZ #14256]
42844         * manual/errno.texi (ESTALE): Update to account for more than
42845         just NFS file systems.
42846         * sysdeps/gnu/errlist.c: Regenerated.
42848 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42850         [BZ #15465]
42851         * elf/Makefile (tests): Add tst-null-argv.
42852         (modules-names):  Add tst-null-argv-lib.
42853         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
42854         (tst-null-argv-ENV): Set environment for tst-null-argv.
42855         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
42856         (RTLD_PROGNAME): New macro.
42857         * elf/tst-null-argv.c: New test case.
42858         * elf/tst-null-argv-lib.c: Library for test case.
42859         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
42860         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
42861         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
42862         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
42863         * elf/dl-init.c (call_init): Likewise.
42864         (_dl_init): Likewise.
42865         * elf/dl-load.c (print_search_path): Likewise.
42866         (_dl_map_object): Likewise.
42867         * elf/dl-lookup.c (do_lookup_x): Likewise.
42868         (add_dependency): Likewise.
42869         (_dl_lookup_symbol_x): Likewise.
42870         (_dl_debug_bindings): Likewise.
42871         * elf/dl-open.c (_dl_show_scope): Likewise.
42872         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42873         * elf/dl-version.c (match_symbol): Likewise.
42874         (_dl_check_map_versions): Likewise.
42875         * elf/rtld.c (dl_main): Likewise.
42876         (print_unresolved): Use RTLD_PROGNAME.
42877         (print_missing_version): Likewise.
42878         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
42879         (elf_machine_rela): Likewise.
42880         * sysdeps/powerpc/powerpc32/dl-machine.c
42881         (__process_machine_rela): Likewise.
42882         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42883         Likewise.
42884         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42885         Likewise.
42886         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42887         Likewise.
42888         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42889         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
42890         Likewise.
42891         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
42892         Likewise.
42893         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42895 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
42897         * po/be.po: Add descriptive title.
42898         * po/zh_CN.po: Likewise.
42899         * po/header.pot: Likewise.
42901 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
42903         * locale/programs/locarchive.c (create_archive): Inlucde fname in
42904         error message.
42905         (enlarge_archive): Likewise.
42907 2013-05-28  Ben North  <ben@redfrontdoor.org>
42909         * manual/arith.texi (frexp): It is the magnitude of the return
42910         value which lies in [0.5, 1), not the return value itself.
42912 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42916 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
42918         * stdio-common/bug26.c (main): Correct fscanf template.
42920         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
42921         declare _dl_skip_args.
42923         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
42924         Don't declare.
42926         * manual/platform.texi: Add missing @end deftypefun.
42928 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
42930         [BZ #15529]
42931         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
42932         bit of mantissa of 2^16382.
42933         * math/libm-test.inc (hypot_test_data): Add more tests.
42935         * math/libm-test.inc: Add drem and pow10 to list of tested
42936         functions.
42937         (pow10_test): New function.
42938         (drem_test): Likewise.
42939         (drem_test_tonearest): Likewise.
42940         (drem_test_towardzero): Likewise.
42941         (drem_test_downward): Likewise.
42942         (drem_test_upward): Likewise.
42943         (main): Call the new functions.
42945         * math/libm-test.inc (finite_test_data): Remove.
42946         (finite_test): Run tests from isfinite_test_data.
42947         (gamma_test_data): Remove.
42948         (gamma_test): Run tests from lgamma_test_data.
42949         * sysdeps/i386/fpu/libm-test-ulps: Update.
42950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42952 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42954         * manual/platform.texi: Add PowerPC PPR function set documentation.
42955         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
42956         implementation.
42958 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
42960         * math/libm-test.inc (MAX_EXP): Define.
42961         (ULPDIFF): Define.
42962         (ulp): New function.
42963         (check_float_internal): Use ULPDIFF.
42964         (cpow_test): Disable failing test.
42965         (check_ulp): Test ulp() implemetnation.
42966         (main): Call check_ulp before starting tests.
42968 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
42970         * math/gen-libm-test.pl (generate_testfile): Do not handle
42971         START_DATA and END_DATA.
42972         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
42973         END_DATA.
42974         (acos_tonearest_test_data): Likewise.
42975         (acos_towardzero_test_data): Likewise.
42976         (acos_downward_test_data): Likewise.
42977         (acos_upward_test_data): Likewise.
42978         (acosh_test_data): Likewise.
42979         (asin_test_data): Likewise.
42980         (asin_tonearest_test_data): Likewise.
42981         (asin_towardzero_test_data): Likewise.
42982         (asin_downward_test_data): Likewise.
42983         (asin_upward_test_data): Likewise.
42984         (asinh_test_data): Likewise.
42985         (atan_test_data): Likewise.
42986         (atanh_test_data): Likewise.
42987         (atan2_test_data): Likewise.
42988         (cabs_test_data): Likewise.
42989         (cacos_test_data): Likewise.
42990         (cacosh_test_data): Likewise.
42991         (carg_test_data): Likewise.
42992         (casin_test_data): Likewise.
42993         (casinh_test_data): Likewise.
42994         (catan_test_data): Likewise.
42995         (catanh_test_data): Likewise.
42996         (cbrt_test_data): Likewise.
42997         (ccos_test_data): Likewise.
42998         (ccosh_test_data): Likewise.
42999         (ceil_test_data): Likewise.
43000         (cexp_test_data): Likewise.
43001         (cimag_test_data): Likewise.
43002         (clog_test_data): Likewise.
43003         (clog10_test_data): Likewise.
43004         (conj_test_data): Likewise.
43005         (copysign_test_data): Likewise.
43006         (cos_test_data): Likewise.
43007         (cos_tonearest_test_data): Likewise.
43008         (cos_towardzero_test_data): Likewise.
43009         (cos_downward_test_data): Likewise.
43010         (cos_upward_test_data): Likewise.
43011         (cosh_test_data): Likewise.
43012         (cosh_tonearest_test_data): Likewise.
43013         (cosh_towardzero_test_data): Likewise.
43014         (cosh_downward_test_data): Likewise.
43015         (cosh_upward_test_data): Likewise.
43016         (cpow_test_data): Likewise.
43017         (cproj_test_data): Likewise.
43018         (creal_test_data): Likewise.
43019         (csin_test_data): Likewise.
43020         (csinh_test_data): Likewise.
43021         (csqrt_test_data): Likewise.
43022         (ctan_test_data): Likewise.
43023         (ctan_tonearest_test_data): Likewise.
43024         (ctan_towardzero_test_data): Likewise.
43025         (ctan_downward_test_data): Likewise.
43026         (ctan_upward_test_data): Likewise.
43027         (ctanh_test_data): Likewise.
43028         (ctanh_tonearest_test_data): Likewise.
43029         (ctanh_towardzero_test_data): Likewise.
43030         (ctanh_downward_test_data): Likewise.
43031         (ctanh_upward_test_data): Likewise.
43032         (erf_test_data): Likewise.
43033         (erfc_test_data): Likewise.
43034         (exp_test_data): Likewise.
43035         (exp_tonearest_test_data): Likewise.
43036         (exp_towardzero_test_data): Likewise.
43037         (exp_downward_test_data): Likewise.
43038         (exp_upward_test_data): Likewise.
43039         (exp10_test_data): Likewise.
43040         (exp2_test_data): Likewise.
43041         (expm1_test_data): Likewise.
43042         (fabs_test_data): Likewise.
43043         (fdim_test_data): Likewise.
43044         (finite_test_data): Likewise.
43045         (floor_test_data): Likewise.
43046         (fma_test_data): Likewise.
43047         (fma_towardzero_test_data): Likewise.
43048         (fma_downward_test_data): Likewise.
43049         (fma_upward_test_data): Likewise.
43050         (fmax_test_data): Likewise.
43051         (fmin_test_data): Likewise.
43052         (fmod_test_data): Likewise.
43053         (fpclassify_test_data): Likewise.
43054         (frexp_test_data): Likewise.
43055         (gamma_test_data): Likewise.
43056         (hypot_test_data): Likewise.
43057         (ilogb_test_data): Likewise.
43058         (isfinite_test_data): Likewise.
43059         (isgreater_test_data): Likewise.
43060         (isgreaterequal_test_data): Likewise.
43061         (isinf_test_data): Likewise.
43062         (isless_test_data): Likewise.
43063         (islessequal_test_data): Likewise.
43064         (islessgreater_test_data): Likewise.
43065         (isnan_test_data): Likewise.
43066         (isnormal_test_data): Likewise.
43067         (issignaling_test_data): Likewise.
43068         (isunordered_test_data): Likewise.
43069         (j0_test_data): Likewise.
43070         (j1_test_data): Likewise.
43071         (jn_test_data): Likewise.
43072         (ldexp_test_data): Likewise.
43073         (lgamma_test_data): Likewise.
43074         (lrint_test_data): Likewise.
43075         (lrint_tonearest_test_data): Likewise.
43076         (lrint_towardzero_test_data): Likewise.
43077         (lrint_downward_test_data): Likewise.
43078         (lrint_upward_test_data): Likewise.
43079         (llrint_test_data): Likewise.
43080         (llrint_tonearest_test_data): Likewise.
43081         (llrint_towardzero_test_data): Likewise.
43082         (llrint_downward_test_data): Likewise.
43083         (llrint_upward_test_data): Likewise.
43084         (log_test_data): Likewise.
43085         (log10_test_data): Likewise.
43086         (log1p_test_data): Likewise.
43087         (log2_test_data): Likewise.
43088         (logb_test_data): Likewise.
43089         (logb_downward_test_data): Likewise.
43090         (lround_test_data): Likewise.
43091         (llround_test_data): Likewise.
43092         (modf_test_data): Likewise.
43093         (nearbyint_test_data): Likewise.
43094         (nextafter_test_data): Likewise.
43095         (nexttoward_test_data): Likewise.
43096         (pow_test_data): Likewise.
43097         (pow_tonearest_test_data): Likewise.
43098         (pow_towardzero_test_data): Likewise.
43099         (pow_downward_test_data): Likewise.
43100         (pow_upward_test_data): Likewise.
43101         (remainder_test_data): Likewise.
43102         (remainder_tonearest_test_data): Likewise.
43103         (remainder_towardzero_test_data): Likewise.
43104         (remainder_downward_test_data): Likewise.
43105         (remainder_upward_test_data): Likewise.
43106         (remquo_test_data): Likewise.
43107         (rint_test_data): Likewise.
43108         (rint_tonearest_test_data): Likewise.
43109         (rint_towardzero_test_data): Likewise.
43110         (rint_downward_test_data): Likewise.
43111         (rint_upward_test_data): Likewise.
43112         (round_test_data): Likewise.
43113         (scalb_test_data): Likewise.
43114         (scalbn_test_data): Likewise.
43115         (scalbln_test_data): Likewise.
43116         (signbit_test_data): Likewise.
43117         (sin_test_data): Likewise.
43118         (sin_tonearest_test_data): Likewise.
43119         (sin_towardzero_test_data): Likewise.
43120         (sin_downward_test_data): Likewise.
43121         (sin_upward_test_data): Likewise.
43122         (sincos_test_data): Likewise.
43123         (sinh_test_data): Likewise.
43124         (sinh_tonearest_test_data): Likewise.
43125         (sinh_towardzero_test_data): Likewise.
43126         (sinh_downward_test_data): Likewise.
43127         (sinh_upward_test_data): Likewise.
43128         (sqrt_test_data): Likewise.
43129         (tan_test_data): Likewise.
43130         (tan_tonearest_test_data): Likewise.
43131         (tan_towardzero_test_data): Likewise.
43132         (tan_downward_test_data): Likewise.
43133         (tan_upward_test_data): Likewise.
43134         (tanh_test_data): Likewise.
43135         (tgamma_test_data): Likewise.
43136         (trunc_test_data): Likewise.
43137         (y0_test_data): Likewise.
43138         (y1_test_data): Likewise.
43139         (yn_test_data): Likewise.
43140         (significand_test_data): Likewise.
43142         * math/gen-libm-test.pl (@functions): Remove variable.
43143         (generate_testfile): Don't handle START and END lines.
43144         * math/libm-test.inc (START): New macro.
43145         (END): Likewise.
43146         (END_COMPLEX): Likewise.
43147         (acos_test): Use END macro without arguments.
43148         (acos_test_tonearest): Likewise.
43149         (acos_test_towardzero): Likewise.
43150         (acos_test_downward): Likewise.
43151         (acos_test_upward): Likewise.
43152         (acosh_test): Likewise.
43153         (asin_test): Likewise.
43154         (asin_test_tonearest): Likewise.
43155         (asin_test_towardzero): Likewise.
43156         (asin_test_downward): Likewise.
43157         (asin_test_upward): Likewise.
43158         (asinh_test): Likewise.
43159         (atan_test): Likewise.
43160         (atanh_test): Likewise.
43161         (atan2_test): Likewise.
43162         (cabs_test): Likewise.
43163         (cacos_test): Use END_COMPLEX macro without arguments.
43164         (cacosh_test): Likewise.
43165         (carg_test): Use END macro without arguments.
43166         (casin_test): Use END_COMPLEX macro without arguments.
43167         (casinh_test): Likewise.
43168         (catan_test): Likewise.
43169         (catanh_test): Likewise.
43170         (cbrt_test): Use END macro without arguments.
43171         (ccos_test): Use END_COMPLEX macro without arguments.
43172         (ccosh_test): Likewise.
43173         (ceil_test): Use END macro without arguments.
43174         (cexp_test): Use END_COMPLEX macro without arguments.
43175         (cimag_test): Use END macro without arguments.
43176         (clog_test): Use END_COMPLEX macro without arguments.
43177         (clog10_test): Likewise.
43178         (conj_test): Likewise.
43179         (copysign_test): Use END macro without arguments.
43180         (cos_test): Likewise.
43181         (cos_test_tonearest): Likewise.
43182         (cos_test_towardzero): Likewise.
43183         (cos_test_downward): Likewise.
43184         (cos_test_upward): Likewise.
43185         (cosh_test): Likewise.
43186         (cosh_test_tonearest): Likewise.
43187         (cosh_test_towardzero): Likewise.
43188         (cosh_test_downward): Likewise.
43189         (cosh_test_upward): Likewise.
43190         (cpow_test): Use END_COMPLEX macro without arguments.
43191         (cproj_test): Likewise.
43192         (creal_test): Use END macro without arguments.
43193         (csin_test): Use END_COMPLEX macro without arguments.
43194         (csinh_test): Likewise.
43195         (csqrt_test): Likewise.
43196         (ctan_test): Likewise.
43197         (ctan_test_tonearest): Likewise.
43198         (ctan_test_towardzero): Likewise.
43199         (ctan_test_downward): Likewise.
43200         (ctan_test_upward): Likewise.
43201         (ctanh_test): Likewise.
43202         (ctanh_test_tonearest): Likewise.
43203         (ctanh_test_towardzero): Likewise.
43204         (ctanh_test_downward): Likewise.
43205         (ctanh_test_upward): Likewise.
43206         (erf_test): Use END macro without arguments.
43207         (erfc_test): Likewise.
43208         (exp_test): Likewise.
43209         (exp_test_tonearest): Likewise.
43210         (exp_test_towardzero): Likewise.
43211         (exp_test_downward): Likewise.
43212         (exp_test_upward): Likewise.
43213         (exp10_test): Likewise.
43214         (exp2_test): Likewise.
43215         (expm1_test): Likewise.
43216         (fabs_test): Likewise.
43217         (fdim_test): Likewise.
43218         (finite_test): Likewise.
43219         (floor_test): Likewise.
43220         (fma_test): Likewise.
43221         (fma_test_towardzero): Likewise.
43222         (fma_test_downward): Likewise.
43223         (fma_test_upward): Likewise.
43224         (fmax_test): Likewise.
43225         (fmin_test): Likewise.
43226         (fmod_test): Likewise.
43227         (fpclassify_test): Likewise.
43228         (frexp_test): Likewise.
43229         (gamma_test): Likewise.
43230         (hypot_test): Likewise.
43231         (ilogb_test): Likewise.
43232         (isfinite_test): Likewise.
43233         (isgreater_test): Likewise.
43234         (isgreaterequal_test): Likewise.
43235         (isinf_test): Likewise.
43236         (isless_test): Likewise.
43237         (islessequal_test): Likewise.
43238         (islessgreater_test): Likewise.
43239         (isnan_test): Likewise.
43240         (isnormal_test): Likewise.
43241         (issignaling_test): Likewise.
43242         (isunordered_test): Likewise.
43243         (j0_test): Likewise.
43244         (j1_test): Likewise.
43245         (jn_test): Likewise.
43246         (ldexp_test): Likewise.
43247         (lgamma_test): Likewise.
43248         (lrint_test): Likewise.
43249         (lrint_test_tonearest): Likewise.
43250         (lrint_test_towardzero): Likewise.
43251         (lrint_test_downward): Likewise.
43252         (lrint_test_upward): Likewise.
43253         (llrint_test): Likewise.
43254         (llrint_test_tonearest): Likewise.
43255         (llrint_test_towardzero): Likewise.
43256         (llrint_test_downward): Likewise.
43257         (llrint_test_upward): Likewise.
43258         (log_test): Likewise.
43259         (log10_test): Likewise.
43260         (log1p_test): Likewise.
43261         (log2_test): Likewise.
43262         (logb_test): Likewise.
43263         (logb_test_downward): Likewise.
43264         (lround_test): Likewise.
43265         (llround_test): Likewise.
43266         (modf_test): Likewise.
43267         (nearbyint_test): Likewise.
43268         (nextafter_test): Likewise.
43269         (nexttoward_test): Likewise.
43270         (pow_test): Likewise.
43271         (pow_test_tonearest): Likewise.
43272         (pow_test_towardzero): Likewise.
43273         (pow_test_downward): Likewise.
43274         (pow_test_upward): Likewise.
43275         (remainder_test): Likewise.
43276         (remainder_test_tonearest): Likewise.
43277         (remainder_test_towardzero): Likewise.
43278         (remainder_test_downward): Likewise.
43279         (remainder_test_upward): Likewise.
43280         (remquo_test): Likewise.
43281         (rint_test): Likewise.
43282         (rint_test_tonearest): Likewise.
43283         (rint_test_towardzero): Likewise.
43284         (rint_test_downward): Likewise.
43285         (rint_test_upward): Likewise.
43286         (round_test): Likewise.
43287         (scalb_test): Likewise.
43288         (scalbn_test): Likewise.
43289         (scalbln_test): Likewise.
43290         (signbit_test): Likewise.
43291         (sin_test): Likewise.
43292         (sin_test_tonearest): Likewise.
43293         (sin_test_towardzero): Likewise.
43294         (sin_test_downward): Likewise.
43295         (sin_test_upward): Likewise.
43296         (sincos_test): Likewise.
43297         (sinh_test): Likewise.
43298         (sinh_test_tonearest): Likewise.
43299         (sinh_test_towardzero): Likewise.
43300         (sinh_test_downward): Likewise.
43301         (sinh_test_upward): Likewise.
43302         (sqrt_test): Likewise.
43303         (tan_test): Likewise.
43304         (tan_test_tonearest): Likewise.
43305         (tan_test_towardzero): Likewise.
43306         (tan_test_downward): Likewise.
43307         (tan_test_upward): Likewise.
43308         (tanh_test): Likewise.
43309         (tgamma_test): Likewise.
43310         (trunc_test): Likewise.
43311         (y0_test): Likewise.
43312         (y1_test): Likewise.
43313         (yn_test): Likewise.
43314         (significand_test): Likewise.
43316 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
43318         [BZ #15381]
43319         * libio/genops.c (_IO_no_init): Initialize wide struct info.
43321 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
43323         [BZ #14894]
43324         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
43325         __ppc_mdoio and __ppc_mdoom.
43326         * manual/platform.texi: Document new functions __ppc_yield,
43327         __ppc_mdoio and __ppc_mdoom.
43329 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
43331         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
43332         (main): Mention "tls" pseudo-hwcap is legacy.
43333         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
43335 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
43337         * math/gen-libm-test.pl (parse_args): Output only string of
43338         arguments as text for test name, not full call or descriptions of
43339         tests for extra outputs.
43340         (generate_testfile): Do not pass function name to parse_args.
43341         Generate this_func variable from START.
43342         * math/libm-test.inc (struct test_f_f_data): Rename test_name
43343         field to arg_str.
43344         (struct test_ff_f_data): Likewise.
43345         (test_ff_f_data_nexttoward): Likewise.
43346         (struct test_fi_f_data): Likewise.
43347         (struct test_fl_f_data): Likewise.
43348         (struct test_if_f_data): Likewise.
43349         (struct test_fff_f_data): Likewise.
43350         (struct test_c_f_data): Likewise.
43351         (struct test_f_f1_data): Likewise.  Remove field extra_name.
43352         (struct test_fF_f1_data): Likewise.
43353         (struct test_ffI_f1_data): Likewise.
43354         (struct test_c_c_data): Rename test_name field to arg_str.
43355         (struct test_cc_c_data): Likewise.
43356         (struct test_f_i_data): Likewise.
43357         (struct test_ff_i_data): Likewise.
43358         (struct test_f_l_data): Likewise.
43359         (struct test_f_L_data): Likewise.
43360         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
43361         and extra2_name.
43362         (COMMON_TEST_SETUP): New macro.
43363         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
43364         (COMMON_TEST_CLEANUP): Likewise.
43365         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
43366         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
43367         macros.
43368         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
43369         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
43370         macros.
43371         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
43372         (RUN_TEST_fff_f): Take argument string.  Call new setup and
43373         cleanup macros.
43374         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
43375         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
43376         macros.
43377         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
43378         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
43379         macros.
43380         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43381         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
43382         cleanup macros.
43383         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43384         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
43385         cleanup macros.
43386         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43387         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
43388         cleanup macros.
43389         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43390         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
43391         macros.
43392         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
43393         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
43394         macros.
43395         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
43396         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
43397         macros.
43398         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
43399         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
43400         cleanup macros.
43401         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
43402         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
43403         cleanup macros.
43404         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
43405         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
43406         macros.
43407         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
43408         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
43409         cleanup macros.
43410         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
43411         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
43412         macros.
43413         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
43414         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
43415         macros.
43416         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
43417         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
43418         cleanup macros.
43419         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
43421 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
43423         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
43424         to _sifields.sigfault.
43425         (si_addr_lsb): Define new macro.
43426         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43427         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43428         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
43430 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
43432         [BZ #15441]
43433         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
43434         returns -1.
43435         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
43436         null return -1.
43437         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
43438         loading the domain.
43440 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
43442         * math/gen-libm-test.pl (parse_args): Do not include expected
43443         result in test name.
43444         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
43445         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43446         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43447         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43448         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43451 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43453         * benchtests/Makefile: Sort function entries.
43455         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
43456         tanh, asinh, acosh, atanh.
43457         * benchtests/acos-inputs: New file.
43458         * benchtests/acosh-inputs: New file.
43459         * benchtests/asin-inputs: New file.
43460         * benchtests/asinh-inputs: New file.
43461         * benchtests/atanh-inputs: New file.
43462         * benchtests/cosh-inputs: New file.
43463         * benchtests/log-inputs: New file.
43464         * benchtests/sinh-inputs: New file.
43465         * benchtests/tanh-inputs: New file.
43467 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
43469         [BZ #15339]
43470         * posix/tst-getaddrinfo4.c: New test.
43471         * posix/Makefile (tests): Add it.
43473 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43475         [BZ #15339]
43476         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
43477         when no services were used.
43478         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
43479         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
43481 2013-05-21  Andreas Schwab  <schwab@suse.de>
43483         [BZ #15014]
43484         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
43485         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
43486         successful.
43487         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
43488         redundant variable declarations and reallocation of buffer when
43489         parsing as IPv6 address.  Always set NSS status when called from
43490         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
43491         buffer too small.  Correct computation of needed size.
43492         * nss/Makefile (tests): Add test-digits-dots.
43493         * nss/test-digits-dots.c: New test.
43495 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43497         * benchtests/Makefile: Remove instructions for adding
43498         benchmark tests.
43499         * benchtests/README: New file to explain how to execute and
43500         enhance the benchmark tests.
43502 2013-05-21  Andreas Schwab  <schwab@suse.de>
43504         [BZ #15493]
43505         * setjmp/Makefile (tests): Add tst-sigsetjmp.
43506         * setjmp/tst-sigsetjmp.c: New test.
43508 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
43510         * sysdeps/x86_64/memset.S (memset): New implementation.
43511         (__bzero): Likewise.
43512         (__memset_tail): New function.
43514 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
43516         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
43517         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
43518         __memcpy_sse2_unaligned ifunc selection.
43519         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43520         Add memcpy-sse2-unaligned.S.
43521         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43522         Add: __memcpy_sse2_unaligned.
43524 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
43526         [BZ #15490]
43527         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
43528         math_force_eval before restoring floating-point envrionment.
43529         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
43530         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
43531         Likewise.
43532         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
43533         <math_private.h>.
43534         (__nearbyintl): Use math_force_eval before restoring
43535         floating-point environment.
43536         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
43538         * math/gen-libm-test.pl (special_functions): Remove.
43539         (parse_args): Don't handle TEST_extra.  Handle functions with no
43540         return value.
43541         * math/libm-test.inc (struct test_sincos_data): Replace with
43542         struct test_fFF_11_data.
43543         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
43544         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
43545         (sincos_test_data): Change element type to struct
43546         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
43547         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
43548         RUN_TEST_LOOP_sincos.
43549         * math/README.libm-test: Don't mention special handling of
43550         individual functions.
43551         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
43552         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43553         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43554         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43555         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43556         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43558         * math/gen-libm-test.pl (get_variable): Remove function.
43559         (parse_args): Don't show pointer parameters to call in test
43560         names.  Use "extra output N" in test names for extra outputs
43561         rather than naming variables.
43563 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
43565         [BZ #15488]
43566         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
43567         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
43568         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
43569         double tests.
43570         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
43571         disable.
43572         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
43573         check_long_double.
43575         * math/gen-libm-test.pl (@tests): Remove variable.
43576         ($count): Likewise.
43577         (new_test): Remove function.
43578         (show_exceptions): New function.
43579         (special_functions): Use show_exceptions instead of new_test.
43580         (parse_args): Likewise.
43581         (generate_testfile): Pass only function name in generated call to
43582         print_max_error or print_complex_max_error.
43583         (get_ulps): Do not handle complex tests specially.
43584         (output_test): Rename to ...
43585         (get_all_ulps_for_test): ... this.  Return a string rather than
43586         printing to a file.  Require ulps to be present.
43587         (output_ulps): Generate arrays rather than #defines.
43588         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
43589         (struct ulp_data): New type.
43590         (BUILD_COMPLEX_ULP): Remove macro.
43591         (compare_ulp_data): New function.
43592         (find_ulps): Likewise.
43593         (find_test_ulps): Likewise.
43594         (find_function_ulps): Likewise.
43595         (find_complex_function_ulps): Likewise.
43596         (print_max_error): Determine allowed ulps using
43597         find_function_ulps.
43598         (print_complex_max_error): Determine allowed ulps using
43599         find_complex_function_ulps.
43600         (check_float_internal): Determine max ulps using find_test_ulps.
43601         (check_float): Do not take max_ulp parameter.  Update call to
43602         check_float_internal.
43603         (check_complex): Likewise.
43604         (check_int): Do not take max_ulp parameter.
43605         (check_long): Likewise.
43606         (check_bool): Likewise.
43607         (check_longlong): Likewise.
43608         (struct test_f_f_data): Remove max_ulp field.
43609         (struct test_ff_f_data): Likewise.
43610         (struct test_ff_f_data_nexttoward): Likewise.
43611         (struct test_fi_f_data): Likewise.
43612         (struct test_fl_f_data): Likewise.
43613         (struct test_if_f_data): Likewise.
43614         (struct test_fff_f_data): Likewise.
43615         (struct test_c_f_data): Likewise.
43616         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
43617         (struct test_fF_f1_data): Likewise.
43618         (struct test_ffI_f1_data): Likewise.
43619         (struct test_c_c_data): Remove max_ulp field.
43620         (struct test_cc_c_data): Likewise.
43621         (struct test_f_i_data): Likewise.
43622         (struct test_ff_i_data): Likewise.
43623         (struct test_f_l_data): Likewise.
43624         (struct test_f_L_data): Likewise.
43625         (struct test_sincos_data): Likewise.
43626         (RUN_TEST_f_f): Do not handle ulps.
43627         (RUN_TEST_LOOP_f_f): Likewise.
43628         (RUN_TEST_2_f): Likewise.
43629         (RUN_TEST_LOOP_2_f): Likewise.
43630         (RUN_TEST_fff_f): Likewise.
43631         (RUN_TEST_LOOP_fff_f): Likewise.
43632         (RUN_TEST_c_f): Likewise.
43633         (RUN_TEST_LOOP_c_f): Likewise.
43634         (RUN_TEST_f_f1): Likewise.
43635         (RUN_TEST_LOOP_f_f1): Likewise.
43636         (RUN_TEST_fF_f1): Likewise.
43637         (RUN_TEST_LOOP_fF_f1): Likewise.
43638         (RUN_TEST_fI_f1): Likewise.
43639         (RUN_TEST_LOOP_fI_f1): Likewise.
43640         (RUN_TEST_ffI_f1): Likewise.
43641         (RUN_TEST_LOOP_ffI_f1): Likewise.
43642         (RUN_TEST_c_c): Likewise.
43643         (RUN_TEST_LOOP_c_c): Likewise.
43644         (RUN_TEST_cc_c): Likewise.
43645         (RUN_TEST_LOOP_cc_c): Likewise.
43646         (RUN_TEST_f_i): Likewise.
43647         (RUN_TEST_LOOP_f_i): Likewise.
43648         (RUN_TEST_f_i_tg): Likewise.
43649         (RUN_TEST_LOOP_f_i_tg): Likewise.
43650         (RUN_TEST_ff_i_tg): Likewise.
43651         (RUN_TEST_LOOP_ff_i_tg): Likewise.
43652         (RUN_TEST_f_b): Likewise.
43653         (RUN_TEST_LOOP_f_b): Likewise.
43654         (RUN_TEST_f_b_tg): Likewise.
43655         (RUN_TEST_LOOP_f_b_tg): Likewise.
43656         (RUN_TEST_f_l): Likewise.
43657         (RUN_TEST_LOOP_f_l): Likewise.
43658         (RUN_TEST_f_L): Likewise.
43659         (RUN_TEST_LOOP_f_L): Likewise.
43660         (RUN_TEST_sincos): Likewise.
43661         (RUN_TEST_LOOP_sincos): Likewise.
43663 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
43665         [BZ #15480]
43666         [BZ #15485]
43667         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
43668         main case of finite arguments, set rounding mode to FE_TONEAREST
43669         and discard exceptions.
43670         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
43671         exceptions.
43672         (remainder_tonearest_test_data): New variable.
43673         (remainder_test_tonearest): New function.
43674         (remainder_towardzero_test_data): New variable.
43675         (remainder_test_towardzero): New function.
43676         (remainder_downward_test_data): New variable.
43677         (remainder_test_downward): New function.
43678         (remainder_upward_test_data): New variable.
43679         (remainder_test_upward): New function.
43680         (main): Call the new test functions.
43682         * math/libm-test.inc (struct test_f_f1_data): Remove field
43683         extra_init.
43684         (struct test_fF_f1_data): Likewise.
43685         (struct test_ffI_f1_data): Likewise.
43686         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
43687         based on value of EXTRA_EXPECTED.
43688         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43689         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
43690         EXTRA_VAR based on value of EXTRA_EXPECTED.
43691         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43692         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
43693         EXTRA_VAR based on value of EXTRA_EXPECTED.
43694         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43695         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
43696         EXTRA_VAR based on value of EXTRA_EXPECTED.
43697         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43698         * math/gen-libm-test.pl (parse_args): Don't output initializers
43699         for extra output values.
43701         * math/libm-test.inc (check_int): Expect result to be exactly
43702         equal to expected value and do not handle ulps.
43703         (check_long): Likewise.
43704         (check_longlong): Likewise.
43706         * math/libm-test.inc (ceil_test_data): Test for "inexact"
43707         exceptions.
43708         (cimag_test_data): Likewise.
43709         (conj_test_data): Likewise.
43710         (copysign_test_data): Likewise.
43711         (cproj_test_data): Likewise.
43712         (creal_test_data): Likewise.
43713         (fabs_test_data): Likewise.
43714         (fdim_test_data): Likewise.
43715         (finite_test_data): Likewise.
43716         (floor_test_data): Likewise.
43717         (fmax_test_data): Likewise.
43718         (fmin_test_data): Likewise.
43719         (fmod_test_data): Likewise.
43720         (fpclassify_test_data): Likewise.
43721         (frexp_test_data): Likewise.
43722         (ilogb_test_data): Likewise.
43723         (isfinite_test_data): Likewise.
43724         (isgreater_test_data): Likewise.
43725         (isgreaterequal_test_data): Likewise.
43726         (isinf_test_data): Likewise.
43727         (isless_test_data): Likewise.
43728         (islessequal_test_data): Likewise.
43729         (islessgreater_test_data): Likewise.
43730         (isnan_test_data): Likewise.
43731         (isnormal_test_data): Likewise.
43732         (issignaling_test_data): Likewise.
43733         (isunordered_test_data): Likewise.
43734         (ldexp_test_data): Likewise.
43735         (lrint_test_data): Likewise.
43736         (lrint_test_data) [TEST_FLOAT]: Disable one test.
43737         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
43738         (lrint_tonearest_test_data): Test for "inexact" exceptions.
43739         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43740         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
43741         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43742         test input.
43743         (lrint_towardzero_test_data): Test for "inexact" exceptions.
43744         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43745         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
43746         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
43747         that test input.
43748         (lrint_downward_test_data): Test for "inexact" exceptions.
43749         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43750         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
43751         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43752         test input.
43753         (lrint_upward_test_data): Test for "inexact" exceptions.
43754         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
43755         test input.
43756         (llrint_test_data): Test for "inexact" exceptions.
43757         (llrint_test_data) [TEST_FLOAT]: Disable one test.
43758         (llrint_tonearest_test_data): Test for "inexact" exceptions.
43759         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43760         (llrint_towardzero_test_data): Test for "inexact" exceptions.
43761         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43762         (llrint_downward_test_data): Test for "inexact" exceptions.
43763         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43764         (llrint_upward_test_data): Test for "inexact" exceptions.
43765         (logb_test_data): Likewise.
43766         (logb_downward_test_data): Likewise.
43767         (nextafter_test_data): Likewise.
43768         (nexttoward_test_data): Likewise.
43769         (remainder_test_data): Likewise.
43770         (remquo_test_data): Likewise.
43771         (scalbn_test_data): Likewise.
43772         (scalbln_test_data): Likewise.
43773         (signbit_test_data): Likewise.
43774         (sqrt_test_data): Likewise.
43775         (significand_test_data): Likewise.
43777 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43779         [BZ #15424]
43780         * benchtests/bench-modf.c (struct args): Mark arg0 as
43781         volatile.
43782         * scripts/bench.pl: Mark members of struct args as volatile.
43784 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43786         [BZ # 15497]
43787         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
43788         negative infinity on POWER6 or lower.
43789         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
43791 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
43793         [BZ #15442]
43794         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
43795         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
43796         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
43797         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
43798         (_FP_SETQNAN): New macro.
43799         (_FP_SETQNAN_SEMIRAW): Likewise.
43800         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
43801         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
43802         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
43803         (FP_EXTEND): Use _FP_FRAC_SNANP.
43804         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
43805         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
43806         into account.
43807         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43808         New macro.
43809         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43810         Likewise.
43812 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43814         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
43815         with DIVIDE_BY_ZERO_EXCEPTION.
43816         (gamma_test_data): Likewise.
43817         (lgamma_test_data): Likewise.
43818         (log_test_data): Likewise.
43819         (log10_test_data): Likewise.
43820         (log2_test_data): Likewise.
43821         (tgamma_test_data): Likewise.
43823         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
43824         (acos_test_tonearest): Likewise.
43825         (acos_test_towardzero): Likewise.
43826         (acos_test_downward): Likewise.
43827         (acos_test_upward): Likewise.
43828         (acosh_test): Likewise.
43829         (asin_test): Likewise.
43830         (asin_test_tonearest): Likewise.
43831         (asin_test_towardzero): Likewise.
43832         (asin_test_downward): Likewise.
43833         (asin_test_upward): Likewise.
43834         (asinh_test): Likewise.
43835         (atan_test): Likewise.
43836         (atanh_test): Likewise.
43837         (atan2_test): Likewise.
43838         (cabs_test): Likewise.
43839         (cacos_test): Likewise.
43840         (cacosh_test): Likewise.
43841         (casin_test): Likewise.
43842         (casinh_test): Likewise.
43843         (catan_test): Likewise.
43844         (catanh_test): Likewise.
43845         (cbrt_test): Likewise.
43846         (ccos_test): Likewise.
43847         (ccosh_test): Likewise.
43848         (cexp_test): Likewise.
43849         (clog_test): Likewise.
43850         (clog10_test): Likewise.
43851         (cos_test): Likewise.
43852         (cos_test_tonearest): Likewise.
43853         (cos_test_towardzero): Likewise.
43854         (cos_test_downward): Likewise.
43855         (cos_test_upward): Likewise.
43856         (cosh_test): Likewise.
43857         (cosh_test_tonearest): Likewise.
43858         (cosh_test_towardzero): Likewise.
43859         (cosh_test_downward): Likewise.
43860         (cosh_test_upward): Likewise.
43861         (cpow_test): Likewise.
43862         (csin_test): Likewise.
43863         (csinh_test): Likewise.
43864         (csqrt_test): Likewise.
43865         (ctan_test): Likewise.
43866         (ctan_test_tonearest): Likewise.
43867         (ctan_test_towardzero): Likewise.
43868         (ctan_test_downward): Likewise.
43869         (ctan_test_upward): Likewise.
43870         (ctanh_test): Likewise.
43871         (ctanh_test_tonearest): Likewise.
43872         (ctanh_test_towardzero): Likewise.
43873         (ctanh_test_downward): Likewise.
43874         (ctanh_test_upward): Likewise.
43875         (erf_test): Likewise.
43876         (erfc_test): Likewise.
43877         (exp_test): Likewise.
43878         (exp_test_tonearest): Likewise.
43879         (exp_test_towardzero): Likewise.
43880         (exp_test_downward): Likewise.
43881         (exp_test_upward): Likewise.
43882         (exp10_test): Likewise.
43883         (exp2_test): Likewise.
43884         (expm1_test): Likewise.
43885         (fmod_test): Likewise.
43886         (gamma_test): Likewise.
43887         (hypot_test): Likewise.
43888         (j0_test): Likewise.
43889         (j1_test): Likewise.
43890         (jn_test): Likewise.
43891         (lgamma_test): Likewise.
43892         (log_test): Likewise.
43893         (log10_test): Likewise.
43894         (log1p_test): Likewise.
43895         (log2_test): Likewise.
43896         (logb_test_downward): Likewise.
43897         (pow_test): Likewise.
43898         (pow_test_tonearest): Likewise.
43899         (pow_test_towardzero): Likewise.
43900         (pow_test_downward): Likewise.
43901         (pow_test_upward): Likewise.
43902         (remainder_test): Likewise.
43903         (remquo_test): Likewise.
43904         (sin_test): Likewise.
43905         (sin_test_tonearest): Likewise.
43906         (sin_test_towardzero): Likewise.
43907         (sin_test_downward): Likewise.
43908         (sin_test_upward): Likewise.
43909         (sincos_test): Likewise.
43910         (sinh_test): Likewise.
43911         (sinh_test_tonearest): Likewise.
43912         (sinh_test_towardzero): Likewise.
43913         (sinh_test_downward): Likewise.
43914         (sinh_test_upward): Likewise.
43915         (sqrt_test): Likewise.
43916         (tan_test): Likewise.
43917         (tan_test_tonearest): Likewise.
43918         (tan_test_towardzero): Likewise.
43919         (tan_test_downward): Likewise.
43920         (tan_test_upward): Likewise.
43921         (tanh_test): Likewise.
43922         (tgamma_test): Likewise.
43923         (y0_test): Likewise.
43924         (y1_test): Likewise.
43925         (yn_test): Likewise.
43927         * math/gen-libm-test.pl (adjust_arg): Remove function.
43928         (special_function): Remove argument $in_func.  Only handle
43929         generating output for tables of tests, not inside functions.
43930         (parse_args): Likewise.
43931         (generate_testfile): Remove variable $in_func.  Update call to
43932         parse_args.
43933         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
43934         (MINUS_ZERO_INIT): Rename macro to minus_zero.
43935         (PLUS_INFTY_INIT): Rename macro to plus_infty.
43936         (MINUS_INFTY_INIT): Rename macro to minus_infty.
43937         (QNAN_VALUE_INIT): Rename macro to qnan_value.
43938         (MAX_VALUE_INIT): Rename macro to max_value.
43939         (MIN_VALUE_INIT): Rename macro to min_value.
43940         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
43941         (plus_zero): Remove variable.
43942         (minus_zero): Likewise.
43943         (plus_infty): Likewise.
43944         (minus_infty): Likewise.
43945         (qnan_value): Likewise.
43946         (max_value): Likewise.
43947         (min_value): Likewise.
43948         (min_subnorm_value): Likewise.
43950 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43952         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
43953         uint64_t or uint32_t usage.
43954         * crypt/sha256-block.c: Likewise.
43955         * crypt/sha256-crypt.c: Likewise.
43956         * crypt/sha256.c: Likewise.
43957         * crypt/sha512-block.c: Likewise.
43958         * crypt/sha512-crypt.c: Likewise.
43959         * crypt/sha512.c: Likewise.
43960         * debug/backtrace-tst.c: Likewise.
43961         * debug/pcprofiledump.c: Likewise.
43962         * elf/cache.c: Likewise.
43963         * elf/dl-cache.c: Likewise.
43964         * elf/dl-misc.c: Likewise.
43965         * elf/dl-profile.c: Likewise.
43966         * elf/dl-support.c: Likewise.
43967         * elf/ldconfig.c: Likewise.
43968         * elf/sprof.c: Likewise.
43969         * iconv/dummy-repertoire.c: Likewise.
43970         * iconv/iconv_charmap.c: Likewise.
43971         * iconv/skeleton.c: Likewise.
43972         * iconvdata/8bit-generic.c: Likewise.
43973         * iconvdata/cp737.h: Likewise.
43974         * iconvdata/cp775.h: Likewise.
43975         * iconvdata/ibm1008.h: Likewise.
43976         * iconvdata/ibm1025.h: Likewise.
43977         * iconvdata/ibm1046.h: Likewise.
43978         * iconvdata/ibm1097.h: Likewise.
43979         * iconvdata/ibm1112.h: Likewise.
43980         * iconvdata/ibm1122.h: Likewise.
43981         * iconvdata/ibm1123.h: Likewise.
43982         * iconvdata/ibm1124.h: Likewise.
43983         * iconvdata/ibm1129.h: Likewise.
43984         * iconvdata/ibm1130.h: Likewise.
43985         * iconvdata/ibm1132.h: Likewise.
43986         * iconvdata/ibm1133.h: Likewise.
43987         * iconvdata/ibm1137.h: Likewise.
43988         * iconvdata/ibm1140.h: Likewise.
43989         * iconvdata/ibm1141.h: Likewise.
43990         * iconvdata/ibm1142.h: Likewise.
43991         * iconvdata/ibm1143.h: Likewise.
43992         * iconvdata/ibm1144.h: Likewise.
43993         * iconvdata/ibm1145.h: Likewise.
43994         * iconvdata/ibm1146.h: Likewise.
43995         * iconvdata/ibm1147.h: Likewise.
43996         * iconvdata/ibm1148.h: Likewise.
43997         * iconvdata/ibm1149.h: Likewise.
43998         * iconvdata/ibm1153.h: Likewise.
43999         * iconvdata/ibm1154.h: Likewise.
44000         * iconvdata/ibm1155.h: Likewise.
44001         * iconvdata/ibm1156.h: Likewise.
44002         * iconvdata/ibm1157.h: Likewise.
44003         * iconvdata/ibm1158.h: Likewise.
44004         * iconvdata/ibm1160.h: Likewise.
44005         * iconvdata/ibm1161.h: Likewise.
44006         * iconvdata/ibm1162.h: Likewise.
44007         * iconvdata/ibm1163.h: Likewise.
44008         * iconvdata/ibm1164.h: Likewise.
44009         * iconvdata/ibm1166.h: Likewise.
44010         * iconvdata/ibm1167.h: Likewise.
44011         * iconvdata/ibm12712.h: Likewise.
44012         * iconvdata/ibm1390.h: Likewise.
44013         * iconvdata/ibm1399.h: Likewise.
44014         * iconvdata/ibm16804.h: Likewise.
44015         * iconvdata/ibm4517.h: Likewise.
44016         * iconvdata/ibm4899.h: Likewise.
44017         * iconvdata/ibm4909.h: Likewise.
44018         * iconvdata/ibm4971.h: Likewise.
44019         * iconvdata/ibm5347.h: Likewise.
44020         * iconvdata/ibm803.h: Likewise.
44021         * iconvdata/ibm856.h: Likewise.
44022         * iconvdata/ibm901.h: Likewise.
44023         * iconvdata/ibm902.h: Likewise.
44024         * iconvdata/ibm9030.h: Likewise.
44025         * iconvdata/ibm9066.h: Likewise.
44026         * iconvdata/ibm921.h: Likewise.
44027         * iconvdata/ibm922.h: Likewise.
44028         * iconvdata/ibm9448.h: Likewise.
44029         * iconvdata/isiri-3342.h: Likewise.
44030         * iconvdata/jis0201.h: Likewise.
44031         * include/link.h: Likewise.
44032         * include/netdb.h: Likewise.
44033         * inet/check_native.c: Likewise.
44034         * inet/check_pf.c: Likewise.
44035         * inet/getipv4sourcefilter.c: Likewise.
44036         * inet/getnameinfo.c: Likewise.
44037         * inet/getsourcefilter.c: Likewise.
44038         * inet/htonl.c: Likewise.
44039         * inet/setipv4sourcefilter.c: Likewise.
44040         * inet/setsourcefilter.c: Likewise.
44041         * inet/test-inet6_opt.c: Likewise.
44042         * inet/tst-network.c: Likewise.
44043         * locale/C-collate.c: Likewise.
44044         * locale/C-ctype.c: Likewise.
44045         * locale/C-time.c: Likewise.
44046         * locale/C-translit.h: Likewise.
44047         * locale/loadarchive.c: Likewise.
44048         * locale/programs/3level.h: Likewise.
44049         * locale/programs/charmap.c: Likewise.
44050         * locale/programs/charmap.h: Likewise.
44051         * locale/programs/ld-address.c: Likewise.
44052         * locale/programs/ld-collate.c: Likewise.
44053         * locale/programs/ld-ctype.c: Likewise.
44054         * locale/programs/ld-identification.c: Likewise.
44055         * locale/programs/ld-measurement.c: Likewise.
44056         * locale/programs/ld-messages.c: Likewise.
44057         * locale/programs/ld-monetary.c: Likewise.
44058         * locale/programs/ld-name.c: Likewise.
44059         * locale/programs/ld-numeric.c: Likewise.
44060         * locale/programs/ld-paper.c: Likewise.
44061         * locale/programs/ld-telephone.c: Likewise.
44062         * locale/programs/ld-time.c: Likewise.
44063         * locale/programs/linereader.c: Likewise.
44064         * locale/programs/locale.c: Likewise.
44065         * locale/programs/locarchive.c: Likewise.
44066         * locale/programs/locfile.h: Likewise.
44067         * locale/programs/repertoire.c: Likewise.
44068         * locale/programs/simple-hash.c: Likewise.
44069         * locale/programs/simple-hash.h: Likewise.
44070         * malloc/memusage.c: Likewise.
44071         * malloc/memusagestat.c: Likewise.
44072         * nis/nis_defaults.c: Likewise.
44073         * nis/nis_hash.c: Likewise.
44074         * nis/nis_print.c: Likewise.
44075         * nis/nis_xdr.c: Likewise.
44076         * nscd/connections.c: Likewise.
44077         * nscd/hstcache.c: Likewise.
44078         * nscd/nscd_gethst_r.c: Likewise.
44079         * nscd/nscd_getserv_r.c: Likewise.
44080         * nscd/nscd_helper.c: Likewise.
44081         * nscd/servicescache.c: Likewise.
44082         * nss/makedb.c: Likewise.
44083         * nss/nss_db/db-XXX.c: Likewise.
44084         * nss/nss_db/db-initgroups.c: Likewise.
44085         * nss/nss_db/db-netgrp.c: Likewise.
44086         * nss/nss_files/files-network.c: Likewise.
44087         * nss/nss_files/files-parse.c: Likewise.
44088         * posix/bug-regex5.c: Likewise.
44089         * posix/fnmatch_loop.c: Likewise.
44090         * posix/regcomp.c: Likewise.
44091         * posix/regexec.c: Likewise.
44092         * posix/tst-rfc3484-2.c: Likewise.
44093         * posix/tst-rfc3484-3.c: Likewise.
44094         * posix/tst-rfc3484.c: Likewise.
44095         * resolv/nss_dns/dns-canon.c: Likewise.
44096         * resolv/nss_dns/dns-network.c: Likewise.
44097         * resolv/res_init.c: Likewise.
44098         * resolv/res_mkquery.c: Likewise.
44099         * resolv/tst-aton.c: Likewise.
44100         * stdlib/cxa_atexit.c: Likewise.
44101         * stdlib/cxa_finalize.c: Likewise.
44102         * stdlib/gen-fpioconst.c: Likewise.
44103         * stdlib/strtol_l.c: Likewise.
44104         * string/tst-endian.c: Likewise.
44105         * sunrpc/auth_des.c: Likewise.
44106         * sunrpc/clnt_udp.c: Likewise.
44107         * sunrpc/rtime.c: Likewise.
44108         * sunrpc/svcauth_des.c: Likewise.
44109         * sunrpc/xdr.c: Likewise.
44110         * sunrpc/xdr_intXX_t.c: Likewise.
44111         * sunrpc/xdr_rec.c: Likewise.
44112         * sysdeps/generic/ldconfig.h: Likewise.
44113         * sysdeps/generic/ldsodefs.h: Likewise.
44114         * sysdeps/generic/memusage.h: Likewise.
44115         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44116         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
44117         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
44118         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44119         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44120         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44121         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44122         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44123         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44124         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44125         * sysdeps/posix/getaddrinfo.c: Likewise.
44126         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44127         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44128         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44129         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44130         * sysdeps/powerpc/test-gettimebase.c: Likewise.
44131         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44132         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
44133         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
44134         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
44135         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
44136         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44137         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44138         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
44139         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
44140         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
44141         * sysdeps/x86_64/dl-tls.h: Likewise.
44142         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
44143         * time/alt_digit.c: Likewise.
44144         * time/era.c: Likewise.
44145         * wcsmbs/tst-c16c32-1.c: Likewise.
44147 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44149         * math/libm-test.inc (struct test_sincos_data): New type.
44150         (RUN_TEST_LOOP_sincos): New macro.
44151         (sincos_test_data): New variable.
44152         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
44154 2013-05-16  Richard Henderson  <rth@redhat.com>
44156         * math/atest-exp2.c (LIMB64): New macro.
44157         (CONSTSZ): New macro.
44158         (mp_exp1, mp_exp_m1, mp_log2): New variables.
44159         (hexdig): Move ...
44160         (print_mpn_fp): ... to function scope.
44161         (read_mpn_hex): Remove.
44162         (get_log2): Remove.
44163         (exp2_mpn): Use mp_log2.
44164         (main): Use mp_exp1.
44166 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44168         * math/libm-test.inc: Remove comment about not testing "inexact"
44169         exceptions.
44170         (INEXACT_EXCEPTION): New macro.
44171         (NO_INEXACT_EXCEPTION): Likewise.
44172         (INVALID_EXCEPTION_OK): Update value.
44173         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44174         (OVERFLOW_EXCEPTION_OK): Likewise.
44175         (UNDERFLOW_EXCEPTION_OK): Likewise.
44176         (IGNORE_ZERO_INF_SIGN): Likewise.
44177         (ERRNO_UNCHANGED): Likewise.
44178         (ERRNO_EDOM): Likewise.
44179         (ERRNO_ERANGE): Likewise.
44180         (test_exceptions): Handle testing "inexact" exceptions.
44181         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
44182         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
44183         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
44184         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
44185         INEXACT_EXCEPTION.
44186         (rint_towardzero_test_data): Likewise.
44187         (rint_downward_test_data): Likewise.
44188         (rint_upward_test_data): Likewise.
44190         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
44191         with OVERFLOW_EXCEPTION.
44192         (exp10_test_data): Likewise.
44193         (exp2_test_data): Likewise.
44194         (expm1_test_data): Likewise.
44195         (lgamma_test_data): Likewise.
44196         (pow_test_data): Likewise.
44197         (tgamma_test_data): Likewise.
44198         (yn_test_data): Remove duplicate test of overflow.
44200         * math/libm-test.inc (struct test_cc_c_data): New type.
44201         (RUN_TEST_LOOP_cc_c): New macro.
44202         (cpow_test_data): New variable.
44203         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
44205         * math/libm-test.inc (struct test_f_L_data): New type.
44206         (RUN_TEST_LOOP_f_L): New macro.
44207         (llrint_test_data): New variable.
44208         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
44209         (llrint_tonearest_test_data): New variable.
44210         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
44211         (llrint_towardzero_test_data): New variable.
44212         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
44213         (llrint_downward_test_data): New variable.
44214         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
44215         (llrint_upward_test_data): New variable.
44216         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
44217         (llround_test_data): New variable.
44218         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
44220 2013-05-13  Peter Collingbourne  <pcc@google.com>
44222         * math/atest-exp2.c (get_log2): Remove const attribute.
44224 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
44226         * math/libm-test.inc (struct test_f_l_data): New type.
44227         (RUN_TEST_LOOP_f_l): New macro.
44228         (lrint_test_data): New variable.
44229         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
44230         (lrint_tonearest_test_data): New variable.
44231         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
44232         (lrint_towardzero_test_data): New variable.
44233         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
44234         (lrint_downward_test_data): New variable.
44235         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
44236         (lrint_upward_test_data): New variable.
44237         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
44238         (lround_test_data): New variable.
44239         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
44241 2013-05-15  Peter Collingbourne  <pcc@google.com>
44243         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
44244         (EXTRACT_WORDS64) Use where appropriate.
44245         (INSERT_WORDS64) Likewise.
44247         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
44248         constraints with x constraints.
44249         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
44251         * malloc/obstack.c (_obstack_compat): Add initializer.
44253 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
44255         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
44256         si_trapno and add si_addr_lsb to _sifields.sigfault.
44257         (si_trapno): Remove macro.
44258         (si_addr_lsb): Define new macro.
44259         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
44261 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
44263         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
44264         instead of TEST_f_l.
44265         (llrint_test_tonearest): Likewise.
44266         (llrint_test_towardzero): Likewise.
44267         (llrint_test_downward): Likewise.
44268         (llrint_test_upward): Likewise.
44269         (llround_test): Likewise.
44271         * math/libm-test.inc (struct test_f_i_data): Add comment.
44272         (RUN_TEST_LOOP_f_b): New macro.
44273         (RUN_TEST_LOOP_f_b_tg): Likewise.
44274         (finite_test_data): New variable.
44275         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
44276         (isfinite_test_data): New variable.
44277         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44278         (isinf_test_data): New variable.
44279         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44280         (isnan_test_data): New variable.
44281         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44282         (isnormal_test_data): New variable.
44283         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44284         (issignaling_test_data): New variable.
44285         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44286         (signbit_test_data): New variable.
44287         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44289         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
44290         with INVALID_EXCEPTION.
44291         (acosh_test_data): Likewise.
44292         (asin_test_data): Likewise.
44293         (atanh_test_data): Likewise.
44294         (fmod_test_data): Likewise.
44295         (log_test_data): Likewise.
44296         (log10_test_data): Likewise.
44297         (log2_test_data): Likewise.
44298         (pow_test_data): Likewise.
44299         (sqrt_test_data): Likewise.
44300         (y0_test_data): Likewise.
44301         (y1_test_data): Likewise.
44302         (yn_test_data): Likewise.
44304         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
44305         function contents.
44307         * math/libm-test.inc (struct test_ff_i_data): New type.
44308         (RUN_TEST_LOOP_ff_i_tg): New macro.
44309         (isgreater_test_data): New variable.
44310         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44311         (isgreaterequal_test_data): New variable.
44312         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44313         (isless_test_data): New variable.
44314         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44315         (islessequal_test_data): New variable.
44316         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44317         (islessgreater_test_data): New variable.
44318         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44319         (isunordered_test_data): New variable.
44320         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44322 2013-05-14  David S. Miller  <davem@davemloft.net>
44324         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44326 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
44328         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
44330         * math/libm-test.inc (struct test_fF_f1_data): Change type of
44331         extra_test to int.
44332         (struct test_f_i_data): Change type of max_ulp to int.
44334         * math/libm-test.inc (test_ffI_f1_data): New type.
44335         (RUN_TEST_LOOP_ffI_f1): New macro.
44336         (remquo_test_data): New variable.
44337         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
44339         * setjmp/tst-setjmp-fp.c: New file.
44340         * setjmp/Makefile (tests): Add tst-setjmp-fp.
44341         (link-libm): New variable.
44342         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
44344         * math/libm-test.inc (struct test_f_i_data): New type.
44345         (RUN_TEST_LOOP_f_i): New macro.
44346         (RUN_TEST_LOOP_f_i_tg): Likewise.
44347         (fpclassify_test_data): New variable.
44348         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
44349         (ilogb_test_data): New variable.
44350         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
44352         * math/libm-test.inc (scalbln_test): Correct function name in END
44353         call.
44355         * math/libm-test.inc (struct test_f_f1_data): Add comment.
44356         (RUN_TEST_LOOP_fI_f1): New macro.
44357         (frexp_test_data): New variable.
44358         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
44360         * math/libm-test.inc (struct test_fF_f1_data): New type.
44361         (RUN_TEST_LOOP_fF_f1): New macro.
44362         (modf_test_data): New variable.
44363         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
44365         * math/libm-test.inc (struct test_f_f1_data): New type.
44366         (RUN_TEST_LOOP_f_f1): New macro.
44367         (gamma_test_data): New variable.
44368         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44369         (lgamma_test_data): New variable.
44370         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44372 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
44374         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
44375         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
44376         (main): Comment "tls" pseudo-hwcap.
44378 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
44380         * math/libm-test.inc (struct test_fl_f_data): New type.
44381         (RUN_TEST_LOOP_fl_f): New variable.
44382         (scalbln_test_data): New variable.
44383         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
44385         * math/libm-test.inc (struct test_fi_f_data): New type.
44386         (RUN_TEST_LOOP_fi_f): New macro.
44387         (ldexp_test_data): New variable.
44388         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
44389         (scalbn_test_data): New variable.
44390         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
44392         * math/libm-test.inc (struct test_c_f_data): New type.
44393         (RUN_TEST_LOOP_c_f): New macro.
44394         (cabs_test_data): New variable.
44395         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
44396         (carg_test_data): New variable.
44397         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
44398         (cimag_test_data): New variable.
44399         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
44400         (creal_test_data): New variable.
44401         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
44403         * math/libm-test.inc (struct test_if_f_data): New type.
44404         (RUN_TEST_LOOP_if_f): New macro.
44405         (jn_test_data): New variable.
44406         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
44407         (yn_test_data): New variable.
44408         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
44410         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
44412 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44414         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
44415         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
44417 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44419         * benchtests/Makefile (CPPFLAGS-nonlib): Add
44420         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
44421         (bench-deps): Add bench-timing.h.
44422         * benchtests-bench-skeleton.c: Include bench-timing.h.
44423         (main): Use TIMING_* macros instead of clock_gettime.
44424         * benchtests/bench-timing.h: New file.
44426         [BZ #14582]
44427         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
44428         Renamed from _LIB_VERSION.
44429         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
44431 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
44433         * math/libm-test.inc (struct test_fff_f_data): New type.
44434         (RUN_TEST_LOOP_fff_f): New macro.
44435         (fma_test_data): New variable.
44436         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
44437         (fma_towardzero_test_data): New variable.
44438         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
44439         (fma_downward_test_data): New variable.
44440         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
44441         (fma_upward_test_data): New variable.
44442         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
44444         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
44445         (struct test_c_c_data): New type.
44446         (RUN_TEST_LOOP_c_c): New macro.
44447         (cacos_test_data): New variable.
44448         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
44449         (cacosh_test_data): New variable.
44450         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
44451         (casin_test_data): New variable.
44452         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
44453         (casinh_test_data): New variable.
44454         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
44455         (catan_test_data): New variable.
44456         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
44457         (catanh_test_data): New variable.
44458         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
44459         (ccos_test_data): New variable.
44460         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
44461         (ccosh_test_data): New variable.
44462         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
44463         (cexp_test_data): New variable.
44464         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
44465         (clog_test_data): New variable.
44466         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
44467         (clog10_test_data): New variable.
44468         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
44469         (conj_test_data): New variable.
44470         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
44471         (cproj_test_data): New variable.
44472         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
44473         (csin_test_data): New variable.
44474         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
44475         (csinh_test_data): New variable.
44476         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
44477         (csqrt_test_data): New variable.
44478         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
44479         (ctan_test_data): New variable.
44480         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
44481         (ctan_tonearest_test_data): New variable.
44482         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44483         (ctan_towardzero_test_data): New variable.
44484         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44485         (ctan_downward_test_data): New variable.
44486         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44487         (ctan_upward_test_data): New variable.
44488         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44489         (ctanh_test_data): New variable.
44490         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
44491         (ctanh_tonearest_test_data): New variable.
44492         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44493         (ctanh_towardzero_test_data): New variable.
44494         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44495         (ctanh_downward_test_data): New variable.
44496         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44497         (ctanh_upward_test_data): New variable.
44498         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44499         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
44500         of BUILD_COMPLEX.
44502         * math/libm-test.inc (struct test_ff_f_data): New type.
44503         (struct test_ff_f_data_nexttoward): Likewise.
44504         (RUN_TEST_LOOP_2_f): New macro.
44505         (RUN_TEST_LOOP_ff_f): Likewise.
44506         (atan2_test_data): New variable.
44507         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
44508         (copysign_test_data): New variable.
44509         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
44510         (fdim_test_data): New variable.
44511         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
44512         (fmax_test_data): New variable.
44513         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
44514         (fmin_test_data): New variable.
44515         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
44516         (fmod_test_data): New variable.
44517         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
44518         (hypot_test_data): New variable.
44519         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
44520         (nextafter_test_data): New variable.
44521         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
44522         (nexttoward_test_data): New variable.
44523         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
44524         (pow_test_data): New variable.
44525         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
44526         (pow_tonearest_test_data): New variable.
44527         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
44528         (pow_towardzero_test_data): New variable.
44529         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
44530         (pow_downward_test_data): New variable.
44531         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
44532         (pow_upward_test_data): New variable.
44533         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
44534         (remainder_test_data): New variable.
44535         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
44536         (scalb_test_data): New variable.
44537         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
44538         * sysdeps/i386/fpu/libm-test-ulps: Update.
44540 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
44542         * math/libm-test.inc (fma_test): Use max_value instead of local
44543         variable fltmax.
44544         (nextafter_test): Likewise.
44546         * math/libm-test.inc (acos_towardzero_test_data): New variable.
44547         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44548         (acos_downward_test_data): New variable.
44549         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44550         (acos_upward_test_data): New variable.
44551         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44552         (acosh_test_data): New variable.
44553         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
44554         (asin_test_data): New variable.
44555         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
44556         (asin_tonearest_test_data): New variable.
44557         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44558         (asin_towardzero_test_data): New variable.
44559         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44560         (asin_downward_test_data): New variable.
44561         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44562         (asin_upward_test_data): New variable.
44563         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44564         (asinh_test_data): New variable.
44565         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
44566         (atan_test_data): New variable.
44567         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
44568         (atanh_test_data): New variable.
44569         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
44570         (cbrt_test_data): New variable.
44571         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
44572         (ceil_test_data): New variable.
44573         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
44574         (cos_test_data): New variable.
44575         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
44576         (cos_tonearest_test_data): New variable.
44577         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44578         (cos_towardzero_test_data): New variable.
44579         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44580         (cos_downward_test_data): New variable.
44581         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44582         (cos_upward_test_data): New variable.
44583         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44584         (cosh_test_data): New variable.
44585         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
44586         (cosh_tonearest_test_data): New variable.
44587         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44588         (cosh_towardzero_test_data): New variable.
44589         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44590         (cosh_downward_test_data): New variable.
44591         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44592         (cosh_upward_test_data): New variable.
44593         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44594         (erf_test_data): New variable.
44595         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
44596         (erfc_test_data): New variable.
44597         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
44598         (exp_test_data): New variable.
44599         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
44600         (exp_tonearest_test_data): New variable.
44601         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44602         (exp_towardzero_test_data): New variable.
44603         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44604         (exp_downward_test_data): New variable.
44605         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44606         (exp_upward_test_data): New variable.
44607         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44608         (exp10_test_data): New variable.
44609         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
44610         (exp2_test_data): New variable.
44611         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
44612         (expm1_test_data): New variable.
44613         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
44614         (fabs_test_data): New variable.
44615         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
44616         (floor_test_data): New variable.
44617         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
44618         (j0_test_data): New variable.
44619         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
44620         (j1_test_data): New variable.
44621         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
44622         (log_test_data): New variable.
44623         (log_test): Run tests with RUN_TEST_LOOP_f_f.
44624         (log10_test_data): New variable.
44625         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
44626         (log1p_test_data): New variable.
44627         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
44628         (log2_test_data): New variable.
44629         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
44630         (logb_test_data): New variable.
44631         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
44632         (logb_downward_test_data): New variable.
44633         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44634         (nearbyint_test_data): New variable.
44635         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
44636         (rint_test_data): New variable.
44637         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
44638         (rint_tonearest_test_data): New variable.
44639         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44640         (rint_towardzero_test_data): New variable.
44641         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44642         (rint_downward_test_data): New variable.
44643         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44644         (rint_upward_test_data): New variable.
44645         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44646         (round_test_data): New variable.
44647         (round_test): Run tests with RUN_TEST_LOOP_f_f.
44648         (sin_test_data): New variable.
44649         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
44650         (sin_tonearest_test_data): New variable.
44651         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44652         (sin_towardzero_test_data): New variable.
44653         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44654         (sin_downward_test_data): New variable.
44655         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44656         (sin_upward_test_data): New variable.
44657         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44658         (sinh_test_data): New variable.
44659         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
44660         (sinh_tonearest_test_data): New variable.
44661         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44662         (sinh_towardzero_test_data): New variable.
44663         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44664         (sinh_downward_test_data): New variable.
44665         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44666         (sinh_upward_test_data): New variable.
44667         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44668         (sqrt_test_data): New variable.
44669         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
44670         (tan_test_data): New variable.
44671         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
44672         (tan_tonearest_test_data): New variable.
44673         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44674         (tan_towardzero_test_data): New variable.
44675         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44676         (tan_downward_test_data): New variable.
44677         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44678         (tan_upward_test_data): New variable.
44679         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44680         (tanh_test_data): New variable.
44681         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
44682         (tgamma_test_data): New variable.
44683         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
44684         (trunc_test_data): New variable.
44685         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
44686         (y0_test_data): New variable.
44687         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
44688         (y1_test_data): New variable.
44689         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
44690         (significand_test_data): New variable.
44691         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
44693 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
44695         [BZ #12387]
44696         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
44698 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44700         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
44702 2013-05-10  Andreas Jaeger  <aj@suse.de>
44704         [BZ #15448]
44705         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
44706         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
44708 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44710         * math/gen-libm-test.pl (adjust_arg): New function.
44711         (special_functions): Handle generating output in both functions
44712         and arrays.
44713         (parse_args): Likewise.
44714         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
44715         $in_func argument to parse_args.
44716         * math/libm-test.inc (struct test_f_f_data): New type.
44717         (IF_ROUND_INIT_): New macro.
44718         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
44719         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44720         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44721         (IF_ROUND_INIT_FE_UPWARD): Likewise.
44722         (ROUND_RESTORE_): Likewise.
44723         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
44724         (ROUND_RESTORE_FE_TONEAREST): Likewise.
44725         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
44726         (ROUND_RESTORE_FE_UPWARD): Likewise.
44727         (RUN_TEST_LOOP_f_f): New macro.
44728         (acos_test_data): New variable.
44729         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
44730         (acos_tonearest_test_data): New variable.
44731         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44733 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44735         * benchtests/bench-skeleton.c (startup): Fix coding style.
44737 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44739         [BZ #6809]
44740         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
44741         negative infinity argument.
44742         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
44743         negative infinity argument.
44744         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
44745         negative infinity argument.
44746         * math/libm-test.inc (tgamma_test): Expect errno to be set for
44747         domain errors.
44749 2013-05-10  Florian Weimer  <fweimer@redhat.com>
44751         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
44752         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
44753         * iconv/iconv_prog.c (main): Likewise.
44754         * locale/programs/charmap-dir.c (charmap_readdir)
44755         (fopen_uncompressed): Likewise.
44756         * locale/programs/locfile.c (siblings_uncached)
44757         (write_locale_data): Use lstat64 instead of lstat.
44758         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
44759         stat.
44761 2013-05-10  Andreas Jaeger  <aj@suse.de>
44763         [BZ #15395]
44764         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
44765         localization.
44766         Include <locale.h>.
44768 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
44770         * elf/dl-close.c (_dl_close_worker): Add comments.
44772 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
44774         [BZ #15359]
44775         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
44776         high part of pi/2.
44777         (__ieee754_rem_pio2l): Update comments.
44779         [BZ #15429]
44780         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
44781         high part of pi/2.
44782         (__ieee754_rem_pio2l): Update comments.
44784         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
44785         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
44787         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
44788         M_PI_4l.
44790         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
44791         (M_PI_34_LOG10El): Likewise.
44792         (M_PI2_LOG10El): Likewise.
44793         (M_PI4_LOG10El): Likewise.
44794         (M_PI_LOG10El): Likewise.
44796 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44798         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44800 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
44802         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
44803         (MINUS_ZERO_INIT): Likewise.
44804         (PLUS_INFTY_INIT): Likewise.
44805         (MINUS_INFTY_INIT): Likewise.
44806         (QNAN_VALUE_INIT): Likewise.
44807         (MAX_VALUE_INIT): Likewise.
44808         (MIN_VALUE_INIT): Likewise.
44809         (MIN_SUBNORM_VALUE_INIT): Likewise.
44810         (plus_zero): Initialize with PLUS_ZERO_INIT.
44811         (minus_zero): Initialize with MINUS_ZERO_INIT.
44812         (plus_infty): Initialize with PLUS_INFTY_INIT.
44813         (minus_infty): Initialize with MINUS_INFTY_INIT.
44814         (qnan_value): Initialize with QNAN_VALUE_INIT.
44815         (max_value): Initialize with MAX_VALUE_INIT.
44816         (min_value): Initialize with MIN_VALUE_INIT.
44817         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
44819         * math/libm-test.inc (RUN_TEST_if_f): New macro.
44820         (jn_test): Use TEST_if_f instead of TEST_ff_f.
44821         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
44822         (yn_test): Use TEST_if_f instead of TEST_ff_f.
44824         * math/libm-test.inc (RUN_TEST_f_f): New macro.
44825         (RUN_TEST_2_f): Likewise.
44826         (RUN_TEST_ff_f): Likewise.
44827         (RUN_TEST_fi_f): Likewise.
44828         (RUN_TEST_fl_f): Likewise.
44829         (RUN_TEST_fff_f): Likewise.
44830         (RUN_TEST_c_f): Likewise.
44831         (RUN_TEST_f_f1): Likewise.
44832         (RUN_TEST_fF_f1): Likewise.
44833         (RUN_TEST_fI_f1): Likewise.
44834         (RUN_TEST_ffI_f1): Likewise.
44835         (RUN_TEST_c_c): Likewise.
44836         (RUN_TEST_cc_c): Likewise.
44837         (RUN_TEST_f_i): Likewise.
44838         (RUN_TEST_f_i_tg): Likewise.
44839         (RUN_TEST_ff_i_tg): Likewise.
44840         (RUN_TEST_f_b): Likewise.
44841         (RUN_TEST_f_b_tg): Likewise.
44842         (RUN_TEST_f_l): Likewise.
44843         (RUN_TEST_f_L): Likewise.
44844         (RUN_TEST_sincos): Likewise.
44845         * math/gen-libm-test.pl (new_test): Take new argument to indicate
44846         whether to show exceptions.  Do not include ");\n" in return
44847         value.
44848         (special_functions): Output call to RUN_TEST_sincos instead of
44849         check_float calls.  Update calls to new_test.
44850         (parse_args): Output call to single RUN_TEST_* macro instead of
44851         check_* calls and other assignments.  Update calls to new_test.
44853         [BZ #2546]
44854         [BZ #2560]
44855         [BZ #5159]
44856         [BZ #15426]
44857         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
44858         input to result for tgamma overflow.
44859         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
44860         (gamma_coeff): New variable.
44861         (NCOEFF): New macro.
44862         (gamma_positive): New function.
44863         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
44864         underflow here.  Use gamma_positive instead of exp (lgamma) for
44865         other arguments.
44866         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
44867         (gamma_coeff): New variable.
44868         (NCOEFF): New macro.
44869         (gammaf_positive): New function.
44870         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
44871         underflow here.  Use gamma_positive instead of exp (lgamma) for
44872         other arguments.
44873         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
44874         (gamma_coeff): New variable.
44875         (NCOEFF): New macro.
44876         (gammal_positive): New function.
44877         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
44878         underflow here.  Use gamma_positive instead of exp (lgamma) for
44879         other arguments.
44880         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
44881         (gamma_coeff): New variable.
44882         (NCOEFF): New macro.
44883         (gammal_positive): New function.
44884         (__ieee754_gammal_r): Handle positive infinity, overflow and
44885         underflow here.  Handle NaN the same as positive infinity.  Remove
44886         check x < 0xffffffff for negative integers.  Use gamma_positive
44887         instead of exp (lgamma) for other arguments.
44888         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
44889         (gamma_coeff): New variable.
44890         (NCOEFF): New macro.
44891         (gammal_positive): New function.
44892         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
44893         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
44894         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
44895         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
44896         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
44897         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
44898         * sysdeps/generic/math_private.h (__gamma_productf): New
44899         prototype.
44900         (__gamma_product): Likewise.
44901         (__gamma_productl): Likewise.
44902         * math/Makefile (libm-calls): Add gamma_product.
44903         * math/libm-test.inc (tgamma_test): Add more tests.
44904         * sysdeps/i386/fpu/libm-test-ulps: Update.
44905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44907 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
44909         * benchtests/bench-skeleton.c (main): Preheat CPU.
44911 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
44913         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
44915 2013-05-07  Roland McGrath  <roland@hack.frob.com>
44917         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
44918         and _dl_skip_args_internal.
44920 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
44922         * manual/message.texi (Message Translation): Talk about users.
44923         Message to key mapping impacts design.
44925 2013-05-06  Roland McGrath  <roland@hack.frob.com>
44927         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
44929         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
44931         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
44932         * sysdeps/wordsize-64/glob64.c: ... here.
44934         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
44935         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
44936         New macros.
44938         * debug/getlogin_r_chk.c: Moved to ...
44939         * login/getlogin_r_chk.c: ... here.
44940         * debug/Makefile (routines): Move getlogin_r_chk to ...
44941         * login/Makefile (routines): ... here.
44942         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
44943         * login/Versions (libc: GLIBC_2.4): ... here.
44945         * io/poll.c (__poll): Renamed from poll.
44946         Add libc_hidden_def.
44947         (poll): Define as weak alias.
44949         * debug/ptsname_r_chk.c: Moved to ...
44950         * login/ptsname_r_chk.c: ... here.
44951         * debug/Makefile (routines): Move ptsname_r_chk to ...
44952         * login/Makefile (routines): ... here.
44953         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
44954         * login/Versions (libc: GLIBC_2.4): ... here.
44956         * posix/getlogin.c: Moved to ...
44957         * login/getlogin.c: ... here.
44958         * posix/getlogin_r.c: Moved to ...
44959         * login/getlogin_r.c: ... here.
44960         * posix/getlogin_r.c: Moved to ...
44961         * login/getlogin_r.c: ... here.
44962         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
44963         * login/Makefile (routines): ... here.
44964         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
44965         * login/Versions (libc: GLIBC_2.0): ... here.
44967         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
44968         (setrlimit): Define as weak alias.
44970         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
44971         Call __ names for open, ftruncate, and close.
44972         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
44973         (truncate): Define as weak alias.
44975 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
44977         * math/gen-libm-test.pl (parse_args): Initialize x before each
44978         test of frexp, modf and remquo.
44980         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
44981         test signgam value.
44983 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44985         [BZ #15418]
44986         [BZ #15419]
44987         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
44988         internal tests.
44989         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44991 2013-05-06  Roland McGrath  <roland@hack.frob.com>
44993         * elf/dl-writev.h: New file.
44994         * elf/dl-misc.c: Include it.
44995         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
44996         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
44998 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
45000         * math/libm-test.inc (noXFails): Remove variable.
45001         (noXPasses): Likewise.
45002         (BUILD_COMPLEX_INT): Remove macro.
45003         (print_screen): Remove xfail argument.
45004         (print_screen_max_error): Likewise.
45005         (update_stats): Likewise.
45006         (print_max_error): Likewise.  Update calls to other affected
45007         functions.
45008         (print_complex_max_error): Likewise.
45009         (test_single_exception): Update calls to print_screen.
45010         (test_single_errno): Likewise.
45011         (check_float_internal): Remove xfail argument.  Update calls to
45012         other affected functions.
45013         (check_float): Likewise.
45014         (check_complex): Likewise.
45015         (check_int): Likewise.
45016         (check_long): Likewise.
45017         (check_bool): Likewise.
45018         (check_longlong): Likewise.
45019         (main): Don't print noXFails and noXPasses.
45020         * math/gen-libm-test.pl (top level): Don't mention expected
45021         failure handling in comment.
45022         (new_test): Don't handle expected failures.
45023         (parse_args): Don't mention expected failure handling in comment.
45024         (generate_testfile): Don't handle expected failures.
45025         (parse_ulps): Likewise.
45026         (print_ulps_file): Likewise.
45027         (get_failure): Remove function.
45028         (output_test): Don't handle expected failures.
45029         * make/README.libm-test: Don't mention expected failure handling.
45031         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
45032         (minus_zero): Likewise.
45033         (plus_infty): Likewise.
45034         (minus_infty): Likewise.
45035         (qnan_value): Likewise.
45036         (max_value): Likewise.
45037         (min_value): Likewise.
45038         (min_subnorm_value): Likewise.
45039         (initialize): Do not initialize those variables dynamically.
45041 2013-05-03  Roland McGrath  <roland@hack.frob.com>
45043         * io/open.c (__open_2): Moved to ...
45044         * io/open_2.c: ... this new file.
45045         * io/open64.c (__open64_2): Moved to ...
45046         * io/open64_2.c: ... this new file.
45047         * io/openat.c (__openat_2): Moved to ...
45048         * io/openat_2.c: ... this new file.
45049         * io/openat64.c (__openat64_2): Moved to ...
45050         * io/openat64_2.c: ... this new file.
45051         * io/Makefile (routines): Add them.
45052         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
45053         * sysdeps/unix/sysv/linux/open_2.c: File removed.
45054         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
45055         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
45056         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
45057         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
45058         (__openat64): Add hidden_ver.
45059         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
45060         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
45062         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
45063         Separately conditionalize setting of GLRO(dl_sysinfo) so
45064         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
45065         as well, but the actual setting is only under [NEED_DL_SYSINFO].
45067 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45069         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
45070         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
45071         definition.
45072         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
45073         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45074         (_libc_vdso_platform_setup): Add __vdso_time initialization.
45075         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
45076         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
45078 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
45080         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
45081         test signgam value.
45083         * math/libm-test.inc (hypot_test): Do not use
45084         IGNORE_ZERO_INF_SIGN.
45086 2013-05-03  Andreas Jaeger  <aj@suse.de>
45088         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
45089         Linux 3.9.
45090         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
45091         (PF_MAX): Adjust for VSOCK change.
45093 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45095         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45097 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
45099         [BZ #15264]
45100         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
45101         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
45102         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
45104 2013-05-02  David S. Miller  <davem@davemloft.net>
45106         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45108 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
45110         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
45112 2013-05-01  Roland McGrath  <roland@hack.frob.com>
45114         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
45116 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
45118         [BZ #14952]
45119         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
45120         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45121         Use __attribute__ ((__gnu_inline__)).
45122         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45123         Don't use __attribute__ ((__gnu_inline__)).
45125 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
45127         [BZ #15423]
45128         * math/s_catan.c (__catan): Handle small real or imaginary part of
45129         input specially to avoid spurious underflow.
45130         * math/s_catanf.c (__catanf): Likewise.
45131         * math/s_catanh.c (__catanh): Likewise.
45132         * math/s_catanhf.c (__catanhf): Likewise.
45133         * math/s_catanhl.c (__catanhl): Likewise.
45134         * math/s_catanl.c (__catanl): Likewise.
45135         * math/libm-test.inc (catan_test): Add more tests.
45136         (catanh_test): Likewise.
45137         * sysdeps/i386/fpu/libm-test-ulps: Update.
45138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45140 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45142         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45144 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
45146         [BZ #15416]
45147         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
45148         accurately for denominator in atan2.
45149         * math/s_catanf.c (__catanf): Likewise.
45150         * math/s_catanh.c (__catanh): Likewise.
45151         * math/s_catanhf.c (__catanhf): Likewise.
45152         * math/s_catanhl.c (__catanhl): Likewise.
45153         * math/s_catanl.c (__catanl): Likewise.
45154         * math/libm-test.inc (catan_test): Add more tests.
45155         (catanh_test): Likewise.
45156         * sysdeps/i386/fpu/libm-test-ulps: Update.
45157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45159 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45161         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
45163         * benchtests/Makefile (bench): Remove slow benchmarks.
45164         * benchtests/atan-inputs: Add slow benchmark inputs.
45165         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
45166         (BENCH_FUNC): Accept variant offset.
45167         (VARIANT): Define.
45168         * benchtests/bench-skeleton.c (main): Run benchmark for each
45169         variant.
45170         * benchtests/cos-inputs: Add slow benchmark inputs.
45171         * benchtests/exp-inputs: Likewise.
45172         * benchtests/pow-inputs: Likewise.
45173         * benchtests/sin-inputs: Likewise.
45174         * benchtests/slowatan-inputs: Remove.
45175         * benchtests/slowatan.c: Remove.
45176         * benchtests/slowcos-inputs: Remove.
45177         * benchtests/slowcos.c: Remove.
45178         * benchtests/slowexp-inputs: Remove.
45179         * benchtests/slowexp.c: Remove.
45180         * benchtests/slowpow-inputs: Remove.
45181         * benchtests/slowpow.c: Remove.
45182         * benchtests/slowsin-inputs: Remove.
45183         * benchtests/slowsin.c: Remove.
45184         * benchtests/slowtan-inputs: Remove.
45185         * benchtests/slowtan.c: Remove.
45186         * benchtests/tan-inputs: Add slow benchmark inputs.
45187         * scripts/bench.pl: Parse comments and directives.
45189         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
45190         in CPPFLAGS.
45191         ($(objpfx)bench-%.c): Remove *-ITER.
45192         * benchtests/bench-modf.c: Remove definition of ITER.
45193         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
45194         (main): Loop for DURATION seconds instead of fixed number of
45195         iterations.
45196         * scripts/bench.pl: Don't expect iterations in parameters.
45198 2013-04-29  Roland McGrath  <roland@hack.frob.com>
45200         * io/fchdir.c (__fchdir): Renamed from fchdir.
45201         (fchdir): Define as weak alias.
45203 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
45205         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
45206         (ERRNO_EDOM): Likewise.
45207         (ERRNO_ERANGE): Likewise.
45208         (noErrnoTests): New variable.
45209         (init_max_error): Set errno to 0.
45210         (test_single_errno): New function.
45211         (test_errno): Likewise.
45212         (check_float_internal): Call test_errno.  Set errno to 0.
45213         (check_complex): Refer to errno tests in comment.
45214         (check_int): Call test_errno.  Set errno to 0.
45215         (check_long): Likewise.
45216         (check_bool): Likewise.
45217         (check_longlong): Likewise.
45218         (cos_test): Use ERRNO_* flags for errno tests instead of
45219         check_int.
45220         (expm1_test): Likewise.
45221         (fmod_test): Likewise.
45222         (ilogb_test): Likewise.
45223         (lgamma_test): Likewise.
45224         (pow_test): Likewise.
45225         (remainder_test): Likewise.
45226         (sin_test): Likewise.
45227         (tan_test): Likewise.
45228         (yn_test): Likewise.
45229         (initialize): Set errno to 0.
45230         (main): Print number of errno tests.
45231         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
45233 2013-04-29  Andreas Jaeger  <aj@suse.de>
45235         [BZ #15084]
45236         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
45237         and RES_USEVC.
45239         [BZ #15085]
45240         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
45241         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
45242         unimplemented.
45244         [BZ #15380]
45245         * stdlib/random.c (__initstate): Return NULL if
45246         __initstate fails.
45248         [BZ #15086]
45249         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
45250         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
45251         RES_SNGLKUPREOP.
45253 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45257 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
45259         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
45260         of individual tests.
45261         (casin_test): Likewise.
45262         (casinh_test): Likewise.
45264 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
45266         [BZ #15409]
45267         * math/s_catan.c (__catan): Handle arguments with large real or
45268         imaginary part separately without squaring.
45269         * math/s_catanf.c (__catanf): Likewise.
45270         * math/s_catanh.c (__catanh): Likewise.
45271         * math/s_catanhf.c (__catanhf): Likewise.
45272         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45273         and redefine.
45274         (__catanhl): Handle arguments with large real or imaginary part
45275         separately without squaring.
45276         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45277         and redefine.
45278         (__catanl): Handle arguments with large real or imaginary part
45279         separately without squaring.
45280         * math/libm-test.inc (catan_test): Add more tests.
45281         (catanh_test): Likewise.
45282         * sysdeps/i386/fpu/libm-test-ulps: Update.
45283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45285 2013-04-27  Andreas Jaeger  <aj@suse.de>
45287         [BZ #15007]
45288         * stdlib/stdlib.h: Update guards for qecvt.
45289         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
45290         <stdlib.h>.
45292 2013-04-27  Allan McRae  <allan@archlinux.org>
45294         * sysdeps/i386/fpu/libm-test-ulps: Update.
45296 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
45298         [BZ #15406]
45299         * math/s_catan.c: Include <float.h>.
45300         (__catan): Ensure underflow exception occurs for underflowed
45301         result.
45302         * math/s_catanf.c: Include <float.h>.
45303         (__catanf): Ensure underflow exception occurs for underflowed
45304         result.
45305         * math/s_catanh.c: Include <float.h>.
45306         (__catanh): Ensure underflow exception occurs for underflowed
45307         result.
45308         * math/s_catanhf.c: Include <float.h>.
45309         (__catanhf): Ensure underflow exception occurs for underflowed
45310         result.
45311         * math/s_catanhl.c: Include <float.h>.
45312         (__catanhl): Ensure underflow exception occurs for underflowed
45313         result.
45314         * math/s_catanl.c: Include <float.h>.
45315         (__catanl): Ensure underflow exception occurs for underflowed
45316         result.
45317         * math/libm-test.inc (catan_test): Add more tests.
45318         (catanh_test): Likewise.
45320         [BZ #15405]
45321         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
45322         underflowed result.
45323         * math/s_ccoshf.c (__ccoshf): Likewise.
45324         * math/s_ccoshl.c (__ccoshl): Likewise.
45325         * math/s_csin.c (__csin): Likewise.
45326         * math/s_csinf.c (__csinf): Likewise.
45327         * math/s_csinh.c (__csinh): Likewise.
45328         * math/s_csinhf.c (__csinhf): Likewise.
45329         * math/s_csinhl.c (__csinhl): Likewise.
45330         * math/s_csinl.c (__csinl): Likewise.
45331         * math/libm-test.inc (ccos_test): Add more tests.
45332         (ccosh_test): Likewise.
45333         (csin_test): Likewise.
45334         (csinh_test): Likewise.
45336 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45338         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
45339         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
45340         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
45341         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
45342         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
45343         powerpc/power5+/fpu folders.
45344         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
45347 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
45349         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45351 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
45353         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
45354         additions to variable.
45355         [$(config-machine) = x86_64] (modules-names): Likewise.
45356         ($(objpfx)tst-audit3): Remove dependency.
45357         ($(objpfx)tst-audit3.out): Likewise.
45358         ($(objpfx)tst-audit4): Likewise.
45359         ($(objpfx)tst-audit4.out): Likewise.
45360         ($(objpfx)tst-audit5): Likewise.
45361         ($(objpfx)tst-audit5.out): Likewise.
45362         ($(objpfx)tst-audit6): Likewise.
45363         ($(objpfx)tst-audit6.out): Likewise.
45364         ($(objpfx)tst-audit7): Likewise.
45365         ($(objpfx)tst-audit7.out): Likewise.
45366         (tst-audit3-ENV): Remove variable.
45367         (tst-audit4-ENV): Likewise.
45368         (tst-audit5-ENV): Likewise.
45369         (tst-audit6-ENV): Likewise.
45370         (tst-audit7-ENV): Likewise.
45371         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
45372         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
45373         addition to variable.
45374         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
45375         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
45376         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
45377         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
45378         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
45379         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
45380         tst-audit3, tst-audit4 and tst-audit5.
45381         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
45382         tst-audit6 and tst-audit7.
45383         [$(subdir) = elf] (modules-names): Add audit modules for those
45384         tests.
45385         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
45386         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
45387         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
45388         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
45389         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
45390         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
45391         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
45392         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
45393         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
45394         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
45395         [$(subdir) = elf] (tst-audit3-ENV): New variable.
45396         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
45397         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
45398         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
45399         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
45400         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
45401         Likewise.
45402         [$(subdir) = elf && $(config-cflags-avx) = yes]
45403         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
45404         [$(subdir) = elf && $(config-cflags-avx) = yes]
45405         (CFLAGS-tst-auditmod4a.c): Likewise.
45406         [$(subdir) = elf && $(config-cflags-avx) = yes]
45407         (CFLAGS-tst-auditmod4b.c): Likewise.
45408         [$(subdir) = elf && $(config-cflags-avx) = yes]
45409         (CFLAGS-tst-auditmod6b.c): Likewise.
45410         [$(subdir) = elf && $(config-cflags-avx) = yes]
45411         (CFLAGS-tst-auditmod6c.c): Likewise.
45412         [$(subdir) = elf && $(config-cflags-avx) = yes]
45413         (CFLAGS-tst-auditmod7b.c): Likewise.
45414         * elf/tst-audit3.c: Move to ...
45415         * sysdeps/x86_64/tst-audit3.c: ... here.
45416         * elf/tst-audit4.c: Move to ...
45417         * sysdeps/x86_64/tst-audit4.c: ... here.
45418         * elf/tst-audit5.c: Move to ...
45419         * sysdeps/x86_64/tst-audit5.c: ... here.
45420         * elf/tst-audit6.c: Move to ...
45421         * sysdeps/x86_64/tst-audit6.c: ... here.
45422         * elf/tst-audit7.c: Move to ...
45423         * sysdeps/x86_64/tst-audit7.c: ... here.
45424         * elf/tst-auditmod3a.c: Move to ...
45425         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
45426         * elf/tst-auditmod3b.c: Move to ...
45427         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
45428         * elf/tst-auditmod4a.c: Move to ...
45429         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
45430         * elf/tst-auditmod4b.c: Move to ...
45431         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
45432         * elf/tst-auditmod5a.c: Move to ...
45433         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
45434         * elf/tst-auditmod5b.c: Move to ...
45435         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
45436         * elf/tst-auditmod6a.c: Move to ...
45437         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
45438         * elf/tst-auditmod6b.c: Move to ...
45439         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
45440         * elf/tst-auditmod6c.c: Move to ...
45441         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
45442         * elf/tst-auditmod7a.c: Move to ...
45443         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
45444         * elf/tst-auditmod7b.c: Move to ...
45445         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
45447 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
45449         [BZ #15366]
45450         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
45451         define unconditionally.
45452         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
45453         define unconditionally.
45454         (INT8_C, INT16_C, etc.): Likewise.
45456 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
45458         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
45459         __ehdr_start with hidden visibility.
45461         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
45463 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
45465         * math/libm-test.inc (cos_test): Use accurate hex constants.
45466         (sincost_test): Likewise.
45468 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
45470         * math/libm-test.inc (catan_test): Add more tests.
45471         (catanh_test): Likewise.
45473         * math/s_catanf.c (__catanf): Use suffixed floating-point
45474         constants.
45475         * math/s_catanhf.c (__catanhf): Likewise.
45476         * math/s_catanhl.c (__catanhl): Likewise.
45477         * math/s_catanl.c (__catanl): Likewise.
45479         [BZ #15394]
45480         * math/s_catan.c (__catan): Calculate imaginary part of result
45481         with log1p not log unless computing log of number close to 0.
45482         * math/s_catanf.c (__catanf): Likewise.
45483         * math/s_catanl.c (__catanl): Likewise.
45484         * math/s_catanh.c (__catanh): Calculate real part of result with
45485         log1p not log unless computing log of number close to 0.
45486         * math/s_catanhf.c (__catanhf): Likewise.
45487         * math/s_catanhl.c (__catanhl): Likewise.
45488         * math/libm-test.inc (catan_test): Add more tests.
45489         (catanh_test): Likewise.
45490         * sysdeps/i386/fpu/libm-test-ulps: Update.
45491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45493 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45495         * benchtests/Makefile: Mention files in which fast and slow
45496         paths of math functions are implemented.
45498 2013-04-23  Roland McGrath  <roland@hack.frob.com>
45500         * sysdeps/posix/timespec_get.c: New file.
45502 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45504         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
45505         POWER.
45506         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
45507         for POWER.
45508         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
45509         powerpc/power5/fpu folders.
45510         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
45511         * benchtests/Makefile: Add modf testcase.
45512         * benchtests/bench-modf.c: New file: Benchmark test for mo
45514 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45516         [BZ #14888]
45517         * time/Makefile (tests): Add tst-strptime-whitespace.
45518         * time/strptime_l.c (get_number): Use ISSPACE.
45519         (__strptime_internal): Likewise.
45520         * time/tst-strptime-whitespace.c: New test case.
45522 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
45524         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
45525         member.
45526         (_nss_files_init): Set it here.
45528 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
45530         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
45531         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
45532         unsigned.
45534 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
45536         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
45538 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45540         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
45541         size just once.
45543 2013-04-21  David S. Miller  <davem@davemloft.net>
45545         * po/ru.po: Update Russion translation from translation project.
45547 2013-04-17  Adam Conrad  <adconrad@0c3.net>
45549         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
45550         and setfsgid.
45552 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
45554         * configure.in: Remove i386 configure warning. Remove i386 case.
45555         * configure: Regenerate.
45556         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
45557         Add example to error message.
45558         * sysdeps/i386/configure: Regenerate.
45560 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45562         * benchtests/Makefile (bench): Add cos, tan, slowcos and
45563         slowtan.
45564         * benchtests/cos-inputs: New file.
45565         * benchtests/slowcos-inputs: New file.
45566         * benchtests/slowcos.c: New file.
45567         * benchtests/slowtan-inputs: New file.
45568         * benchtests/slowtan.c: New file.
45569         * benchtests/tan-inputs: New file.
45571 2013-04-16  Roland McGrath  <roland@hack.frob.com>
45573         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
45574         considered kosher.
45576 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45578         * benchtests/Makefile: Include cppflags-iterator.mk to add
45579         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
45581         * Makefile.in (bench-clean): New target.
45582         * benchtests/Makefile (bench-clean): Likewise.
45584 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
45586         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
45588 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
45590         * stdio-common/tstdiomisc.c: Fix coding-style violation.
45592 2013-04-15  Andreas Schwab  <schwab@suse.de>
45594         * nscd/grpcache.c (cache_addgr): Properly check for short write.
45595         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45596         * nscd/pwdcache.c (cache_addpw): Likewise.
45597         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
45598         more than recsize.
45600 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45602         * benchtests/Makefile (bench): Write all output to
45603         bench-out.tmp together.
45605 2013-04-15  Andreas Schwab  <schwab@suse.de>
45607         * nscd/nscd.c (main): Don't fork again after closing files.
45609 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45611         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
45613         * benchtests/Rules (bench-deps): Collect dependencies into a
45614         single variable.  Add Makefile to dependencies.
45615         ($(objpfx)bench-%.c): Depend on bench-deps.
45617 2013-04-12  Roland McGrath  <roland@hack.frob.com>
45618             Xavier Roche  <roche+kml2@exalead.com>
45620         [BZ #15361]
45621         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
45622         just that it's a file descriptor.
45623         * manual/llio.texi (Synchronizing AIO Operations): Update description
45624         for EBADF error from aio_fsync.
45626 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45628         * Rules (bench): Move target definition...
45629         * benchtests/Makefile: ... here.
45631 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
45633         * math/libm-test.inc (cos_test): Fix PI/2 test.
45634         (sincos_test): Likewise.
45635         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45636         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
45638 2013-04-11  Andreas Schwab  <schwab@suse.de>
45640         [BZ #13988]
45641         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
45642         accept exponent character only when digits were seen.
45643         * stdio-common/Makefile (tests): Add bug26.
45644         * stdio-common/bug26.c: New file.
45646         [BZ #14293]
45647         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
45648         non-freeable.
45650 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45652         * Makeconfig (rtld-prefix): Define built linker prefix.
45653         * Rules (run-bench): Use it.
45654         * math/Makefile (run-regen-ulps): Likewise.
45656         * Rules (bench): Remove eval.
45658 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45659             Roland McGrath  <roland@hack.frob.com>
45660             Ondrej Bilka  <neleai@seznam.cz>
45662         [BZ #15346]
45663         * time/getdate.c: Include ctype.h and alloca.h.
45664         (__getdate_r): Trim leading and trailing spaces of input.
45665         * time/tst-getdate.c (tests): Add tests with leading and
45666         trailing spaces.
45668 2013-04-08  Roland McGrath  <roland@hack.frob.com>
45670         [BZ #14280]
45671         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
45672         when computing value.
45674 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45676         * math/README.libm-test (How can I generate "libm-test-ulps"?):
45677         Use testrun.sh to run libm tests.
45679         [BZ #15309]
45680         * elf/dl-open.c (dl_open_worker): memset all of seen array.
45682 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
45684         [BZ #15264]
45685         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
45687 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45689         * Makefile.in (regen-ulps): New target.
45690         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
45691         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
45692         [ifneq (no,$(PERL)] (regen-ulps): New target.
45693         [ifeq (no,$(PERL)] (regen-ulps): New target.
45694         * math/libm-test.inc (ulps_file_name): Define.
45695         (output_dir): New variable.
45696         (options): Add "output-dir" option.
45697         (parse_opt): Handle 'o' case.
45698         (main): If output_dir is non-NULL use it as a prefix
45699         otherwise use "".
45700         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
45702 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45704         [BZ #10060, #10062]
45705         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
45706         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
45707         fail configure if __sync_val_compare_and_swap is not inlined.
45708         * sysdeps/i386/configure: Regenerate.
45709         * configure.in: Build for i686 when configured for i386.
45710         * configure: Regenerate.
45711         * README: Remove i386 reference.
45713 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45715         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
45716         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45718 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45720         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
45721         (lmsnanval): New variables.
45722         (F): Add conversion tests.
45723         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
45724         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
45726         * stdio-common/tstdiomisc.c (F): Properly collect individual
45727         tests' results.
45729         [BZ #14686, #15336]
45730         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
45731         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
45732         Instead, use input NaN values or generate a qNaN by arithmetic
45733         operation.  Also fix bugs to comply with the standard.
45734         * math/libm-test.inc (remainder_test): Add more tests.
45736         [BZ #15335, #15342]
45737         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
45738         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
45739         input NaN values or generate a qNaN by arithmetic operation.
45741         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
45742         unreachable code.
45744         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
45745         definitions.
45747 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
45749         [BZ #14478]
45750         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
45751         underflowed result.
45752         * math/s_cexpf.c (__cexpf): Likewise.
45753         * math/s_cexpl.c (__cexpl): Likewise.
45754         * math/libm-test.inc (cexp_test): Add more tests.
45756 2013-04-03  Andreas Schwab  <schwab@suse.de>
45758         [BZ #15330]
45759         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
45760         order arrays from heap if bigger than alloca cutoff.
45762 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
45764         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
45765         (SNAN_TESTS_double): Refer to GCC PR56831.
45766         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
45767         GCC PR56828.
45769 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45771         * Rules (bench): Move bench.out after the run is complete.
45773         * Rules (bench): Echo currently running benchmark.
45775         * benchtests/Makefile (bench): Add atan and slowatan.
45776         * benchtests/atan-inputs: New file.
45777         * benchtests/slowatan-inputs: New file.
45778         * benchtests/slowatan.c: New file.
45780         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
45781         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
45782         its value.
45784         [BZ #15305]
45785         * sysdeps/unix/sysv/linux/kernel-features.h
45786         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
45787         __ASSUME_XFS_RESTRICTED_CHOWN.
45788         * sysdeps/unix/sysv/linux/pathconf.c
45789         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
45790         Save and restore errno.
45792 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
45794         [BZ #15327]
45795         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
45796         arguments using __kernel_casinh.
45797         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
45798         arguments using __kernel_casinhf.
45799         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
45800         arguments using __kernel_casinhl.
45801         * math/libm-test.inc (cacosh_test): Add more tests.
45802         * sysdeps/i386/fpu/libm-test-ulps: Update.
45803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45805 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45807         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
45808         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
45810         * bench/Makefile (bench): Add sin and slowsin.
45811         * benchtests/sin-inputs: New file.
45812         * benchtests/slowsin-inputs: New file.
45813         * benchtests/slowsin.c: New file.
45815         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
45816         (bench): Add slowexp and slowpow.
45817         (exp-ITER): Increase iterations.
45818         (pow-ITER): Likewise.
45819         * benchtests/exp-inputs: Change input.
45820         * benchtests/pow-inputs: Likewise.
45821         * benchtests/slowexp-inputs: New file.
45822         * benchtests/slowexp.c: New file.
45823         * benchtests/slowpow-inputs: New file.
45824         * benchtests/slowpow.c: New file.
45826 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45828         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
45829         instructions.
45830         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45831         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
45832         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45833         * benchtests/Makefile: Add rint benchtest.
45834         * benchtests/rint-inputs: Input for rint benchtest.
45836 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
45838         * Versions.def (libm): Add GLIBC_2.18.
45839         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
45840         hidden libm prototypes.
45841         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
45842         * math/Makefile (libm-calls): Add s_issignaling.
45843         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
45844         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
45845         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
45846         declaration.
45847         * math/math.h [__USE_GNU] (issignaling): New macro.
45848         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
45849         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
45850         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
45851         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
45852         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
45853         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
45854         * manual/arith.texi (issignaling): New section.
45855         * manual/libm-err-tab.pl (@all_functions): Update comment.
45856         * math/gen-libm-test.pl (parse_args): Apply special handling for
45857         issignaling.
45858         * math/libm-test.inc (print_float, issignaling_test): New
45859         functions.
45860         (check_float_internal): Add issignaling checks.
45861         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
45862         default definition.
45863         * sysdeps/powerpc/math-tests.h: New file.
45864         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
45865         tests.
45866         * math/test-snan.c (TEST_FUNC): Likewise.
45868 2013-03-30  David S. Miller  <davem@davemloft.net>
45870         * po/de.po: Update from translation team.
45872 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
45874         [BZ #10357]
45875         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45876         imaginary part less than 1.0 and real part less than 0.5
45877         specially.
45878         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45879         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45880         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
45881         (cacos_test): Add more tests.
45882         (casin_test): Likewise.
45883         (casinh_test): Likewise.
45884         * sysdeps/i386/fpu/libm-test-ulps: Update.
45885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45887 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45889         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
45890         ONE with its value.
45892         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
45893         (__pow_mp): Replace ONE and MONE with their values.
45894         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45895         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
45896         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45897         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
45898         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45899         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45901         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
45903         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
45904         (__pow_mp): Replace ZERO and MZERO with their values.
45905         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45906         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45907         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45908         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
45909         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45910         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
45911         (__sqr): Likewise.
45913         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
45915         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
45917 2013-03-28  Roland McGrath  <roland@hack.frob.com>
45919         * include/stdlib.h [!SHARED] (__call_tls_dtors):
45920         Declare with __attribute__ ((weak)).
45921         * stdlib/exit.c (__libc_atexit) [!SHARED]:
45922         Call __call_tls_dtors only if it's not NULL.
45924 2013-03-28  Roland McGrath  <roland@hack.frob.com>
45926         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
45927         didn't do it already, then set _dl_phdr and _dl_phnum based on the
45928         magic __ehdr_start linker symbol if it's defined.
45929         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
45930         them up here if it was already done.
45932         * elf/dl-support.c (_dl_phdr): Make pointer to const.
45933         (_dl_aux_init): Use const in cast when setting it.
45934         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
45935         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
45936         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
45938         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
45939         Declare them here.
45940         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
45941         * csu/libc-tls.c: Nor here.
45942         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
45944         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
45945         (__libc_message): Never call vsyslog.
45947 2013-03-28  Alan Modra  <amodra@gmail.com>
45949         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
45950         Define as empty.
45951         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
45952         Likewise.
45954 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45956         [BZ #15214]
45957         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
45958         underflow.
45959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45961 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45963         [BZ #15304]
45964         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
45965         Don't add gid passed as argument.
45967         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
45969 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
45971         [BZ #15307]
45972         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45973         imaginary part between 1.0 and 1.5 and real part less than 0.5
45974         specially.
45975         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45976         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45977         * math/libm-test.inc (cacos_test): Add more tests.
45978         (casin_test): Likewise.
45979         (casinh_test): Likewise.
45980         * sysdeps/i386/fpu/libm-test-ulps: Update.
45981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45983 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45985         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
45986         constants.
45987         (norm): Likewise.
45988         (denorm): Likewise.
45989         (__dbl_mp): Likewise.
45990         (add_magnitudes): Likewise.
45991         (sub_magnitudes): Likewise.
45992         (__add): Likewise.
45993         (__sub): Likewise.
45994         (__mul): Likewise.
45995         (__sqr): Likewise.
45996         (__inv): Likewise.
45997         (__dvd): Likewise.
45999         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
46000         commented code.
46001         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
46002         (__dubcos): Likewise.
46003         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
46004         (__ieee754_acos): Likewise.
46005         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
46006         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
46007         (__exp1): Likewise.
46008         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
46009         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46010         (log1): Likewise.
46011         (my_log2): Likewise.
46012         (checkint): Likewise.
46013         * sysdeps/ieee754/dbl-64/e_remainder.c
46014         (__ieee754_remainder): Likewise.
46015         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
46016         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
46017         (bsloww): Likewise.
46018         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
46020         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46021         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
46022         MANTISSA_STORE_T to store computations on mantissa.  Use
46023         macros for rounding and division.
46024         (denorm): Likewise.
46025         (__dbl_mp): Likewise.
46026         (add_magnitudes): Likewise.
46027         (sub_magnitudes): Likewise.
46028         (__mul): Likewise.
46029         (__sqr): Likewise.
46030         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
46031         powers of two in terms of TWOPOW macro.
46032         (mp_no): Make type of mantissa as MANTISSA_T.
46033         [!RADIXI]: Define RADIXI.
46034         [!TWO52]: Define TWO52.
46035         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46037 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46039         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
46040         llroundl symbol when building for PPC32.
46042 2013-03-24  Mark H Weaver  <mhw@netris.org>
46044         * manual/arith.texi (Normalization Functions): Fix prototypes for
46045         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
46047 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46049         [BZ #13889]
46050         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
46051         high value to check if expl overflow.
46052         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
46053         to check for underflow and overflow.
46054         * math/libm-test.inc: Add exp test.
46056 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
46058         [BZ #11120]
46059         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
46060         with NOT_IN_libc.
46062 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46064         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
46065         symbol.
46067 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
46069         * math/gen-libm-test.pl (parse_args, special_functions): Properly
46070         wrap blocks consisting of several statements.
46072         * sysdeps/generic/math-tests.h: New file.
46073         * sysdeps/i386/fpu/math-tests.h: Likewise.
46074         * math/test-snan.c: Include it.
46075         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
46077 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
46079         [BZ #15285]
46080         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
46081         (__ieee754_j0l): Do not improve calculations using cos of twice
46082         input for inputs above LDBL_MAX / 2.0L.
46083         (__ieee754_y0l): Likewise.
46084         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
46085         (__ieee754_j1l): Do not improve calculations using cos of twice
46086         input for inputs above LDBL_MAX / 2.0L.
46087         (__ieee754_y1l): Likewise.
46088         * math/libm-test.inc (j0_test): Add another test.
46089         (j1_test): Likewise.
46090         (y0_test): Likewise.
46091         (y1_test): Likewise.
46092         * sysdeps/i386/fpu/libm-test-ulps: Update.
46094 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46096         * Rules ($(objpfx)bench-%.c): Include code from a C source
46097         file.
46099 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
46101         [BZ #15287]
46102         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46103         imaginary part 1.0 and real part less than 0.5 specially.
46104         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46105         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46106         * math/libm-test.inc (cacos_test): Add more tests.
46107         (casin_test): Likewise.
46108         (casinh_test): Likewise.
46109         * sysdeps/i386/fpu/libm-test-ulps: Update.
46110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46112 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46114         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
46115         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
46117 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
46119         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
46120         * config.make.in (config-cflags-sse4): Remove variable.
46121         (config-cflags-avx): Likewise.
46122         (config-cflags-sse2avx): Likewise.
46123         (config-cflags-novzeroupper): Likewise.
46124         (config-asflags-i686): Likewise.
46125         (have-mfma4): Likewise.
46126         (have-as-vis3): Likewise.
46127         (MIG): Likewise.
46128         * configure.in (MIG): Do not AC_SUBST.
46129         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
46130         (libc_cv_cc_sse4): Do not AC_SUBST.
46131         (libc_cv_cc_avx): Likewise.
46132         (libc_cv_cc_sse2avx): Likewise.
46133         (libc_cv_cc_novzeroupper): Likewise.
46134         (libc_cv_cc_fma4): Likewise.
46135         (libc_cv_as_i686): Likewise.
46136         (libc_cv_sparc_as_vis3): Likewise.
46137         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
46138         LIBC_CONFIG_VAR.
46139         (config-asflags-i686): Likewise.
46140         (config-cflags-avx): Likewise.
46141         (config-cflags-sse2avx): Likewise.
46142         (have-mfma4): Likewise.
46143         (config-cflags-novzeroupper): Likewise.
46144         * sysdeps/mach/configure.in (MIG): Likewise.
46145         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
46146         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
46147         LIBC_CONFIG_VAR.
46148         (config-cflags-avx): Likewise.
46149         (config-cflags-sse2avx): Likewise.
46150         (have-mfma4): Likewise.
46151         (config-cflags-novzeroupper): Likewise.
46152         * configure: Regenerated.
46153         * sysdeps/i386/configure: Likewise.
46154         * sysdeps/mach/configure: Likewise.
46155         * sysdeps/sparc/configure: Likewise.
46156         * sysdeps/x86_64/configure: Likewise.
46158 2013-03-20  Roland McGrath  <roland@hack.frob.com>
46160         [BZ #14812]
46161         * locale/programs/localedef.c (options): Put N_ translation marker
46162         on argument names, not just descriptions.
46164 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46166         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
46168 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
46170         [BZ #14176]
46171         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
46173 2013-03-19  Roland McGrath  <roland@hack.frob.com>
46175         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
46176         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
46177         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
46178         [!BEFORE_ABORT] (before_abort): New function.
46179         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
46180         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
46181         (writev_for_fatal): New function.
46182         (WRITEV_FOR_FATAL): New macro; call that.
46183         (backtrace_and_maps): New function.
46184         (BEFORE_ABORT): New macro; call that.
46185         (struct str_list): Type removed.
46186         (__libc_message, __libc_fatal): Functions removed.
46187         Include <sysdeps/posix/libc_fatal.c> instead.
46189 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
46191         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
46192         constants.
46193         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
46194         double constants.
46196 2013-03-19  Andreas Schwab  <schwab@suse.de>
46198         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
46199         * sysdeps/gnu/configure: Regenerate.
46201         * configure.in: Substitute libc_cv_rtlddir.
46202         * configure: Regenerate.
46203         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
46204         * Makeconfig (rtlddir, inst_rtlddir): New variables.
46205         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
46206         * elf/Makefile (install-others, CFLAGS-interp.c)
46207         (ldso_install, common-ldd-rewrite): Likewise.
46208         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
46209         $(inst_slibdir)/$(rtld-installed-name).
46210         * scripts/rellns-sh: Add -p option.
46211         * Makerules (make-shlib-link): Use rellns-sh to get relative name
46212         for source.
46214 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46216         * manual/nptl.texi: Renamed to ...
46217         * manual/threads.texi: ... this.
46218         * manual/Makefile (chapters): Update.
46220 2013-03-18  Roland McGrath  <roland@hack.frob.com>
46222         [BZ #14812]
46223         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
46224         on argument names, not just descriptions.
46225         * malloc/memusagestat.c (options): Likewise.
46226         * nss/getent.c (options): Likewise.
46228 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
46230         [BZ #14812]
46231         * iconv/iconv_prog.c (options): Put N_ translation marker
46232         on argument names, not just descriptions.
46233         * iconv/iconvconfig.c (options): Likewise.
46235 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
46237         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
46238         implementation which is faster on all x86_64 architectures.
46239         Tested on AMD, Intel Nehalem, SNB, IVB.
46240         * sysdeps/x86_64/strnlen.S: Likewise.
46242         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46243         Remove all multiarch strlen and strnlen versions.
46244         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46245         Remove strlen and strnlen related parts.
46247         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
46248         Inline strlen part.
46249         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
46251         * sysdeps/x86_64/multiarch/strlen.S: Remove.
46252         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
46253         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
46254         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
46255         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46256         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
46258 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
46260         * manual/memory.texi (Malloc Tunable Parameters):
46261         Sort parameters alphabetically. Add comments for missing entries.
46263 2013-03-17  David S. Miller  <davem@davemloft.net>
46265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46267 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
46269         [BZ #15283]
46270         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
46271         for arguments at most half maximum finite value.
46272         * math/libm-test.inc (j0_test): Add more tests.
46273         (j1_test): Likewise.
46274         (y0_test): Likewise.
46275         (y1_test): Likewise.
46276         * sysdeps/i386/fpu/libm-test-ulps: Update.
46277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46279         [BZ #14155]
46280         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
46281         1 / x and functions P and Q for arguments above 0x1p256L.
46282         (__ieee754_y0l): Likewise.
46283         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
46284         (__ieee754_y1l): Likewise.
46285         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
46286         (j1_test): Likewise.
46287         (y0_test): Likewise.
46288         (y1_test): Likewise.
46290 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
46292         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
46293         variable.
46295 2013-03-15  Roland McGrath  <roland@hack.frob.com>
46297         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
46298         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
46299         zero since it's initialized to EXEC_PAGESIZE.
46301         * sysdeps/unix/sysv/linux/ldsodefs.h
46302         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
46303         * sysdeps/generic/ldsodefs.h: ... here.
46305 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
46307         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
46309         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
46310         math/test-snan.c.
46311         * math/test-snan.c: Renamed from
46312         sysdeps/powerpc/fpu/test-powerpc-snan.c.
46313         * math/Makefile (tests): Add test-snan.
46314         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
46315         test-powerpc-snan.
46317         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
46318         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
46319         functions.
46320         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
46321         __builtin_nan family of functions.
46322         * math/libm-test.inc (initialize): Initialize qnan_value with
46323         __builtin_nan family of functions.
46324         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
46325         Remove variables.
46326         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
46327         Remove functions.
46328         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
46329         storage class.  Initialize qNaN_var and sNaN_var with
46330         __builtin_nan and __builtin_nans families of functions,
46331         respectively.
46333         * math/libm-test.inc (acosh_test): Also test with qNaN input.
46334         (sqrt_test): Remove duplicate test with qNaN input.
46335         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
46336         (round_test, signbit_test, significand_test): Note missing +/-Inf
46337         as well as qNaN tests.
46339         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
46340         qNaN_var.  Fix a few strings, too.
46341         * math/libm-test.inc (nan_value): Rename to qnan_value.
46342         * math/gen-libm-test.pl (%beautify): Adjust to that.
46343         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
46344         * math/test-misc.c (main): Likewise.
46345         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
46346         to __qnan_bytes, and __qnan_union, respectively.
46347         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
46348         Likewise.
46349         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
46350         and lqnanval, respectively.
46351         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
46352         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
46353         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
46354         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
46356         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
46357         * math/test-misc.c (main) [__x86_64__]: Enable test for long
46358         doubles.
46360         * math/test-misc.c (main): Fix copy'n'pastos.
46361         * misc/tst-efgcvt.c (special): Likewise.
46363         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
46364         Remove declarations.
46366 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46368         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
46369         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
46370         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
46371         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
46373 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46375         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
46376         macro to return vdso values correctly in IFUNC implementations.
46377         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46378         Optimization by using IFUNC.
46380 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46381             Richard Henderson  <rth@redhat.com>
46382             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46384         * Makefile.in (bench): New target.
46385         * NEWS: Mention the benchmark framework.
46386         * Rules (bench): Likewise.
46387         (binaries-bench): Generate binaries for functions to
46388         benchmark.
46389         * benchtests/Makefile: New makefile for benchmark tests.
46390         * benchtests/bench-skeleton.c: New skeleton file for benchmark
46391         programs.
46392         * benchtests/exp-inputs: New input file for EXP function.
46393         * benchtests/pow-inputs: New input file for POW function.
46394         * scripts/bench.pl: New script to generate source files for
46395         benchmark programs.
46397 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46399         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46400         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
46401         computations on mantissa.  Use macros for rounding and
46402         division.
46403         (denorm): Likewise.
46404         (__dbl_mp): Likewise.
46405         (add_magnitudes): Likewise.
46406         (sub_magnitudes): Likewise.
46407         (__mul): Likewise.
46408         (__sqr): Likewise.
46409         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
46410         powers of two in terms of TWOPOW macro.
46411         (mp_no): Make type of mantissa as MANTISSA_T.
46412         [!RADIXI]: Define RADIXI.
46413         [!TWO52]: Define TWO52.
46414         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46416         * manual/nptl.texi (cindex): Modify threads to pthreads.
46418 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
46420         * sysdeps/x86_64/preconfigure: Regenerated.
46422 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
46424         [BZ #14155]
46425         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
46426         0x1p28 and above.
46427         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
46428         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
46429         0x1p28 and above.
46430         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
46431         * math/libm-test.inc (j0_test): Do not allow one spurious
46432         underflow exception.
46433         (y1_test): Likewise.
46435 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46437         * manual/Makefile (chapters): Add nptl.
46438         * manual/debug.texi (Debugging Support): Add link to Threads
46439         chapter.
46440         * manual/nptl.texi: New file.
46442         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
46444 2013-03-14  Petr Baudis  <pasky@ucw.cz>
46446         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
46447         for non-NULL pointer before the memory validity test. Pointed
46448         out by Holger Brunck <holger.brunck@keymile.com>.
46450 2013-03-13  Andreas Schwab  <schwab@suse.de>
46452         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
46453         instead of .os.
46455 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
46457         * timezone/zic.c: Update from tzcode 2013b.
46459 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
46461         * manual/install.texi (Configuring and compiling):
46462         Mention i686 and i586.
46463         * INSTALL: Regenerate.
46465 2013-03-12  Roland McGrath  <roland@hack.frob.com>
46467         * sysdeps/init_array/elf-init.c: New file.
46468         * csu/elf-init.c
46469         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
46470         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
46472         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
46473         __gmon_start__ as global, but as static with a .preinit_array pointer.
46474         * sysdeps/init_array/gmon-start.c: New file.  Use that.
46475         * sysdeps/init_array/crti.S: New file, empty except for comments.
46476         * sysdeps/init_array/crtn.S: Likewise.
46478 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
46480         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
46481         definining bcopy.
46482         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46483         Remove Prefer_SSE_for_memop.
46484         * sysdeps/x86_64/multiarch/init-arch.h: Remove
46485         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
46486         HAS_PREFER_SSE_FOR_MEMOP.
46487         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
46488         memset-x86-64.
46489         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46490         Remove bzero, memset ifunc support.
46491         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
46492         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
46493         * sysdeps/x86_64/multiarch/memset.S: Likewise.
46494         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46496 2013-03-11  Andreas Schwab  <schwab@suse.de>
46498         [BZ #15234]
46499         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
46500         by SHLIB_COMPAT.
46501         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
46502         (GLIBC_2.16): Remove pthread_atfork.
46504 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
46506         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
46507         (ptestcases.h): Likewise.
46509 2013-03-08  Roland McGrath  <roland@hack.frob.com>
46511         * Makeconfig ($(common-objpfx)config.status): Depend on
46512         sysdeps/*/preconfigure{,.in} too.
46514 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
46516         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
46517         (__free_hook): Use void * instead of __malloc_ptr_t.
46518         (__malloc_hook): Likewise.
46519         (__realloc_hook): Likewise.
46520         (__memalign_hook): Likewise.
46521         (__after_morecore_hook): Likewise.
46522         * malloc/arena.c (save_malloc_hook): Likewise.
46523         (save_free_hook): Likewise.
46524         * malloc/hooks.c (malloc_hook_ini): Likewise.
46525         (realloc_hook_ini): Likewise.
46526         (memalign_hook_ini): Likewise.
46527         * malloc/malloc.c (malloc_hook_ini): Likewise.
46528         (realloc_hook_ini): Likewise.
46529         (memalign_hook_ini): Likewise.
46530         (__free_hook): Likewise.
46531         (__malloc_hook): Likewise.
46532         (__realloc_hook): Likewise.
46533         (__memalign_hook): Likewise.
46534         (__libc_malloc): Likewise.
46535         (__libc_free): Likewise.
46536         (__libc_realloc): Likewise.
46537         (__libc_memalign): Likewise.
46538         (__libc_valloc): Likewise.
46539         (__libc_pvalloc): Likewise.
46540         (__libc_calloc): Likewise.
46541         (__posix_memalign): Likewise.
46542         * malloc/morecore.c (__sbrk): Likewise.
46543         (__default_morecore): Likewise.
46545         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
46547         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
46548         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
46549         __malloc_ptrdiff_t.
46551         * malloc/malloc.h (__malloc_size_t): Remove macro.
46552         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
46553         __malloc_size_t.
46554         (old_memalign_hook): Likewise.
46555         (old_realloc_hook): Likewise.
46556         (struct hdr): Likewise.
46557         (flood): Likewise.
46558         (mallochook): Likewise.
46559         (memalignhook): Likewise.
46560         (reallochook): Likewise.
46561         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
46562         (tr_old_realloc_hook): Likewise.
46563         (tr_old_memalign_hook): Likewise.
46564         (tr_mallochook): Likewise.
46565         (tr_reallochook): Likewise.
46566         (tr_memalignhook): Likewise.
46568 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46570         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
46571         default_ldbl_pack and using as default implementation.
46572         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
46573         implementation.
46574         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
46575         redundant definition.
46576         (ldbl_insert_mantissa): Likewise.
46577         (ldbl_canonicalize): Likewise.
46578         (ldbl_nearbyint): Likewise.
46579         (ldbl_pack): Rename to ldbl_pack_ppc.
46580         (ldbl_unpack): Rename to ldbl_unpack_ppc.
46581         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
46582         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
46584 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46586         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
46587         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
46588         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
46589         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
46590         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
46591         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
46592         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
46593         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
46595 2013-03-07  Andreas Jaeger  <aj@suse.de>
46597         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46598         bits/mman-linux.h.
46600 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46602         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
46603         Include mpa.h and declare __MPEXP.
46604         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
46605         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46606         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46607         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
46608         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46609         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46610         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
46612         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
46613         (__slowpow): Use long double EXPL and LOGL functions to
46614         compute POW.
46615         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46616         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46617         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
46618         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46619         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46620         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
46622         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
46623         intermediate variable to calculate exponent.
46624         (__sqr): Likewise.
46625         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46626         Likewise.
46627         (__sqr): Likewise.
46629         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
46630         [!NO__SQR]: Define __sqr.
46631         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
46632         and NO__SQR.  Remove all code except __mul and __sqr.  Include
46633         sysdeps/ieee754/dbl-64/mpa.c.
46634         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46636         [BZ #12723]
46637         * posix/Makefile (tests): Add tst-pathconf.
46638         * posix/tst-pathconf.c: New test case.
46639         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
46640         _PC_PIPE_BUF.
46641         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
46643 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
46645         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
46647 2013-03-06  Andreas Jaeger  <aj@suse.de>
46649         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
46650         definition via __MAP_ANONYMOUS.
46652         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
46653         it's not part of Linux headers.
46655         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
46656         (MAP_HUGE_MASK): Define.
46658         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46659         Define.
46660         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46661         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46662         Define.
46663         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46664         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46665         Define.
46666         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46667         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
46668         Define.
46669         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46671         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
46672         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
46673         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
46674         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
46675         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
46676         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
46678         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46679         Handle f2fs.
46681         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46682         Handle f2fs and efivarfs.
46684         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
46685         f2fs.
46687         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
46688         (EFIVARFS_MAGIC): Add.
46689         (F2FS_LINK_MAX): Add.
46691 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46693         * stdio-common/vfprintf.c: Replace __builtin_expect with
46694         __glibc_unlikely.
46696 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
46698         [BZ #13550]
46699         * sysdeps/generic/bp-sym.h: Remove file.
46700         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
46701         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
46702         <bp-sym.h> and <bp-asm.h>.
46703         (__longjmp): Don't use BP_SYM.
46704         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
46705         and <bp-asm.h>.
46706         (memcpy): Don't use BP_SYM.
46707         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
46708         <bp-sym.h> and <bp-asm.h>.
46709         (memcpy): Don't use BP_SYM.
46710         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
46711         <bp-asm.h>.
46712         (memcpy): Don't use BP_SYM.
46713         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
46714         <bp-asm.h>.
46715         (memset): Don't use BP_SYM.
46716         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46717         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46718         (__bzero): Don't use BP_SYM.
46719         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46720         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46721         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
46722         <bp-sym.h> and <bp-asm.h>.
46723         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46724         pointers.
46725         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
46726         <bp-sym.h> and <bp-asm.h>.
46727         (memcpy): Don't use BP_SYM.
46728         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
46729         <bp-sym.h> and <bp-asm.h>.
46730         (memset): Don't use BP_SYM.
46731         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46732         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46733         (__bzero): Don't use BP_SYM.
46734         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46735         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46736         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
46737         <bp-sym.h> and <bp-asm.h>.
46738         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46739         pointers.
46740         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
46741         <bp-sym.h> and <bp-asm.h>.
46742         (memcpy): Don't use BP_SYM.
46743         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
46744         <bp-sym.h> and <bp-asm.h>.
46745         (memset): Don't use BP_SYM.
46746         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46747         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46748         (__bzero): Don't use BP_SYM.
46749         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46750         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46751         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
46752         <bp-sym.h> and <bp-asm.h>.
46753         (__memchr): Don't use BP_SYM.
46754         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
46755         <bp-sym.h> and <bp-asm.h>.
46756         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46757         pointers.
46758         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
46759         <bp-sym.h> and <bp-asm.h>.
46760         (memcpy): Don't use BP_SYM.
46761         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
46762         <bp-sym.h> and <bp-asm.h>.
46763         (__mempcpy): Don't use BP_SYM.
46764         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
46765         <bp-sym.h> and <bp-asm.h>.
46766         (__memrchr): Don't use BP_SYM.
46767         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
46768         <bp-sym.h> and <bp-asm.h>.
46769         (memset): Don't use BP_SYM.
46770         (__bzero): Likewise.
46771         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
46772         <bp-sym.h> and <bp-asm.h>.
46773         (__rawmemchr): Don't use BP_SYM.
46774         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
46775         <bp-sym.h> and <bp-asm.h>.
46776         (__STRCMP): Don't use BP_SYM.
46777         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
46778         <bp-sym.h> and <bp-asm.h>.
46779         (strchr): Don't use BP_SYM.
46780         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
46781         <bp-sym.h> and <bp-asm.h>.
46782         (__strchrnul): Don't use BP_SYM.
46783         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
46784         <bp-sym.h> and <bp-asm.h>.
46785         (strlen): Don't use BP_SYM.
46786         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
46787         <bp-sym.h> and <bp-asm.h>.
46788         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46789         pointers.
46790         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
46791         <bp-sym.h> and <bp-asm.h>.
46792         (__strnlen): Don't use BP_SYM.
46793         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
46794         <bp-sym.h> and <bp-asm.h>.
46795         (__GI__setjmp): Don't use BP_SYM.
46796         (_setjmp): Likewise.
46797         (__sigsetjmp): Likewise.
46798         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
46799         (L(start_addresses)): Don't use BP_SYM.
46800         (_start): Likewise.
46801         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
46802         <bp-asm.h>.
46803         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
46804         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
46805         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46806         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46807         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
46808         <bp-asm.h>.
46809         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
46810         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
46811         about bounded pointers.
46812         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46813         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46814         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
46815         <bp-asm.h>.
46816         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
46817         about bounded pointers.  Remove GKM FIXME comments.
46818         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46819         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
46820         <bp-asm.h>.
46821         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
46822         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
46823         Remove GKM FIXME comments.
46824         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46825         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46826         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
46827         <bp-asm.h>.
46828         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
46829         about bounded pointers.  Remove GKM FIXME comment.
46830         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
46831         and <bp-asm.h>.
46832         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46833         pointers.
46834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
46835         <bp-sym.h> and <bp-asm.h>.
46836         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
46838         <bp-sym.h> and <bp-asm.h>.
46839         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
46840         comment.
46842 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46844         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
46845         call free(NULL).
46847 2013-03-05  David S. Miller  <davem@davemloft.net>
46849         * po/es.po: Update from translation team.
46851 2013-03-05  Andreas Jaeger  <aj@suse.de>
46853         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
46854         <bits/mman-linux.h>.
46855         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46856         is fine.
46857         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
46858         <bits/mman-linux.h> to end of file.
46859         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46860         is fine.
46861         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
46862         <bits/mman-linux.h> to end of file.
46863         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46864         is fine.
46865         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
46866         <bits/mman-linux.h> to end of file.
46868         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
46869         (MCL_CURRENT, MCL_FUTURE): Define here.
46871 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46873         [BZ #15232]
46874         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
46875         attribute_hidden.
46876         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46878 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46880         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
46881         fourth parameter needed for rt_sigprocmask syscall.
46882         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46883         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46884         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
46885         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46886         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46887         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
46889 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
46891         [BZ #13550]
46892         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
46893         comment about bounded pointers.
46894         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
46895         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
46897 2013-03-04  Andreas Jaeger  <aj@suse.de>
46899         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
46900         common definitions.
46902         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
46903         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
46904         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
46905         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46906         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46907         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46909 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46911         [BZ #15055]
46912         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
46913         __ieee754_sqrl instead of __sqrl.
46915 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
46917         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
46918         * sysdeps/powerpc/fpu_control.h: ... here.
46919         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
46920         * sysdeps/powerpc/bits/fenvinline.h: ... here.
46921         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
46922         * sysdeps/powerpc/bits/mathinline.h: ... here.
46924 2013-03-01  Roland McGrath  <roland@hack.frob.com>
46926         * elf/dl-hwcaps.c (_dl_important_hwcaps):
46927         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
46928         to just [NEED_DL_SYSINFO_DSO].
46929         * elf/dl-support.c: Likewise.
46930         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
46931         * elf/rtld.c (dl_main): Likewise.
46932         * elf/setup-vdso.h (setup_vdso): Likewise.
46933         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
46934         * sysdeps/unix/sysv/linux/dl-sysdep.c
46935         (_dl_discover_osversion): Likewise.
46937 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
46939         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
46940         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46942 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46944         * NEWS: Mention libm performance improvements and non-x86 PI
46945         futex support.
46947         * csu/libc-start.c (__pthread_initialize_minimal): Change
46948         function arguments.
46949         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46951 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
46953         [BZ #13550]
46954         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
46955         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
46956         <bp-sym.h> and <bp-asm.h>.
46957         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46958         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
46959         and <bp-asm.h>.
46960         (memcpy): Don't use BP_SYM.
46961         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
46962         <bp-asm.h>.
46963         (__mpn_add_n): Don't use BP_SYM.
46964         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
46965         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
46966         and <bp-asm.h>.
46967         (__mpn_addmul_1): Don't use BP_SYM.
46968         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46969         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
46970         <bp-sym.h>.
46971         (_setjmp): Don't use BP_SYM.
46972         (__novmx_setjmp): Likewise.
46973         (__GI__setjmp): Likewise.
46974         (__vmx_setjmp): Likewise.
46975         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
46976         <bp-sym.h>.
46977         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
46978         (__bzero): Don't use BP_SYM.
46979         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46980         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46981         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
46982         <bp-sym.h> and <bp-asm.h>.
46983         (memcpy): Don't use BP_SYM.
46984         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
46985         <bp-sym.h> and <bp-asm.h>.
46986         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46987         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
46988         <bp-sym.h> and <bp-asm.h>.
46989         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46990         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
46991         <bp-asm.h>.
46992         (__mpn_lshift): Don't use BP_SYM.
46993         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46994         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
46995         <bp-asm.h>.
46996         (memset): Don't use BP_SYM.
46997         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46998         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46999         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
47000         <bp-asm.h>.
47001         (__mpn_mul_1): Don't use BP_SYM.
47002         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47003         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
47004         <bp-sym.h> and <bp-asm.h>.
47005         (memcmp): Don't use BP_SYM.
47006         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
47007         <bp-sym.h> and <bp-asm.h>.
47008         (memcpy): Don't use BP_SYM.
47009         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
47010         <bp-sym.h> and <bp-asm.h>.
47011         (memset): Don't use BP_SYM.
47012         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
47013         <bp-sym.h> and <bp-asm.h>.
47014         (strncmp): Don't use BP_SYM.
47015         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
47016         <bp-sym.h> and <bp-asm.h>.
47017         (memcpy): Don't use BP_SYM.
47018         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
47019         <bp-sym.h> and <bp-asm.h>.
47020         (memset): Don't use BP_SYM.
47021         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
47022         <bp-sym.h> and <bp-asm.h>.
47023         (__memchr): Don't use BP_SYM.
47024         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
47025         <bp-sym.h> and <bp-asm.h>.
47026         (memcmp): Don't use BP_SYM.
47027         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
47028         <bp-sym.h> and <bp-asm.h>.
47029         (memcpy): Don't use BP_SYM.
47030         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
47031         <bp-sym.h> and <bp-asm.h>.
47032         (__mempcpy): Don't use BP_SYM.
47033         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
47034         <bp-sym.h> and <bp-asm.h>.
47035         (__memrchr): Don't use BP_SYM.
47036         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
47037         <bp-sym.h> and <bp-asm.h>.
47038         (memset): Don't use BP_SYM.
47039         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
47040         <bp-sym.h> and <bp-asm.h>.
47041         (__rawmemchr): Don't use BP_SYM.
47042         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
47043         <bp-sym.h> and <bp-asm.h>.
47044         (__STRCMP): Don't use BP_SYM.
47045         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
47046         <bp-sym.h> and <bp-asm.h>.
47047         (strchr): Don't use BP_SYM.
47048         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
47049         <bp-sym.h> and <bp-asm.h>.
47050         (__strchrnul): Don't use BP_SYM.
47051         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
47052         <bp-sym.h> and <bp-asm.h>.
47053         (strlen): Don't use BP_SYM.
47054         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
47055         <bp-sym.h> and <bp-asm.h>.
47056         (strncmp): Don't use BP_SYM.
47057         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
47058         <bp-sym.h> and <bp-asm.h>.
47059         (__strnlen): Don't use BP_SYM.
47060         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
47061         <bp-asm.h>.
47062         (__mpn_rshift): Don't use BP_SYM.
47063         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47064         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
47065         <bp-sym.h> and <bp-asm.h>.
47066         (__sigsetjmp): Don't use BP_SYM.
47067         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
47068         (L(start_addresses)): Don't use BP_SYM.
47069         (_start): Likewise.
47070         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
47071         <bp-asm.h>.
47072         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
47073         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47074         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47075         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
47076         <bp-asm.h>.
47077         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
47078         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47079         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47080         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
47081         <bp-asm.h>.
47082         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
47083         comments.
47084         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47085         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
47086         <bp-asm.h>.
47087         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
47088         FIXME comments.
47089         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47090         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47091         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
47092         <bp-asm.h>.
47093         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
47094         comment.
47095         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
47096         and <bp-asm.h>.
47097         (strncmp): Don't use BP_SYM,
47098         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
47099         <bp-asm.h>.
47100         (__mpn_sub_n): Don't use BP_SYM.
47101         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47102         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
47103         and <bp-asm.h>.
47104         (__mpn_submul_1): Don't use BP_SYM.
47105         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
47107         <bp-sym.h> and <bp-asm.h>.
47108         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
47109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
47110         <bp-sym.h> and <bp-asm.h>.
47111         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
47112         comment.
47114 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47116         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
47117         Use ZK to minimize writes to Z.
47118         (sub_magnitudes): Simplify code a bit.
47119         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
47120         Use ZK to minimize writes to Z.
47121         (sub_magnitudes): Simplify code a bit.
47123 2013-02-27  Roland McGrath  <roland@hack.frob.com>
47125         * csu/gmon-start.c: Add special exception to license text.
47127 2013-02-27  Richard Henderson  <rth@redhat.com>
47129         * scripts/config.guess: Update from config.git.
47130         * scripts/config.sub: Likewise.
47132 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47134         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
47136         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
47138         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
47140         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
47142         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
47144 2013-02-26  Roland McGrath  <roland@hack.frob.com>
47146         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
47147         [$(build-shared = yes].
47149 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47151         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
47152         (__mul): Reduce iterations for calculating mantissa.
47154         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
47155         MPTWO.
47156         (__mpranred): Likewise.
47158         [BZ #15160]
47159         * malloc/memusagestat.c (main): Draw graphs for heap and stack
47160         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
47162 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
47164         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
47165         Define __attribute__.
47167 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47169         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
47170         unused.
47171         * posix/regex_internal.h (__attribute): Remove.
47172         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
47173         (re_string_context_at): Likewise.
47174         (bitset_not): Use __attribute__ and mark function as possibly
47175         unused.
47176         (bitset_merge): Likewise.
47177         (bitset_mask): Likewise.
47178         (re_string_char_size_at): Likewise.
47179         (re_string_wchar_at): Likewise.
47180         (re_string_elem_size_at): Likewise.
47182 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47184         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
47185         code.
47186         (cc32): Likewise.
47188         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
47189         (__acr): Likewise.
47190         (__cpy): Likewise.
47191         (norm): Likewise.
47192         (denorm): Likewise.
47193         (__dbl_mp): Likewise.
47194         (add_magnitudes): Likewise.
47195         (sub_magnitudes): Likewise.
47196         (__mul): Likewise.
47197         (__inv): Likewise.
47199         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
47200         style.
47202         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
47203         style.
47205         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
47206         code.
47208         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
47209         up changes with default code.
47210         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
47211         Likewise.
47213 2013-02-24  Allan McRae  <allan@archlinux.org>
47215         * manual/socket.texi (The Internet Namespace): Order menu items
47216         to match that in the file.
47218         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
47219         node listing of the info page menu.
47221 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
47223         [BZ #13550]
47224         * sysdeps/i386/bp-asm.h: Remove file.
47225         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47226         (PARMS): Do not use macros from bp-asm.h.
47227         (S1): Likewise.
47228         (S2): Likewise.
47229         (SIZE): Likewise.
47230         (__mpn_add_n): Do not use BP_SYM
47231         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
47232         "bp-asm.h".
47233         (PARMS): Do not use macros from bp-asm.h.
47234         (S1): Likewise.
47235         (SIZE): Likewise.
47236         (__mpn_addmul_1): Do not use BP_SYM
47237         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
47238         "bp-asm.h".
47239         (PARMS): Do not use macros from bp-asm.h.
47240         (SIGMSK): Likewise.
47241         (_setjmp): Likewise.  Do not use BP_SYM.
47242         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
47243         "bp-asm.h".
47244         (PARMS): Do not use macros from bp-asm.h.
47245         (SIGMSK): Likewise.
47246         (setjmp): Likewise.  Do not use BP_SYM.
47247         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
47248         "bp-asm.h".
47249         (PARMS): Do not use macros from bp-asm.h.
47250         (__frexp): Do not use BP_SYM.
47251         (frexp): Likewise.
47252         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
47253         "bp-asm.h".
47254         (PARMS): Do not use macros from bp-asm.h.
47255         (__frexpf): Do not use BP_SYM.
47256         (frexpf): Likewise.
47257         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
47258         "bp-asm.h".
47259         (PARMS): Do not use macros from bp-asm.h.
47260         (__frexpl): Do not use BP_SYM.
47261         (frexpl): Likewise.
47262         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
47263         "bp-asm.h".
47264         (PARMS): Do not use macros from bp-asm.h.
47265         (__remquo): Do not use BP_SYM.
47266         (remquo): Likewise.
47267         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
47268         "bp-asm.h".
47269         (PARMS): Do not use macros from bp-asm.h.
47270         (__remquof): Do not use BP_SYM.
47271         (remquof): Likewise.
47272         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
47273         "bp-asm.h".
47274         (PARMS): Do not use macros from bp-asm.h.
47275         (__remquol): Do not use BP_SYM.
47276         (remquol): Likewise.
47277         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
47278         "bp-asm.h".
47279         (PARMS): Do not use macros from bp-asm.h.
47280         (DEST): Likewise.
47281         (SRC): Likewise.
47282         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
47283         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
47284         "bp-asm.h".
47285         (PARMS): Do not use macros from bp-asm.h.
47286         (strlen): Do not use BP_SYM.
47287         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
47288         "bp-asm.h".
47289         (PARMS): Do not use macros from bp-asm.h.
47290         (S1): Likewise.
47291         (S2): Likewise.
47292         (SIZE): Likewise.
47293         (__mpn_add_n): Do not use BP_SYM.
47294         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
47295         "bp-asm.h".
47296         (PARMS): Do not use macros from bp-asm.h.
47297         (S1): Likewise.
47298         (SIZE): Likewise.
47299         (__mpn_addmul_1): Do not use BP_SYM.
47300         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
47301         weak_alias.
47302         (bzero): Likewise.
47303         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
47304         "bp-asm.h".
47305         (PARMS): Do not use macros from bp-asm.h.
47306         (S): Likewise.
47307         (SIZE): Likewise.
47308         (__mpn_lshift): Do not use BP_SYM.
47309         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
47310         "bp-asm.h".
47311         (PARMS): Do not use macros from bp-asm.h.
47312         (DEST): Likewise.
47313         (SRC): Likewise.
47314         (LEN): Likewise.
47315         (memcpy): Likewise.  Do not use BP_SYM.
47316         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
47317         libc_hidden_def and weak_alias.
47318         (mempcpy): Do not use BP_SYM in weak_alias.
47319         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
47320         "bp-asm.h".
47321         (PARMS): Do not use macros from bp-asm.h.
47322         (DEST): Likewise.
47323         (LEN): Likewise.
47324         [!BZERO_P] (CHR): Likewise.
47325         (memset): Likewise.  Do not use BP_SYM.
47326         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
47327         "bp-asm.h".
47328         (PARMS): Do not use macros from bp-asm.h.
47329         (S1): Likewise.
47330         (SIZE): Likewise.
47331         (__mpn_mul_1): Do not use BP_SYM.
47332         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
47333         "bp-asm.h".
47334         (PARMS): Do not use macros from bp-asm.h.
47335         (S): Likewise.
47336         (SIZE): Likewise.
47337         (__mpn_rshift): Do not use BP_SYM.
47338         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
47339         "bp-asm.h".
47340         (PARMS): Do not use macros from bp-asm.h.
47341         (STR): Likewise.
47342         (CHR): Likewise.
47343         (strchr): Likewise.  Do not use BP_SYM.
47344         (index): Do not use BP_SYM in weak_alias.
47345         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
47346         "bp-asm.h".
47347         (PARMS): Do not use macros from bp-asm.h.
47348         (DEST): Likewise.
47349         (SRC): Likewise.
47350         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
47351         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
47352         "bp-asm.h".
47353         (PARMS): Do not use macros from bp-asm.h.
47354         (strlen): Do not use BP_SYM.
47355         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
47356         "bp-asm.h".
47357         (PARMS): Do not use macros from bp-asm.h.
47358         (S1): Likewise.
47359         (S2): Likewise.
47360         (SIZE): Likewise.
47361         (__mpn_sub_n): Do not use BP_SYM.
47362         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
47363         "bp-asm.h".
47364         (PARMS): Do not use macros from bp-asm.h.
47365         (S1): Likewise.
47366         (SIZE): Likewise.
47367         (__mpn_submul_1): Do not use BP_SYM.
47368         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
47369         "bp-asm.h".
47370         (PARMS): Do not use macros from bp-asm.h.
47371         (S1): Likewise.
47372         (S2): Likewise.
47373         (SIZE): Likewise.
47374         (__mpn_add_n): Do not use BP_SYM.
47375         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
47376         weak_alias.
47377         (bzero): Likewise.
47378         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
47379         "bp-asm.h".
47380         (PARMS): Do not use macros from bp-asm.h.
47381         (BLK2): Likewise.
47382         (LEN): Likewise.
47383         (memcmp): Do not use BP_SYM.
47384         (bcmp): Do not use BP_SYM in weak_alias.
47385         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
47386         "bp-asm.h".
47387         (PARMS): Do not use macros from bp-asm.h.
47388         (DEST): Likewise.
47389         (SRC): Likewise.
47390         (LEN): Likewise.
47391         (memcpy): Likewise.  Do not use BP_SYM.
47392         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
47393         "bp-asm.h".
47394         (PARMS): Do not use macros from bp-asm.h.
47395         (DEST): Likewise.
47396         (SRC): Likewise.
47397         (LEN): Likewise.
47398         (memmove): Likewise.  Do not use BP_SYM.
47399         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
47400         "bp-asm.h".
47401         (PARMS): Do not use macros from bp-asm.h.
47402         (DEST): Likewise.
47403         (SRC): Likewise.
47404         (LEN): Likewise.
47405         (__mempcpy): Likewise.  Do not use BP_SYM.
47406         (mempcpy): Do not use BP_SYM in weak_alias.
47407         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
47408         "bp-asm.h".
47409         (PARMS): Do not use macros from bp-asm.h.
47410         (DEST): Likewise.
47411         (LEN): Likewise.
47412         [!BZERO_P] (CHR): Likewise.
47413         (memset): Likewise.  Do not use BP_SYM.
47414         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
47415         "bp-asm.h".
47416         (PARMS): Do not use macros from bp-asm.h.
47417         (STR2): Likewise.
47418         (strcmp): Do not use BP_SYM.
47419         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
47420         "bp-asm.h".
47421         (PARMS): Do not use macros from bp-asm.h.
47422         (STR): Likewise.
47423         (DELIM): Likewise.
47424         [USE_AS_STRTOK_R] (SAVE): Likewise.
47425         (FUNCTION): Likewise.  Do not use BP_SYM.
47426         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
47427         aliases.
47428         (strtok_r): Likewise.
47429         (__GI___strtok_r): Likewise.
47430         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47431         (PARMS): Do not use macros from bp-asm.h.
47432         (S): Likewise.
47433         (SIZE): Likewise.
47434         (__mpn_lshift): Do not use BP_SYM.
47435         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47436         (PARMS): Do not use macros from bp-asm.h.
47437         (STR): Likewise.
47438         (CHR): Likewise.
47439         (__memchr): Do not use BP_SYM.
47440         (memchr): Do not use BP_SYM in weak_alias.
47441         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47442         (PARMS): Do not use macros from bp-asm.h.
47443         (BLK2): Likewise.
47444         (LEN): Likewise.
47445         (memcmp): Do not use BP_SYM.
47446         (bcmp): Do not use BP_SYM in weak_alias.
47447         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
47448         (PARMS): Do not use macros from bp-asm.h.
47449         (S1): Likewise.
47450         (SIZE): Likewise.
47451         (__mpn_mul_1): Do not use BP_SYM.
47452         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
47453         "bp-asm.h".
47454         (PARMS): Do not use macros from bp-asm.h.
47455         (STR): Likewise.
47456         (CHR): Likewise.
47457         (__rawmemchr): Do not use BP_SYM.
47458         (rawmemchr): Do not use BP_SYM in weak_alias.
47459         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47460         (PARMS): Do not use macros from bp-asm.h.
47461         (S): Likewise.
47462         (SIZE): Likewise.
47463         (__mpn_rshift): Do not use BP_SYM.
47464         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47465         (PARMS): Do not use macros from bp-asm.h.
47466         (SIGMSK): Likewise.
47467         (__sigsetjmp): Likewise.  Do not use BP_SYM.
47468         * sysdeps/i386/start.S: Do not include "bp-sym.h".
47469         (_start): Do not use BP_SYM.
47470         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
47471         (PARMS): Do not use macros from bp-asm.h.
47472         (DEST): Likewise.
47473         (SRC): Likewise.
47474         (__stpcpy): Likewise.  Do not use BP_SYM.
47475         (stpcpy): Do not use BP_SYM in weak_alias.
47476         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
47477         "bp-asm.h".
47478         (PARMS): Do not use macros from bp-asm.h.
47479         (DEST): Likewise.
47480         (SRC): Likewise.
47481         (LEN): Likewise.
47482         (__stpncpy): Likewise.  Do not use BP_SYM.
47483         (stpncpy): Do not use BP_SYM in weak_alias.
47484         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47485         (PARMS): Do not use macros from bp-asm.h.
47486         (STR): Likewise.
47487         (CHR): Likewise.
47488         (strchr): Likewise.  Do not use BP_SYM.
47489         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
47490         "bp-asm.h".
47491         (PARMS): Do not use macros from bp-asm.h.
47492         (STR): Likewise.
47493         (CHR): Likewise.
47494         (__strchrnul): Likewise.  Do not use BP_SYM.
47495         (strchrnul): Do not use BP_SYM in weak_alias.
47496         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
47497         "bp-asm.h".
47498         (PARMS): Do not use macros from bp-asm.h.
47499         (STOP): Likewise.
47500         (strcspn): Do not use BP_SYM.
47501         * sysdeps/i386/strpbrk.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         (STOP): Likewise.
47506         (strpbrk): Likewise.  Do not use BP_SYM.
47507         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
47508         "bp-asm.h".
47509         (PARMS): Do not use macros from bp-asm.h.
47510         (STR): Likewise.
47511         (CHR): Likewise.
47512         (strrchr): Likewise.  Do not use BP_SYM.
47513         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
47514         (PARMS): Do not use macros from bp-asm.h.
47515         (SKIP): Likewise.
47516         (strspn): Do not use BP_SYM.
47517         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
47518         (PARMS): Do not use macros from bp-asm.h.
47519         (STR): Likewise.
47520         (DELIM): Likewise.
47521         (SAVE): Likewise.
47522         (FUNCTION): Likewise.  Do not use BP_SYM.
47523         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
47524         aliases.
47525         (strtok_r): Likewise.
47526         (__GI___strtok_r): Likewise.
47527         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47528         (PARMS): Do not use macros from bp-asm.h.
47529         (S1): Likewise.
47530         (S2): Likewise.
47531         (SIZE): Likewise.
47532         (__mpn_sub_n): Do not use BP_SYM.
47533         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
47534         "bp-asm.h".
47535         (PARMS): Do not use macros from bp-asm.h.
47536         (S1): Likewise.
47537         (SIZE): Likewise.
47538         (__mpn_submul_1): Do not use BP_SYM.
47539         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
47540         <bp-sym.h>.
47541         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
47542         and <bp-asm.h>.
47543         (PARMS): Do not use macros from bp-asm.h.
47544         (FLAGS): Likewise.
47545         (PTID): Likewise.
47546         (TLS): Likewise.
47547         (CTID): Likewise.
47548         (__clone): Do not use BP_SYM.
47549         (clone): Do not use BP_SYM in weak_alias.
47550         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
47551         and <bp-asm.h>.
47552         (PARMS): Do not use macros from bp-asm.h.
47553         (LEN): Likewise.
47554         (__mmap64): Do not use BP_SYM.
47555         (mmap64): Do not use BP_SYM in weak_alias.
47556         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47557         <bp-sym.h> and <bp-asm.h>.
47558         (PARMS): Do not use macros from bp-asm.h.
47559         (__posix_fadvise64_l64): Do not use BP_SYM.
47560         * sysdeps/unix/sysv/linux/i386/semtimedop.S
47561         (PARMS): Do not use macros from bp-asm.h.
47562         (NSOPS): Likewise.
47563         (semtimedop): Do not use BP_SYM.
47564         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
47565         and <bp-asm.h>.
47567 2013-02-21  Allan McRae  <allan@archlinux.org>
47569         * manual/message.texi (Charset conversion in gettext):
47570         Move @end statement to beginning of line.
47572 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47574         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
47575         static.
47576         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47577         Likewise.
47579         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
47580         (denorm): Likewise.
47581         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
47582         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
47584 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47586         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
47587         tail-call to the resolved function if pltexit isn't needed.
47589 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47591         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
47592         or Y being zero as being unlikely.
47593         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
47594         Likewise.
47596 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
47598         * manual/nss.texi (System Databases and Name Service Switch):
47599         Remove frobnicate @pxref.
47601 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
47603         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47604         __attribute__ ((unused)) to __attribute__ ((__unused__)).
47606 2013-02-20  Petr Machata  <pmachata@redhat.com>
47608         * elf/elf.h (R_ARM_TARGET1): New macro.
47609         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
47610         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
47611         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
47612         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
47613         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
47614         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
47615         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
47616         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
47617         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
47618         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
47619         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
47620         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
47621         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
47622         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
47623         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
47624         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
47625         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
47626         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
47627         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
47628         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
47629         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
47630         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
47631         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
47632         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
47633         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
47634         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
47635         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
47636         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
47637         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
47638         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
47639         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
47640         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
47641         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
47642         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
47643         (R_ARM_THM_GOT_BREL12): Likewise.
47644         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
47645         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
47646         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
47647         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
47648         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
47649         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
47650         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
47651         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
47652         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
47654 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
47656         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47657         __attribute_used__ to __attribute__ ((unused)).
47659 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47661         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
47662         powerpc mpa.c.
47663         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
47664         comment formatting.
47665         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
47667 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
47669         [BZ #13550]
47670         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
47671         Remove macro.
47672         (ENTER): Remove both macro definitions.
47673         (LEAVE): Likewise.
47674         (CHECK_BOUNDS_LOW): Likewise.
47675         (CHECK_BOUNDS_HIGH): Likewise.
47676         (CHECK_BOUNDS_BOTH): Likewise.
47677         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
47678         (RETURN_BOUNDED_POINTER): Likewise.
47679         (RETURN_NULL_BOUNDED_POINTER): Likewise.
47680         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
47681         (POP_ERRNO_LOCATION_RETURN): Likewise.
47682         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
47683         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47684         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
47685         macros.
47686         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47687         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
47688         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
47689         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
47690         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
47691         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
47692         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
47693         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
47694         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
47695         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
47696         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
47697         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
47698         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47699         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
47700         removed macros.
47701         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47702         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
47703         macros.
47704         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47705         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
47706         * sysdeps/i386/i586/memset.S (memset): Likewise.
47707         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
47708         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47709         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
47710         macros.
47711         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47712         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
47713         Change uses of L(2) to L(out).
47714         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
47715         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
47716         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
47717         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47718         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
47719         removed macros.
47720         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47721         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
47722         macros.
47723         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47724         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
47725         (RETURN): Do not use macro LEAVE.
47726         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
47727         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
47728         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
47729         * sysdeps/i386/i686/memset.S (memset): Likewise.
47730         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
47731         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
47732         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47733         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
47734         Likewise.
47735         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47736         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
47737         L(1_2) and L(1_3) into L(1).
47738         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47739         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
47740         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47741         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
47742         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47743         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
47744         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
47745         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47746         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
47747         macros.
47748         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
47749         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47750         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
47751         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
47752         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
47753         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47754         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
47755         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
47756         * sysdeps/i386/strcspn.S (strcspn): Likewise.
47757         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
47758         * sysdeps/i386/strrchr.S (strrchr): Likewise.
47759         * sysdeps/i386/strspn.S (strspn): Likewise.
47760         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
47761         conditional code.
47762         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47763         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
47764         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47765         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
47766         L(1_3) into L(1_1).
47767         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
47768         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47769         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
47770         macros.
47771         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47773 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
47775         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
47776         macro.
47778 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47780         * math/atest-exp.c (exp_mpn): Remove ROUND.
47781         * math/atest-exp2.c (exp_mpn): Likewise.
47782         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
47784         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
47785         * stdlib/tst-tls-atexit-lib.c: Likewise.
47786         * stdlib/tst-tls-atexit.c: Likewise.
47788 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47790         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
47791         and __attribute_alloc_size__.
47793 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47795         * include/programs/xmalloc.h: Change __attribute_alloc_size to
47796         __attribute_alloc_size__.
47797         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
47798         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
47800 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47802         * include/programs/xmalloc.h: New file.
47803         * catgets/gencat.c: Include it.
47804         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
47805         * elf/pldd.c: Likewise.
47806         * iconv/iconv_charmap.c: Likewise.
47807         * iconv/iconvconfig.c: Likewise.
47808         * iconv/strtab.c: Likewise.
47809         * locale/programs/locale.c: Likewise.
47810         * locale/programs/localedef.h: Likewise.
47811         * locale/programs/simple-hash.c: Likewise.
47812         * nscd/nscd.h: Likewise.
47813         * nss/makedb.c: Likewise.
47814         * sysdeps/generic/ldconfig.h: Likewise.
47816 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47818         * Versions.def: Add GLIBC_2.18.
47819         * include/link.h (struct link_map): New member l_tls_dtor_count.
47820         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
47821         (__call_tls_dtors): Likewise.
47822         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
47823         __cxa_thread_atexit_impl.
47824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47825         Likewise.
47826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47827         Likewise.
47828         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47829         Likewise.
47830         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47831         Likewise.
47832         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47833         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
47834         Likewise.
47835         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
47836         Likewise.
47837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47838         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47839         Likewise.
47840         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
47841         (tests): Add test case tst-tls-atexit.
47842         (modules-names): Add shared library for tst-tls-atexit.
47843         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
47844         (GLIBC_PRIVATE): Add __call_tls_dtors.
47845         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
47846         for libstdc++.
47847         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
47848         * stdlib/tst-tls-atexit.c: New test case.
47849         * stdlib/tst-tls-atexit-lib.c: New test case.
47851         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
47853         * elf/Versions (ld): Add _dl_find_dso_for_object.
47854         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
47855         * elf/dl-open.c (_dl_find_dso_for_object): New function.
47856         (dl_open_worker): Use _dl_find_dso_for_object.
47857         * elf/dl-sym.c (do_sym): Likewise.
47858         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
47860 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47862         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
47863         Syntactic changes only.
47864         (_dl_runtime_profile): Do a tail-call to the resolved function.
47866 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
47868         [BZ #13550]
47869         * sysdeps/x86_64/bp-asm.h: Remove file.
47870         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
47871         <bp-sym.h> and <bp-asm.h>.
47872         (__clone): Do not use BP_SYM.
47873         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
47874         <bp-sym.h> and <bp-asm.h>.
47875         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47876         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
47877         "bp-asm.h".
47878         (_setjmp): Do not use BP_SYM.
47879         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
47880         "bp-asm.h".
47881         (setjmp): Do not use BP_SYM.
47882         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
47883         libc_hidden_def.
47884         (mempcpy): Do not use BP_SYM in weak_alias.
47885         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
47886         "bp-asm.h".
47887         (strchr): Do not use BP_SYM.
47888         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
47889         "bp-asm.h".
47890         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
47891         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
47892         (_start): Do not use BP_SYM.
47893         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
47894         "bp-asm.h".
47895         (strcat): Do not use BP_SYM.
47896         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
47897         "bp-asm.h".
47898         (STRCMP): Do not use BP_SYM.
47899         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
47900         "bp-asm.h".
47901         (STRCPY): Do not use BP_SYM.
47902         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
47903         "bp-asm.h".
47904         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
47905         "bp-asm.h".
47906         (FUNCTION): Do not use BP_SYM.
47907         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
47908         weak_alias.
47909         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
47911 2013-02-17  Andreas Jaeger  <aj@suse.de>
47913         * time/Versions: Sort entries.
47914         * string/Versions: Likewise.
47915         * resolv/Versions: Likewise.
47916         * posix/Versions: Likewise.
47917         * iconv/Versions: Likewise.
47918         * elf/Versions: Likewise.
47919         * wcsmbs/Versions: Likewise.
47921 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47923         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
47924         loop termination condition.
47926         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
47927         variable to calculate EZ.
47928         (__sqr): Likewise.
47930         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
47931         the lower precision input.
47933 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
47935         [BZ #13550]
47936         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
47937         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
47938         (run-via-rtld-prefix): Do not handle %-bp tests.
47939         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
47940         (all-object-suffixes): Remove .ob.
47941         (bppfx): Remove variable.
47942         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
47943         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
47944         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
47945         [$(build-bounded) = yes] (libtype.ob): Likewise.
47946         * Makerules (elide-routines.ob): Remove variable.
47947         (do-tests-clean): Do not handle *-bp.out.
47948         (common-mostlyclean): Do not handle *-bp and *-bp.out.
47949         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
47950         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
47951         (tests): Do not include $(tests-bp.out).
47952         (xtests): Do not include $(xtests-bp.out).
47953         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
47954         [$(build-bounded) = yes] ($(addprefix
47955         $(objpfx),$(binaries-bounded))): Remove rule.
47956         ($(objpfx)%-bp.out): Remove rule.
47957         * config.make.in (build-bounded): Remove variable.
47958         * crypt/Makefile [$(build-bounded) = yes]
47959         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
47960         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
47961         append to variable.
47962         [$(build-bounded) = yes] (install-lib): Likewise.
47963         [$(build-bounded) = yes] (generated): Likewise.
47964         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
47965         Remove rule.
47966         * intl/Makefile [$(build-bounded) = yes]
47967         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
47968         * math/Makefile [$(build-bounded) = yes]
47969         ($(tests:%=$(objpfx)%-bp): Likewise.
47970         * misc/Makefile [$(build-bounded) = yes]
47971         ($(objpfx)tst-tsearch-bp): Likewise.
47972         * nptl/Makeconfig (bounded-thread-library): Remove variable.
47973         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
47974         Remove dependency.
47975         * string/Makefile (o-objects.ob): Remove variable.
47976         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
47977         (CFLAGS-.ob): Remove variable.
47978         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
47979         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
47980         both definitions of variable.
47981         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
47982         (ASFLAGS-.ob): Remove variable.
47984 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
47986         [BZ #13550]
47987         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
47988         Remove __BOUNDED_POINTERS__ from condition.
47989         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
47990         * string/bits/string2.h [!__NO_STRING_INLINES &&
47991         !__BOUNDED_POINTERS__]: Likewise.
47992         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
47993         Likewise.
47994         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
47995         Remove conditional code.
47996         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
47997         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
47998         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
47999         condition.
48001         [BZ #13550]
48002         * csu/libc-start.c: Do not include <bp-sym.h>.
48003         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
48004         * elf/dl-open.c: Do not include <bp-sym.h>.
48005         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
48006         * math/fegetenv.c: Do not include <bp-sym.h>.
48007         (fegetenv): Do not use BP_SYM in versioned symbols.
48008         * nptl/sysdeps/pthread/bits/libc-lockP.h
48009         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
48010         <bp-sym.h>.
48011         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48012         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
48013         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48014         (__pthread_mutex_destroy): Likewise.
48015         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48016         (__pthread_mutex_lock): Likewise.
48017         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48018         (__pthread_mutex_trylock): Likewise.
48019         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48020         (__pthread_mutex_unlock): Likewise.
48021         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48022         (__pthread_mutexattr_init): Likewise.
48023         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48024         (__pthread_mutexattr_destroy): Likewise.
48025         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48026         (__pthread_mutexattr_settype): Likewise.
48027         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48028         (__pthread_rwlock_init): Likewise.
48029         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48030         (__pthread_rwlock_destroy): Likewise.
48031         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48032         (__pthread_rwlock_rdlock): Likewise.
48033         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48034         (__pthread_rwlock_tryrdlock): Likewise.
48035         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48036         (__pthread_rwlock_wrlock): Likewise.
48037         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48038         (__pthread_rwlock_trywrlock): Likewise.
48039         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48040         (__pthread_rwlock_unlock): Likewise.
48041         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48042         (__pthread_key_create): Likewise.
48043         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48044         (__pthread_setspecific): Likewise.
48045         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48046         (__pthread_getspecific): Likewise.
48047         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
48048         Likewise.
48049         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48050         (_pthread_cleanup_push_defer): Likewise.
48051         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48052         (_pthread_cleanup_pop_restore): Likewise.
48053         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
48054         (pthread_setcancelstate): Likewise.
48055         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
48056         <bp-sym.h>.
48057         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
48058         (memchr): Do not use BP_SYM in weak_alias.
48059         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
48060         (fegetenv): Do not use BP_SYM in versioned symbols.
48061         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
48062         (fesetenv): Do not use BP_SYM in versioned symbols.
48063         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48064         (feupdateenv): Do not use BP_SYM in versioned symbols.
48065         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48066         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48067         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
48068         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
48069         (open64): Do not use BP_SYM in weak_alias.
48070         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
48071         (fegetenv): Do not use BP_SYM in versioned symbols.
48072         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
48073         (fesetenv): Do not use BP_SYM in versioned symbols.
48074         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48075         (feupdateenv): Do not use BP_SYM in versioned symbols.
48076         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
48077         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
48078         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
48079         (feraiseexcept): Do not use BP_SYM in versioned symbols.
48080         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48081         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48082         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
48083         <bp-sym.h>.
48084         (__libc_start_main): Do not use BP_SYM.
48086 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48088         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
48089         redundant return line.
48090         (norm): Likewise.
48091         (denorm): Likewise.
48092         (dbl_mp): Likewise.
48093         (sub_magnitudes): Likewise.
48094         (__add): Likewise.
48095         (__sub): Likewise.
48096         (__mul): Likewise.
48097         (__inv): Likewise.
48098         (__dvd): Likewise.
48099         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
48100         (norm): Likewise.
48101         (denorm): Likewise.
48102         (dbl_mp): Likewise.
48103         (sub_magnitudes): Likewise.
48104         (__add): Likewise.
48105         (__sub): Likewise.
48106         (__mul): Likewise.
48107         (__inv): Likewise.
48108         (__dvd): Likewise.
48110         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
48111         instead of __mul.
48112         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48113         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
48114         (cc32): Likewise.
48116         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
48117         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
48118         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
48119         of __mul for squares.
48120         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
48121         function
48122         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
48123         Likewise.
48124         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
48125         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48127 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
48129         [BZ #13550]
48130         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
48131         code.
48132         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
48133         prototype or function definition.  Rename ubp_* variables and
48134         parameters.  Remove argv definitions conditional on
48135         [__BOUNDED_POINTERS__].
48136         * debug/backtrace.c (__backtrace): Do not use __unbounded.
48137         * elf/dl-runtime.c (_dl_fixup): Likewise.
48138         * include/set-hooks.h (RUN_HOOK): Likewise.
48139         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
48140         definition.
48141         * string/strcpy.c (strcpy): Do not use __unbounded.
48142         * sysdeps/generic/frame.h (struct layout): Likewise.
48143         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
48144         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
48145         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
48146         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
48147         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
48148         (__backtrace): Likewise.
48149         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
48150         use __ptrvalue.
48151         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
48152         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
48153         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
48154         Likewise.
48155         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
48156         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
48157         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
48158         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48159         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
48160         Do not use __unbounded.
48161         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
48162         Rename __unboundedrlimits parameter to rlimits in prototype.
48163         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
48164         Do not use __unbounded.
48165         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
48166         not use __ptrvalue.
48167         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48168         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
48169         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48170         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
48171         __ptrvalue or __unbounded.
48172         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
48173         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
48174         use __unbounded.
48175         (__new_msgctl): Do not use __ptrvalue.
48176         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
48177         __unbounded.
48178         (__libc_msgrcv): Do not use __ptrvalue.
48179         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
48180         startup_info): Do not use __unbounded.
48181         (__libc_start_main): Likewise.  Rename ubp_* variables and
48182         parameters.  Remove argv definitions conditional on
48183         [__BOUNDED_POINTERS__].
48184         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
48185         __ptrvalue.
48186         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
48187         use __unbounded.
48188         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
48189         or __ptrvalue.
48190         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
48191         use __unbounded.
48192         (__new_shmctl): Do not use __ptrvalue.
48193         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
48194         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
48195         Likewise.
48196         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
48197         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
48198         (__libc_sigaction): Likewise.
48199         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
48200         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
48201         Likewise.
48202         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48204 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
48206         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
48208         * string/mempcpy.c: Implement by calling memcpy.
48210 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48212         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
48214         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
48215         evaluation.
48217         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
48218         values in the mantissa.
48220         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
48221         minimize writes to Z.
48222         (sub_magnitudes): Simplify code a bit.
48224 2013-02-12  Roland McGrath  <roland@hack.frob.com>
48226         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
48227         from the message.  The linker prefixes all warnings with that already.
48229 2013-02-12  Andreas Schwab  <schwab@suse.de>
48231         [BZ #15078]
48232         * posix/regexec.c (extend_buffers): Add parameter min_len.
48233         (check_matching): Pass minimum needed length.
48234         (clean_state_log_if_needed): Likewise.
48235         (get_subexp): Likewise.
48236         * posix/Makefile (tests): Add bug-regex34.
48237         (bug-regex34-ENV): Define.
48238         * posix/bug-regex34.c: New file.
48240         [BZ #11561]
48241         * posix/regcomp.c (parse_bracket_exp): When looking up collating
48242         elements compare against the byte sequence of it, not its name.
48243         * posix/Makefile (tests): Add bug-regex35.
48244         (bug-regex35-ENV): Define.
48245         * posix/bug-regex35.c: New file.
48247 2013-02-11  Tom de Vries  <tom@codesourcery.com>
48249         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
48250         comment.
48251         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
48252         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
48253         (CHECK_EOL): Add undef.
48255 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
48257         * bits/stdlib-bsearch.h: New file.
48258         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
48259         * stdlib/stdlib.h: Likewise.
48261 2013-02-11  Roland McGrath  <roland@hack.frob.com>
48263         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
48264         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
48265         declaration.
48266         * manual/search.texi (Array Search Function): Add missing const in
48267         lfind prototype.
48268         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
48269         declaration to use rlim_t.
48270         (Basic Scheduling Functions): Remove erroneous const from
48271         sched_getparam prototype.  Remove erroneous * from
48272         sched_get_priority_max and sched_get_priority_min prototypes.
48273         (Resource Usage): Fix summary @comment on vtimes to refer to
48274         sys/vtimes.h rather than vtimes.h.
48275         Add missing *s in vtimes prototype.
48276         (Limits on Resources): Fix ulimit prototype to return long int.
48277         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
48278         prototypes to use long int rather than double.
48279         (BSD Random): Fix initstate and setstate to use char *, not void *.
48280         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
48281         prototype to make second argument 'struct aiocb64 *const[]'.
48282         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
48283         (Status of AIO Operations): Remove erroneous const in aio_return and
48284         aio_return64 prototypes.
48285         (Synchronizing I/O): Fix sync prototype to return void.
48286         * manual/startup.texi (Suboptions): Remove an erroneous const in
48287         getsubopt prototype.
48288         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
48289         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
48290         use size_t rather than int.
48291         (Scanning All Users): Likewise for getpwent_r.
48292         (Setting Groups): Add missing const to setgroups prototype.
48293         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
48294         * manual/socket.texi (Host Names): Fix gethostbyaddr and
48295         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
48296         'const void *' rather than 'const char *'.
48297         (Host Address Functions): Likewise for inet_ntop.
48298         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
48299         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
48300         ssize_t for return value.
48301         (Sending Data): Likewise for send, sendto, sendmsg.
48302         (Socket Option Functions): Add a missing const in setsockopt prototype.
48303         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
48304         use wchar_t for the argument.
48305         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
48306         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
48307         take no arguments.
48308         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
48309         double/float/long double for second argument.
48310         Fix return types of significand, significandf, significandl.
48311         * manual/filesys.texi (Setting Permissions): Use mode_t for second
48312         argument in fchmod prototype.
48313         (File Owner): Use uid_t and gid_t in fchown prototype.
48314         (File Times): Add const to utimes, futimes, and lutimes prototypes.
48315         (Making Special Files): Use mode_t and dev_t in mknod prototype.
48316         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
48317         use 'const struct dirent **' as argument types to CMP function pointer
48318         argument.
48319         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
48320         (File Times): Fix summary magic @comment for struct utimbuf and utime
48321         to refer to utime.h, not time.h.
48322         * manual/string.texi (Argz Functions): Add missing const in
48323         argz_extract and argz_next prototypes.
48324         (Finding Tokens in a String): Likewise for basename.
48325         (String/Array Comparison): Fix typo in wcscasecmp prototype.
48326         (Copying and Concatenation): Fix typo in wmemmove prototype.
48327         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
48328         (Signal Stack): Remove erroneous const in sigstack prototype.
48329         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
48330         prototype.
48331         (Simple Calendar Time): Likewise for stime.
48332         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
48333         prototype.
48334         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
48335         say sys/sysctl.h instead.
48336         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
48337         and vsyslog prototypes.
48339 2013-02-11  Tom de Vries  <tom@codesourcery.com>
48341         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
48342         Remove.
48344 2013-02-11  Roland McGrath  <roland@hack.frob.com>
48346         * misc/sys/mman.h: Fix typo in mremap comment.
48348 2013-02-08  Roland McGrath  <roland@hack.frob.com>
48350         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
48351         the '\0' terminator.
48353 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
48355         [BZ #13550]
48356         * debug/segfault.c: Don't include <bp-checks.h>.
48357         * sysdeps/generic/bp-checks.h: Remove file.
48358         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
48359         (__GETDENTS): Don't use CHECK_N.
48360         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
48361         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
48362         (__getgroups): Don't use CHECK_N.
48363         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
48364         (setgroups): Don't use CHECK_N.
48365         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
48366         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
48367         (__libc_msgrcv): Don't use CHECK_N.
48368         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
48369         (__libc_msgsnd): Don't use CHECK_N.
48370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
48371         <bp-checks.h>.
48372         (__libc_pread): Don't use CHECK_N.
48373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
48374         include <bp-checks.h>.
48375         (__libc_pread64): Don't use CHECK_N.
48376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
48377         include <bp-checks.h>.
48378         (__libc_pwrite): Don't use CHECK_N.
48379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
48380         include <bp-checks.h>.
48381         (__libc_pwrite64): Don't use CHECK_N.
48382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
48383         <bp-checks.h>.
48384         (__libc_pread): Don't use CHECK_N.
48385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
48386         include <bp-checks.h>.
48387         (__libc_pread64): Don't use CHECK_N.
48388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
48389         include <bp-checks.h>.
48390         (__libc_pwrite): Don't use CHECK_N.
48391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
48392         include <bp-checks.h>.
48393         (__libc_pwrite64): Don't use CHECK_N.
48394         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
48395         (do_pread): Don't use CHECK_N.
48396         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
48397         (do_pread64): Don't use CHECK_N.
48398         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
48399         (do_pwrite): Don't use CHECK_N.
48400         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
48401         (do_pwrite64): Don't use CHECK_N.
48402         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
48403         (__libc_readv): Don't use CHECK_N.
48404         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
48405         (semop): Don't use CHECK_N.
48406         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
48407         <bp-checks.h>.
48408         (semtimedop): Don't use CHECK_N.
48409         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
48410         (__libc_pread): Don't use CHECK_N.
48411         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
48412         <bp-checks.h>.
48413         (__libc_pread64): Don't use CHECK_N.
48414         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
48415         <bp-checks.h>.
48416         (__libc_pwrite): Don't use CHECK_N.
48417         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
48418         <bp-checks.h>.
48419         (__libc_pwrite64): Don't use CHECK_N.
48420         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
48421         <bp-checks.h>.
48422         (__libc_msgrcv): Don't use CHECK_N.
48423         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
48424         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
48425         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
48426         (__libc_writev): Don't use CHECK_N.
48428 2013-02-08  Roland McGrath  <roland@hack.frob.com>
48430         * string/strcpy.c: Removed unused variable.
48432         * Makeconfig (+sysdep-includes): Define with := rather than =.
48433         Use an existing include/ subdir of each sysdeps dir before it.
48435 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48437         * nscd/connection.c (register_traced_file): Comment function.
48438         [HAVE_INOTIFY] (union __inev): Define.
48439         [HAVE_INOTIFY] (inotify_check_files): New function.
48440         [HAVE_INOTIFY] (clear_db_cache): Likewise.
48441         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
48442         clear_db_cache.
48443         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
48445 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48447         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
48448         loaded if not already and that a failure is permanent.
48450 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48452         [BZ #15006]
48453         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
48454         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
48456 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
48458         [BZ #13550]
48459         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
48460         (CHECK_1_NULL_OK): Likewise.
48461         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
48462         (__fxstat): Do not use CHECK_1.
48463         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
48464         <bp-checks.h>.
48465         (___fxstat64): Do not use CHECK_1.
48466         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
48467         <bp-checks.h>.
48468         (__fxstatat): Do not use CHECK_1.
48469         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
48470         <bp-checks.h>.
48471         (__fxstatat64): Do not use CHECK_1.
48472         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
48473         <bp-checks.h>.
48474         (__fxstat): Do not use CHECK_1.
48475         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
48476         <bp-checks.h>.
48477         (__fxstatat): Do not use CHECK_1.
48478         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48479         <bp-checks.h>.
48480         (__getresgid): Do not use CHECK_1.
48481         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48482         <bp-checks.h>.
48483         (__getresuid): Do not use CHECK_1.
48484         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
48485         <bp-checks.h>.
48486         (__lxstat): Do not use CHECK_1.
48487         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48488         <bp-checks.h>.
48489         (__old_msgctl): Do not use CHECK_1.
48490         (__new_msgctl): Likewise.
48491         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
48492         <bp-checks.h>.
48493         (__new_setrlimit): Do not use CHECK_1.
48494         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48495         <bp-checks.h>.
48496         (__old_shmctl): Do not use CHECK_1.
48497         (__new_shmctl): Likewise.
48498         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
48499         <bp-checks.h>.
48500         (__xstat): Do not use CHECK_1.
48501         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
48502         (__lxstat): Do not use CHECK_1.
48503         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
48504         <bp-checks.h>.
48505         (___lxstat64): Do not use CHECK_1.
48506         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
48507         (__old_msgctl): Do not use CHECK_1.
48508         (__new_msgctl): Likewise.
48509         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
48510         <bp-checks.h>.
48511         (__gettimeofday): Do not use CHECK_1.
48512         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
48513         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
48514         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
48515         <bp-checks.h>.
48516         (__gettimeofday): Do not use CHECK_1.
48517         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
48518         (__old_shmctl): Do not use CHECK_1_NULL_OK.
48519         (__new_shmctl): Do not use CHECK_1.
48520         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
48521         <bp-checks.h>.
48522         (do_sigtimedwait): Do not use CHECK_1.
48523         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
48524         <bp-checks.h>.
48525         (do_sigwaitinfo): Do not use CHECK_1.
48526         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
48527         <bp-checks.h>.
48528         (msgctl): Do not use CHECK_1.
48529         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
48530         <bp-checks.h>.
48531         (shmctl): Do not use CHECK_1.
48532         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
48533         (ustat): Do not use CHECK_1.
48534         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
48535         <bp-checks.h>.
48536         (__fxstat): Do not use CHECK_1.
48537         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
48538         <bp-checks.h>.
48539         (__fxstatat): Do not use CHECK_1.
48540         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
48541         <bp-checks.h>.
48542         (__lxstat): Do not use CHECK_1.
48543         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
48544         <bp-checks.h>.
48545         (__xstat): Do not use CHECK_1.
48546         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
48547         (__xstat): Do not use CHECK_1.
48548         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
48549         (___xstat64): Do not use CHECK_1.
48551         [BZ #13550]
48552         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
48553         definitions.
48554         (CHECK_BOUNDS_HIGH): Likewise.
48555         * string/strcpy.c: Do not include <bp-checks.h>.
48556         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
48558 2013-02-07  Roland McGrath  <roland@hack.frob.com>
48560         * nscd/nscd-client.h (__nscd_drop_map_ref):
48561         Add __attribute__ ((unused)).
48562         * nis/nss-nisplus.h (niserr2nss): Likewise.
48564         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
48565         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
48567         * csu/libc-tls.c (init_static_tls, init_slotinfo):
48568         Remove inline keyword.
48569         * include/rounding-mode.h (round_away): Likewise.
48570         * libio/wfileops.c (adjust_wide_data): Likewise.
48571         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
48572         (__m128i_strloadu_tolower): Likewise.
48573         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
48574         (__m128i_strloadu_tolower): Likewise.
48575         * time/mktime.c (ydhms_diff): Likewise.
48576         * locale/elem-hash.h (elem_hash): Likewise.
48577         * locale/setlocale.c (setdata): Likewise.
48578         * posix/regex_internal.h (re_string_char_size_at): Likewise.
48579         (re_string_wchar_at): Likewise.
48580         (bitset_not, bitset_merge, bitset_mask): Likewise.
48581         [!(__GNUC__ > 3)] (inline): Remove macro.
48582         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
48583         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
48584         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
48585         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
48586         * string/memcmp.c (memcmp_bytes): Likewise.
48587         * locale/programs/locarchive.c (compute_hashval): Likewise.
48588         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
48589         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
48590         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
48591         * nss/getent.c (print_rpc, print_protocols): Likewise.
48592         (print_passwd, print_group, print_aliases): Likewise.
48593         * nis/nss-nisplus.h (niserr2nss): Likewise.
48594         * nscd/connections.c (restart_p): Likewise.
48595         Change return type to bool.
48597 2013-02-05  Roland McGrath  <roland@hack.frob.com>
48599         * Makeconfig (all-Depend-files): Add existing
48600         $(sorted-subdirs:=/Depend) files.
48601         (all-subdirs): Remove nss.
48602         * sysdeps/unix/inet/Subdirs: Add it here instead.
48603         * hesiod/Depend: New file.
48605         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
48606         instead of calling alloca.
48608         * io/lseek.c (__lseek): Rename to __libc_lseek.
48609         Define __lseek as an alias.
48611         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
48613 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
48615         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
48616         else clause and remove check for non-standard endianness.
48618 2013-02-04  David S. Miller  <davem@davemloft.net>
48620         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48622 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
48624         [BZ #13550]
48625         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
48626         (__ubp_memchr): Remove prototype.
48627         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
48628         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48629         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
48630         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48631         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
48632         Remove alias.
48633         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
48634         (__ubp_memchr): Likewise.
48635         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
48636         (__ubp_memchr): Likewise.
48637         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
48638         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
48639         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
48640         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
48641         CHECK_STRING.
48642         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
48643         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
48644         (__getcwd): Do not use CHECK_STRING.
48645         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48646         <bp-checks.h>.
48647         (__real_chown): Do not use CHECK_STRING.
48648         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
48649         <bp-checks.h>.
48650         (fchownat): Do not use CHECK_STRING.
48651         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
48652         CHECK_STRING.
48653         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48654         <bp-checks.h>.
48655         (__lchown): Do not use CHECK_STRING.
48656         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48657         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48658         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48659         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
48660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48661         include <bp-checks.h>.
48662         (truncate64): Do not use CHECK_STRING.
48663         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48664         <bp-checks.h>.
48665         (__real_chown): Do not use CHECK_STRING.
48666         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48667         <bp-checks.h>.
48668         (__lchown): Do not use CHECK_STRING.
48669         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48670         <bp-checks.h>.
48671         (__chown): Do not use CHECK_STRING.
48672         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
48673         <bp-checks.h>.
48674         (truncate64): Do not use CHECK_STRING.
48675         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
48676         Likewise.
48677         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
48678         (__xmknod): Do not use CHECK_STRING.
48679         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
48680         <bp-checks.h>.
48681         (__xmknodat): Do not use CHECK_STRING.
48682         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48683         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
48685 2013-02-04  Andreas Schwab  <schwab@suse.de>
48687         [BZ #14142]
48688         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
48689         * include/netdb.h: Likewise for h_errno.
48690         * elf/tst-stackguard1.c: Include <tls.h>.
48692 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
48694         * elf/link.h (struct link_map): Extend the l_addr comment.
48695         * include/link.h (struct link_map): Likewise.
48697 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
48699         [BZ #13550]
48700         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
48701         (BOUNDED_1): Remove macro.
48702         * debug/backtrace.c: Don't include <bp-checks.h>.
48703         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
48704         (__backtrace): Likewise.
48705         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
48706         <bp-checks.h>.
48707         (__backtrace): Don't use BOUNDED_1.
48708         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
48709         <bp-checks.h>.
48710         (__backtrace): Don't use BOUNDED_1.
48711         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
48712         (__backtrace): Don't use BOUNDED_1.
48713         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
48714         (shmat): Don't use BOUNDED_N.
48716 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
48718         [BZ #13550]
48719         * sysdeps/generic/bp-start.h: Remove file.
48720         * csu/libc-start.c: Don't include <bp-start.h>.
48721         (LIBC_START_MAIN): Set up __environ directly instead of using
48722         INIT_ARGV_and_ENVIRON.
48723         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
48724         <bp-start.h>.
48726         [BZ #13550]
48727         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
48728         definitions.
48729         (CHECK_FCNTL): Likewise.
48730         (CHECK_N_PAGES): Likewise.
48732         [BZ #13550]
48733         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
48734         definitions.
48735         (CHECK_SIGSET_NULL_OK): Likewise.
48736         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
48737         <bp-checks.h>.
48738         (sigpending): Don't use CHECK_SIGSET.
48739         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
48740         <bp-checks.h>.
48741         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48742         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
48743         <bp-checks.h>.
48744         (do_sigsuspend): Don't use CHECK_SIGSET.
48745         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
48746         use CHECK_SIGSET.
48747         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
48748         (do_sigwait): Don't use CHECK_SIGSET.
48749         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
48750         use CHECK_SIGSET.
48751         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
48752         include <bp-checks.h>.
48753         (sigpending): Don't use CHECK_SIGSET.
48754         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
48755         include <bp-checks.h>.
48756         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48757         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
48758         <bp-checks.h>.
48759         (sigpending): Don't use CHECK_SIGSET.
48760         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
48761         <bp-checks.h>.
48762         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48764         [BZ #13550]
48765         * sysdeps/generic/bp-semctl.h: Remove file.
48766         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
48767         <bp-checks.h> and <bp-semctl.h>.
48768         (__old_semctl): Don't use CHECK_SEMCTL.
48769         (__new_semctl): Likewise.
48770         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
48771         and <bp-semctl.h>.
48772         (__old_semctl): Don't use CHECK_SEMCTL.
48773         (__new_semctl): Likewise.
48774         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
48775         <bp-checks.h> and <bp-semctl.h>.
48776         (__old_semctl): Don't use CHECK_SEMCTL.
48777         (__new_semctl): Likewise.
48778         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
48779         <bp-checks.h> and <bp-semctl.h>.
48780         (semctl): Don't use CHECK_SEMCTL.
48782         [BZ #13550]
48783         * Makerules (elide-bp-thunks): Remove variable.
48784         (elide-routines.oS): Don't use $(elide-bp-thunks).
48785         (elide-routines.os): Likewise.
48786         (elide-routines.o): Likewise.
48787         (elide-routines.op): Likewise.
48788         (elide-routines.og): Likewise.
48789         (objects): Don't use $(bp-thunks).
48790         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
48791         include.
48792         (common-generated): Do not add s-proto-bp.d.
48793         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
48794         (int): Likewise.
48795         (typ): Likewise.
48796         Do not generate makefile rules for bounded-pointer thunks.
48797         * sysdeps/generic/bp-thunks.h: Remove file.
48798         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
48799         * sysdeps/unix/s-proto-bp.S: Likewise.
48801         [BZ #15062]
48802         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
48803         parts of result separately when argument is not close to line from
48804         -i to i and one part of argument is small.
48805         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48806         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48807         * math/libm-test.inc (cacos_test): Add more tests.
48808         (casin_test): Likewise.
48809         (casinh_test): Likewise.
48810         * sysdeps/i386/fpu/libm-test-ulps: Update.
48811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48813 2013-01-31  David S. Miller  <davem@davemloft.net>
48815         * po/de.po: Update from translation team.
48817 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
48819         * time/tzfile.c: Include stdint.h for SIZE_MAX.
48821 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
48823         * configure.in (_AC_PROG_CC_C89): New definition.
48824         * configure: Regenerate.
48826         * configure.in (AC_PROG_CPP): New definition.
48827         * configure: Regenerate.
48829 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
48831         * debug/tst-backtrace.h: New file.
48832         * debug/tst-backtrace2.c: Include tst-backtrace.h.
48833         (ret): Remove variable.
48834         (x): Likewise.
48835         (FAIL): Remove macro.
48836         (NO_INLINE): Likewise.
48837         (fn1): Use match function instead of strstr.
48838         * debug/tst-backtrace3.c: Include tst-backtrace.h.
48839         (ret): Remove variable.
48840         (x): Likewise.
48841         (FAIL): Remove macro.
48842         (NO_INLINE): Likewise.
48843         (fn): Use match function instead of strstr.
48844         * debug/tst-backtrace4.c: Include tst-backtrace.h.
48845         (ret): Remove variable.
48846         (x): Likewise.
48847         (FAIL): Remove macro.
48848         (NO_INLINE): Likewise.
48849         (handle_signal): Use match function instead of strstr.
48850         * debug/tst-backtrace5.c: Include tst-backtrace.h.
48851         (ret): Remove variable.
48852         (x): Likewise.
48853         (FAIL): Remove macro.
48854         (NO_INLINE): Likewise.
48855         (handle_signal): Use match function instead of strstr.
48857 2013-01-23  Roland McGrath  <roland@hack.frob.com>
48859         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
48861 2013-01-23  David S. Miller  <davem@davemloft.net>
48863         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
48864         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
48865         argument of CAS if possible.
48866         * sysdeps/sparc/sparc64/bits/atomic.h
48867         (__arch_compare_and_exchange_val_32_acq): Likewise.
48868         (__arch_compare_and_exchange_val_64_acq): Likewise.
48870 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
48872         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
48873         * sysdeps/posix/ulimit.c: ... this.
48874         Include <limits.h>.
48875         * sysdeps/unix/bsd/ulimit.c: Remove file.
48877 2013-01-23  Adam Conrad  <adconrad@0c3.net>
48879         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
48880         (LDFLAGS-tst-array5): Likewise.
48882 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
48884         [BZ #15036]
48885         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
48886         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
48887         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
48888         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
48890 2013-01-21  David S. Miller  <davem@davemloft.net>
48892         * sysdeps/sparc/backtrace.c: New file.
48893         * sysdeps/sparc/sparc32/backtrace.h: New file.
48894         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
48895         * sysdeps/sparc/sparc64/backtrace.h: New file.
48896         * sysdeps/sparc/sparc64/backtrace.c: Delete.
48897         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
48898         -funwind-tables.
48900 2013-01-21  Andreas Schwab  <schwab@suse.de>
48902         [BZ #15020]
48903         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
48904         closed its stdout.
48906 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
48908         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
48909         "mpa2.h".
48910         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48912 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
48913             Mark Mitchell  <mark@codesourcery.com>
48914             Tom de Vries  <tom@codesourcery.com>
48915             Paul Pluzhnikov  <ppluzhnikov@google.com>
48917         * debug/tst-backtrace2.c: New file.
48918         * debug/tst-backtrace3.c: Likewise.
48919         * debug/tst-backtrace4.c: Likewise.
48920         * debug/tst-backtrace5.c: Likewise.
48921         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
48922         (CFLAGS-tst-backtrace3.c): Likewise.
48923         (CFLAGS-tst-backtrace4.c): Likewise.
48924         (CFLAGS-tst-backtrace5.c): Likewise.
48925         (LDFLAGS-tst-backtrace2): Likewise.
48926         (LDFLAGS-tst-backtrace3): Likewise.
48927         (LDFLAGS-tst-backtrace4): Likewise.
48928         (LDFLAGS-tst-backtrace5): Likewise.
48929         (tests): Add new tests tst-backtrace2, tst-backtrace3,
48930         tst-backtrace4 and tst-backtrace5.
48932 2013-01-18  Anton Blanchard  <anton@samba.org>
48933             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48935         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
48936         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
48937         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
48938         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
48939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48940         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
48941         "+r" and remove output regs list as redundant.  Add explicit inline
48942         asm to specify register of return val to work around compiler codegen
48943         bug.  Remove (int) cast on return value.  Add return type parameter to
48944         use in macro so that this macro does not truncate return value for
48945         64-bit values.
48946         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
48947         pass to INTERNAL_VSYSCALL_NCS.
48948         (INLINE_VSYSCALL): Add 'long int' as return type to
48949         INTERNAL_VSYSCALL_NCS macro invocation.
48950         (INTERNAL_VSYSCALL): Add 'long int' as return type to
48951         INTERNAL_VSYSCALL_NCS macro invocation.
48952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48954 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48956         [BZ #14496]
48957         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
48958         Fix application of SIMD FP exception mask.
48960         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
48961         mp_no from a power of two.
48962         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
48963         __mpexp_twomm1.  Use __pow_mp.
48965         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
48966         multiplication.
48968 2013-01-17  David S. Miller  <davem@davemloft.net>
48970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48972 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
48974         [BZ #15023]
48975         * include/complex.h: Condition contents on [!_COMPLEX_H].
48976         (__kernel_casinhf): New prototype.
48977         (__kernel_casinh): Likewise.
48978         (__kernel_casinhl): Likewise.
48979         * math/Makefile (libm_calls): Add k_casinh.
48980         * math/k_casinh.c: New file.
48981         * math/k_casinhf.c: Likewise.
48982         * math/k_casinhl.c: Likewise.
48983         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
48984         finite nonzero arguments.
48985         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
48986         finite nonzero arguments.
48987         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
48988         finite nonzero arguments.
48989         * math/s_casinh.c: Do not include <float.h>.
48990         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
48991         * math/s_casinhf.c: Do not include <float.h>.
48992         (__casinhf): Move code for finite nonzero arguments to
48993         k_casinhf.c.
48994         * math/s_casinhl.c: Do not include <float.h>.
48995         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
48996         redefine.
48997         (__casinhl): Move code for finite nonzero arguments to
48998         k_casinhl.c.
48999         * math/libm-test.inc (cacos_test): Add more tests.
49000         * sysdeps/i386/fpu/libm-test-ulps: Update.
49001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49003 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
49005         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
49006         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
49007         [!HAVE_MREMAP]: Remove [defined linux] case.
49008         * malloc/arena.c: Do not include <malloc-sysdep.h>.
49010 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49012         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
49014 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
49016         * elf/elf.h (R_386_SIZE32): New relocation.
49017         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
49018         R_386_SIZE32.
49019         (elf_machine_rela): Likewise.
49020         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
49021         R_X86_64_SIZE64 and R_X86_64_SIZE32.
49023 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
49025         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
49026         (FP_FAST_FMA): Do not define.
49027         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
49028         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
49029         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
49030         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
49031         !_SOFT_FLOAT]: Likewise.
49032         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
49033         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
49034         value.
49035         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
49036         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
49037         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
49038         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
49039         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
49040         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
49041         file.
49043 2013-01-16  Andreas Schwab  <schwab@suse.de>
49045         [BZ #14327]
49046         * include/stdlib.h (__mktemp): Add declaration.
49047         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
49048         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
49050 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49052         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
49053         definitions.
49054         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49055         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
49056         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
49057         definitions here.
49058         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
49059         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
49060         definitions.
49061         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
49062         and ONE.
49063         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
49064         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
49065         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
49066         definitions.
49067         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
49068         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
49069         definitions.
49070         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49072         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
49074 2013-01-15  David S. Miller  <davem@davemloft.net>
49076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49077         trunc{,f} to libm-sysdep_routes.
49078         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
49080         file.
49081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
49082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
49083         file.
49084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
49085         file.
49086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
49087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
49088         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
49089         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
49090         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
49091         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
49092         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
49093         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
49095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49096         nearbyint{,f} to libm-sysdep_routes.
49097         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
49099         New file.
49100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
49101         file.
49102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
49103         New file.
49104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
49105         file.
49106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
49107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
49108         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
49109         file.
49110         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
49111         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
49112         file.
49113         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
49114         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
49115         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
49117         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49118         libc_feholdexcept and libc_fesetenv.
49120 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
49122         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
49124 2013-01-14  David S. Miller  <davem@davemloft.net>
49126         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
49127         (SPARC_ASM_VIS2_IFUNC): Likewise.
49128         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
49129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
49130         use of 'siam' instruction.
49131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
49132         Likewise.
49133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
49134         Likewise.
49135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
49136         Likewise.
49137         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
49138         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
49139         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
49140         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
49141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
49142         file.
49143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
49144         file.
49145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
49146         file.
49147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
49148         file.
49149         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
49150         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
49151         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
49152         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
49153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
49154         new VIS2 routines.
49155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
49156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49158         Likewise.
49159         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49160         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49161         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49162         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
49164         routines to libm-sysdep_routines.
49165         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49168         fdim/fdimf to libm-sysdep_routines.
49169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
49170         file.
49171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
49172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
49173         file.
49174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
49175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
49176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
49177         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
49178         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
49179         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
49180         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
49182 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49184         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
49185         to optimize copies.
49187         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
49188         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49189         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49191         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
49192         local variable MPTWO.
49193         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49194         Likewise.
49196 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49198         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
49199         GLOB_NOESCAPE.
49201 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49203         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
49205 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49207         * manual/pattern.texi (glob_t): Document gl_flags.
49208         (glob64_t): Likewise.
49210 2013-01-11  David S. Miller  <davem@davemloft.net>
49212         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
49213         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
49214         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
49215         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
49216         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
49217         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
49218         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
49219         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
49220         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
49221         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
49222         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
49223         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
49224         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
49226         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49227         sparc V9 rather than using V8 code.
49228         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49229         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49231         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49232         Move to...
49233         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
49234         Here.
49236 2013-01-11  Roland McGrath  <roland@hack.frob.com>
49238         [BZ #14941]
49239         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
49240         not in the main loop.
49241         * configure: Regenerated.
49243 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
49245         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
49246         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
49247         to just #else.
49248         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
49249         [!__GLIBC_HAVE_LONG_LONG] case.
49250         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
49251         condition to just #else.
49252         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
49253         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
49254         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
49255         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
49256         unconditional.
49257         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
49258         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49259         #elif condition to just #else.
49260         * sysdeps/unix/sysv/linux/sys/sysmacros.h
49261         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
49262         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49263         #elif condition to just #else.
49265 2013-01-11  Steve Ellcey  <sellcey@mips.com>
49267         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
49268         (EF_MIPS_ARCH_64): Fix value.
49269         (EF_MIPS_ARCH_32R2): New.
49270         (EF_MIPS_ARCH_64R2): New.
49272 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
49274         * Makeconfig (+link-pie-before-libc): New.
49275         (+link-pie-after-libc): Likewise.
49276         (+link-pie-tests): Likewise.
49277         (+link-pie): Rewritten.
49278         (link-before-libc): Remove $(config-LDFLAGS).
49279         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
49280         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
49281         (config-LDFLAGS): Renamed to ...
49282         (rtld-LDFLAGS): This.
49283         (rtld-tests-LDFLAGS): New macro.
49284         (link-libc-rpath-link): Likewise.
49285         (link-libc-tests-rpath-link): Likewise.
49286         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
49287         (link-libc): Prepand $(link-libc-rpath-link).
49288         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
49289         (test-program-prefix): New macro.
49290         (test-via-rtld-prefix): Likewise.
49291         (test-program-cmd): Likewise.
49292         (host-test-program-cmd): Likewise.
49293         * Makefile ($(common-objpfx)testrun.sh): Replace
49294         $(run-program-prefix) with $(test-program-prefix).
49295         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
49296         $(rtld-LDFLAGS).
49297         ($(common-objpfx)shlib.lds): Likewise.
49298         (build-module-helper): Likewise.
49299         ($(common-objpfx)format.lds): Likewise.
49300         * Rules (binaries-pie-tests): New.
49301         (binaries-pie-notests): Likewise.
49302         (binaries-pie): Rewritten.
49303         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
49304         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
49305         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
49306         (make-test-out): Replace $(host-built-program-cmd) with
49307         $(host-test-program-cmd).
49308         * config.make.in (build-hardcoded-path-in-tests): New variable.
49309         * configure.in (--enable-hardcoded-path-in-tests): New configure
49310         option.
49311         (hardcoded_path_in_tests): New AC_SUBST.
49312         * configure: Regenerated.
49313         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
49314         $(built-program-cmd) with $(test-program-cmd).
49315         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
49316         (test_program_cmd): This.
49317         * elf/Makefile ($(objpfx)order.out): Run test with
49318         $(test-program-prefix).
49319         ($(objpfx)order2.out): Likewise.
49320         ($(objpfx)tst-initorder.out): Likewise.
49321         ($(objpfx)tst-initorder2.out): Likewise.
49322         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
49323         $(test-program-cmd).
49324         ($(objpfx)tst-array1-static.out): Likewise.
49325         ($(objpfx)tst-array2.out): Likewise.
49326         ($(objpfx)tst-array3.out): Likewise.
49327         ($(objpfx)tst-array4.out): Likewise.
49328         ($(objpfx)tst-array5.out): Likewise.
49329         ($(objpfx)tst-array5-static.out): Likewise.
49330         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
49331         $(test-program-cmd).
49332         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
49333         $(run-program-prefix) with $(test-program-prefix).
49334         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
49335         (test_program_prefix): This.
49336         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
49337         $(run-program-prefix) with $(test-program-prefix).
49338         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
49339         (test_program_prefix): This.
49340         * iconvdata/tst-tables.sh: Likewise.
49341         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
49342         $(run-program-prefix) with $(test-program-prefix).
49343         ($(objpfx)tst-translit.out): Likewise.
49344         ($(objpfx)tst-gettext2.out): Likewise.
49345         ($(objpfx)tst-gettext4.out): Likewise.
49346         ($(objpfx)tst-gettext6.out): Likewise.
49347         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
49348         (test_program_prefix): This.
49349         * intl/tst-gettext2.sh: Likewise.
49350         * intl/tst-gettext4.sh  Likewise.
49351         * intl/tst-gettext6.sh: Likewise.
49352         * intl/tst-translit.sh: Likewise.
49353         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
49354         with $(test-program-cmd).
49355         * libio/Makefile ($(objpfx)test-freopen.out): Replace
49356         $(run-program-prefix) with $(test-program-prefix).
49357         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
49358         (test_program_prefix): This.
49359         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
49360         $(run-program-prefix) with $(test-program-prefix).
49361         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
49362         (test_program_prefix): This.
49363         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
49364         * posix/Makefile ($(objpfx)globtest.out): Replace
49365         $(run-via-rtld-prefix) and $(test-wrapper) with
49366         $(test-program-prefix) and $(test-via-rtld-prefix).
49367         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
49368         $(test-program-prefix).
49369         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
49370         $(host-test-program-cmd).
49371         (tst-spawn-ARGS): Likewise.
49372         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
49373         $(test-program-prefix).
49374         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
49375         (test_via_rtld_prefix): This.
49376         (test_wrapper): Renamed to ...
49377         (test_program_prefix): This.
49378         (run_program_prefix): Replaced by test_program_prefix.
49379         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
49380         (test_program_prefix): This.
49381         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
49382         with $(host-test-program-cmd).
49383         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
49384         $(run-program-prefix) with $(test-program-prefix).
49385         ($(objpfx)tst-printf.out): Likewise.
49386         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
49387         $(test-program-cmd).
49388         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
49389         (test_program_prefix): This.
49390         * stdio-common/tst-unbputc.sh: Likewise.
49391         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
49392         $(run-program-prefix) with $(test-program-prefix).
49393         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
49394         (test_program_prefix): This.
49395         * string/Makefile ($(objpfx)tst-svc.out):  Replace
49396         $(built-program-cmd) with $(test-program-cmd).
49398 2013-01-11  Andreas Jaeger  <aj@suse.de>
49400         [BZ #15003]
49401         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
49402         value. Sync with Linux 3.7.
49404 2013-01-10  David S. Miller  <davem@davemloft.net>
49406         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
49407         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49408         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49410 2013-01-10  Roland McGrath  <roland@hack.frob.com>
49412         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
49413         never set.
49414         * configure: Regenerated.
49416 2013-01-10  David S. Miller  <davem@davemloft.net>
49418         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49419         sparc V9 rather than using V8 code.
49420         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49421         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49423 2013-01-10  Roland McGrath  <roland@hack.frob.com>
49425         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
49426         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
49427         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
49428         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
49429         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
49430         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
49431         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
49432         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
49433         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
49434         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
49435         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
49436         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
49437         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
49438         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
49439         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
49440         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
49441         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
49442         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
49443         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
49444         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
49445         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
49446         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
49447         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
49448         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
49449         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
49450         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
49451         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
49453 2013-01-10  David S. Miller  <davem@davemloft.net>
49455         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49457 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
49459         * posix/Makefile (tests-static): New variable.
49460         (tests): Add $(tests-static).
49461         (tst-exec-static-ARGS): New variable.
49462         (tst-spawn-static-ARGS): Likewise.
49463         * posix/tst-exec-static.c: New file.
49464         * posix/tst-spawn-static.c: Likewise.
49465         * posix/tst-exec.c: Support run directly.
49466         * posix/tst-spawn.c: Likewise.
49468 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
49470         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
49471         long.
49472         * math/bits/mathcalls.h (llrint): Likewise.
49473         (llround): Likewise.
49474         * stdlib/stdlib.h (struct drand48_data): Likewise.
49475         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
49476         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
49477         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
49478         Likewise.
49479         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
49480         Likewise.
49481         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
49482         (elf_greg_t): Likewise.
49483         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
49484         (__jmp_buf): Likewise.
49485         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
49486         definitions.
49487         (llrint): Likewise, for all definitions.
49488         (llrintl): Likewise.
49490         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
49491         Remove [__GNUC__] condition.
49492         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
49493         condition to just [__USE_ISOC99].
49494         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
49496 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
49498         [BZ #14200]
49499         * sysdeps/unix/sysv/linux/x86/bits/environments.h
49500         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
49501         defined.
49502         (_POSIX_V6_ILP32_OFF32): Likewise.
49503         (_XBS5_ILP32_OFF32): Likewise.
49504         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
49505         (__ILP32_OFFBIG_LDFLAGS): Likewise.
49507 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49509         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
49511         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
49512         doubles __mpexp_twomm1.  Adjust usage.
49513         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
49514         Remove.
49516 2013-01-10  Andreas Schwab  <schwab@suse.de>
49518         [BZ #14964]
49519         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
49520         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
49522 2013-01-09  David S. Miller  <davem@davemloft.net>
49524         [BZ #15003]
49525         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
49526         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
49527         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
49528         (TCP_FASTOPEN): Define.
49529         (tcp_repair_opt): New structure.
49530         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
49531         enum values.
49532         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
49533         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
49534         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
49535         (tcp_cookie_transactions): New structure.
49537 2013-01-09  Anton Blanchard  <anton@samba.org>
49539         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
49540         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
49541         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
49542         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
49544 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
49546         * include/features.h (__USE_ANSI): Remove.
49548 2013-01-09  Roland McGrath  <roland@hack.frob.com>
49550         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
49552         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
49554 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
49556         * sysdeps/s390/fpu/libm-test-ulps: Update.
49558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49560         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
49561         (__acr): Likewise.
49562         (__cpy): Likewise.
49563         (norm): Likewise.
49564         (denorm): Likewise.
49565         (__mp_dbl): Likewise.
49566         (__dbl_mp): Likewise.
49567         (add_magnitudes): Likewise.
49568         (sub_magnitudes): Likewise.
49569         (__add): Likewise.
49570         (__sub): Likewise.
49571         (__mul): Likewise.
49572         (__inv): Likewise.
49573         (__dvd): Likewise.
49574         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
49575         (__acr): Likewise.
49576         (__cpy): Likewise.
49577         (norm): Likewise.
49578         (denorm): Likewise.
49579         (__mp_dbl): Likewise.
49580         (__dbl_mp): Likewise.
49581         (add_magnitudes): Likewise.
49582         (sub_magnitudes): Likewise.
49583         (__add): Likewise.
49584         (__sub): Likewise.
49585         (__mul): Likewise.
49586         (__inv): Likewise.
49587         (__dvd): Likewise.
49588         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
49589         (__acr): Likewise.
49590         (__cpy): Likewise.
49591         (norm): Likewise.
49592         (denorm): Likewise.
49593         (__mp_dbl): Likewise.
49594         (__dbl_mp): Likewise.
49595         (add_magnitudes): Likewise.
49596         (sub_magnitudes): Likewise.
49597         (__add): Likewise.
49598         (__sub): Likewise.
49599         (__mul): Likewise.
49600         (__inv): Likewise.
49601         (__dvd): Likewise.
49603 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
49605         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
49606         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
49607         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
49608         2 && __USE_EXTERN_INLINES]: Likewise.
49610 2013-01-08  Andreas Jaeger  <aj@suse.de>
49612         [BZ# 14985]
49613         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
49614         Remove.
49615         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49616         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49618 2013-01-07  Anton Blanchard  <anton@samba.org>
49620         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
49621         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49622         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
49623         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49624         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49625         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49626         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
49627         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49628         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49629         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49630         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49631         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49632         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49633         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49634         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49635         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49636         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49637         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49638         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49639         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49640         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49641         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
49642         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49643         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49644         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
49645         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49646         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49647         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49648         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
49649         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49650         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49651         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49652         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49653         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49654         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49655         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49656         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49657         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
49658         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
49659         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
49660         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
49661         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49662         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49664 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
49666         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
49667         (__MALLOC_PMT): Likewise.
49668         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
49669         [__GNUC__], only on [_LIBC].
49670         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49671         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
49672         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49673         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
49674         forward declaration.
49675         (realloc_hook_ini): Likewise.
49676         (memalign_hook_ini): Likewise.
49677         (__libc_memalign): Do not use __MALLOC_PMT in variable
49678         declaration.
49679         (__libc_valloc): Likewise.
49680         (__libc_pvalloc): Likewise.
49681         (__libc_calloc): Likewise.
49682         (__posix_memalign): Likewise.
49684         [BZ #14996]
49685         * math/s_casinh.c: Include <float.h>.
49686         (__casinh): Do not do computation with squaring and square root
49687         for large arguments.
49688         * math/s_casinhf.c: Include <float.h>.
49689         (__casinhf): Do not do computation with squaring and square root
49690         for large arguments.
49691         * math/s_casinhl.c: Include <float.h>.
49692         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
49693         (__casinhl): Do not do computation with squaring and square root
49694         for large arguments.
49695         * math/libm-test.inc (casin_test): Add more tests.
49696         (casinh_test): Likewise.
49697         * sysdeps/i386/fpu/libm-test-ulps: Update.
49698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49700 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
49702         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
49703         (__x86_64_raw_data_cache_size): Likewise.
49704         (__x86_64_data_cache_size_half): Likewise.
49705         (__x86_64_raw_data_cache_size_half): Likewise.
49706         (__x86_64_shared_cache_size): Likewise.
49707         (__x86_64_raw_shared_cache_size): Likewise.
49708         (__x86_64_shared_cache_size_half): Likewise.
49709         (__x86_64_raw_shared_cache_size_half): Likewise.
49710         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
49711         to ...
49712         (__x86_data_cache_size): This.
49713         (__x86_64_raw_data_cache_size): Renamed to ...
49714         (__x86_raw_data_cache_size): This.
49715         (__x86_64_data_cache_size_half): Renamed to ...
49716         (__x86_data_cache_size_half): This.
49717         (__x86_64_raw_data_cache_size_half): Renamed to ...
49718         (__x86_raw_data_cache_size_half): This.
49719         (__x86_64_shared_cache_size): Renamed to ...
49720         (__x86_shared_cache_size): This.
49721         (__x86_64_raw_shared_cache_size): Renamed to ...
49722         (__x86_raw_shared_cache_size): This.
49723         (__x86_64_shared_cache_size_half): Renamed to ...
49724         (__x86_shared_cache_size_half): This.
49725         (__x86_64_raw_shared_cache_size_half): Renamed to ...
49726         (__x86_raw_shared_cache_size_half): This.
49727         * sysdeps/x86_64/memcpy.S: Updated.
49728         * sysdeps/x86_64/memset.S: Likewise.
49729         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49730         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49731         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49733 2013-01-04  David S. Miller  <davem@davemloft.net>
49735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49737 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
49739         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
49740         1 to avoid redefinition warning.
49741         (__USE_GNU): Don't define.
49742         (init_signaling_nan): Protoize.
49744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49746 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49748         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
49749         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
49750         (__cpymn): Likewise.
49751         (norm): Remove commented code.
49752         (denorm): Likewise.
49753         (__mp_dbl): Likewise.
49754         (__inv): Likewise.
49755         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
49756         (__cpymn): Likewise.
49757         (norm): Remove commented code.
49758         (denorm): Likewise.
49759         (__mp_dbl): Likewise.
49760         (__inv): Likewise.
49762         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
49763         mp_no value for 1.0 and 2.0.
49764         (norm): Use RADIXI instead of radixi.d.
49765         (denorm): Likewise.
49766         (__mul): Use 0.0 instead of zero.d.
49767         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
49768         mp_no value for 1.0 and 2.0.
49769         (norm): Use RADIXI instead of radixi.d.
49770         (denorm): Likewise.
49771         (__mul): Use 0.0 instead of zero.d.
49773 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
49775         [BZ #14994]
49776         * math/s_casinh.c (__casinh): Reduce finite argument to first
49777         quadrant then set signs of results at the end.
49778         * math/s_casinhf.c (__casinhf): Likewise.
49779         * math/s_casinhl.c (__casinhl): Likewise.
49780         * math/libm-test.inc (casin_test): Add more tests.
49781         (casinh_test): Likewise.
49782         * sysdeps/i386/fpu/libm-test-ulps: Update.
49783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49785 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49787         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
49789         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
49791         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
49792         declarations.
49793         (denorm): Likewise.
49794         (__mp_dbl): Likewise.
49795         (__inv): Likewise.
49797         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
49798         and adjust the header comment.
49800         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
49801         variable name from declaration.
49803 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
49805         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49806         Initialize COMMON_CPUID_INDEX_7 element.
49807         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
49808         (CPUID_RTM): Likewise.
49809         (HAS_RTM): Likewise.
49810         (COMMON_CPUID_INDEX_7): New enum.
49812 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
49814         [BZ #14981]
49815         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
49816         size is zero, record memory as freed.
49818 2013-01-03  Andreas Jaeger  <aj@suse.de>
49820         * po/ia.po: Add new Interlingua translation.
49822 2012-01-03  Allan McRae  <allan@archlinux.org>
49824         * locale/programs/localedef.c: Fix description of '--posix' flag.
49826 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
49828         * NEWS: Update dates in second copyright notice.
49829         * README: Update copyright dates in example.
49830         * manual/libc.texinfo: Update copyright dates.
49831         * scripts/test-installation.pl: Update copyright date in --version
49832         output.
49834         * hurd/ctty-input.c: Fix copyright notice formatting.
49835         * hurd/ctty-output.c: Likewise.
49836         * hurd/dtable.c: Likewise.
49837         * hurd/hurd-raise.c: Likewise.
49838         * hurd/hurdprio.c: Likewise.
49839         * hurd/msgportdemux.c: Likewise.
49840         * misc/sys/file.h: Likewise.
49841         * misc/sys/ioctl.h: Likewise.
49842         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49843         * sysdeps/mach/hurd/chdir.c: Likewise.
49844         * sysdeps/mach/hurd/fchdir.c: Likewise.
49845         * sysdeps/mach/hurd/rename.c: Likewise.
49846         * sysdeps/mach/hurd/rmdir.c: Likewise.
49847         * sysdeps/mach/hurd/seekdir.c: Likewise.
49848         * sysdeps/mach/hurd/setsid.c: Likewise.
49849         * sysdeps/posix/wait3.c: Likewise.
49851         * All files with FSF copyright notices: Update copyright dates
49852         using scripts/update-copyrights.
49853         * intl/plural.c: Regenerated.
49854         * locale/programs/charmap-kw.h: Likewise.
49855         * locale/programs/locfile-kw.h: Likewise.
49857 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49859         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
49860         four values.
49862         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
49863         calculation loop and add branch prediction.
49865         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
49866         check access beyond bounds of m1np.
49868         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49869         MPTWO.
49870         (__inv): Remove local variable MPTWO to use the global
49871         constant.
49872         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
49873         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49874         variable MPTWO.
49875         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
49876         MP3HALFS static const.
49878 2013-01-01  David S. Miller  <davem@davemloft.net>
49880         * po/ca.po: Update from translation team.
49882 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
49884         * scripts/update-copyrights: New file.
49885         * Makeconfig: Reformat copyright notice.
49886         * ctype/ctype.h: Likewise.
49887         * debug/swprintf_chk.c: Likewise.
49888         * elf/dl-cache.c: Likewise.
49889         * elf/dl-debug.c: Likewise.
49890         * elf/dl-object.c: Likewise.
49891         * grp/initgroups.c: Likewise.
49892         * hurd/Makefile: Likewise.
49893         * hurd/hurd/signal.h: Likewise.
49894         * hurd/hurdfault.c: Likewise.
49895         * hurd/hurdioctl.c: Likewise.
49896         * hurd/hurdlookup.c: Likewise.
49897         * hurd/intr-msg.c: Likewise.
49898         * iconv/gconv_open.c: Likewise.
49899         * libio/swprintf.c: Likewise.
49900         * locale/lc-ctype.c: Likewise.
49901         * locale/nl_langinfo.c: Likewise.
49902         * mach/Machrules: Likewise.
49903         * mach/Makefile: Likewise.
49904         * malloc/obstack.h: Likewise.
49905         * manual/Makefile: Likewise.
49906         * manual/tsort.awk: Likewise.
49907         * misc/bits/stab.def: Likewise.
49908         * nis/nis_print_group_entry.c: Likewise.
49909         * nis/nis_table.c: Likewise.
49910         * nis/nss_compat/compat-pwd.c: Likewise.
49911         * nis/nss_compat/compat-spwd.c: Likewise.
49912         * po/Makefile: Likewise.
49913         * posix/fnmatch.c: Likewise.
49914         * posix/regex.h: Likewise.
49915         * resolv/Makefile: Likewise.
49916         * resolv/nss_dns/dns-network.c: Likewise.
49917         * resolv/res_hconf.c: Likewise.
49918         * scripts/gen-sorted.awk: Likewise.
49919         * soft-fp/soft-fp.h: Likewise.
49920         * stdio-common/printf.h: Likewise.
49921         * stdlib/monetary.h: Likewise.
49922         * stdlib/random.c: Likewise.
49923         * stdlib/random_r.c: Likewise.
49924         * sysdeps/generic/Makefile: Likewise.
49925         * sysdeps/gnu/Makefile: Likewise.
49926         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49927         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49928         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49929         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49930         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49931         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49932         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49933         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49934         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49935         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49936         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49937         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49938         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49939         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49940         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
49941         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49942         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49943         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49944         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49945         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49946         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49947         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49948         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49949         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49950         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
49951         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49952         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
49953         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
49954         * sysdeps/mach/hurd/errnos.awk: Likewise.
49955         * sysdeps/mach/hurd/fork.c: Likewise.
49956         * sysdeps/mach/hurd/getcwd.c: Likewise.
49957         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
49958         * sysdeps/mach/hurd/mmap.c: Likewise.
49959         * sysdeps/mach/hurd/utimes.c: Likewise.
49960         * sysdeps/mach/hurd/xmknod.c: Likewise.
49961         * sysdeps/posix/profil.c: Likewise.
49962         * sysdeps/posix/readdir_r.c: Likewise.
49963         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49964         * sysdeps/powerpc/bits/setjmp.h: Likewise.
49965         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
49966         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49967         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49968         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49969         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49970         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49971         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49972         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49973         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49974         * sysdeps/pthread/lio_listio.c: Likewise.
49975         * sysdeps/sparc/dl-procinfo.h: Likewise.
49976         * sysdeps/unix/i386/sysdep.S: Likewise.
49977         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
49978         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
49979         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
49980         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
49981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49982         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
49983         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
49984         * sysdeps/unix/sysv/linux/speed.c: Likewise.
49985         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
49986         * sysdeps/wordsize-32/divdi3.c: Likewise.
49987         * time/sys/time.h: Likewise.
49988         * wcsmbs/Makefile: Likewise.
49990 2013-01-01  David S. Miller  <davem@davemloft.net>
49992         * po/fr.po: Update from translation team.
49994         * catgets/gencat.c: Update copyright year.
49995         * csu/version.c: Likewise.
49996         * debug/catchsegv.sh: Likewise.
49997         * debug/pcprofiledump.c: Likewise.
49998         * debug/xtrace.sh: Likewise.
49999         * elf/ldconfig.c: Likewise.
50000         * elf/ldd.bash.in: Likewise.
50001         * elf/pldd.c: Likewise.
50002         * elf/sotruss.ksh: Likewise.
50003         * elf/sprof.c: Likewise.
50004         * iconv/iconv_prog.c: Likewise.
50005         * iconv/iconvconfig.c: Likewise.
50006         * locale/programs/locale.c: Likewise.
50007         * locale/programs/localedef.c: Likewise.
50008         * login/programs/pt_chown.c: Likewise.
50009         * malloc/memusage.sh: Likewise.
50010         * malloc/memusagestat.c: Likewise.
50011         * malloc/mtrace.pl: Likewise.
50012         * nscd/nscd.c: Likewise.
50013         * nss/getent.c: Likewise.
50014         * nss/makedb.c: Likewise.
50015         * posix/getconf.c: Likewise.
50017 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
50019         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
50020         numbers.
50022 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
50024         * math/bits/mathcalls.h (modf): Use __nonnull.
50026 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50028         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
50029         (split): Use macro CN instead of the bare value.
50030         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
50031         could be used.
50032         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
50033         instead of the bare value.
50034         (power1): Likewise.
50036 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50038         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
50039         __ATAN_TWOM.
50040         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50042         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
50043         their values.
50044         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
50045         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
50046         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
50047         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
50049 2012-12-28  Andreas Jaeger  <aj@suse.de>
50051         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
50052         values are from Linux 3.7.
50054         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
50055         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
50057 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50059         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
50060         TRUE case.
50062         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
50063         (norm): Likewise.
50064         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
50065         variables with preprocessor constants.
50066         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50067         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50068         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50070 2012-12-27  Bruno Haible  <bruno@clisp.org>
50072         [BZ #14317]
50073         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
50074         only if needed.
50076 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50078         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
50079         and use variable directly.
50080         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
50082         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
50083         MPONE.
50084         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
50085         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
50086         variable MPONE.
50087         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50088         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50089         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
50090         include directive.  Remove local variable MPONE.
50091         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
50092         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
50093         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50095 2012-12-25  David S. Miller  <davem@davemloft.net>
50097         * version.h (RELEASE): Set to "development".
50098         (VERSION): Set to "2.17.90".
50099         * NEWS: Add 2.18 section.
50101 2012-12-21  David S. Miller  <davem@davemloft.net>
50103         * po/hr.po: Update from translation team.
50105 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50107         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
50109 2012-12-19  Steve Ellcey  <sellcey@mips.com>
50111         * NEWS:  Mention new memcpy for MIPS.
50113 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50115         * manual/contrib.texi (Contributors): Spelling correction.
50117 2012-12-15  David S. Miller  <davem@davemloft.net>
50119         * po/ru.po: Update from translation team.
50121 2012-12-13  David S. Miller  <davem@davemloft.net>
50123         * NEWS: Mention IFUNC testsuite enhancements.
50125         * po/pl.po: Update from translation team.
50126         * po/bg.po: Likewise.
50128         * manual/contrib.texi (Contributors): Update entries for Hongjiu
50129         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
50131 2012-12-11  David S. Miller  <davem@davemloft.net>
50133         * po/sv.po: Update from translation team.
50135         * po/vi.po: Update from translation team.
50137         * po/cs.po: Update from translation team.
50139         * po/de.po: Update from translation team.
50140         * po/eo.po: Likewise.
50141         * po/nl.po: Likewise.
50143 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50145         [BZ #14246]
50146         * manual/argp.texi (Argp Helper Functions): Move node to follow
50147         Argp Parsing State.
50149         [BZ #14872]
50150         * manual/conf.texi (Limits on File System Capacity): Mention if
50151         terminating null is included in the max size.
50153 2012-12-10  Andreas Jaeger  <aj@suse.de>
50155         * po/cs.po: Update from translation team.
50157 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50159         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
50160         void pointer and cast to uintptr_t.
50161         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
50162         path.
50163         * sysdeps/s390/s390-64/memcpy.S: Likewise.
50164         * sysdeps/s390/s390-64/memset.S: Likewise.
50166 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
50168         [BZ #14833]
50169         * menual/message.texi (Message Translation): Fix typos.
50170         (Helper programs for gettext): Likewise.
50172 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
50174         [BZ #14898]
50175         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
50176         Change to -1.
50178 2012-12-07  David S. Miller  <davem@davemloft.net>
50180         * po/libc.pot: Update.
50182 2012-12-07  Richard Henderson  <rth@redhat.com>
50184         [BZ #10114]
50185         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
50186         normal/normal case to before the switch.
50187         (_FP_DIV): Likewise.
50189 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
50190             Mike Frysinger  <vapier@gentoo.org>
50192         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
50193         check for __NR_fadvise64_64.
50195 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
50197         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
50198         0, not just to plain "0" as a statement.
50199         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
50200         with cw.
50202 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
50204         * NEWS: Use sourceware.org in Bugzilla URL.
50206 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
50209         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50211         * stdio-common/tst-put-error.c (do_test): Add newline to the
50212         padded test to ensure flush.
50214 2012-12-05  Jeff Law  <law@redhat.com>
50216         * sunrpc/etc.rpc (fedfs_admin): Add entry.
50218 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
50220         * README: Don't refer to ports add-on as distributed separately.
50221         Mention AArch64 in list of systems supported in the ports add-on.
50223         * LICENSES: Add more non-FSF copyright and license notices.
50225         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
50226         ((unused)).
50228         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
50230         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
50231         10000 as width of padded output.
50233 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
50235         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
50237         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
50238         variable LX with __attribute__ ((unused)).
50239         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
50240         Likewise.
50241         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
50242         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50243         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
50244         with __attribute__ ((unused)).
50246 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
50248         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
50250 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
50252         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
50253         (CFLAGS-nldbl-acos.c): New variable.
50254         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
50255         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
50256         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
50257         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
50258         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
50259         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
50260         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
50261         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
50262         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
50263         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
50264         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
50265         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
50266         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
50267         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
50268         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
50269         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
50270         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
50271         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
50272         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
50273         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
50274         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
50275         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
50276         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
50277         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
50278         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
50279         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
50280         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
50281         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
50282         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
50283         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
50284         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
50285         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
50286         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
50287         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
50288         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
50289         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
50290         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
50291         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
50292         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
50293         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
50294         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
50295         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
50296         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
50297         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
50298         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
50299         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
50300         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
50301         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
50302         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
50303         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
50304         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
50305         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
50306         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
50307         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
50308         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
50309         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
50310         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
50311         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
50312         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
50313         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
50314         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
50315         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
50316         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
50317         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
50318         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
50319         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
50320         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
50321         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
50322         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
50323         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
50324         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
50325         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
50326         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
50327         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
50328         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
50329         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
50330         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
50331         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
50332         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
50333         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
50334         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
50335         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
50336         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
50337         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
50338         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
50339         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
50340         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
50341         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
50342         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
50343         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
50344         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
50345         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
50346         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
50347         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
50348         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
50349         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
50350         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
50352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
50353         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50355         [BZ #14914]
50356         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
50357         whole low double instead of just low 47 bits when splitting values
50358         into two parts.
50360 2012-12-03  Allan McRae  <allan@archlinux.org>
50362         * manual/stdio.texi (Predefined Printf Handlers): Remove
50363         @hsep and @vsep usage.
50365 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
50367         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
50368         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
50370 2012-12-03  Jeff Law  <law@redhat.com>
50372         * time/sys/time.h (settimeofday): Do not mark TV argument
50373         as __nonnull.
50375 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
50377         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
50378         when currently writing and seek to current position when not.
50379         * libio/Makefile (tests): Remove bug-fclose1.
50380         * libio/bug-fclose1.c: Delete.
50382 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
50384         * manual/arith.texi (feenableexcept): Fix typo.
50385         (fedisableexcept): Likewise.
50387 2012-11-30  Roland McGrath  <roland@hack.frob.com>
50389         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
50390         second, differently-typed declaration, rather than a cast.
50392 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50394         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
50395         * include/rpc/svc.h: ... here.
50397 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
50399         [BZ #13013]
50400         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
50401         depending n and resplen2 to catch cases where answer
50402         equals answerp2.
50404 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
50406         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
50407         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
50409 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
50411         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
50413 2012-11-29  Roland McGrath  <roland@hack.frob.com>
50415         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
50417 2012-11-28  Jeff Law  <law@redhat.com>
50419         [BZ #13761]
50420         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
50421         dataset_temporary.  Track alloca usage into alloca_used.
50422         If dataset is large allocate and release it via malloc/free.
50424 2012-06-04  Florian Weimer  <fweimer@redhat.com>
50426         [BZ #14197]
50427         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
50429 2012-11-28  David S. Miller  <davem@davemloft.net>
50431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50433 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
50435         [BZ #14803]
50436         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
50437         of pi/2 rounded to nearest to 64 bits.
50438         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
50439         nearest to 64 bits.
50440         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
50441         bits.
50443 2012-11-28  Jeff Law <law@redhat.com>
50444             Martin Osvald <mosvald@redhat.com>
50446         [BZ #14889]
50447         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
50448         * sunrpc/svc.c: Include time.h.
50449         (__svc_accept_failed): New function.
50450         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
50451         any reason other than EINTR, call __svc_accept_failed.
50452         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
50453         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
50455 2012-11-28  Andreas Schwab  <schwab@suse.de>
50457         * scripts/abilist.awk: Also handle indirect functions in .opd
50458         section.
50460 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
50462         [BZ #13881]
50463         * sysdeps/x86/fpu/powl_helper.c: New file.
50464         * sysdeps/x86/fpu/Makefile: Likewise.
50465         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
50466         (p3): New object.
50467         (__ieee754_powl): Use __powl_helper for finite arguments except
50468         integer exponents below 8.
50469         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
50470         (p3): New object.
50471         (__ieee754_powl): Use __powl_helper for finite arguments except
50472         integer exponents below 8.
50473         * math/libm-test.inc (pow_test): Add more tests and enable some
50474         previously disabled tests.
50475         * sysdeps/i386/fpu/libm-test-ulps: Update.
50476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50478 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50479             Carlos O'Donell  <carlos_odonell@mentor.com>
50481         * nss/makedb.c (is_prime): Assert that input is odd and greater
50482         than 4.  Note that fact in a comment too.
50483         (next_prime): Add 4 to input.
50485 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50487         [BZ #11741]
50488         * libio/Makefile (tests): Add test case tst-fwrite-error.
50489         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
50490         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
50491         * libio/tst-fwrite-error.c: New test case.
50493 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
50495         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
50496         before casting to void *.
50497         * include/libc-internal.h (__pointer_type): New macro.
50498         (__integer_if_pointer_type_sub): Likewise.
50499         (__integer_if_pointer_type): Likewise.
50500         (cast_to_integer): Likewise.
50501         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
50502         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
50503         before casting to atomic64_t.
50504         (atomic_exchange_acq): Likewise.
50505         (__arch_exchange_and_add_body): Likewise.
50506         (__arch_add_body): Likewise.
50507         (atomic_add_negative): Likewise.
50508         (atomic_add_zero): Likewise.
50510 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
50512         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
50513         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
50514         (add_fdes): Likewise.
50515         (linear_search_fdes): Likewise.
50516         (binary_search_unencoded_fdes): Likewise.
50518 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
50520         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
50522 2012-11-24  Adam Conrad  <adconrad@0c3.net>
50524         * configure.in: Autodetect C++ header directories.
50525         * configure: Regenerated.
50527 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
50529         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
50531 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
50533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50535 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
50537         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
50538         LDBL_MANT_DIG == 106]: Disable some tests.
50539         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50540         Likewise.
50541         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50542         Likewise.
50544         [BZ #14871]
50545         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
50546         input for small inputs.  Return +/- pi/2 for large inputs.
50547         * math/libm-test.inc (atan_test): Add more tests.
50549         * sysdeps/generic/unwind-dw2-fde-glibc.c
50550         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
50551         __attribute__ ((unused)).
50553         [BZ #14645]
50554         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
50555         x * y if x and y are nonzero and z is zero.
50557         [BZ #14811]
50558         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
50559         nonzero exponents with absolute value below 0x1p-117 to +/-
50560         0x1p-117.
50562         [BZ #14869]
50563         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
50564         up arguments below 2**-450, not just those below 2**-500.
50565         * math/libm-test.inc (hypot_test): Add another test.
50567         [BZ #14868]
50568         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
50569         Return a+b for ratio over 2**120, not 2**60.
50570         * math/libm-test.inc (hypot_test): Add another test.
50572         * math/libm-test.inc (clog_test): Use
50573         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
50574         (clog10_test): Likewise.
50576         [BZ #6778]
50577         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
50579 2012-11-22  Andreas Schwab  <schwab@suse.de>
50581         * sysdeps/i386/fpu/libm-test-ulps: Update.
50583 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
50585         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
50586         printf output with newline.
50588 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
50590         [BZ #14865]
50591         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
50592         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
50593         -z nodlopen, -z initfirst and -z execstack support.
50594         * configure: Regenerated.
50596         * elf/elf.h (DF_1_NODIRECT): New macro.
50597         (DF_1_IGNMULDEF): Likewise.
50598         (DF_1_NOKSYMS): Likewise.
50599         (DF_1_NOHDR): Likewise.
50600         (DF_1_EDITED): Likewise.
50601         (DF_1_NORELOC): Likewise.
50602         (DF_1_SYMINTPOSE): Likewise.
50603         (DF_1_GLOBAUDIT): Likewise.
50604         (DF_1_SINGLETON): Likewise.
50605         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
50606         DT_1_SUPPORTED_MASK bits.
50607         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
50609 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
50611         * sysdeps/unix/make-syscalls.sh: Document prefixes.
50613 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
50615         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
50616         macro.
50618         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
50619         (sendmmsg): Move declarations...
50620         * socket/sys/socket.h: ... here.
50621         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
50622         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
50623         include it from...
50624         * socket/recvmmsg.c: ... this new file.
50625         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
50626         (sendmmsg): Rename to __sendmmsg, create weak alias and make
50627         definition of __sendmmsg hidden.
50628         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
50629         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
50630         Move ENOSYS stub into and include it from...
50631         * socket/sendmmsg.c: ... this new file.
50632         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
50633         (sysdep_routines): Move recvmmsg and sendmmsg...
50634         * socket/Makefile (routines): ... here.
50635         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
50636         (GLIBC_PRIVATE): Add __sendmmsg.
50637         * include/sys/socket.h (__sendmmsg): Add declarations.
50638         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
50639         sendmmsg.
50641 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
50643         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
50644         variable I1 with __attribute__ ((unused)).
50645         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50647 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
50649         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
50650         DUMMY variables with __attribute__ ((unused)).
50652         * bits/byteswap.h: Include <bits/types.h>.
50653         (__bswap_64): Use __uint64_t instead of unsigned long long int.
50655 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
50657         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
50658         string_t.  Do not manually set errno.
50659         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
50660         length with __strnlen.  Make sure to both set errno and return it on
50661         failure.
50663 2012-11-19  David S. Miller  <davem@davemloft.net>
50665         With help from Joseph Myers.
50666         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
50667         very large arguments properly.
50668         * math/libm-test.inc (atan_test): New tests.
50669         (atan2_test): New tests.
50670         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50671         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50673 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
50675         [BZ #14856]
50676         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
50677         Define to 3.
50679         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
50680         [POSIX] (EADDRNOTAVAIL): Likewise.
50681         [POSIX] (EAFNOSUPPORT): Likewise.
50682         [POSIX] (EALREADY): Likewise.
50683         [POSIX] (ECONNABORTED): Likewise.
50684         [POSIX] (ECONNREFUSED): Likewise.
50685         [POSIX] (ECONNRESET): Likewise.
50686         [POSIX] (EDESTADDRREQ): Likewise.
50687         [POSIX] (EDQUOT): Likewise.
50688         [POSIX] (EHOSTUNREACH): Likewise.
50689         [POSIX] (EIDRM): Likewise.
50690         [POSIX] (EISCONN): Likewise.
50691         [POSIX] (ELOOP): Likewise.
50692         [POSIX] (EMULTIHOP): Likewise.
50693         [POSIX] (ENETDOWN): Likewise.
50694         [POSIX] (ENETUNREACH): Likewise.
50695         [POSIX] (ENOBUFS): Likewise.
50696         [POSIX] (ENODATA): Likewise.
50697         [POSIX] (ENOLINK): Likewise.
50698         [POSIX] (ENOMSG): Likewise.
50699         [POSIX] (ENOPROTOOPT): Likewise.
50700         [POSIX] (ENOSR): Likewise.
50701         [POSIX] (ENOSTR): Likewise.
50702         [POSIX] (ENOTCONN): Likewise.
50703         [POSIX] (ENOTSOCK): Likewise.
50704         [POSIX] (EOPNOTSUPP): Likewise.
50705         [POSIX] (EOVERFLOW): Likewise.
50706         [POSIX] (EPROTO): Likewise.
50707         [POSIX] (EPROTONOSUPPORT): Likewise.
50708         [POSIX] (EPROTOTYPE): Likewise.
50709         [POSIX] (ESTALE): Likewise.
50710         [POSIX] (ETIME): Likewise.
50711         [POSIX] (ETXTBSY): Likewise.
50712         [POSIX] (EWOULDBLOCK): Likewise.
50713         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
50714         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
50715         [POSIX] (SEEK_CUR): Likewise.
50716         [POSIX] (SEEK_END): Likewise.
50717         [POSIX || UNIX98] (mode_t): Do not require.
50718         [POSIX] (off_t): Likewise.
50719         [POSIX] (pid_t): Likewise.
50720         [POSIX] (sys/stat.h): Do not allow header.
50721         [POSIX] (unistd.h): Likewise.
50722         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
50723         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
50724         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
50725         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
50726         require.
50727         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
50728         sigevent): Specify elements.
50729         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
50730         entry.
50731         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
50732         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
50734         * conform/data/cpio.h-data [POSIX]: Disable whole file.
50735         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
50736         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
50737         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
50738         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
50739         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
50740         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
50741         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
50742         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
50743         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
50744         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
50745         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
50746         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
50747         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
50748         Likewise.
50749         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
50750         Likewise.
50751         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
50752         Likewise.
50753         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
50754         Likewise.
50755         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
50756         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
50757         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
50758         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
50759         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
50760         Specify lower bound on value.
50761         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
50762         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
50763         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
50764         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
50765         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
50766         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
50767         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
50768         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
50769         value.
50770         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
50771         as optional.
50772         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
50773         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
50774         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
50775         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
50776         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
50777         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
50778         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
50779         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
50780         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
50781         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
50782         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
50783         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
50784         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
50785         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
50786         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
50787         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
50788         entry.
50789         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
50790         optional.
50791         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
50792         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
50793         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
50794         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
50795         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
50796         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
50797         Likewise.
50798         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
50799         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
50800         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
50801         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
50802         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
50803         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
50804         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
50805         as optional.
50806         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
50807         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
50808         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
50809         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
50810         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
50811         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
50812         specify as optional.
50813         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
50814         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
50815         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
50816         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
50817         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
50818         [XPG3] (NL_LANGMAX): Likewise.
50819         [POSIX || XPG3] (NL_MSGMAX): Likewise.
50820         [POSIX || XPG3] (NL_NMAX): Likewise.
50821         [POSIX || XPG3] (NL_SETMAX): Likewise.
50822         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
50823         [XPG3] (NZERO): Likewise.
50824         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
50825         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
50826         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
50827         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
50828         (REG_ERANGE): Expect.
50829         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
50830         optional-constant.
50831         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
50832         Use (void) in prototype.
50833         [POSIX] (*_t): Allow.
50834         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
50835         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
50836         (WRDE_BADVAL): Expect.
50838         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
50839         expect.
50840         [XPG3 || XPG4] (O_RSYNC): Likewise.
50841         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
50842         Likewise.
50843         [XPG3 || XPG4] (pthread_sigmask): Likewise.
50844         [XPG3 || XPG4] (sigqueue): Likewise.
50845         [XPG3 || XPG4] (sigtimedwait): Likewise.
50846         [XPG3 || XPG4] (sigwaitinfo): Likewise.
50847         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
50848         [XPG3 || XPG4] (vsnprintf): Likewise.
50849         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
50850         Likewise.
50851         [XPG3 || XPG4] (blksize_t): Likewise.
50852         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
50853         Likewise.
50854         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
50855         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50856         [XPG3 || XPG4] (struct itimerspec): Likewise.
50857         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
50858         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
50859         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
50860         [XPG3 || XPG4] (clockid_t): Likewise.
50861         [XPG3 || XPG4] (timer_t): Likewise.
50862         [XPG3 || XPG4] (clock_getres): Likewise.
50863         [XPG3 || XPG4] (clock_gettime): Likewise.
50864         [XPG3 || XPG4] (clock_settime): Likewise.
50865         [XPG3 || XPG4] (nanosleep): Likewise.
50866         [XPG3 || XPG4] (timer_create): Likewise.
50867         [XPG3 || XPG4] (timer_delete): Likewise.
50868         [XPG3 || XPG4] (timer_gettime): Likewise.
50869         [XPG3 || XPG4] (timer_getoverrun): Likewise.
50870         [XPG3 || XPG4] (timer_settime): Likewise.
50871         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
50872         [XPG3 || XPG4] (getlogin_r): Likewise.
50873         [XPG3 || XPG4] (pread): Likewise.
50874         [XPG3 || XPG4] (pthread_atfork): Likewise.
50875         [XPG3 || XPG4] (pwrite): Likewise.
50877         [BZ #14835]
50878         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
50879         <bits/siginfo.h>.
50881 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
50883         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
50884         finalizing MALLSTREAM.
50886         * sysdeps/mach/hurd/syncfs.c: New file.
50888 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50890         [BZ #14719]
50891         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
50892         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
50893         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
50894         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
50895         (_nss_dns_gethostbyname4_r): Likewise.
50896         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
50897         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
50899 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
50901         [BZ #13763]
50902         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
50904 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
50906         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
50907         * elf/cache.c (print_entry): Print ",AArch64" for
50908         FLAG_AARCH64_LIB64
50910         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
50911         * elf/cache.c (print_entry): Print ",hard-float" for
50912         FLAG_ARM_LIBHF.
50914 2012-11-18  David S. Miller  <davem@davemloft.net>
50916         With help from Joseph Myers.
50917         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
50918         cutoff to 2**-13.
50919         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
50920         cutoff to 2**-25.
50921         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
50922         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
50923         small.
50924         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
50925         * math/libm-test.inc (y0_test): New tests.
50926         (y1_test): New tests.
50927         * sysdeps/i386/fpu/libm-test-ulps: Update.
50928         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50931 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
50933         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
50934         64-bit targets.
50935         * configure: Regenerated.
50937 2012-11-17  David S. Miller  <davem@davemloft.net>
50939         [BZ #14811]
50940         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
50941         nonzero exponents with absolute value below 0x1p-128 to +/-
50942         0x1p-128.
50944 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
50946         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
50948         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
50950         * posix/getconf-speclist.c: New file.
50951         * posix/posix-envs.def: Likewise.
50952         * posix/confstr.c (START_ENV_GROUP): New macro.
50953         (END_ENV_GROUP): Likewise.
50954         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50955         (KNOWN_PRESENT_ENV_STRING): Likewise.
50956         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50957         (UNKNOWN_ENVIRONMENT): Likewise.
50958         (confstr): Include posix-envs.def instead of handling
50959         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
50960         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
50961         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
50962         (END_ENV_GROUP): Likewise.
50963         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50964         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50965         (UNKNOWN_ENVIRONMENT): Likewise.
50966         (__sysconf): Include posix-envs.def instead of handling associated
50967         cases directly here.
50968         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
50969         preprocessing getconf-speclist.c rather than running getconf or
50970         generating empty file.
50972 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
50974         * scripts/check-local-headers.sh: Ignore 'mach' headers.
50976 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
50978         [BZ #14672]
50979         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
50981 2012-11-16  David S. Miller  <davem@davemloft.net>
50983         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
50984         smaller than LDBL_EPSILON/2.0L, just return xm1.
50986 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
50988         * elf/tst-array1.c (init): Set constructor priority to 1000.
50989         (fini): Set destructor priority to 1000.
50990         * elf/tst-array2dep.c: Likewise.
50992 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50994         [BZ #11741]
50995         * libio/fileops.c (_IO_new_file_write): Correctly return error.
50996         (_IO_new_file_xsputn): Also return EOF if none of the input
50997         data was written when overflow failed.
50998         * libio/iopadn.c (_IO_padn): Likewise.
50999         * libio/iowpadn.c (_IO_wpadn): Likewise.
51000         * stdio-common/tst-put-error.c: Add copyright notice.
51001         (do_test): Add case for printing padded string.
51002         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
51003         _IO_padn returned error.
51004         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
51005         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
51006         return EOF.
51008 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51010         * libio/libioP.h: Add comment note that the references to C++
51011         bits are now obsolete.
51013 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51015         * math/libm-test.inc (check_complex): Use asprintf.
51017 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
51019         * debug/pcprofiledump.c (print_version): Update copyright year.
51020         * malloc/memusagestat.c (print_version): Likewise.
51022 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
51024         [BZ #14831]
51025         * elf/Makefile (tests): Add tst-audit8.
51026         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
51027         ($(objpfx)tst-audit8.out): New target.
51028         (tst-audit8-ENV): New variable.
51029         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
51030         audit if l_reloc_result is NULL.
51031         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
51032         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
51033         * elf/tst-audit8.c: New file.
51035 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51037         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
51038         * misc/Makefile (CFLAGS-select.c): Define.
51039         * posix/Makefile (CFLAGS-pause.c): Define.
51041 2012-11-13  David S. Miller  <davem@davemloft.net>
51043         * crypt/Makefile: Move test targets after toplevel Rules
51044         inclusion.  Grab any necessary sysdep routines when linking.
51045         * crypt/md5.c (md5_process_block): Remove define, we will always
51046         name it __md5_process_block.
51047         (md5_finish_ctx): Update md5_process_block call.
51048         (md5_stream): Likewise.
51049         (md5_process_bytes): Likewise.
51050         (md5_process_block): Rename to __md5_process_block and move to ...
51051         * crypt/md5-block.c: ... here.
51052         * crypt/sha256.c (sha256_process_block): Move to ...
51053         * crypt/sha256-block.c: ... here.
51054         * crypt/sha512.c (sha512_process_block): Move to ...
51055         * crypt/sha512-block.c: ... here.
51056         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
51057         path.
51058         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
51059         * sysdeps/sparc/sparc64/multiarch/Makefile
51060         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
51061         crypt subdir.
51062         (localedef-aux): Add md5 crypto assembler when in locale subdir.
51063         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
51064         multiarch changes.
51065         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
51066         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
51067         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
51068         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
51069         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
51070         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
51071         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
51072         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
51073         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
51074         file.
51075         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
51076         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
51077         file.
51078         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
51080 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
51082         * timezone/tzselect.ksh: Update from tzcode git revision
51083         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
51084         * timezone/zdump.c: Likewise.
51085         * timezone/zic.c: Likewise.
51086         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
51087         in TZVERSION setting, not $(PKGVERSION).
51088         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
51089         REPORT_BUGS_TO settings.
51091         [BZ #14838]
51092         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
51093         macro.
51095 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51097         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
51098         detection to immediately after _FP_ROUND().
51099         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
51100         bits are 0.
51102 2012-11-11  David S. Miller  <davem@davemloft.net>
51104         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
51105         inttypes.h
51106         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
51107         __close rather than their public counterparts.
51109 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
51111         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
51112         file.
51113         [UNIX98] (sem_timedwait): Do not expect.
51114         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
51115         [XPG4 || UNIX98] (sockatmark): Do not expect.
51116         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
51117         (clock_getcpuclockid): Do not expect.
51118         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
51119         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
51120         Do not expect.
51121         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
51122         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
51123         [UNIX98] (vwscanf): Likewise.
51124         [UNIX98] (vswscanf): Likewise.
51126 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
51128         * timezone/version.h: Remove file.
51129         * timezone/README: Do not refer to version.h.
51130         * timezone/Makefile ($(objpfx)zic.o): New dependency on
51131         $(objpfx)version.h.
51132         ($(objpfx)zdump.o): Likewise.
51133         ($(objpfx)version.h): New target.
51135         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
51136         2012i.
51137         * timezone/README: Don't mention modification to tzselect.ksh.
51138         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
51139         work on unmodified tzselect.ksh.  Substitute version numbers in
51140         tzselect.ksh.
51142         * Makefile (format-me): Remove.
51143         (INSTALL): Adjust indentation.  Use commands directly instead of
51144         using $(format-me).
51146         * aclocal.m4 (ACX_PKGVERSION): New macro.
51147         (ACX_BUGURL): Likewise.
51148         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
51149         (PKGVERSION): New AC_DEFINE_UNQUOTED.
51150         (REPORT_BUGS_TO): Likewise.
51151         * configure: Regenerated.
51152         * config.h.in (PKGVERSION): New macro.
51153         (REPORT_BUGS_TO): Likewise.
51154         * config.make.in (PKGVERSION): New variable.
51155         (PKGVERSION_TEXI): Likewise.
51156         (REPORT_BUGS_TO): Likewise.
51157         (REPORT_BUGS_TEXI): Likewise.
51158         * Makefile (format-me): Use -I$(common-objpfx)manual.
51159         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
51160         ($(common-objpfx)manual/%): New target.
51161         (manual/%): Remove target.
51162         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
51163         (print_version): Use PKGVERSION.
51164         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
51165         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
51166         and REPORT_BUGS_TO.
51167         ($(objpfx)xtrace): Likewise.
51168         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
51169         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
51170         (print_version): Use PKGVERSION.
51171         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
51172         (do_version): Use PKGVERSION.
51173         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
51174         REPORT_BUGS_TO.
51175         (common-ldd-rewrite): Likewise.
51176         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
51177         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
51178         (print_version): Use PKGVERSION.
51179         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
51180         * elf/pldd.c (argp_program_bug_address): Remove variable.
51181         (more_help): New function.
51182         (argp): Use more_help.
51183         (print_version): Use PKGVERSION.
51184         * elf/sln.c (main): Use PKGVERSION.
51185         (usage): Use REPORT_BUGS_TO.
51186         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
51187         (top level): Use PKGVERSION.
51188         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
51189         (print_version): Use PKGVERSION.
51190         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
51191         (print_version): Use PKGVERSION.
51192         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
51193         (print_version): Use PKGVERSION.
51194         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
51195         (print_version): Use PKGVERSION.
51196         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
51197         (print_version): Use PKGVERSION.
51198         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
51199         (print_version): Use PKGVERSION.
51200         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
51201         and BUGURL.
51202         ($(objpfx)memusage): Likewise.
51203         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
51204         (do_version): Use PKGVERSION.
51205         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
51206         (print_version): Use PKGVERSION.
51207         * malloc/mtrace.pl ($PACKAGE): Remove variable.
51208         ($PKGVERSION): New variable.
51209         ($REPORT_BUGS_TO): Likewise.
51210         (usage): Use $REPORT_BUGS_TO.
51211         (top level): Use $PKGVERSION.
51212         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
51213         ($(objpfx)pkgvers.texi): New rule.
51214         ($(objpfx)stamp-pkgvers): Likewise.
51215         * manual/install.texi: Include pkgvers.texi.
51216         (--with-pkgversion): Document new configure option.
51217         (--with-bugurl): Likewise.
51218         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
51219         than necessarily for this particular distribution.  Use
51220         REPORT_BUGS_TO for where to report bugs.
51221         * INSTALL: Regenerated.
51222         * manual/libc.texinfo: Include pkgvers.texi.
51223         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
51224         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
51225         (print_version): Use PKGVERSION.
51226         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
51227         (print_version): Use PKGVERSION.
51228         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
51229         (print_version): Use PKGVERSION.
51230         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
51231         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
51232         macro.
51233         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
51234         (print_version): Use PKGVERSION.
51235         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
51236         (print_version): Use PKGVERSION.
51237         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
51238         and PKGVERSION.
51240         * timezone/checktab.awk: Update from tzcode 2012i.
51241         * timezone/ialloc.c: Likewise.
51242         * timezone/private.h: Likewise.
51243         * timezone/scheck.c: Likewise.
51244         * timezone/tzfile.h: Likewise.
51245         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
51246         (TZVERSION): Hardcode tzcode version number.
51247         * timezone/zdump.c: Update from tzcode 2012i.
51248         * timezone/zic.c: Likewise.
51249         * timezone/version.h: New file.
51250         * timezone/README: Describe version.h.  Update upstream location.
51252         [BZ #14824]
51253         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
51254         (mktemp): Enable declaration.
51255         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
51256         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
51257         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
51258         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
51259         Likewise.
51260         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
51261         Likewise.
51262         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
51263         Likewise.
51264         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
51265         Likewise.
51266         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
51267         Likewise.
51268         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
51269         Likewise.
51271         [BZ #14821]
51272         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
51273         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
51274         for copies of such integer values.
51275         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51276         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51278 2012-11-09  Andreas Jaeger  <aj@suse.de>
51280         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
51281         definitions and declarations that are provided by
51282         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51284 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51286         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
51287         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
51288         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
51289         definition.
51291 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51293         * elf/elf.h: Update comment before AArch64 relocations.
51295 2012-11-07  David S. Miller  <davem@davemloft.net>
51297         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
51298         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51299         (__start_context): Declare.
51300         (__makecontext_ret): Delete.
51301         (__makecontext): Hook up __start_context instead of
51302         __makecontext_ret.
51303         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
51304         (sysdep_routines): Add __start_context when in stdlib.
51306 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51308         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
51309         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
51310         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
51311         hardcoded "nm".
51312         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
51313         (READELF): New variable.  Use it instead of hardcoded "readelf".
51315 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
51317         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
51318         * sysdeps/x86/Makefile: Here.
51319         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
51320         * sysdeps/x86/tst-xmmymm.sh: This.
51322 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51324         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
51325         expectations.
51326         [UNIX98] (pthread_barrier_t): Do not expect.
51327         [UNIX98] (pthread_barrierattr_t): Likewise.
51328         [UNIX98] (pthread_spinlock_t): Likewise.
51329         [UNIX98] (pthread_barrier_destroy): Likewise.
51330         [UNIX98] (pthread_barrier_init): Likewise.
51331         [UNIX98] (pthread_barrier_wait): Likewise.
51332         [UNIX98] (pthread_barrierattr_destroy): Likewise.
51333         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
51334         [UNIX98] (pthread_barrierattr_init): Likewise.
51335         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
51336         [UNIX98] (pthread_getcpuclockid): Likewise.
51337         [UNIX98] (pthread_mutex_timedlock): Likewise.
51338         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
51339         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
51340         [UNIX98] (pthread_sigmask): Likewise.
51341         [UNIX98] (pthread_spin_destroy): Likewise.
51342         [UNIX98] (pthread_spin_init): Likewise.
51343         [UNIX98] (pthread_spin_lock): Likewise.
51344         [UNIX98] (pthread_spin_trylock): Likewise.
51345         [UNIX98] (pthread_spin_unlock): Likewise.
51346         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
51347         Do not expect.
51348         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
51349         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
51350         [XPG3 || XPG4] (pthread_cond_t): Likewise.
51351         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
51352         [XPG3 || XPG4] (pthread_key_t): Likewise.
51353         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
51354         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
51355         [XPG3 || XPG4] (pthread_once_t): Likewise.
51356         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
51357         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
51358         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
51359         [XPG3 || XPG4] (pthread_t): Likewise.
51361         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
51362         not expect.
51363         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
51365         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
51366         Change function return type to int.
51368         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
51369         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
51370         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
51371         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
51372         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
51373         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
51374         [!POSIX] (posix_madvise): Likewise.
51375         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
51376         && !UNIX98].
51377         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
51378         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
51379         (mode_t): Likewise.
51380         (posix_mem_offset): Likewise.
51381         (posix_typed_mem_get_info): Likewise.
51382         (posix_typed_mem_open): Likewise.
51384         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
51385         Change condition to [XOPEN2K8].
51387         * conform/conformtest.pl: Preprocess allow-header data with -x c
51388         instead of from stdin.
51389         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
51390         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
51391         [C99-based standards] (cerfc): Likewise.
51392         [C99-based standards] (cexp2): Likewise.
51393         [C99-based standards] (cexpm1): Likewise.
51394         [C99-based standards] (clog10): Likewise.
51395         [C99-based standards] (clog1p): Likewise.
51396         [C99-based standards] (clog2): Likewise.
51397         [C99-based standards] (clgamma): Likewise.
51398         [C99-based standards] (ctgamma): Likewise.
51399         [C99-based standards] (cerff): Likewise.
51400         [C99-based standards] (cerfcf): Likewise.
51401         [C99-based standards] (cexp2f): Likewise.
51402         [C99-based standards] (cexpm1f): Likewise.
51403         [C99-based standards] (clog10f): Likewise.
51404         [C99-based standards] (clog1pf): Likewise.
51405         [C99-based standards] (clog2f): Likewise.
51406         [C99-based standards] (clgammaf): Likewise.
51407         [C99-based standards] (ctgammaf): Likewise.
51408         [C99-based standards] (cerfl): Likewise.
51409         [C99-based standards] (cerfcl): Likewise.
51410         [C99-based standards] (cexp2l): Likewise.
51411         [C99-based standards] (cexpm1l): Likewise.
51412         [C99-based standards] (clog10l): Likewise.
51413         [C99-based standards] (clog1pl): Likewise.
51414         [C99-based standards] (clog2l): Likewise.
51415         [C99-based standards] (clgammal): Likewise.
51416         [C99-based standards] (ctgammal): Likewise.
51417         * conform/data/inttypes.h-data [C99-based standards]: Include
51418         stdint.h-data.  Remove all expectations for stdint.h contents.
51419         [C99-based standards] (PRI*): Do not allow.
51420         [C99-based standards] (SCN*): Likewise.
51421         [C99-based standards] (*_t): Likewise.
51422         [C99-based-standards] (PRId8): Expect macro.
51423         [C99-based-standards] (PRIi8): Likewise.
51424         [C99-based-standards] (PRIo8): Likewise.
51425         [C99-based-standards] (PRIu8): Likewise.
51426         [C99-based-standards] (PRIx8): Likewise.
51427         [C99-based-standards] (PRIX8): Likewise.
51428         [C99-based-standards] (SCNd8): Likewise.
51429         [C99-based-standards] (SCNi8): Likewise.
51430         [C99-based-standards] (SCNo8): Likewise.
51431         [C99-based-standards] (SCNu8): Likewise.
51432         [C99-based-standards] (SCNx8): Likewise.
51433         [C99-based-standards] (PRIdLEAST8): Likewise.
51434         [C99-based-standards] (PRIiLEAST8): Likewise.
51435         [C99-based-standards] (PRIoLEAST8): Likewise.
51436         [C99-based-standards] (PRIuLEAST8): Likewise.
51437         [C99-based-standards] (PRIxLEAST8): Likewise.
51438         [C99-based-standards] (PRIXLEAST8): Likewise.
51439         [C99-based-standards] (SCNdLEAST8): Likewise.
51440         [C99-based-standards] (SCNiLEAST8): Likewise.
51441         [C99-based-standards] (SCNoLEAST8): Likewise.
51442         [C99-based-standards] (SCNuLEAST8): Likewise.
51443         [C99-based-standards] (SCNxLEAST8): Likewise.
51444         [C99-based-standards] (PRIdFAST8): Likewise.
51445         [C99-based-standards] (PRIiFAST8): Likewise.
51446         [C99-based-standards] (PRIoFAST8): Likewise.
51447         [C99-based-standards] (PRIuFAST8): Likewise.
51448         [C99-based-standards] (PRIxFAST8): Likewise.
51449         [C99-based-standards] (PRIXFAST8): Likewise.
51450         [C99-based-standards] (SCNdFAST8): Likewise.
51451         [C99-based-standards] (SCNiFAST8): Likewise.
51452         [C99-based-standards] (SCNoFAST8): Likewise.
51453         [C99-based-standards] (SCNuFAST8): Likewise.
51454         [C99-based-standards] (SCNxFAST8): Likewise.
51455         [C99-based-standards] (PRId16): Likewise.
51456         [C99-based-standards] (PRIi16): Likewise.
51457         [C99-based-standards] (PRIo16): Likewise.
51458         [C99-based-standards] (PRIu16): Likewise.
51459         [C99-based-standards] (PRIx16): Likewise.
51460         [C99-based-standards] (PRIX16): Likewise.
51461         [C99-based-standards] (SCNd16): Likewise.
51462         [C99-based-standards] (SCNi16): Likewise.
51463         [C99-based-standards] (SCNo16): Likewise.
51464         [C99-based-standards] (SCNu16): Likewise.
51465         [C99-based-standards] (SCNx16): Likewise.
51466         [C99-based-standards] (PRIdLEAST16): Likewise.
51467         [C99-based-standards] (PRIiLEAST16): Likewise.
51468         [C99-based-standards] (PRIoLEAST16): Likewise.
51469         [C99-based-standards] (PRIuLEAST16): Likewise.
51470         [C99-based-standards] (PRIxLEAST16): Likewise.
51471         [C99-based-standards] (PRIXLEAST16): Likewise.
51472         [C99-based-standards] (SCNdLEAST16): Likewise.
51473         [C99-based-standards] (SCNiLEAST16): Likewise.
51474         [C99-based-standards] (SCNoLEAST16): Likewise.
51475         [C99-based-standards] (SCNuLEAST16): Likewise.
51476         [C99-based-standards] (SCNxLEAST16): Likewise.
51477         [C99-based-standards] (PRIdFAST16): Likewise.
51478         [C99-based-standards] (PRIiFAST16): Likewise.
51479         [C99-based-standards] (PRIoFAST16): Likewise.
51480         [C99-based-standards] (PRIuFAST16): Likewise.
51481         [C99-based-standards] (PRIxFAST16): Likewise.
51482         [C99-based-standards] (PRIXFAST16): Likewise.
51483         [C99-based-standards] (SCNdFAST16): Likewise.
51484         [C99-based-standards] (SCNiFAST16): Likewise.
51485         [C99-based-standards] (SCNoFAST16): Likewise.
51486         [C99-based-standards] (SCNuFAST16): Likewise.
51487         [C99-based-standards] (SCNxFAST16): Likewise.
51488         [C99-based-standards] (PRId32): Likewise.
51489         [C99-based-standards] (PRIi32): Likewise.
51490         [C99-based-standards] (PRIo32): Likewise.
51491         [C99-based-standards] (PRIu32): Likewise.
51492         [C99-based-standards] (PRIx32): Likewise.
51493         [C99-based-standards] (PRIX32): Likewise.
51494         [C99-based-standards] (SCNd32): Likewise.
51495         [C99-based-standards] (SCNi32): Likewise.
51496         [C99-based-standards] (SCNo32): Likewise.
51497         [C99-based-standards] (SCNu32): Likewise.
51498         [C99-based-standards] (SCNx32): Likewise.
51499         [C99-based-standards] (PRIdLEAST32): Likewise.
51500         [C99-based-standards] (PRIiLEAST32): Likewise.
51501         [C99-based-standards] (PRIoLEAST32): Likewise.
51502         [C99-based-standards] (PRIuLEAST32): Likewise.
51503         [C99-based-standards] (PRIxLEAST32): Likewise.
51504         [C99-based-standards] (PRIXLEAST32): Likewise.
51505         [C99-based-standards] (SCNdLEAST32): Likewise.
51506         [C99-based-standards] (SCNiLEAST32): Likewise.
51507         [C99-based-standards] (SCNoLEAST32): Likewise.
51508         [C99-based-standards] (SCNuLEAST32): Likewise.
51509         [C99-based-standards] (SCNxLEAST32): Likewise.
51510         [C99-based-standards] (PRIdFAST32): Likewise.
51511         [C99-based-standards] (PRIiFAST32): Likewise.
51512         [C99-based-standards] (PRIoFAST32): Likewise.
51513         [C99-based-standards] (PRIuFAST32): Likewise.
51514         [C99-based-standards] (PRIxFAST32): Likewise.
51515         [C99-based-standards] (PRIXFAST32): Likewise.
51516         [C99-based-standards] (SCNdFAST32): Likewise.
51517         [C99-based-standards] (SCNiFAST32): Likewise.
51518         [C99-based-standards] (SCNoFAST32): Likewise.
51519         [C99-based-standards] (SCNuFAST32): Likewise.
51520         [C99-based-standards] (SCNxFAST32): Likewise.
51521         [C99-based-standards] (PRId64): Likewise.
51522         [C99-based-standards] (PRIi64): Likewise.
51523         [C99-based-standards] (PRIo64): Likewise.
51524         [C99-based-standards] (PRIu64): Likewise.
51525         [C99-based-standards] (PRIx64): Likewise.
51526         [C99-based-standards] (PRIX64): Likewise.
51527         [C99-based-standards] (SCNd64): Likewise.
51528         [C99-based-standards] (SCNi64): Likewise.
51529         [C99-based-standards] (SCNo64): Likewise.
51530         [C99-based-standards] (SCNu64): Likewise.
51531         [C99-based-standards] (SCNx64): Likewise.
51532         [C99-based-standards] (PRIdLEAST64): Likewise.
51533         [C99-based-standards] (PRIiLEAST64): Likewise.
51534         [C99-based-standards] (PRIoLEAST64): Likewise.
51535         [C99-based-standards] (PRIuLEAST64): Likewise.
51536         [C99-based-standards] (PRIxLEAST64): Likewise.
51537         [C99-based-standards] (PRIXLEAST64): Likewise.
51538         [C99-based-standards] (SCNdLEAST64): Likewise.
51539         [C99-based-standards] (SCNiLEAST64): Likewise.
51540         [C99-based-standards] (SCNoLEAST64): Likewise.
51541         [C99-based-standards] (SCNuLEAST64): Likewise.
51542         [C99-based-standards] (SCNxLEAST64): Likewise.
51543         [C99-based-standards] (PRIdFAST64): Likewise.
51544         [C99-based-standards] (PRIiFAST64): Likewise.
51545         [C99-based-standards] (PRIoFAST64): Likewise.
51546         [C99-based-standards] (PRIuFAST64): Likewise.
51547         [C99-based-standards] (PRIxFAST64): Likewise.
51548         [C99-based-standards] (PRIXFAST64): Likewise.
51549         [C99-based-standards] (SCNdFAST64): Likewise.
51550         [C99-based-standards] (SCNiFAST64): Likewise.
51551         [C99-based-standards] (SCNoFAST64): Likewise.
51552         [C99-based-standards] (SCNuFAST64): Likewise.
51553         [C99-based-standards] (SCNxFAST64): Likewise.
51554         [C99-based-standards] (PRIdMAX): Likewise.
51555         [C99-based-standards] (PRIiMAX): Likewise.
51556         [C99-based-standards] (PRIoMAX): Likewise.
51557         [C99-based-standards] (PRIuMAX): Likewise.
51558         [C99-based-standards] (PRIxMAX): Likewise.
51559         [C99-based-standards] (PRIXMAX): Likewise.
51560         [C99-based-standards] (SCNdMAX): Likewise.
51561         [C99-based-standards] (SCNiMAX): Likewise.
51562         [C99-based-standards] (SCNoMAX): Likewise.
51563         [C99-based-standards] (SCNuMAX): Likewise.
51564         [C99-based-standards] (SCNxMAX): Likewise.
51565         [C99-based-standards] (PRIdPTR): Likewise.
51566         [C99-based-standards] (PRIiPTR): Likewise.
51567         [C99-based-standards] (PRIoPTR): Likewise.
51568         [C99-based-standards] (PRIuPTR): Likewise.
51569         [C99-based-standards] (PRIxPTR): Likewise.
51570         [C99-based-standards] (PRIXPTR): Likewise.
51571         [C99-based-standards] (SCNdPTR): Likewise.
51572         [C99-based-standards] (SCNiPTR): Likewise.
51573         [C99-based-standards] (SCNoPTR): Likewise.
51574         [C99-based-standards] (SCNuPTR): Likewise.
51575         [C99-based-standards] (SCNxPTR): Likewise.
51576         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
51577         allow.
51578         * conform/data/stdint.h-data: Update comments to clarify
51579         requirements.
51580         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
51581         type.
51582         [C99-based standards] (INT8_MAX): Likewise.
51583         [C99-based standards] (INT16_MIN): Likewise.
51584         [C99-based standards] (INT16_MAX): Likewise.
51585         [C99-based standards] (INT32_MIN): Likewise.
51586         [C99-based standards] (INT32_MAX): Likewise.
51587         [C99-based standards] (INT64_MIN): Likewise.
51588         [C99-based standards] (INT64_MAX): Likewise.
51589         [C99-based standards] (UINT8_MAX): Likewise.
51590         [C99-based standards] (UINT16_MAX): Likewise.
51591         [C99-based standards] (UINT32_MAX): Likewise.
51592         [C99-based standards] (UINT64_MAX): Likewise.
51593         [C99-based standards] (INT_LEAST8_MIN): Likewise.
51594         [C99-based standards] (INT_LEAST8_MAX): Likewise.
51595         [C99-based standards] (INT_LEAST16_MIN): Likewise.
51596         [C99-based standards] (INT_LEAST16_MAX): Likewise.
51597         [C99-based standards] (INT_LEAST32_MIN): Likewise.
51598         [C99-based standards] (INT_LEAST32_MAX): Likewise.
51599         [C99-based standards] (INT_LEAST64_MIN): Likewise.
51600         [C99-based standards] (INT_LEAST64_MAX): Likewise.
51601         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
51602         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
51603         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
51604         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
51605         [C99-based standards] (INT_FAST8_MIN): Likewise.
51606         [C99-based standards] (INT_FAST8_MAX): Likewise.
51607         [C99-based standards] (INT_FAST16_MIN): Likewise.
51608         [C99-based standards] (INT_FAST16_MAX): Likewise.
51609         [C99-based standards] (INT_FAST32_MIN): Likewise.
51610         [C99-based standards] (INT_FAST32_MAX): Likewise.
51611         [C99-based standards] (INT_FAST64_MIN): Likewise.
51612         [C99-based standards] (INT_FAST64_MAX): Likewise.
51613         [C99-based standards] (UINT_FAST8_MAX): Likewise.
51614         [C99-based standards] (UINT_FAST16_MAX): Likewise.
51615         [C99-based standards] (UINT_FAST32_MAX): Likewise.
51616         [C99-based standards] (UINT_FAST64_MAX): Likewise.
51617         [C99-based standards] (INTPTR_MIN): Likewise.
51618         [C99-based standards] (INTPTR_MAX): Likewise.
51619         [C99-based standards] (UINTPTR_MAX): Likewise.
51620         [C99-based standards] (INTMAX_MIN): Likewise.
51621         [C99-based standards] (INTMAX_MAX): Likewise.
51622         [C99-based standards] (UINTMAX_MAX): Likewise.
51623         [C99-based standards] (PTRDIFF_MIN): Likewise.
51624         [C99-based standards] (PTRDIFF_MAX): Likewise.
51625         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
51626         [C99-based standards] (SIZE_MAX): Likewise.
51627         [C99-based standards] (WCHAR_MAX): Likewise.
51628         [C99-based standards] (WINT_MAX): Likewise.
51629         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
51630         constraint on value.
51631         [C99-based standards] (WCHAR_MIN): Likewise.
51632         [C99-based standards] (WINT_MIN): Likewise.
51633         [C99-based standards] (*_t): Allow.
51634         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
51635         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
51636         Include math.h-data and complex.h-data.  Remove all expectations
51637         of math.h and complex.h contents.
51638         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
51639         at end of line.
51640         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
51641         (struct tm): Expect tag.
51642         [C99-based-standards] (wcstof): Expect function.
51643         [C99-based-standards] (wcstold): Likewise.
51644         [C99-based-standards] (wcstoll): Likewise.
51645         [C99-based-standards] (wcstoull): Likewise.
51646         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
51647         macro-int-constant.  Specify type.
51648         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
51649         constraint on value.
51650         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51651         Specify type.
51652         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
51653         Specify value.
51654         [ISO C standards]: Do not allow headers.
51655         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
51656         wcs[abcdefghijklmnopqrstuvwxyz]*.
51657         [ISO C standards] (*_t): Do not allow.
51658         * conform/data/wctype.h-data [C99-based standards] (iswblank):
51659         Expect function.
51660         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
51661         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51662         Specify type.
51663         [ISO C standards]: Do not allow headers.
51664         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
51665         is[abcdefghijklmnopqrstuvwxyz]*.
51666         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
51667         to[abcdefghijklmnopqrstuvwxyz]*.
51668         [ISO C standards] (*_t): Do not allow.
51669         * conform/data/stdalign.h-data: New file.
51670         * conform/data/stdbool.h-data: Likewise.
51671         * conform/data/stdnoreturn.h-data: Likewise.
51673 2012-11-07  Roland McGrath  <roland@hack.frob.com>
51675         [BZ #14815]
51676         * manual/filesys.texi (Directory Entries): Typo fix.
51677         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
51679 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51681         * elf/elf.h (EM_AARCH64): New macro.
51682         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
51683         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
51684         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
51685         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
51686         (R_AARCH64_TLSDESC): Likewise.
51687         (NT_ARM_TLS): Likewise.
51688         (NT_ARM_HW_BREAK): Likewise.
51689         (NT_ARM_HW_WATCH): Likewise.
51691 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51693         [BZ #14811]
51694         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
51695         (__ieee754_powl): Saturate nonzero exponents with absolute value
51696         below 0x1p-79 to +/- 0x1p-79.
51697         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
51698         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
51699         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
51700         nonzero exponents with absolute value below 0x1p-32 to +/-
51701         0x1p-32.
51702         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
51703         (__ieee754_powl): Saturate nonzero exponents with absolute value
51704         below 0x1p-79 to +/- 0x1p-79.
51705         * math/libm-test.inc (pow_test): Add more tests.
51707 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51709         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
51710         _dl_s390_cap_flags with kernel. Increase string length.
51711         (_dl_s390_platforms): Add z196 and zEC12.
51713 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51715         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
51716         Change XOPEN21K to XOPEN2K.
51718 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
51720         * string/memmove.c: Use memcpy when possible.
51722 2012-11-06  Andreas Jaeger  <aj@suse.de>
51724         * po/eo.po: Update from translation team.
51726 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
51728         [BZ #14793]
51729         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
51730         exponent and small x and y exponents, scale x or y up.  Increase
51731         by 2 the exponent used in scaling up.
51732         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51733         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51734         * math/libm-test.inc (fma_test): Add more tests.
51735         (fma_test_towardzero): Likewise.
51736         (fma_test_downward): Likewise.
51737         (fma_test_upward): Likewise.
51739 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
51741         [BZ #14805]
51742         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
51743         fenv_t *.
51745         [BZ #14801]
51746         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
51747         namespace for names of struct fields.
51748         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
51749         fenv_t fields.
51750         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
51751         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
51753 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51755         [BZ #3665]
51756         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
51758 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51760         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
51761         PTR_DEMANGLE.
51763         [BZ #5246]
51764         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
51765         PTR_DEMANGLE.
51767 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
51769         [BZ #14797]
51770         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
51771         definitely overflow as x * y not x * y + z.
51772         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51773         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51774         * math/libm-test.inc (fma_test): Add more tests.
51775         (fma_test_towardzero): Likewise.
51776         (fma_test_downward): Likewise.
51777         (fma_test_upward): Likewise.
51779 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51781         [BZ #157]
51783         * include/stub-tag.h: Remove file.
51784         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
51785         '#include' of it.
51786         * manual/maint.texi (Porting): Don't reference it.
51787         * Makerules ($(objpfx)stubs): Likewise.
51788         * dirent/closedir.c: Don't include <stub-tag.h>.
51789         * dirent/dirfd.c: Likewise.
51790         * dirent/fdopendir.c: Likewise.
51791         * dirent/getdents.c: Likewise.
51792         * dirent/getdents64.c: Likewise.
51793         * dirent/opendir.c: Likewise.
51794         * dirent/readdir.c: Likewise.
51795         * dirent/readdir64.c: Likewise.
51796         * dirent/readdir64_r.c: Likewise.
51797         * dirent/readdir_r.c: Likewise.
51798         * dirent/rewinddir.c: Likewise.
51799         * dirent/seekdir.c: Likewise.
51800         * dirent/telldir.c: Likewise.
51801         * gmon/profil.c: Likewise.
51802         * grp/setgroups.c: Likewise.
51803         * inet/if_index.c: Likewise.
51804         * io/access.c: Likewise.
51805         * io/chdir.c: Likewise.
51806         * io/chmod.c: Likewise.
51807         * io/chown.c: Likewise.
51808         * io/close.c: Likewise.
51809         * io/dup.c: Likewise.
51810         * io/dup2.c: Likewise.
51811         * io/dup3.c: Likewise.
51812         * io/euidaccess.c: Likewise.
51813         * io/faccessat.c: Likewise.
51814         * io/fchdir.c: Likewise.
51815         * io/fchmod.c: Likewise.
51816         * io/fchmodat.c: Likewise.
51817         * io/fchown.c: Likewise.
51818         * io/fchownat.c: Likewise.
51819         * io/fcntl.c: Likewise.
51820         * io/flock.c: Likewise.
51821         * io/fstatfs.c: Likewise.
51822         * io/fstatfs64.c: Likewise.
51823         * io/fstatvfs.c: Likewise.
51824         * io/fstatvfs64.c: Likewise.
51825         * io/futimens.c: Likewise.
51826         * io/fxstat.c: Likewise.
51827         * io/fxstat64.c: Likewise.
51828         * io/fxstatat.c: Likewise.
51829         * io/fxstatat64.c: Likewise.
51830         * io/getcwd.c: Likewise.
51831         * io/isatty.c: Likewise.
51832         * io/lchmod.c: Likewise.
51833         * io/lchown.c: Likewise.
51834         * io/link.c: Likewise.
51835         * io/linkat.c: Likewise.
51836         * io/lseek.c: Likewise.
51837         * io/lseek64.c: Likewise.
51838         * io/lxstat64.c: Likewise.
51839         * io/mkdir.c: Likewise.
51840         * io/mkdirat.c: Likewise.
51841         * io/mkfifo.c: Likewise.
51842         * io/mkfifoat.c: Likewise.
51843         * io/open.c: Likewise.
51844         * io/open64.c: Likewise.
51845         * io/openat.c: Likewise.
51846         * io/openat64.c: Likewise.
51847         * io/pipe.c: Likewise.
51848         * io/pipe2.c: Likewise.
51849         * io/poll.c: Likewise.
51850         * io/posix_fadvise.c: Likewise.
51851         * io/posix_fadvise64.c: Likewise.
51852         * io/posix_fallocate.c: Likewise.
51853         * io/posix_fallocate64.c: Likewise.
51854         * io/read.c: Likewise.
51855         * io/readlink.c: Likewise.
51856         * io/readlinkat.c: Likewise.
51857         * io/rmdir.c: Likewise.
51858         * io/sendfile.c: Likewise.
51859         * io/sendfile64.c: Likewise.
51860         * io/statfs.c: Likewise.
51861         * io/statfs64.c: Likewise.
51862         * io/statvfs.c: Likewise.
51863         * io/statvfs64.c: Likewise.
51864         * io/symlink.c: Likewise.
51865         * io/symlinkat.c: Likewise.
51866         * io/ttyname.c: Likewise.
51867         * io/ttyname_r.c: Likewise.
51868         * io/umask.c: Likewise.
51869         * io/unlink.c: Likewise.
51870         * io/unlinkat.c: Likewise.
51871         * io/utime.c: Likewise.
51872         * io/utimensat.c: Likewise.
51873         * io/write.c: Likewise.
51874         * io/xmknod.c: Likewise.
51875         * io/xmknodat.c: Likewise.
51876         * io/xstat.c: Likewise.
51877         * io/xstat64.c: Likewise.
51878         * login/getpt.c: Likewise.
51879         * login/grantpt.c: Likewise.
51880         * login/unlockpt.c: Likewise.
51881         * math/e_acoshl.c: Likewise.
51882         * math/e_acosl.c: Likewise.
51883         * math/e_asinl.c: Likewise.
51884         * math/e_atan2l.c: Likewise.
51885         * math/e_atanhl.c: Likewise.
51886         * math/e_coshl.c: Likewise.
51887         * math/e_expl.c: Likewise.
51888         * math/e_fmodl.c: Likewise.
51889         * math/e_gammal_r.c: Likewise.
51890         * math/e_hypotl.c: Likewise.
51891         * math/e_j0l.c: Likewise.
51892         * math/e_j1l.c: Likewise.
51893         * math/e_jnl.c: Likewise.
51894         * math/e_lgammal_r.c: Likewise.
51895         * math/e_log10l.c: Likewise.
51896         * math/e_log2l.c: Likewise.
51897         * math/e_logl.c: Likewise.
51898         * math/e_powl.c: Likewise.
51899         * math/e_rem_pio2l.c: Likewise.
51900         * math/e_sinhl.c: Likewise.
51901         * math/e_sqrtl.c: Likewise.
51902         * math/fclrexcpt.c: Likewise.
51903         * math/fedisblxcpt.c: Likewise.
51904         * math/feenablxcpt.c: Likewise.
51905         * math/fegetenv.c: Likewise.
51906         * math/fegetexcept.c: Likewise.
51907         * math/fegetround.c: Likewise.
51908         * math/feholdexcpt.c: Likewise.
51909         * math/fesetenv.c: Likewise.
51910         * math/fesetround.c: Likewise.
51911         * math/feupdateenv.c: Likewise.
51912         * math/fgetexcptflg.c: Likewise.
51913         * math/fraiseexcpt.c: Likewise.
51914         * math/fsetexcptflg.c: Likewise.
51915         * math/ftestexcept.c: Likewise.
51916         * math/k_cosl.c: Likewise.
51917         * math/k_rem_pio2l.c: Likewise.
51918         * math/k_sinl.c: Likewise.
51919         * math/k_tanl.c: Likewise.
51920         * math/s_asinhl.c: Likewise.
51921         * math/s_atanl.c: Likewise.
51922         * math/s_cbrtl.c: Likewise.
51923         * math/s_erfl.c: Likewise.
51924         * math/s_expm1l.c: Likewise.
51925         * math/s_log1pl.c: Likewise.
51926         * math/s_tanhl.c: Likewise.
51927         * misc/acct.c: Likewise.
51928         * misc/brk.c: Likewise.
51929         * misc/chflags.c: Likewise.
51930         * misc/chroot.c: Likewise.
51931         * misc/fchflags.c: Likewise.
51932         * misc/fgetxattr.c: Likewise.
51933         * misc/flistxattr.c: Likewise.
51934         * misc/fremovexattr.c: Likewise.
51935         * misc/fsetxattr.c: Likewise.
51936         * misc/fsync.c: Likewise.
51937         * misc/ftruncate.c: Likewise.
51938         * misc/futimes.c: Likewise.
51939         * misc/futimesat.c: Likewise.
51940         * misc/getdomain.c: Likewise.
51941         * misc/getdtsz.c: Likewise.
51942         * misc/gethostid.c: Likewise.
51943         * misc/gethostname.c: Likewise.
51944         * misc/getloadavg.c: Likewise.
51945         * misc/getpagesize.c: Likewise.
51946         * misc/getsysstats.c: Likewise.
51947         * misc/getxattr.c: Likewise.
51948         * misc/gtty.c: Likewise.
51949         * misc/ioctl.c: Likewise.
51950         * misc/lgetxattr.c: Likewise.
51951         * misc/listxattr.c: Likewise.
51952         * misc/llistxattr.c: Likewise.
51953         * misc/lremovexattr.c: Likewise.
51954         * misc/lsetxattr.c: Likewise.
51955         * misc/lutimes.c: Likewise.
51956         * misc/madvise.c: Likewise.
51957         * misc/mincore.c: Likewise.
51958         * misc/mlock.c: Likewise.
51959         * misc/mlockall.c: Likewise.
51960         * misc/mmap.c: Likewise.
51961         * misc/mprotect.c: Likewise.
51962         * misc/msync.c: Likewise.
51963         * misc/munlock.c: Likewise.
51964         * misc/munlockall.c: Likewise.
51965         * misc/munmap.c: Likewise.
51966         * misc/preadv.c: Likewise.
51967         * misc/preadv64.c: Likewise.
51968         * misc/ptrace.c: Likewise.
51969         * misc/pwritev.c: Likewise.
51970         * misc/pwritev64.c: Likewise.
51971         * misc/readv.c: Likewise.
51972         * misc/reboot.c: Likewise.
51973         * misc/remap_file_pages.c: Likewise.
51974         * misc/removexattr.c: Likewise.
51975         * misc/revoke.c: Likewise.
51976         * misc/select.c: Likewise.
51977         * misc/setdomain.c: Likewise.
51978         * misc/setegid.c: Likewise.
51979         * misc/seteuid.c: Likewise.
51980         * misc/sethostid.c: Likewise.
51981         * misc/sethostname.c: Likewise.
51982         * misc/setregid.c: Likewise.
51983         * misc/setreuid.c: Likewise.
51984         * misc/setxattr.c: Likewise.
51985         * misc/sstk.c: Likewise.
51986         * misc/stty.c: Likewise.
51987         * misc/swapoff.c: Likewise.
51988         * misc/swapon.c: Likewise.
51989         * misc/sync.c: Likewise.
51990         * misc/syncfs.c: Likewise.
51991         * misc/syscall.c: Likewise.
51992         * misc/truncate.c: Likewise.
51993         * misc/ualarm.c: Likewise.
51994         * misc/usleep.c: Likewise.
51995         * misc/ustat.c: Likewise.
51996         * misc/utimes.c: Likewise.
51997         * misc/vhangup.c: Likewise.
51998         * misc/writev.c: Likewise.
51999         * posix/_exit.c: Likewise.
52000         * posix/alarm.c: Likewise.
52001         * posix/execve.c: Likewise.
52002         * posix/fexecve.c: Likewise.
52003         * posix/fork.c: Likewise.
52004         * posix/fpathconf.c: Likewise.
52005         * posix/getaddrinfo.c: Likewise.
52006         * posix/getegid.c: Likewise.
52007         * posix/geteuid.c: Likewise.
52008         * posix/getgid.c: Likewise.
52009         * posix/getgroups.c: Likewise.
52010         * posix/getlogin.c: Likewise.
52011         * posix/getlogin_r.c: Likewise.
52012         * posix/getpgid.c: Likewise.
52013         * posix/getpid.c: Likewise.
52014         * posix/getppid.c: Likewise.
52015         * posix/getresgid.c: Likewise.
52016         * posix/getresuid.c: Likewise.
52017         * posix/getsid.c: Likewise.
52018         * posix/getuid.c: Likewise.
52019         * posix/glob64.c: Likewise.
52020         * posix/nanosleep.c: Likewise.
52021         * posix/pathconf.c: Likewise.
52022         * posix/pause.c: Likewise.
52023         * posix/posix_madvise.c: Likewise.
52024         * posix/pread.c: Likewise.
52025         * posix/pread64.c: Likewise.
52026         * posix/pwrite.c: Likewise.
52027         * posix/pwrite64.c: Likewise.
52028         * posix/sched_getaffinity.c: Likewise.
52029         * posix/sched_getp.c: Likewise.
52030         * posix/sched_gets.c: Likewise.
52031         * posix/sched_primax.c: Likewise.
52032         * posix/sched_primin.c: Likewise.
52033         * posix/sched_rr_gi.c: Likewise.
52034         * posix/sched_setaffinity.c: Likewise.
52035         * posix/sched_setp.c: Likewise.
52036         * posix/sched_sets.c: Likewise.
52037         * posix/sched_yield.c: Likewise.
52038         * posix/setgid.c: Likewise.
52039         * posix/setlogin.c: Likewise.
52040         * posix/setpgid.c: Likewise.
52041         * posix/setresgid.c: Likewise.
52042         * posix/setresuid.c: Likewise.
52043         * posix/setsid.c: Likewise.
52044         * posix/setuid.c: Likewise.
52045         * posix/sleep.c: Likewise.
52046         * posix/spawni.c: Likewise.
52047         * posix/sysconf.c: Likewise.
52048         * posix/times.c: Likewise.
52049         * posix/wait.c: Likewise.
52050         * posix/wait3.c: Likewise.
52051         * posix/wait4.c: Likewise.
52052         * posix/waitpid.c: Likewise.
52053         * resolv/gai_sigqueue.c: Likewise.
52054         * resource/getpriority.c: Likewise.
52055         * resource/getrlimit.c: Likewise.
52056         * resource/getrusage.c: Likewise.
52057         * resource/nice.c: Likewise.
52058         * resource/setpriority.c: Likewise.
52059         * resource/setrlimit.c: Likewise.
52060         * resource/ulimit.c: Likewise.
52061         * rt/aio_cancel.c: Likewise.
52062         * rt/aio_fsync.c: Likewise.
52063         * rt/aio_read.c: Likewise.
52064         * rt/aio_sigqueue.c: Likewise.
52065         * rt/aio_suspend.c: Likewise.
52066         * rt/aio_write.c: Likewise.
52067         * rt/clock_getres.c: Likewise.
52068         * rt/clock_gettime.c: Likewise.
52069         * rt/clock_nanosleep.c: Likewise.
52070         * rt/clock_settime.c: Likewise.
52071         * rt/lio_listio.c: Likewise.
52072         * rt/mq_close.c: Likewise.
52073         * rt/mq_getattr.c: Likewise.
52074         * rt/mq_notify.c: Likewise.
52075         * rt/mq_open.c: Likewise.
52076         * rt/mq_receive.c: Likewise.
52077         * rt/mq_send.c: Likewise.
52078         * rt/mq_setattr.c: Likewise.
52079         * rt/mq_timedreceive.c: Likewise.
52080         * rt/mq_timedsend.c: Likewise.
52081         * rt/mq_unlink.c: Likewise.
52082         * rt/shm_open.c: Likewise.
52083         * rt/shm_unlink.c: Likewise.
52084         * rt/timer_create.c: Likewise.
52085         * rt/timer_delete.c: Likewise.
52086         * rt/timer_getoverr.c: Likewise.
52087         * rt/timer_gettime.c: Likewise.
52088         * rt/timer_settime.c: Likewise.
52089         * setjmp/__longjmp.c: Likewise.
52090         * setjmp/setjmp.c: Likewise.
52091         * signal/kill.c: Likewise.
52092         * signal/killpg.c: Likewise.
52093         * signal/raise.c: Likewise.
52094         * signal/sigaction.c: Likewise.
52095         * signal/sigaltstack.c: Likewise.
52096         * signal/sigblock.c: Likewise.
52097         * signal/sigignore.c: Likewise.
52098         * signal/sigintr.c: Likewise.
52099         * signal/signal.c: Likewise.
52100         * signal/sigpause.c: Likewise.
52101         * signal/sigpending.c: Likewise.
52102         * signal/sigqueue.c: Likewise.
52103         * signal/sigreturn.c: Likewise.
52104         * signal/sigset.c: Likewise.
52105         * signal/sigsetmask.c: Likewise.
52106         * signal/sigstack.c: Likewise.
52107         * signal/sigsuspend.c: Likewise.
52108         * signal/sigtimedwait.c: Likewise.
52109         * signal/sigvec.c: Likewise.
52110         * signal/sigwait.c: Likewise.
52111         * signal/sigwaitinfo.c: Likewise.
52112         * signal/sysv_signal.c: Likewise.
52113         * socket/accept.c: Likewise.
52114         * socket/accept4.c: Likewise.
52115         * socket/bind.c: Likewise.
52116         * socket/connect.c: Likewise.
52117         * socket/getpeername.c: Likewise.
52118         * socket/getsockname.c: Likewise.
52119         * socket/getsockopt.c: Likewise.
52120         * socket/isfdtype.c: Likewise.
52121         * socket/listen.c: Likewise.
52122         * socket/recv.c: Likewise.
52123         * socket/recvfrom.c: Likewise.
52124         * socket/recvmsg.c: Likewise.
52125         * socket/send.c: Likewise.
52126         * socket/sendmsg.c: Likewise.
52127         * socket/sendto.c: Likewise.
52128         * socket/setsockopt.c: Likewise.
52129         * socket/shutdown.c: Likewise.
52130         * socket/sockatmark.c: Likewise.
52131         * socket/socket.c: Likewise.
52132         * socket/socketpair.c: Likewise.
52133         * stdio-common/ctermid.c: Likewise.
52134         * stdio-common/cuserid.c: Likewise.
52135         * stdio-common/remove.c: Likewise.
52136         * stdio-common/rename.c: Likewise.
52137         * stdio-common/renameat.c: Likewise.
52138         * stdio-common/tempname.c: Likewise.
52139         * stdlib/getcontext.c: Likewise.
52140         * stdlib/makecontext.c: Likewise.
52141         * stdlib/setcontext.c: Likewise.
52142         * stdlib/swapcontext.c: Likewise.
52143         * stdlib/system.c: Likewise.
52144         * streams/fattach.c: Likewise.
52145         * streams/fdetach.c: Likewise.
52146         * streams/getmsg.c: Likewise.
52147         * streams/getpmsg.c: Likewise.
52148         * streams/putmsg.c: Likewise.
52149         * streams/putpmsg.c: Likewise.
52150         * sysdeps/unix/bsd/getpt.c: Likewise.
52151         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
52152         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
52153         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52155         Likewise.
52156         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
52157         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52158         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
52159         * sysvipc/msgctl.c: Likewise.
52160         * sysvipc/msgget.c: Likewise.
52161         * sysvipc/msgrcv.c: Likewise.
52162         * sysvipc/msgsnd.c: Likewise.
52163         * sysvipc/semctl.c: Likewise.
52164         * sysvipc/semget.c: Likewise.
52165         * sysvipc/semop.c: Likewise.
52166         * sysvipc/semtimedop.c: Likewise.
52167         * sysvipc/shmat.c: Likewise.
52168         * sysvipc/shmctl.c: Likewise.
52169         * sysvipc/shmdt.c: Likewise.
52170         * sysvipc/shmget.c: Likewise.
52171         * termios/tcdrain.c: Likewise.
52172         * termios/tcflow.c: Likewise.
52173         * termios/tcflush.c: Likewise.
52174         * termios/tcgetattr.c: Likewise.
52175         * termios/tcgetpgrp.c: Likewise.
52176         * termios/tcsendbrk.c: Likewise.
52177         * termios/tcsetattr.c: Likewise.
52178         * termios/tcsetpgrp.c: Likewise.
52179         * time/adjtime.c: Likewise.
52180         * time/clock.c: Likewise.
52181         * time/getitimer.c: Likewise.
52182         * time/gettimeofday.c: Likewise.
52183         * time/setitimer.c: Likewise.
52184         * time/settimeofday.c: Likewise.
52185         * time/stime.c: Likewise.
52186         * time/time.c: Likewise.
52188 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
52190         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
52191         /usr/old/bin.
52193         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
52194         instead of spaces.
52195         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
52197 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
52199         [BZ #14796]
52200         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
52201         FE_TONEAREST before applying Dekker multiplication and Knuth
52202         addition.  Clear inexact exceptions and check for exact zero
52203         results afterwards.
52204         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52205         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52206         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52207         * math/libm-test.inc (fma_test): Add more tests.
52208         (fma_test_towardzero): Likewise.
52209         (fma_test_downward): Likewise.
52210         (fma_test_upward): Likewise.
52211         * sysdeps/generic/math_private.h (default_libc_fesetround): New
52212         function.
52213         (libc_fesetround): New macro.
52214         (libc_fesetroundf): Likewise.
52215         (libc_fesetroundl): Likewise.
52216         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
52217         function.
52218         (libc_fesetround_387): Likewise.
52219         (libc_fesetroundf): New macro.
52220         (libc_fesetround): Likewise.
52221         (libc_fesetroundl): Likewise.
52222         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
52223         function.
52224         (libc_fesetroundf): New macro.
52225         (libc_fesetround): Likewise.
52226         (libc_fesetroundl): Likewise.
52227         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
52228         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
52229         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
52230         libm_hidden_ver.
52231         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
52232         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
52233         libm_hidden_def.
52234         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
52235         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
52236         libm_hidden_ver.
52237         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
52238         libm_hidden_def.
52240         [BZ #3439]
52241         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
52242         integer constant usable in #if and use that to give value to enum
52243         constant.
52244         (FE_DIVBYZERO): Likewise.
52245         (FE_UNDERFLOW): Likewise.
52246         (FE_OVERFLOW): Likewise.
52247         (FE_INVALID): Likewise.
52248         (FE_INVALID_SNAN): Likewise.
52249         (FE_INVALID_ISI): Likewise.
52250         (FE_INVALID_IDI): Likewise.
52251         (FE_INVALID_ZDZ): Likewise.
52252         (FE_INVALID_IMZ): Likewise.
52253         (FE_INVALID_COMPARE): Likewise.
52254         (FE_INVALID_SOFTWARE): Likewise.
52255         (FE_INVALID_SQRT): Likewise.
52256         (FE_INVALID_INTEGER_CONVERSION): Likewise.
52257         (FE_TONEAREST): Likewise.
52258         (FE_TOWARDZERO): Likewise.
52259         (FE_UPWARD): Likewise.
52260         (FE_DOWNWARD): Likewise.
52261         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
52262         (FE_DIVBYZERO): Likewise.
52263         (FE_OVERFLOW): Likewise.
52264         (FE_UNDERFLOW): Likewise.
52265         (FE_INEXACT): Likewise.
52266         (FE_TONEAREST): Likewise.
52267         (FE_DOWNWARD): Likewise.
52268         (FE_UPWARD): Likewise.
52269         (FE_TOWARDZERO): Likewise.
52270         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
52271         (FE_UNDERFLOW): Likewise.
52272         (FE_OVERFLOW): Likewise.
52273         (FE_DIVBYZERO): Likewise.
52274         (FE_INVALID): Likewise.
52275         (FE_TONEAREST): Likewise.
52276         (FE_TOWARDZERO): Likewise.
52277         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
52278         (FE_OVERFLOW): Likewise.
52279         (FE_UNDERFLOW): Likewise.
52280         (FE_DIVBYZERO): Likewise.
52281         (FE_INEXACT): Likewise.
52282         (FE_TONEAREST): Likewise.
52283         (FE_TOWARDZERO): Likewise.
52284         (FE_UPWARD): Likewise.
52285         (FE_DOWNWARD): Likewise.
52286         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
52287         (FE_DIVBYZERO): Likewise.
52288         (FE_OVERFLOW): Likewise.
52289         (FE_UNDERFLOW): Likewise.
52290         (FE_INEXACT): Likewise.
52291         (FE_TONEAREST): Likewise.
52292         (FE_DOWNWARD): Likewise.
52293         (FE_UPWARD): Likewise.
52294         (FE_TOWARDZERO): Likewise.
52296 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
52298         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
52300 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
52302         * scripts/cross-test-ssh.sh (command): Use newlines to separate
52303         commands.  Quote $PWD.
52304         (blacklist_exports): Don't use remove_newlines.  Replace "declare
52305         -x" by "export".
52306         (remove_newlines): Remove.
52308 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
52310         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
52311         * stdlib/stdlib.h (atof): Moved to ...
52312         * include/bits/stdlib-float.h: Here.  New file.
52313         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
52314         * stdlib/bits/stdlib-float.h: New file.
52315         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
52316         -mno-sse -mno-mmx.
52317         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
52318         <xmmintrin.h>.
52320 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
52322         * conform/conformtest.pl (@headers): Add fenv.h.
52323         * conform/data/fenv.h-data: New file.
52324         * include/fenv.h [_ISOMAC]: Disable all contents of file except
52325         include of <math/fenv.h>.
52327         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
52328         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
52329         && !UNIX98].  Enables tests for XOPEN2K8.
52330         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
52331         POSIX2008]: Likewise.
52333         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
52334         (struct rusage): Do not expect type or its members.
52336         [BZ #3439]
52337         * math/math.h (FP_NAN): Define macro to integer constant usable in
52338         #if and use that to give value to enum constant.
52339         (FP_INFINITE): Likewise.
52340         (FP_ZERO): Likewise.
52341         (FP_SUBNORMAL): Likewise.
52342         (FP_NORMAL): Likewise.
52344 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
52346         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
52347         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
52348         arguments.
52350 2012-11-02  Roland McGrath  <roland@hack.frob.com>
52352         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
52353         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
52354         autoconf-time if not.
52355         * configure.in: Remove AC_PREREQ.
52357 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52359         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
52360         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
52361         of the internal implementation.
52363 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
52365         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
52366         except include of <misc/sys/syslog.h>.
52368 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
52371         function returns with a NULL context exit with zero.
52373 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52375         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
52377 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
52379         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
52380         (run_program_cmd): This.
52381         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
52382         (tst_langinfo): New variable.  Use it.
52384 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
52386         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
52387         floating point opcodes.
52389 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52391         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
52392         variable.
52394         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
52396         * sysdeps/mach/hurd/powerpc: Remove directory.
52397         * sysdeps/mach/powerpc: Likewise.
52399 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52401         * scripts/check-local-headers.sh: Ignore c++ headers.
52403 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52405         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
52406         __libc_cleanup_region_start argument.
52408 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
52410         [BZ #14784]
52411         [BZ #14785]
52412         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
52413         x * y using scaling, not as x * y + z.
52414         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52415         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52416         * math/libm-test.inc (fma_test): Add more tests.
52417         (fma_test_towardzero): Likewise.
52418         (fma_test_downward): Likewise.
52419         (fma_test_upward): Likewise.
52421 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52423         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
52425 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
52427         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
52428         New variable.
52430 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
52432         * rt/tst-shm.c (worker): Correct checking for mmap failure.
52434 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
52436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52437         Fix sort order.
52438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52439         Likewise.
52441 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52444         Fix the order of the list for glibc 2.17.
52445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52446         Likewise.
52448 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
52450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52452 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
52454         [BZ #14610]
52455         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
52456         for low part of x being zero before using __atanl (y).
52457         * math/libm-test.inc (atan2_test): Add another test.
52459         * manual/install.texi (Configuring and compiling): Document
52460         general use of test-wrapper and test-wrapper-env.
52461         * INSTALL: Regenerated.
52463         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
52464         (__fma): Do not extract and scale down low bits on after-rounding
52465         systems when result rounded to normal precision would have normal
52466         exponent.
52467         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
52468         (__fmal): Do not extract and scale down low bits on after-rounding
52469         systems when result rounded to normal precision would have normal
52470         exponent.
52471         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
52472         (__fmal): Do not extract and scale down low bits on after-rounding
52473         systems when result rounded to normal precision would have normal
52474         exponent.
52475         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
52476         macro.
52477         (fma_test): Add more tests.
52478         (fma_test_towardzero): Likewise.
52479         (fma_test_downward): Likewise.
52480         (fma_test_upward): Likewise.
52482 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
52484         * sysdeps/i386/tininess.h: Renamed to ...
52485         * sysdeps/x86/tininess.h: This.
52486         * sysdeps/x86_64/tininess.h: Removed.
52488 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
52490         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
52491         input.  Use $(build-program-cmd).
52492         ($(objpfx)tst-array1-static.out): Likewise.
52493         ($(objpfx)tst-array2.out): Likewise.
52494         ($(objpfx)tst-array3.out): Likewise.
52495         ($(objpfx)tst-array4.out): Likewise.
52496         ($(objpfx)tst-array5.out): Likewise.
52497         ($(objpfx)tst-array5-static.out): Likewise.
52499 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
52501         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
52502         if defined.
52504         * nss/nsswitch.h (nss_interface_function): Provide new
52505         macro for use with NSS functions.
52506         * grp/initgroups.c: Use new macro.
52507         * nss/getXXbyYY.c: Likewise.
52508         * nss/getXXbyYY_r.c: Likewise.
52509         * nss/getXXent.c: Likewise.
52510         * nss/getXXent_r.c: Likewise.
52511         * sysdeps/posix/getaddrinfo.c: Likewise.
52513 2012-10-30  Andreas Jaeger  <aj@suse.de>
52515         * po/ru.po: Update Russion translation from translation project.
52517 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
52519         [BZ #14152]
52520         [BZ #14783]
52521         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
52522         result and shift together with sticky bit instead of replicating
52523         round-to-nearest rounding.
52524         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52525         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52526         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
52527         missing underflow exceptions.
52528         (fma_test_towardzero): Add more tests.
52529         (fma_test_downward): Likewise.
52530         (fma_test_upward): Likewise.
52532         [BZ #14047]
52533         * sysdeps/generic/tininess.h: New file.
52534         * sysdeps/i386/tininess.h: Likewise.
52535         * sysdeps/sh/tininess.h: Likewise.
52536         * sysdeps/x86_64/tininess.h: Likewise.
52537         * stdlib/tst-strtod-underflow.c: Likewise.
52538         * stdlib/tst-tininess.c: Likewise.
52539         * stdlib/strtod_l.c: Include <tininess.h>.
52540         (round_and_return): Do not set errno for exact underflow cases.
52541         Force an underflow exception when setting errno for underflow.
52542         Determine underflow based on rounding to normal precision if
52543         TININESS_AFTER_ROUNDING.
52544         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
52545         ERANGE for exact underflow cases.
52546         * stdlib/Makefile (tests): Add tst-tininess and
52547         tst-strtod-underflow.
52548         ($(objpfx)tst-tininess): Use $(link-libm).
52549         ($(objpfx)tst-strtod-underflow): Likewise.
52551 2012-10-30  Andreas Jaeger  <aj@suse.de>
52553         [BZ#14767]
52554         * elf/Makefile (tests): Remove conditional for have-initfini-array
52555         since this is now always required and the variable does not exist
52556         anymore.
52557         (tests-static): Likewise.
52558         (modules-names): Likewise.
52560         * po/eo.po: Add Esperanto translation from translation project.
52562         * elf/tst-array1.c (fini_array): Make writeable so that it can be
52563         merged with constructor/destructor.
52564         (init_array): Likewise.
52565         * elf/tst-array2dep.c (fini_array): Likewise.
52566         (init_array): Likewise.
52568 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
52570         * manual/message.texi: Delete @cartouche tags.
52572 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
52574         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
52575         EOPNOTSUPP.
52576         * sysdeps/mach/hurd/fsync.c: Likewise.
52578         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
52579         [_POSIX_REALTIME_SIGNALS]: Change condition to
52580         [_POSIX_REALTIME_SIGNALS > 0].
52582 2012-10-27  Andreas Jaeger  <aj@suse.de>
52584         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
52585         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
52586         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
52587         [__WORDSIZE != 64]: Likewise.
52589 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
52591         *  iconvdata/tst-table.sh: Remove ${SHELL}.
52592         *  iconvdata/tst-tables.sh: Likewise.
52594 2012-10-25  David S. Miller  <davem@davemloft.net>
52596         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52597         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
52598         of strtoull.
52600         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
52601         ifunc-impl-list.c
52602         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52603         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
52604         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
52605         file.
52607 2012-10-25  Roland McGrath  <roland@hack.frob.com>
52609         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52610         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
52611         __getdirentries.
52613 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
52614             Jim Blandy  <jimb@codesourcery.com>
52616         * scripts/cross-test-ssh.sh: New file.
52617         * manual/install.texi (Configuring and compiling): Document use of
52618         cross-test-ssh.sh.
52619         * INSTALL: Regenerated.
52621 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
52623         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
52624         EOPNOTSUPP.
52626 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
52628         * Makeconfig (run-program-prefix): Fix comment.
52630 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
52631             Jim Blandy  <jimb@codesourcery.com>
52633         * Makeconfig (test-wrapper): New variable,
52634         (test-wrapper-env): Likewise.
52635         [$(cross-compiling) = yes && $(test-wrapper) != ""]
52636         (run-built-tests): Define to yes.
52637         (run-program-prefix): Use $(test-wrapper).
52638         (built-program-cmd): Likewise.
52639         * Rules (make-test-out): Use $(test-wrapper-env) and
52640         $(host-built-program-cmd).
52641         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
52642         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
52643         tst-pathopt.sh.
52644         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
52645         $(test-wrapper-env) to tst-rtld-load-self.sh.
52646         ($(objpfx)order2.out): Use $(test-wrapper).
52647         ($(objpfx)tst-initorder.out): Likewise.
52648         ($(objpfx)tst-initorder2.out): Likewise.
52649         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
52650         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
52651         (test_wrapper_env): New variable.  Use it to run ld.so.
52652         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
52653         Use it to run ld.so.
52654         (test_wrapper_env): Likewise.
52655         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
52656         $(test-wrapper) to run-iconv-test.sh.
52657         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
52658         (ICONV): Use $test_wrapper.
52659         * posix/Makefile ($(objpfx)globtest.out): Pass
52660         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
52661         globtest.sh, not $(run-program-prefix).
52662         * posix/globtest.sh (run_via_rtld_prefix): New variable.
52663         (test_wrapper): Likewise.
52664         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
52665         set together with run_via_rtld_prefix.
52666         (run_program_prefix): Define in terms of test_wrapper and
52667         run_via_rtld_prefix.
52669 2012-10-24  Roland McGrath  <roland@hack.frob.com>
52671         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
52672         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
52673         Targets removed.
52675         [BZ #14743]
52676         * include/time.h: Remove librt_hidden_proto (clock_gettime).
52677         Declare __clock_getres, __clock_gettime, __clock_settime,
52678         __clock_nanosleep, and __clock_getcpuclockid.
52679         * rt/clock_gettime.c: Define __clock_gettime as an alias.
52680         Remove librt_hidden_def (clock_gettime).
52681         * sysdeps/unix/clock_gettime.c: Likewise.
52682         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
52683         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
52684         * rt/clock_getres.c: Define __clock_getres as an alias.
52685         * sysdeps/posix/clock_getres.c: Likewise.
52686         * rt/clock_settime.c: Define __clock_settime as an alias.
52687         * sysdeps/unix/clock_settime.c: Likewise.
52688         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
52689         * sysdeps/unix/clock_nanosleep.c: Likewise.
52690         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
52691         * rt/clock-compat.c: New file.
52692         * rt/Makefile (librt-routines): Add clock-compat and move
52693         $(clock-routines) to ...
52694         (routines): ... here, new variable.
52695         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
52696         Don't add get_clockfreq here.
52697         * rt/Versions (libc: GLIBC_2.17): New version set.
52698         Add clock_* symbols here.
52699         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
52700         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
52701         (GLIBC_2.17): Add clock_* symbols.
52702         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
52703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
52704         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52706         Likewise.
52707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52708         Likewise.
52709         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52710         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
52711         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
52712         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
52713         * NEWS: Mention the move.
52715         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52716         Use __open, __read, __close rather than their public counterparts.
52717         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52718         (__get_clockfreq_via_cpuinfo): Likewise.
52719         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
52720         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
52722         * config.h.in (HAVE_IFUNC): New #undef.
52723         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
52724         was successful.
52725         * configure: Regenerated.
52727 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52729         * configure.in: Move READELF check to start of file.
52730         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
52731         libc_cv_asm_gnu_indirect_function in the process.
52732         * configure: Regenerated.
52734 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52736         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
52737         send the output to /dev/null.
52738         (libc_cv_cc_with_libunwind): Likewise.
52739         (libc_cv_as_noexecstack): Likewise.
52740         * configure: Regenerate.
52742 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
52744         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
52746         * posix/globtest.sh (TMPDIR): Do not set.
52747         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
52748         (testout): Likewise.
52750 2012-10-24  Andreas Jaeger  <aj@suse.de>
52752         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
52753         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
52754         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
52755         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
52756         posix_fadvise64, posix_fallocate64.
52758         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
52759         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
52760         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
52761         Likewise.
52762         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
52763         Likewise.
52764         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
52766         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
52767         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
52768         <bits/fcntl-linux.h>.
52769         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
52771         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
52772         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
52773         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
52774         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
52775         [__WORDSIZE != 64]: Likewise.
52777 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
52779         * Makeconfig (run-built-tests): New variable.
52780         * Rules [$(cross-compiling) = yes]: Change condition to
52781         [$(run-built-tests) = no].
52782         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
52783         to [$(run-built-tests) = yes].
52784         * elf/Makefile [$(cross-compiling) = no]: Likewise.
52785         * grp/Makefile [$(cross-compiling) = no]: Likewise.
52786         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
52787         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
52788         * intl/Makefile [$(cross-compiling) = no]: Likewise.
52789         * io/Makefile [$(cross-compiling) = no]: Likewise.
52790         * libio/Makefile [$(cross-compiling) = no]: Likewise.
52791         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
52792         * misc/Makefile [$(cross-compiling) = no]: Likewise.
52793         * posix/Makefile [$(cross-compiling) = no]: Likewise.
52794         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
52795         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
52796         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
52797         * string/Makefile [$(cross-compiling) = no]: Likewise.
52799         * posix/Makefile ($(objpfx)globtest.out): Pass
52800         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
52801         $(rtld-installed-name).
52802         * posix/globtest.sh (elf_objpfx): Remove variable.
52803         (rtld_installed_name): Likewise.
52804         (library_path): Likewise.
52805         (run_program_prefix): New variable.  Use for running globtest
52806         binary.
52808 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
52809             Joseph Myers  <joseph@codesourcery.com>
52811         * Makeconfig (host-built-program-cmd): New variable.
52812         * elf/Makefile (tst-stackguard1-ARGS): Use
52813         $(host-built-program-cmd).
52814         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
52815         (tst-spawn-ARGS): Likewise.
52816         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
52818 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
52819             Jim Blandy  <jimb@codesourcery.com>
52821         * Makeconfig (run-via-rtld-prefix): New variable.
52822         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
52823         (built-program-cmd): Likewise.
52825 2012-10-22  Andreas Jaeger  <aj@suse.de>
52827         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
52828         __O_RSYNC if it exists, otherwise to O_SYNC.
52830 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
52831             Joseph Myers  <joseph@codesourcery.com>
52833         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
52834         /dev/null.
52835         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
52836         from /dev/null
52837         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
52838         /dev/null.
52840 2012-10-22  Andreas Jaeger  <aj@suse.de>
52842         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
52843         Define always.
52844         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
52846         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52847         bits/fcntl-linux.h.
52849         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
52850         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
52852         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
52853         to __O_LARGEFILE.
52854         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
52855         to __O_LARGEFILE.
52857 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
52858             Joseph Myers  <joseph@codesourcery.com>
52860         * config.make.in (NM): New variable.
52862 2012-10-21  Andreas Jaeger  <aj@suse.de>
52864         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
52865         definitions and declarations that are provided by
52866         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52868 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
52870         [BZ #14683]
52871         * elf/Makefile (tests-static): Add tst-leaks1-static.
52872         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
52873         ($(objpfx)tst-leaks1-static): New rule.
52874         ($(objpfx)tst-leaks1-static-mem): Likewise.
52875         (tst-leaks1-static-ENV): New macro.
52876         * elf/dl-open.c (dl_open_worker): Check the main application
52877         only if SHARED is defined.
52878         * elf/tst-leaks1-static.c: New file.
52880 2012-10-20  Andreas Jaeger  <aj@suse.de>
52882         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
52883         generic values for Linux.
52884         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
52885         and declarations that are provided by <bits/fcntl-linux.h> and
52886         include <bits/fcntl-linux.h>.
52887         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52888         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52890 2012-10-20  Roland McGrath  <roland@hack.frob.com>
52892         * io/fcntl.h: Move include of <bits/types.h> to the top and
52893         include it unconditionally.
52895 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
52897         * wcsmbs/Makefile (tests-ifunc): New variable.
52898         (tests): Add $(tests-ifunc).
52899         * wcsmbs/test-wcschr-ifunc.c: New file.
52900         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
52901         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
52902         * wcsmbs/test-wcslen-ifunc.c: Likewise.
52903         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
52904         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
52906         * string/Makefile (tests-ifunc): New variable.
52907         (tests): Add $(tests-ifunc).
52908         * string/test-memccpy.c (TEST_NAME): New macro.
52909         * string/test-memchr.c (TEST_NAME): Likewise.
52910         * string/test-memcmp.c (TEST_NAME): Likewise.
52911         * string/test-memcpy.c (TEST_NAME): Likewise.
52912         * string/test-memmem.c (TEST_NAME): Likewise.
52913         * string/test-memmove.c (TEST_NAME): Likewise.
52914         * string/test-memset.c (TEST_NAME): Likewise.
52915         * string/test-rawmemchr.c (TEST_NAME): Likewise.
52916         * string/test-stpcpy.c (TEST_NAME): Likewise.
52917         * string/test-stpncpy.c (TEST_NAME): Likewise.
52918         * string/test-strcasecmp.c (TEST_NAME): Likewise.
52919         * string/test-strcasestr.c (TEST_NAME): Likewise.
52920         * string/test-strcat.c (TEST_NAME): Likewise.
52921         * string/test-strchr.c (TEST_NAME): Likewise.
52922         * string/test-strcmp.c(TEST_NAME): Likewise.
52923         * string/test-strcpy.c (TEST_NAME): Likewise.
52924         * string/test-strcspn.c (TEST_NAME): Likewise.
52925         * string/test-strlen.c (TEST_NAME): Likewise.
52926         * string/test-strncasecmp.c (TEST_NAME): Likewise.
52927         * string/test-strncmp.c (TEST_NAME): Likewise.
52928         * string/test-strncpy.c (TEST_NAME): Likewise.
52929         * string/test-strnlen.c (TEST_NAME): Likewise.
52930         * string/test-strpbrk.c (TEST_NAME): Likewise.
52931         * string/test-strrchr.c (TEST_NAME): Likewise.
52932         * string/test-strspn.c (TEST_NAME): Likewise.
52933         * string/test-strstr.c (TEST_NAME): Likewise.
52934         * string/test-bcopy-ifunc.c: New file.
52935         * string/test-bzero-ifunc.c: Likewise.
52936         * string/test-memccpy-ifunc.c: Likewise.
52937         * string/test-memchr-ifunc.c: Likewise.
52938         * string/test-memcmp-ifunc.c: Likewise.
52939         * string/test-memcpy-ifunc.c: Likewise.
52940         * string/test-memmem-ifunc.c: Likewise.
52941         * string/test-memmove-ifunc.c: Likewise.
52942         * string/test-mempcpy-ifunc.c: Likewise.
52943         * string/test-memset-ifunc.c: Likewise.
52944         * string/test-rawmemchr-ifunc.c: Likewise.
52945         * string/test-stpcpy-ifunc.c: Likewise.
52946         * string/test-stpncpy-ifunc.c: Likewise.
52947         * string/test-strcasecmp-ifunc.c: Likewise.
52948         * string/test-strcasestr-ifunc.c: Likewise.
52949         * string/test-strcat-ifunc.c: Likewise.
52950         * string/test-strchr-ifunc.c: Likewise.
52951         * string/test-strchrnul-ifunc.c: Likewise.
52952         * string/test-strcmp-ifunc.c: Likewise.
52953         * string/test-strcpy-ifunc.c: Likewise.
52954         * string/test-strcspn-ifunc.c: Likewise.
52955         * string/test-strlen-ifunc.c: Likewise.
52956         * string/test-strncasecmp-ifunc.c: Likewise.
52957         * string/test-strncat-ifunc.c: Likewise.
52958         * string/test-strncmp-ifunc.c: Likewise.
52959         * string/test-strncpy-ifunc.c: Likewise.
52960         * string/test-strnlen-ifunc.c: Likewise.
52961         * string/test-strpbrk-ifunc.c: Likewise.
52962         * string/test-strrchr-ifunc.c: Likewise.
52963         * string/test-strspn-ifunc.c: Likewise.
52964         * string/test-strstr-ifunc.c: Likewise.
52966         * debug/Makefile (tests-ifunc): New variable.
52967         (tests): Add $(tests-ifunc).
52968         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
52969         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
52970         * debug/test-stpcpy_chk-ifunc.c: New file.
52971         * debug/test-strcpy_chk-ifunc.c: Likewise.
52973 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52975         [BZ #13601]
52976         * elf/dl-load.c (open_verify): Retry read if the entire ELF
52977         header is not read in.
52979 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
52981         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
52982         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
52983         directly.  Pass built executable to script as
52984         $(built-program-cmd).
52985         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
52986         $testprogram without using LD_LIBRARY_PATH and $ldso.
52988         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
52989         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
52990         $(rtld-installed-name).
52991         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
52992         (rtld_installed_name): Likewise.
52993         (library_path): Likewise.
52994         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
52995         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
52996         $(run-program-prefix) to tst-tables.sh.
52997         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
52998         it to run tst-table-from and tst-table-to.
52999         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
53000         Pass it to tst-table.sh.
53001         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
53002         $(run-program-prefix) to tst-gettext.sh.
53003         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
53004         tst-translit.sh.
53005         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
53006         tst-gettext2.sh.
53007         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
53008         to run tst-gettext.
53009         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
53010         to run tst-gettext2.
53011         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
53012         to run tst-translit.
53013         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
53014         $(run-program-prefix) to tst-mtrace.sh.
53015         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
53016         to run tst-mtrace.
53017         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
53018         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
53019         $(rtld-installed-name).
53020         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
53021         (rtld_installed_name): Likewise.
53022         (run_program_prefix): New variable.  Use it to run wordexp-test.
53024         * Makeconfig (ARCH): Remove all definitions.
53025         (machine): Likewise.
53026         [ARCH]: Remove conditional code.
53027         [!objdir]: Give error.
53028         [!objdir] (objpfx): Remove.
53029         [!objdir] (common-objpfx): Likewise.
53030         [!objdir] (common-objdir): Likewise.
53031         * configure.in (config_makefile): Remove.  Hardcode Makefile in
53032         AC_CONFIG_FILES call.
53033         * configure: Regenerated.
53035         [BZ #13888]
53036         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
53037         or TMPDIR.
53038         (testout): Likewise.
53040         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
53041         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
53042         $(rtld-installed-name).
53043         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
53044         (rtld_installed_name): Likwise.
53045         (runit): Remove function.
53046         (run_getconf): New variable,  Use it for running getconf binary.
53048 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
53050         [BZ #14716]
53051         * string/test-memmem.c (check_result): New function.
53052         (do_one_test): Use it.
53053         (check1): New function.
53054         (test_main): Use it.
53056 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
53058         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
53060 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
53062         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
53063         (_G_LSEEK64): Likewise.
53064         (_G_MMAP64): Likewise.
53065         (_G_FSTAT64): Likewise.
53066         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
53067         (_G_LSEEK64): Likewise.
53068         (_G_MMAP64): Likewise.
53069         (_G_FSTAT64): Likewise.
53070         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
53071         unconditional.  Call __mmap64 directly.
53072         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
53073         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
53074         __lseek64 directly.
53075         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
53076         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
53077         __mmap64 directly.
53078         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
53079         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
53080         __lseek64 directly.
53081         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
53082         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
53083         __lseek64 directly.
53084         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
53085         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
53086         __lseek64 directly.
53087         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
53088         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
53089         __fxstat64 directly.
53090         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
53091         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
53092         unconditional.
53093         (freopen64) [!_G_OPEN64]: Remove conditional code.
53094         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
53095         unconditional.
53096         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
53097         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
53098         unconditional.
53099         (ftello64) [!_G_LSEEK64]: Remove conditional code.
53100         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
53101         unconditional.
53102         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53103         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
53104         unconditional.
53105         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
53106         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
53107         unconditional.
53108         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53109         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
53110         unconditional.
53111         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53112         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
53113         unconditional.
53114         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53116 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53118         [BZ #12140]
53119         * manual/memory.texi (Malloc Tunable Parameters): Add note
53120         about free list pointers overwriting some perturb bytes.
53121         Wording suggested by Roland McGrath.
53123 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
53125         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
53126         (lgamma_test): Likewise.
53127         (tgamma_test): Likewise.
53129 2012-10-16  Florian Weimer  <fweimer@redhat.com>
53131         [BZ #14700]
53132         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
53133         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
53135 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
53137         * NEWS: Mention BZ #14716.
53138         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
53139         when removing AVAILABLE1_USES_J macro.
53141 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
53143         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
53144         (__bswap_64): __uint64_t for unsigned 64-bit int.
53146 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
53148         * include/string.h (memmem): Declare libc hidden alias.
53149         * string/memmem.c (memmem): Define libc hidden alias.
53150         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
53151         __read, __close instead of open, read, close.
53153 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
53155         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
53156         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
53157         global and hidden.
53158         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
53159         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
53160         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
53161         Likewise.
53162         (__rawmemchr_sse2): Likewise.
53163         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
53164         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
53165         (__strchr_sse2): Likewise.
53166         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
53167         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
53168         (__strcasecmp_sse2): Likewise.
53169         (__strncasecmp_sse2): Likewise.
53170         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
53171         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
53172         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
53173         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
53174         (__strrchr_sse2): Likewise.
53175         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
53176         ifunc-impl-list.c.
53177         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
53178         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
53179         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
53180         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53181         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
53182         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
53183         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53184         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53185         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
53186         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
53187         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
53188         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
53189         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
53190         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
53191         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
53192         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53193         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
53194         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
53195         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
53196         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
53197         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
53198         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
53199         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
53200         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53201         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
53202         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53203         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
53204         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53205         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
53206         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
53208         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
53209         global and hidden.
53210         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
53211         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
53212         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
53213         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
53214         Likewise.
53215         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
53216         Likewise.
53217         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
53218         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
53219         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
53220         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
53221         ifunc-impl-list.c.
53222         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53223         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53224         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53225         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53226         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53227         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53228         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53229         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53230         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53231         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53232         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53233         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53234         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53235         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
53236         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
53237         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53238         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
53239         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
53240         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53241         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53242         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53243         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53244         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53245         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53246         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53247         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
53248         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
53249         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
53250         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
53251         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53252         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
53253         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53254         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53255         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
53256         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53257         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53258         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53259         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53260         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53261         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53262         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
53264         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
53265         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
53266         * include/ifunc-impl-list.h: New file.
53267         * misc/ifunc-impl-list.c: Likewise.
53268         * misc/Makefile (routines): Add ifunc-impl-list.
53269         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
53270         * string/test-string.h: Include <ifunc-impl-list.h>.
53271         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
53272         TEST_NAME]: New variables.
53273         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
53274         are defined.
53275         (test_init): Call __libc_ifunc_impl_list to initialize
53276         func_list if TEST_IFUNC and TEST_NAME are defined.
53278         * string/Makefile (strop-tests): Add bcopy and bzero.
53279         * string/test-bcopy.c: New file.
53280         * string/test-bzero.c: Likewise.
53281         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
53282         defined.
53283         * string/test-memset.c: Support bzero test if TEST_BZERO is
53284         defined.
53285         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
53286         __libc_memmove.
53287         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
53288         __libc_memset.
53289         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
53290         of memset.
53292 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
53294         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
53295         * configure: Regenerated.
53297         * Makeconfig (+link-static-before-libc): Don't include
53298         $(link-static-libc).
53300         * libio/libio.h (_IO_pos_t): Remove.
53302 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53304         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
53305         McGrath.
53307 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53309         * crypt/crypt-entry.c: Include fips-private.h.
53310         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
53311         * crypt/md5c-test.c (main): Tolerate disabled MD5.
53312         * sysdeps/unix/sysv/linux/fips-private.h: New file.
53313         * sysdeps/generic/fips-private.h: New file, dummy fallback.
53315 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53317         * crypt/crypt-private.h: Include stdbool.h.
53318         (_ufc_setup_salt_r): Return bool.
53319         * crypt/crypt-entry.c: Include errno.h.
53320         (__crypt_r): Return NULL with EINVAL for bad salt.
53321         * crypt/crypt_util.c (bad_for_salt): New.
53322         (_ufc_setup_salt_r): Check that salt is long enough and within
53323         the specified alphabet.
53324         * crypt/badsalttest.c: New file.
53325         * crypt/Makefile (tests): Add it.
53326         ($(objpfx)badsalttest): New.
53328 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
53330         * NEWS: Add entry for BZ #14602.
53332 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
53334         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
53335         type-generic.
53336         * math/libm-test.inc: Update comment listing what functions and
53337         macros are tested.
53338         (isgreater_test): New function.
53339         (isgreaterequal_test): Likewise.
53340         (isless_test): Likewise.
53341         (islessequal_test): Likewise.
53342         (islessgreater_test): Likewise.
53343         (isunordered_test): Likewise.
53344         (main): Call the new functions.
53346 2012-10-09  Roland McGrath  <roland@hack.frob.com>
53348         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
53349         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
53350         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
53351         * sysdeps/i386/configure: Regenerated.
53352         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
53353         * sysdeps/mach/configure: Regenerated.
53354         * sysdeps/mach/hurd/configure: Regenerated.
53355         * sysdeps/powerpc/configure: Regenerated.
53356         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53357         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53358         * sysdeps/s390/s390-32/configure: Regenerated.
53359         * sysdeps/s390/s390-64/configure: Regenerated.
53360         * sysdeps/sh/configure: Regenerated.
53361         * sysdeps/sparc/configure: Regenerated.
53362         * sysdeps/unix/sysv/linux/configure: Regenerated.
53363         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
53364         * sysdeps/x86_64/configure: Regenerated.
53366         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
53367         defined.  Don't check if MAP is NULL.
53369 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
53371         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
53372         (_G_stat64): Likewise.
53373         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
53374         (_G_stat64): Likewise.
53375         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
53376         instead of struct _G_stat64.
53377         * libio/fileops.c (mmap_remap_check): Likewise.
53378         (decide_maybe_mmap): Likewise.
53379         (_IO_new_file_seekoff): Likewise.
53380         (_IO_file_stat): Likewise.
53381         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
53382         _G_off64_t.
53383         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
53384         instead of struct _G_stat64.
53385         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53387 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
53389         [BZ #14602]
53390         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53391         Replace with ...
53392         (CHECK_EOL): New macro.
53393         (two_way_short_needle): Check beginning of haystack for EOL.  Use
53394         CHECK_EOL.
53395         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53396         Replace with CHECK_EOL.
53397         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53398         Replace with CHECK_EOL.
53400 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
53402         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
53403         type-generic.
53404         * math/libm-test.inc: Update comment listing what functions and
53405         macros are tested.
53406         (finite_test): New function.
53407         (isinf_test): Likewise.
53408         (isnan_test): Likewise.
53409         (fpclassify_test): Test subnormal input.
53410         (isfinite_test): Likewise.
53411         (isnormal_test): Likewise.
53412         (main): Call the new functions.
53414 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
53416         [BZ #14660]
53417         * Makerules (%.dynsym): Force C locale when running
53418         $(OBJDUMP) --dynamic-syms.
53420 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
53422         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
53423         <stdint.h>.
53425 2012-10-06  David S. Miller  <davem@davemloft.net>
53427         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
53428         upper 32-bits of the length value in %o2 since we use branch-on-register
53429         tests which consider the entire 64-bit register.
53431 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
53433         * string/test-strstr.c (check2): Add a test for page boundary.
53435 2012-10-05  David S. Miller  <davem@davemloft.net>
53437         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
53438         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
53439         file.
53440         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53441         sysdep_routines.
53442         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53443         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
53444         and bzero when HWCAP_SPARC_CRYPTO is present.
53446 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
53448         [BZ #14602]
53449         * string/test-strstr.c (check2): New function.
53450         (test_main): Call check2.
53452         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
53453         and bug-strchr1.
53454         * string/bug-strcasestr1.c (do_test): Moved to ...
53455         * string/test-strcasestr.c (check1): Here.  New function.
53456         (do_one_test): Break out result checking code into ...
53457         (check_result): This.  New function.
53458         (do_one_test): Call check_result.
53459         (test_main): Call check1.
53460         * string/bug-strchr1.c (do_test): Moved to ...
53461         * string/test-strchr.c (check1): Here.  New function.
53462         (do_one_test): Break out result checking code into ...
53463         (check_result): This.  New function.
53464         (do_one_test): Call check_result.
53465         (test_main): Call check1.
53466         * string/bug-strstr1.c (main): Moved to ...
53467         * string/test-strstr.c (check1): Here.  New function.
53468         (do_one_test): Break out result checking code into ...
53469         (check_result): This.  New function.
53470         (do_one_test): Call check_result.
53471         (test_main): Call check1.
53472         * string/bug-strcasestr1.c: Removed.
53473         * string/bug-strchr1.c: Likewise.
53474         * string/bug-strstr1.c: Likewise.
53476         * elf/Makefile (dl-routines): Add hwcaps.
53477         * elf/dl-support.c (_dl_important_hwcaps): Removed.
53478         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
53479         (_dl_important_hwcaps): Moved to ...
53480         * elf/dl-hwcaps.c: Here.  New file.
53481         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
53483         [BZ #14557]
53484         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
53485         if IS_IN_rtld isn't defined.
53487         * elf/dl-support.c (_dl_sysinfo_map): New.
53488         Include "get-dynamic-info.h" and "setup-vdso.h".
53489         (_dl_non_dynamic_init): Call setup_vdso.
53490         * elf/dynamic-link.h: Don't include <assert.h>.
53491         (elf_get_dynamic_info): Moved to ...
53492         * elf/get-dynamic-info.h: Here.  New file.
53493         * elf/dynamic-link.h: Include "get-dynamic-info.h".
53494         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
53495         * elf/setup-vdso.h: Here.  New file.
53496         * elf/rtld.c: Include "setup-vdso.h".
53497         (dl_main): Call setup_vdso.
53499 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
53501         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
53502         creal in comment listing functions tested.  List finite, isinf,
53503         isnan, isless, islessequal, isgreater, isgreaterequal,
53504         islessgreater, isunordered, lgamma_r and pow10 as functions and
53505         macros not tested.  Mention which functions not tested are aliases
53506         for other functions.  Fix typo.  Note that signs of NaNs are not
53507         tested.
53509         * scripts/config.guess: Update from config.git.
53510         * scripts/config.sub: Likewise.
53512 2012-10-04  Roland McGrath  <roland@hack.frob.com>
53514         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
53515         * misc/madvise.c (madvise): Renamed to __madvise.
53516         Make madvise a weak alias.
53517         * include/sys/mman.h: Declare __madvise.
53518         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
53519         * sysdeps/unix/syscalls.list
53520         (madvise): Make __madvise the strong name, and madvise a weak alias.
53521         * sysdeps/unix/sysv/linux/syscalls.list
53522         (madvise, mmap): Remove redundant entries.
53523         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
53524         * malloc/malloc.c (mtrim): Likewise.
53525         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
53527 2012-10-03  Roland McGrath  <roland@hack.frob.com>
53529         * sysdeps/mach/hurd/dl-cache.c: File removed.
53530         * config.h.in (USE_LDCONFIG): New #undef.
53531         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
53532         * configure: Regenerated.
53533         * elf/Makefile (dl-routines): Add dl-cache only under
53534         [$(use-ldconfig) = yes].
53535         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
53536         cache on [USE_LDCONFIG].
53537         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
53538         [USE_LDCONFIG].
53539         * elf/rtld.c (dl_main): Likewise.
53541 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
53543         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
53544         _SC_LEVEL4_CACHE_LINESIZE.
53546 2012-10-03  Roland McGrath  <roland@hack.frob.com>
53548         * sysdeps/unix/bsd/confstr.h: File removed.
53550 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
53552         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
53553         sys/sdt-config.h.
53555 2012-10-02  Roland McGrath  <roland@hack.frob.com>
53557         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
53558         Make 'mapoff' field ElfW(Off) rather than off_t.
53560 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
53562         * nscd/Makefile: Remove nscd-cflags and all its users.
53563         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
53564         (CFLAGS-nonlib): Add compiler flags for nscd modules.
53566         [BZ #10631]
53567         * malloc.c (malloc_printerr): Clarify error message.
53569 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
53571         [BZ #14648]
53572         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53573         Set bit_FMA_Usable if FMA is supported.
53574         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
53575         macro.
53576         (bit_FMA4_Usable): Updated.
53577         (index_FMA_Usable): New macro.
53578         (CPUID_FMA): Likewise.
53579         (HAS_FMA): Defined with bit_FMA_Usable.
53581 2012-10-01  Roland McGrath  <roland@hack.frob.com>
53583         * bits/types.h (__swblk_t): Type removed.
53584         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
53585         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
53586         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53587         (__SWBLK_T_TYPE): Likewise.
53588         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53589         (__SWBLK_T_TYPE): Likewise.
53590         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53591         (__SWBLK_T_TYPE): Likewise.
53592         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53593         (__SWBLK_T_TYPE): Likewise.
53595 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
53596             Honza Horak <hhorak@redhat.com>
53598         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
53599         (xdr_mapname): Use YPMAXMAP as maxsize.
53600         (xdr_peername): Use YPMAXPEER as maxsize.
53601         (xdr_keydat): Use YPAXRECORD as maxsize.
53602         (xdr_valdat): Use YPMAXRECORD as maxsize.
53604 2012-10-01  Roland McGrath  <roland@hack.frob.com>
53606         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
53608         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
53609         * csu/init-first.c: ... here.
53610         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
53611         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
53612         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
53613         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
53614         * sysdeps/i386/init-first.c: File removed.
53615         * sysdeps/sh/init-first.c: File removed.
53617 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
53619         [BZ #14645]
53620         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
53621         if x * y might underflow to zero and z is zero.
53622         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53623         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53624         * math/libm-test.inc (min_subnorm_value): New variable.
53625         (fma_test): Add more tests.
53626         (fma_test_towardzero): Likewise.
53627         (fma_test_downward): Likewise.
53628         (fma_test_upward): Likewise.
53629         (initialize): Set min_subnorm_value.
53631 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
53633         [BZ #14638]
53634         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
53635         0 + 0.
53636         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
53637         mode for addition resulting in exact zero.
53638         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
53639         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
53640         exact 0 + 0.
53641         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53642         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53643         * math/libm-test.inc (fma_test): Add more tests.
53644         (fma_test_towardzero): New function.
53645         (fma_test_downward): Likewise.
53646         (fma_test_upward): Likewise.
53647         (main): Call the new functions.
53649 2012-09-28  David S. Miller  <davem@davemloft.net>
53651         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
53653 2012-09-28  Roland McGrath  <roland@hack.frob.com>
53655         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
53656         instead of SIGALRM.
53658         * sysdeps/gnu/_G_config.h: Moved to ...
53659         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
53660         * sysdeps/mach/hurd/_G_config.h: Moved to ...
53661         * sysdeps/generic/_G_config.h: ... here.
53663         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
53665         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
53667         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
53668         Conditionalize target on [libnss_test1.so-version].
53670         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
53672         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
53673         (elfobjdir): Move out of conditionals.
53675         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
53676         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
53677         (__nss_lookup_function): Conditionalize label remove_from_tree on
53678         [!DO_STATIC_NSS || SHARED], matching its only use.
53680 2012-09-28  David S. Miller  <davem@davemloft.net>
53682         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
53683         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
53684         file.
53685         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53686         sysdep_routines.
53687         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53688         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
53689         when HWCAP_SPARC_CRYPTO is present.
53691 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53693         * io/tst-mknodat.c: Create a FIFO instead of a socket.
53695 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
53697         [BZ #6530]
53698         * stdio-common/vfprintf.c (process_string_arg): Revert
53699         2000-07-22 change.
53701 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
53703         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
53704         for testcase.
53705         * stdio-common/tst-sprintf.c: Include <locale.h>
53706         (main): Test sprintf's handling of incomplete multibyte
53707         characters.
53709 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
53711         * elf/dl-runtime.c (VERSYMIDX): Removed.
53712         * elf/dl-version.c (VERSYMIDX): Likewise.
53713         * elf/do-rel.h (VERSYMIDX): Likewise.
53714         (VALIDX): Likewise.
53715         * elf/dynamic-link.h (VERSYMIDX): Likewise.
53716         * elf/rtld.c (VALIDX): Likewise.
53717         (ADDRIDX): Likewise.
53718         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
53719         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
53720         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
53721         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
53722         (VALIDX): Likewise.
53723         (ADDRIDX): Likewise.
53725 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53727         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
53729 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
53731         [BZ #11438]
53732         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
53733         to global scope.
53734         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
53735         addresses are in the same scope as 192.0.2/24.
53736         * posix/gai.conf: Document new scope table defaults.
53738 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53740         [BZ #5298]
53741         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
53742         for ftell.  Compute offsets from write pointers instead.
53743         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53745 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53747         [BZ #14543]
53748         * libio/Makefile (tests): New test case tst-fseek.
53749         * libio/tst-fseek.c: New test case to verify that fseek/ftell
53750         combination works in wide mode.
53751         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
53752         state when the external buffer state changes.
53754 2012-09-27  David S. Miller  <davem@davemloft.net>
53756         [BZ #14376]
53757         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
53758         pass reloc->r_addend in as the 'high' argument to
53759         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
53761         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53763 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53765         * rt/tst-aio2.c: Include <pthread.h>.
53766         * rt/tst-aio3.c: Likewise.
53768 2012-09-27  Steve Ellcey  <sellcey@mips.com>
53770         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
53772 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
53774         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
53775         contents on [SHARED].
53777 2012-09-26  Marek Polacek  <polacek@redhat.com>
53779         [BZ #14530]
53780         [BZ #13741]
53781         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
53782         for C++ and GCC <4.3 as well as for non GCC compilers.
53784 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
53786         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53788 2012-09-25  Roland McGrath  <roland@hack.frob.com>
53790         * Makefile.in (all, install): Declare with .PHONY.
53791         Reported by Michael Hope <michael.hope@linaro.org>.
53793 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53795         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
53796         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
53797         system header.
53798         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
53799         Likewise.
53800         (sydep_routines): Add the new and the internal functions.
53801         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
53802         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
53803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
53804         (GLIBC_2.17): Add the new function.
53805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
53806         (GLIBC_2.17): Likewise.
53807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
53808         (GLIBC_2.17): Likewise.
53809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
53810         (GLIBC_2.17): Likewise.
53811         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
53813 2012-09-25  Alan Modra  <amodra@gmail.com>
53815         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
53816         Add release barrier before setting once_control to say
53817         initialisation is done.  Add hints on lwarx.  Use macro in
53818         place of isync.
53819         (clear_once_control): Add release barrier.
53821 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
53823         [BZ #13629]
53824         * math/s_clog.c (__clog): Handle more values close to |z| = 1
53825         specially.
53826         * math/s_clog10.c (__clog10): Likewise.
53827         * math/s_clog10f.c (__clog10f): Likewise.
53828         * math/s_clog10l.c (__clog10l): Likewise.
53829         * math/s_clogf.c (__clogf): Likewise.
53830         * math/s_clogl.c (__clogl): Likewise.
53831         * math/Makefile (libm-calls): Add x2y2m1.
53832         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
53833         (__x2y2m1): Likewise.
53834         (__x2y2m1l): Likewise.
53835         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
53836         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
53837         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
53838         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
53839         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
53840         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
53841         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
53842         * sysdeps/i386/fpu/libm-test-ulps: Update.
53843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53845         [BZ #14621]
53846         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
53847         int as type of variable DEPTH.
53848         (glob): Use size_t instead of int as type of variables NEWCOUNT
53849         and OLD_PATHC.
53851 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53853         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53854         Add s_sincosf-sse2.
53855         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
53856         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
53857         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
53858         macros for using routine as __sincosf_ia32.
53859         Use macro for function declaration and weak_alias.
53860         * sysdeps/i386/fpu/libm-test-ulps: Update.
53862         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
53863         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53865         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
53866         subnormal argument.
53867         * math/s_cexpf.c (__cexpf): Likewise.
53868         * math/s_csinf.c (__csinf): Likewise.
53869         * math/s_csinhf.c (__csinhf): Likewise.
53870         * math/s_ctanf.c (__ctanf): Likewise.
53871         * math/s_ctanhf.c (__ctanhf): Likewise.
53872         * math/s_ccosh.c (__ccoshf): Likewise.
53873         * math/s_cexp.c (__cexpl): Likewise.
53874         * math/s_csin.c (__csin): Likewise.
53875         * math/s_csinh.c (__csinh): Likewise.
53876         * math/s_ctan.c (__ctan): Likewise.
53877         * math/s_ctanh.c (ctanh): Likewise.
53878         * math/s_ccoshl.c (__ccoshl): Likewise.
53879         * math/s_cexpl.c (__cexpl): Likewise.
53880         * math/s_csinl.c (__csinl): Likewise.
53881         * math/s_csinhl.c (__csinhl): Likewise.
53882         * math/s_ctanl.c (__ctanl): Likewise.
53883         * math/s_ctanhl.c (__ctanhl): Likewise.
53885 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
53887         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
53888         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
53889         (_IO_off_t): Define to __off_t, not _G_off_t.
53890         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
53891         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
53892         (_IO_wint_t): Define to wint_t, not _G_wint_t.
53893         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
53894         type of __dummy and __dummy2 fields.
53895         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
53896         (_G_ssize_t): Likewise.
53897         (_G_off_t): Likewise.
53898         (_G_pid_t): Likewise.
53899         (_G_uid_t): Likewise.
53900         (_G_wchar_t): Likewise.
53901         (_G_wint_t): Likewise.
53902         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
53903         (_G_ssize_t): Likewise.
53904         (_G_off_t): Likewise.
53905         (_G_pid_t): Likewise.
53906         (_G_uid_t): Likewise.
53907         (_G_wchar_t): Likewise.
53908         (_G_wint_t): Likewise.
53909         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
53910         (_G_ssize_t): Likewise.
53911         (_G_off_t): Likewise.
53912         (_G_pid_t): Likewise.
53913         (_G_uid_t): Likewise.
53914         (_G_wchar_t): Likewise.
53915         (_G_wint_t): Likewise.
53917 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53919         * malloc/arena.c: Include malloc-sysdep.h.
53920         (shrink_heap): Use check_may_shrink_heap to decide if madvise
53921         is sufficient to shrink the heap or an unmap is needed.
53922         * sysdeps/generic/malloc-sysdep.h: New file.  Define
53923         new function check_may_shrink_heap.
53924         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
53925         new function check_may_shrink_heap.
53927 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53929         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
53930         comments.
53932 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
53934         * catgets/test-gencat.sh: Add "set -e".
53935         * elf/tst-pathopt.sh: Likewise.
53936         * grp/tst_fgetgrent.sh: Likewise.
53937         * iconvdata/run-iconv-test.sh: Likewise.
53938         * intl/tst-gettext.sh: Likewise.
53939         * intl/tst-gettext2.sh: Likewise.
53940         * intl/tst-gettext4.sh: Likewise.
53941         * intl/tst-gettext6.sh: Likewise.
53942         * intl/tst-translit.sh: Likewise.
53943         * io/ftwtest-sh: Likewise.
53944         * libio/test-freopen.sh: Likewise.
53945         * malloc/tst-mtrace.sh: Likewise.
53946         * posix/globtest.sh: Likewise.
53947         * posix/tst-getconf.sh: Likewise.
53948         * posix/wordexp-tst.sh: Likewise.
53949         * stdio-common/tst-printf.sh: Likewise.
53950         * stdio-common/tst-unbputc.sh: Likewise.
53951         * stdlib/tst-fmtmsg.sh: Likewise.
53952         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53953         * catgets/Makefile: Do not specify -e option when running
53954         testsuite shell scripts.
53955         * elf/Makefile: Likewise.
53956         * grp/Makefile: Likewise.
53957         * iconvdata/Makefile: Likewise.
53958         * intl/Makefile: Likewise.
53959         * io/Makefile: Likewise.
53960         * libio/Makefile: Likewise.
53961         * malloc/Makefile: Likewise.
53962         * posix/Makefile: Likewise.
53963         * stdio-common/Makefile: Likewise.
53964         * stdlib/Makefile: Likewise.
53965         * sysdeps/x86_64/Makefile: Likewise.
53967         * io/ftwtest-sh: Add copyright header.
53968         * posix/globtest.sh: Likewise.
53969         * posix/tst-getconf.sh: Likewise.
53970         * posix/wordexp-tst.sh: Likewise.
53971         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53973 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
53975         [BZ #13679]
53976         * Makeconfig (+link): Defined as $(+link-static) if
53977         $(build-shared) isn't yes.
53978         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
53979         isn't yes.
53980         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
53982         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
53984         [BZ #14562]
53985         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
53986         new chunk size with MALLOC_ALIGN_MASK.
53988 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
53990         [BZ #5044]
53991         * stdio-common/printf_fphex.c: Include <stdbool.h> and
53992         <rounding-mode.h>.
53993         (__printf_fphex): Determine rounding using get_rounding_mode and
53994         round_away.
53995         * stdio-common/tst-printf-round.c (struct hex_test): New
53996         structure.
53997         (hex_tests): New variable.
53998         (test_hex_in_one_mode): New function.
53999         (do_test): Also run tests for hex float output.
54001 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
54003         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
54004         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
54005         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
54006         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
54007         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
54008         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
54009         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
54010         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
54012 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
54014         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
54015         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
54016         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
54017         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
54019 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
54021         [BZ #14579]
54022         * elf/rtld.c (dl_main): Limit the check for self loading to normal
54023         mode only.
54024         * elf/tst-rtld-load-self.sh: New test.
54025         * elf/Makefile: Run it.
54027 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
54029         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
54030         (tst-writev-ENV): Remove.
54031         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
54033 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
54035         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
54037 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
54039         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
54040         unconditional.
54041         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
54042         Likewise.
54043         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
54044         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
54045         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
54046         Likewise.
54048 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
54050         [BZ #14587]
54051         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
54052         * config.make.in (have-cpp-asm-debuginfo): Removed.
54053         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
54054         * configure: Regenerated.
54056 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
54058         [BZ #5044]
54059         * stdio-common/printf_fp.c: Include <stdbool.h> and
54060         <rounding-mode.h>.
54061         (___printf_fp): Determine rounding using get_rounding_mode and
54062         round_away.
54063         * stdio-common/tst-printf-round.c: New file.
54064         * stdio-common/Makefile (tests): Add tst-printf-round.
54065         (link-libm): New variable.
54066         ($(objpfx)tst-printf-round): Depend in $(link-libm).
54068 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
54070         [BZ #14576]
54071         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
54072         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
54073         Likewise.
54074         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
54075         Likewise.
54077 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
54079         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
54080         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54081         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54082         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54084 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
54086         [BZ #14518]
54087         * include/rounding-mode.h: New file.
54088         * sysdeps/generic/get-rounding-mode.h: Likewise.
54089         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
54090         * stdlib/strtod_l.c: Include <rounding-mode.h>.
54091         (MAX_VALUE): New macro.
54092         (MIN_VALUE): Likewise.
54093         (overflow_value): New function.
54094         (underflow_value): Likewise.
54095         (round_and_return): Use overflow_value and underflow_value to
54096         determine return values in overflow and underflow cases.  Use
54097         round_away to determine rounding depending on rounding mode.
54098         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
54099         determine return values in overflow and underflow cases.
54100         * stdlib/tst-strtod-round.c: Include <fenv.h>.
54101         (struct test_results): New structure.
54102         (struct test): Use struct test_results to store expected results
54103         for all rounding modes.
54104         (TEST): Include expected results for all rounding modes.
54105         (test_in_one_mode): New function.
54106         (do_test): Use test_in_one_mode to compute and check results.
54107         Check results for all rounding modes.
54108         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
54109         $(link-libm).
54111 2012-12-09  Allan McRae  <allan@archlinux.org>
54113         * sysdeps/i386/fpu/libm-test-ulps: Update
54115 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
54117         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
54118         (_G_int32_t): Likewise.
54119         (_G_uint16_t): Likewise.
54120         (_G_uint32_t): Likewise.
54121         (_G_HAVE_BOOL): Likewise.
54122         (_G_HAVE_ATEXIT): Likewise.
54123         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54124         (_G_HAVE_IO_FILE_OPEN): Likewise.
54125         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
54126         (_G_int32_t): Likewise.
54127         (_G_uint16_t): Likewise.
54128         (_G_uint32_t): Likewise.
54129         (_G_HAVE_BOOL): Likewise.
54130         (_G_HAVE_ATEXIT): Likewise.
54131         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54132         (_G_HAVE_IO_FILE_OPEN): Likewise.
54133         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
54134         (_G_int32_t): Likewise.
54135         (_G_uint16_t): Likewise.
54136         (_G_uint32_t): Likewise.
54137         (_G_HAVE_BOOL): Likewise.
54138         (_G_HAVE_ATEXIT): Likewise.
54139         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54140         (_G_HAVE_IO_FILE_OPEN): Likewise.
54142 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
54144         * csu/libc-tls.c: Update copyright years.
54146 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
54148         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
54149         [!_G_USING_THUNKS]: Remove conditional code.
54150         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
54151         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
54153         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
54154         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
54155         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54156         (_G_VTABLE_LABEL_PREFIX): Likewise.
54157         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54158         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54159         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54160         (_G_VTABLE_LABEL_PREFIX): Likewise.
54161         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54162         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54163         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54164         (_G_VTABLE_LABEL_PREFIX): Likewise.
54165         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54167 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
54169         * libio/Makefile: Include ../Makeconfig before tests.
54170         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
54171         only if $(build-shared) is yes.
54173         * iconv/gconv_db.c: Update copyright years.
54175 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54177         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
54178         unwind info if defined PIC. Fix special cases description.
54179         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
54181         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
54182         DP_HI_MASK entry.
54183         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
54185 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
54187         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
54189         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
54190         is NULL.
54192         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
54193         (LDLIBS-tst-chk4): This.
54194         (LDFLAGS-tst-chk5): Renamed to ...
54195         (LDLIBS-tst-chk5): This.
54196         (LDFLAGS-tst-chk6): Renamed to ...
54197         (LDLIBS-tst-chk6): This.
54198         (LDFLAGS-tst-lfschk4): Renamed to ...
54199         (LDLIBS-tst-lfschk4): This.
54200         (LDFLAGS-tst-lfschk5): Renamed to ...
54201         (LDLIBS-tst-lfschk5): This.
54202         (LDFLAGS-tst-lfschk6): Renamed to ...
54203         (LDLIBS-tst-lfschk6): This.
54205         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
54206         on $(common-objpfx)soversions.mk.
54208 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
54210         [BZ #10014]
54211         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
54212         example host name.
54214 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54216         * malloc/arena.c (arena_get_retry): New function that gets
54217         another arena for the caller to try its request on.
54218         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
54219         current arena cannot fulfill the request.
54220         (__libc_memalign): Likewise.
54221         (__libc_memalign): Likewise.
54222         (__libc_pvalloc): Likewise.
54223         (__libc_calloc): Likewise.
54225 2012-09-05  John Tobey  <john.tobey@gmail.com>
54227         [BZ #13542]
54228         * manual/arith.texi (Operations on Complex): Fix description
54229         of carg branch cut.
54231 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
54233         [BZ #10014]
54234         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
54235         host name.
54237         [BZ #10038]
54238         * manual/memory.texi (Memory): Make order of menu items match
54239         order of sections.
54241 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54243         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
54244         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
54245         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
54247 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54249         * csu/libc-tls.c (static_dtv): Renamed to ...
54250         (_dl_static_dtv): This.  Make it global.
54251         (_dl_initial_dtv): Removed.
54252         (__libc_setup_tls): Updated.
54253         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
54254         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
54255         DL_INITIAL_DTV.
54257 2012-09-06  Petr Machata  <pmachata@redhat.com>
54259         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
54260         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
54261         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
54262         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
54264 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54266         [BZ #14545]
54267         * csu/libc-tls.c (_dl_initial_dtv): New variable.
54268         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
54269         freeing dtv[-1].
54271 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54273         [BZ #14544]
54274         * Makeconfig (link-static-before-libc): Replace $(+prector)
54275         with $(+prectorT).
54276         (link-static-after-libc): Replace $(+postctor) with
54277         $(+postctorT).
54278         (link-bounded): Replace $(+prector)/$(+postctor) with
54279         $(+prectorT)/$(+postctorT).
54280         (+prectorT): New macro.
54281         (+postctorT): Likewise.
54283 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
54285         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
54286         (round_str): Handle values above the maximum for IBM long double
54287         as inexact.
54288         * stdlib/tst-strtod-round.c (tests): Regenerated.
54290 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54292         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
54293         assembler flag.
54294         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
54295         zarch_nohighgprs around the zarch optimized routines.
54296         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
54297         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
54298         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
54299         for zarch.
54301 2012-09-05  David S. Miller  <davem@davemloft.net>
54303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54305         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
54306         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
54307         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
54308         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54309         entries.
54311 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54313         * malloc/arena.c: Fold copyright years.
54314         * malloc/mcheck.c, malloc/memusage.c: Likewise.
54316 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54318         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
54320 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54322         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
54324 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54326         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
54327         change internal state upon failure.
54329 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54331         * malloc/mcheck.c (mcheck_check_all): Fix typo.
54332         * malloc/memusage.c (mmap): Likewise.
54333         (mmap64, mremap): Likewise.  Adjust name in comment.
54335 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54337         * libio/fileops.c: Fix typos in comments.
54338         * libio/oldfileops.c: Likewise.
54339         * libio/wfileops.c: Likewise.
54341 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54343         [BZ #1349]
54344         * malloc/Makefile (tests): Add tst-malloc-usable test case.
54345         (tst-malloc-usable-ENV): Set environment for test case.
54346         * malloc/hooks.c (malloc_check_get_size): New function to get
54347         requested size.
54348         * malloc/malloc.c (musable): Use malloc_check_get_size.
54349         * malloc/tst-malloc-usable.c: New test case.
54351 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54353         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
54355 2012-09-05  Allan McRae  <allan@archlinux.org>
54357         [BZ #13966]
54358         * configure.in (CXX_SYSINCLUDES): Use compiler output to
54359         determine header location.
54360         * configure: Regenerated.
54362 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54364         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
54365         float format.
54366         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
54367         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
54368         format.
54369         (test): Regenerate.
54371 2012-09-04  David S. Miller  <davem@davemloft.net>
54373         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
54374         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
54375         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
54377 2012-09-04  Florian Weimer  <fweimer@redhat.com>
54379         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
54380         failures.
54382         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
54384 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
54386         [BZ #9914]
54387         * libio/iogetdelim.c: Include <limits.h>.
54388         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
54389         + len + 1 would overflow.
54391 2012-09-03  Andreas Jaeger  <aj@suse.de>
54393         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54394         * sysdeps/i386/fpu/libm-test-ulps: Update.
54396 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54398         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
54399         Add s_sinf-sse2, s_conf-sse2.
54401         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
54402         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
54403         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
54404         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
54406         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
54407         for using routine as __sinf_ia32.
54408         Use macro for function declaration and weak_alias.
54409         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
54410         for using routine as __cosf_ia32.
54411         Use macro for function declaration and weak_alias.
54413         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
54414         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
54416         * sysdeps/x86_64/fpu/s_sinf.S: New file.
54417         * sysdeps/x86_64/fpu/s_cosf.S: New file.
54418         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54420         * math/libm-test.inc (cos_test): Add more test cases.
54421         (sin_test): Likewise.
54422         (sincos_test): Likewise.
54424 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54426         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
54427         (IFUNC_RESOLVE): Make pointers to the specialized implementations
54428         hidden.
54429         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54431 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
54433         [BZ #14538]
54434         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
54435         first element of the GOT.
54436         (elf_machine_load_address): Return the difference between
54437         the runtime address of _DYNAMIC and elf_machine_dynamic ().
54439 2012-09-01  Allan McRae  <allan@archlinux.org>
54441         [BZ #13412]
54442         * configure.in (AWK): Require gawk version 3.0 or later.
54443         * configure: Regenerated.
54445 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
54447         * sysdeps/unix/sysv/linux/kernel-features.h
54448         (__ASSUME_POSIX_CPU_TIMERS): Remove.
54449         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54450         [__NR_clock_getres]: Make code unconditional.
54451         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
54452         (clock_getcpuclockid): Remove code left unreachable by removal of
54453         conditionals.
54454         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
54455         code unconditional.
54456         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54457         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54458         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
54459         Make code unconditional.
54460         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54461         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54462         * sysdeps/unix/sysv/linux/clock_settime.c
54463         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
54464         conditional code.
54465         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
54466         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54468 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
54470         [BZ #14476]
54471         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
54472         scripts/test-installation.pl.
54474         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
54475         and $ld_so_version if it is set.
54477 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54479         [BZ #14516]
54480         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
54481         failure if reading from procfs failed.
54482         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
54484 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
54486         * sysdeps/unix/sysv/linux/kernel-features.h
54487         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
54488         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54489         Remove conditional code.
54490         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54491         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
54492         Remove conditional code.
54493         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54494         * sysdeps/unix/sysv/linux/i386/fxstat.c
54495         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54496         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54497         * sysdeps/unix/sysv/linux/i386/fxstatat.c
54498         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54499         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54500         * sysdeps/unix/sysv/linux/i386/lxstat.c
54501         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54502         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54503         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
54504         Remove conditional code.
54505         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54506         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54507         Remove conditional code.
54508         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54509         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
54510         <kernel-features.h>.
54511         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
54512         Remove.
54513         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
54514         Remove conditional code.
54515         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54516         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
54517         Remove conditional.
54519 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
54521         [BZ #5400]
54522         * NEWS: Add fixed bug number.
54524 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
54526         [BZ #14519]
54527         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
54528         underflowing exponent in case of negative sign.
54529         * stdlib/tst-strtod-round-data: Add more tests.
54530         * stdlib/tst-strtod-round.c (tests): Regenerated.
54532         [BZ #3479]
54533         * stdlib/strtod_l.c (NDIG): Remove.
54534         (HEXNDIG): Likewise.
54535         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
54536         smallest representable value.
54537         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
54538         lie within an exact representation of 1/2 ulp of the result.
54539         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
54540         unconditionally.
54541         (TENS_P9_IDX): Define unconditionally.
54542         (TENS_P9_SIZE): Likewise.
54543         (TENS_P10_IDX): Likewise.
54544         (TENS_P10_SIZE): Likewise.
54545         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
54546         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
54547         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
54548         entries for 10^2^13 and 10^2^14.
54549         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
54550         (TENS_P13_IDX): Define.
54551         (TENS_P13_SIZE): Likewise.
54552         (TENS_P14_IDX): Likewise.
54553         (TENS_P14_SIZE): Likewise.
54554         (_fpioconst_pow10): Change array size to
54555         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
54556         unconditional.
54557         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
54558         1024]: Add entries for 10^2^13 and 10^2^14.
54559         [LAST_POW10 > _LAST_POW10]: Remove #error.
54560         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
54561         (_fpioconst_pow10): Change array size to
54562         FPIOCONST_POW10_ARRAY_SIZE.
54563         * stdlib/gen-fpioconst.c: New file.
54564         * stdlib/gen-tst-strtod-round.c: Likewise.
54565         * stdlib/tst-strtod-round-data: Likewise.
54566         * stdlib/tst-strtod-round.c: Likewise.
54567         * stdlib/Makefile (tests): Add tst-strtod-round.
54569         [BZ #14459]
54570         * stdlib/strtod_l.c: Include <stdint.h>.
54571         (NDEBUG): Do not define.
54572         (round_and_return): Change EXPONENT parameter to type intmax_t.
54573         Rearrange calculations to avoid internal overflow possibilities.
54574         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
54575         Rearrange calculations to avoid internal overflow possibilities.
54576         Assert that number fits inside MPNSIZE limbs.
54577         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
54578         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
54579         calculations and add assertions to avoid internal overflow
54580         possibilities.  Add casts to avoid signed/unsigned operations.
54581         * stdlib/tst-strtod-overflow.c: New file.
54582         * stdlib/Makefile (tests): Add tst-strtod-overflow.
54584 2012-08-25  Marek Polacek  <polacek@redhat.com>
54586         * time/time.h: Fix some typos in comments.
54588 2012-08-23  Roland McGrath  <roland@hack.frob.com>
54590         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
54591         * posix/tst-rfc3484-2.c: Likewise.
54592         * posix/tst-rfc3484-3.c: Likewise.
54594 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
54596         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
54597         (EF_ARM_ABI_FLOAT_HARD): Likewise.
54599 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
54601         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
54602         #include of fxstatat64.c.
54604 2012-08-22  Roland McGrath  <roland@hack.frob.com>
54606         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
54607         * shadow/getspent_r.c: Likewise.
54608         * shadow/getspnam.c: Likewise.
54609         * shadow/getspnam_r.c: Likewise.
54610         * gshadow/getsgent.c: Likewise.
54611         * gshadow/getsgent_r.c: Likewise.
54612         * gshadow/getsgnam.c: Likewise.
54613         * gshadow/getsgnam_r.c: Likewise.
54614         * inet/getnetbyad.c: Likewise.
54615         * inet/getnetbyad_r.c: Likewise.
54616         * inet/getnetbynm.c: Likewise.
54617         * inet/getnetbynm_r.c: Likewise.
54618         * inet/getnetent.c: Likewise.
54619         * inet/getnetent_r.c: Likewise.
54620         * inet/getproto.c: Likewise.
54621         * inet/getproto_r.c: Likewise.
54622         * inet/getprtent.c: Likewise.
54623         * inet/getprtent_r.c: Likewise.
54624         * inet/getprtname.c: Likewise.
54625         * inet/getprtname_r.c: Likewise.
54626         * inet/getrpcbyname.c: Likewise.
54627         * inet/getrpcbyname_r.c: Likewise.
54628         * inet/getrpcbynumber.c: Likewise.
54629         * inet/getrpcbynumber_r.c: Likewise.
54630         * inet/getrpcent.c: Likewise.
54631         * inet/getrpcent_r.c: Likewise.
54632         * inet/getaliasent.c: Likewise.
54633         * inet/getaliasent_r.c: Likewise.
54634         * inet/getaliasname.c: Likewise.
54635         * inet/getaliasname_r.c: Likewise.
54636         * nscd/getgrgid_r.c: Likewise.
54637         * nscd/getgrnam_r.c: Likewise.
54638         * nscd/gethstbyad_r.c: Likewise.
54639         * nscd/gethstbynm3_r.c: Likewise.
54640         * nscd/getpwnam_r.c: Likewise.
54641         * nscd/getpwuid_r.c: Likewise.
54642         * nscd/getsrvbynm_r.c: Likewise.
54643         * nscd/getsrvbypt_r.c: Likewise.
54644         * nscd/gai.c: Likewise.
54646         * configure.in (build_nscd): New substituted variable, set
54647         by --disable-build-nscd and defaults to $use_nscd.
54648         * configure: Regenerated.
54649         * config.make.in (build-nscd): New substituted variable.
54650         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
54651         Change conditional to require [$(build-nscd) = yes] as well.
54652         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
54654         [BZ# 13696]
54655         * configure.in (use_nscd): New substituted variable, set by
54656         --disable-nscd.  If enabled, define USE_NSCD.
54657         * configure: Regenerated.
54658         * config.h.in: Add USE_NSCD.
54659         * config.make.in (use-nscd): New substituted variable.
54660         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
54661         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
54662         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
54663         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
54664         (CFLAGS-getgrnam_r.c): Likewise.
54665         (CFLAGS-initgroups.c): Likewise.
54666         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
54667         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
54668         Variables removed.
54669         * inet/getnetgrent_r.c
54670         (nscd_setnetgrent): New function, broken out of ...
54671         (setnetgrent): ... here.  Call it.
54672         (innetgr): Conditionalize nscd bits on [USE_NSCD].
54673         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
54674         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
54675         * nscd/Makefile (routines, aux): Move definitions after include of
54676         Makeconfig.  Conditionalize on [$(use-nscd) != no].
54677         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
54678         Conditionalize on [USE_NSCD].
54679         (is_nscd, nscd_init_cb): Likewise.
54680         (nss_load_library): Conditionalize init callback on [USE_NSCD].
54681         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
54682         * nss/nss_db/db-init.c: Likewise.
54683         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
54684         [USE_NSCD].
54685         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
54686         (make_request): Use it.
54687         (cache_valid_p): New function.
54688         (__check_pf): Use it.
54689         * NEWS: Add item for --disable-nscd.
54691 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
54693         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
54694         to support sed >= 4.2.1-20-ga9bf076.
54695         * configure: Regenerated.
54697 2012-08-22  Roland McGrath  <roland@hack.frob.com>
54699         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
54700         Conditionalize whole body on [IREL].
54702 2012-08-22  Jeff Law <law@redhat.com>
54704         [BZ #14505]
54705         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
54706         if the family is PF_UNSPEC.
54708 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
54710         * Makerules (lib-version): Rename from V.
54711         (install-lib-nosubdir): Change V to lib-version.
54713 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
54715         [BZ #14252]
54716         * powerpc32/power6/wcschr.c: New file.
54717         * powerpc32/power6/wcscpy.c: New file.
54718         * powerpc32/power6/wcsrchr.c: New file.
54719         * powerpc64/power6/wcschr.c: New file.
54720         * powerpc64/power6/wcscpy.c: New file.
54721         * powerpc64/power6/wcsrchr.c: New file.
54723 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54725         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
54726         (two_way_short_needle): Use it.
54727         * string/strstr.c (AVAILABLE1_USES_J): Define.
54728         * string/strcasestr.c: Likewise.
54730         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
54731         array references.
54732         * string/strcasestr.c (TOLOWER): Make side-effect safe.
54734         [BZ #11607]
54735         * NEWS: Add an entry.
54736         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
54737         define their defaults.
54738         (two_way_short_needle): Detect end-of-string on-the-fly.
54739         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
54740         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
54741         * string/bug-strcasestr1.c: New test.
54742         * string/Makefile: Run it.
54744 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54746         [BZ #11607]
54747         * string/str-two-way.h (two_way_short_needle): Optimize matching of
54748         the first character.
54750 2012-08-21  Roland McGrath  <roland@hack.frob.com>
54752         * csu/elf-init.c (__libc_csu_irel): Function removed.
54753         * csu/libc-start.c (apply_irel): New function.
54754         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
54756 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
54758         * sysdeps/unix/sysv/linux/kernel-features.h
54759         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
54760         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54761         <kernel-features.h>.
54762         [__NR_fadvise64_64]: Make code unconditional.
54763         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
54764         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54765         !__NR_fadvise64_64)]: Likewise.
54766         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54767         !__NR_fadvise64_64))]: Likewise.
54768         [__NR_fadvise64]: Make code unconditional.
54769         [!__NR_fadvise64]: Remove conditional code.
54770         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
54771         <kernel-features.h>.
54772         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54773         unconditional.
54774         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54775         conditional code.
54776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
54777         not include <kernel-features.h>.
54778         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54779         unconditional.
54780         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54781         conditional code.
54782         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
54783         include <kernel-features.h>.
54784         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54785         unconditional.
54786         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54787         conditional code.
54789 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
54791         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
54792         slight instruction rearrangements per scrollpipe analysis.
54793         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54795 2012-08-20  Roland McGrath  <roland@hack.frob.com>
54797         * manual/syslog.texi (syslog; vsyslog, closelog):
54798         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
54799         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
54801         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
54802         DSOCAPS to match condition on defining it.
54804 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
54806         * sysdeps/unix/sysv/linux/kernel-features.h
54807         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
54808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
54809         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54810         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
54812         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54813         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
54815         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54816         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54818         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
54819         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
54821         * sysdeps/unix/sysv/linux/kernel-features.h
54822         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
54823         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
54824         unconditional.
54825         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54826         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
54827         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54828         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54829         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
54830         Make code unconditional.
54831         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54832         (__mmap64) [!__NR_mmap2]: Likewise.
54833         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
54834         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54835         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54836         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
54837         [__NR_mmap2]: Make code unconditional.
54838         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54839         (__mmap64) [!__NR_mmap2]: Likewise.
54841 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54843         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
54845 2012-08-18  Andreas Jaeger  <aj@suse.de>
54847         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
54849 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
54851         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
54852         * include/unistd.h (__have_sock_cloexec): Likewise.
54853         (__have_pipe2): Likewise.
54854         (__have_dup3): Likewise.
54856 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
54858         [BZ #9685]
54859         * include/unistd.h (__have_pipe2): Change define into an extern int.
54860         (__have_dup3): Likewise.
54861         * socket/have_sock_cloexec.c: Include fcntl.h.
54862         (__have_pipe2): New variable.
54863         (__have_dup3): Likewise.
54865 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
54867         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
54869 2012-08-17  Marek Polacek  <polacek@redhat.com>
54871         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
54872         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
54874 2012-08-17  Roland McGrath  <roland@hack.frob.com>
54876         * configure.in: Add AC_SUBST for sysheaders.
54877         * configure: Regenerated.
54878         * config.make.in (sysheaders): New substituted variable.
54880         * sysdeps/unix/mkfifo.c: Moved ...
54881         * sysdeps/posix/mkfifo.c: ... here.
54882         * sysdeps/unix/mkfifoat.c: Moved ...
54883         * sysdeps/posix/mkfifoat.c: ... here.
54885         * sysdeps/unix/utime.c: Moved ...
54886         * sysdeps/posix/utime.c: ... here.
54888         * sysdeps/unix/time.c: Moved ...
54889         * sysdeps/posix/time.c: ... here.
54890         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
54891         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
54893         * sysdeps/unix/nice.c: Moved ...
54894         * sysdeps/posix/nice.c: ... here.
54896         * sysdeps/unix/alarm.c: Moved ...
54897         * sysdeps/posix/alarm.c: ... here.
54899         * intl/Makefile ($(codeset_mo)): Depend on the input file.
54901 2012-08-17  Jeff Law <law@redhat.com>
54903         * intl/Makefile (codeset_mo): New variable.
54904         ($(codeset_mo)): New target.
54905         (tst-codeset.out): Depend on that.  Remove explicit rule.
54906         (tst-gettext3.out, tst-gettext5.out): Likewise.
54907         (LOCPATH-ENV, tst-codeset-ENV): New variables.
54908         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
54909         * intl/tst-codeset.sh: Remove.
54910         * intl/tst-gettext3.sh: Likewise.
54911         * intl/tst-gettext5.sh: Likewise.
54913 2012-08-17  Roland McGrath  <roland@hack.frob.com>
54915         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
54916         * sysdeps/unix/syscalls.list: ... here.
54918         * sysdeps/posix/getaddrinfo.c
54919         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
54920         (gaiconf_init, gaiconf_reload): Use them.
54921         [!_STATBUF_ST_NSEC]
54922         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
54923         Define using time_t rather than struct timespec.
54925         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
54926         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
54927         Macros removed.
54928         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
54929         [!NO_THREADS].
54930         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
54931         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
54932         Likewise.
54934         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
54935         __libc_cleanup_push argument.
54937         * bits/param.h: New file.
54938         * misc/sys/param.h: New file.
54939         * include/sys/param.h: New file.
54940         * misc/Makefile (headers): Add bits/param.h.
54941         * sysdeps/generic/sys/param.h: File removed.
54942         * sysdeps/unix/sysv/linux/bits/param.h: New file.
54943         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
54944         * sysdeps/mach/hurd/bits/param.h: New file.
54945         * sysdeps/mach/hurd/sys/param.h: File removed.
54947         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
54948         last change.
54950         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
54951         [_IO_MTSAFE_IO].
54952         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
54953         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
54954         New macros.
54956         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
54957         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
54958         rather than -D_IO_MTSAFE_IO conditionally.
54959         * stdio-common/Makefile (CPPFLAGS): Likewise.
54960         * wcsmbs/Makefile (CPPFLAGS): Likewise.
54961         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
54962         Use $(libio-mtsafe).
54963         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
54964         of -D_IO_MTSAFE_IO.
54965         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
54966         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
54967         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
54968         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
54969         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
54970         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
54971         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
54972         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
54973         (CFLAGS-fread_u_chk.c): Likewise.
54974         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
54975         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
54976         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
54977         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
54978         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
54979         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
54980         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
54981         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
54982         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
54984         * libio/Makefile: Test [$(libc-reentrant) = yes]
54985         instead of [$(filter %REENTRANT, $(defines)) nonempty].
54987         * Makeconfig
54988         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
54989         * sysdeps/pthread/configure: File removed.
54990         * sysdeps/pthread/Makeconfig: New file.
54991         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
54992         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
54994 2012-08-16  Gary Benson  <gbenson@redhat.com>
54996         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
54997         unmapping the first object in a namespace.
54999 2012-08-16  Roland McGrath  <roland@hack.frob.com>
55001         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
55002         (__internal_setnetgrent): ... this.  Add internal_function to
55003         definition.  Add libc_hidden_def.
55004         (setnetgrent): Update caller.
55005         (internal_endnetgrent): Renamed to ...
55006         (__internal_endnetgrent): ... this.  Add internal_function to
55007         definition.  Add libc_hidden_def.
55008         (endnetgrent): Update caller.
55009         (internal_getnetgrent_r): Renamed to ...
55010         (__internal_getnetgrent_r): ... this.  Add internal_function to
55011         definition.  Add libc_hidden_def.
55012         (__getnetgrent_r): Update caller.
55013         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
55015 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
55017         * stdlib/longlong.h: Update from GCC.
55019 2012-08-16  Roland McGrath  <roland@hack.frob.com>
55021         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
55022         on _QL, which is set by umul_ppmm but never used.
55023         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
55024         variables, which are set by GMP macros but never used.
55025         * stdio-common/_itowa.c (_itowa): Likewise.
55026         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
55027         * stdlib/mod_1.c (mpn_mod_1): Likewise.
55029 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
55031         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
55032         struct La_sh_regs is not constant.
55033         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
55034         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
55035         and struct La_sparc64_regs are not constant.
55037 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
55039         * sysdeps/unix/sysv/linux/kernel-features.h
55040         (__ASSUME_POSIX_TIMERS): Remove.
55041         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55042         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55043         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
55044         Make code unconditional.
55045         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55046         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
55047         Make code unconditional.
55048         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55049         * sysdeps/unix/sysv/linux/clock_nanosleep.c
55050         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
55051         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55052         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
55053         Make code unconditional.
55054         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
55055         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
55056         (__libc_missing_posix_timers): Remove.
55058 2012-08-15  Roland McGrath  <roland@hack.frob.com>
55060         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
55061         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
55063         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
55065         * elf/dl-sym.c: Include <stdlib.h>.
55067         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
55068         constants, which avoids warnings in 32-bit builds.
55070         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
55071         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
55073         * misc/lseek.c: File moved to ...
55074         * io/lseek.c: ... here.
55076         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
55078         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
55079         shifting LEN more than 31 bits at once.
55081 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55083         [BZ #14195]
55084         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
55085         segmentation fault for a case of two empty input strings.
55086         * string/test-strncasecmp.c (check1): Renamed to...
55087         (bz12205): ...this.
55088         (bz14195): Add new testcase for two empty input strings and N > 0.
55089         (test_main): Call new testcase, adapt for renamed function.
55091 2012-08-15  Andreas Jaeger  <aj@suse.de>
55093         [BZ #14090]
55094         * crypt/md5test2.c: New test, based on test supplied by Serge
55095         Belyshev <belyshev@depni.sinp.msu.ru>.
55096         * crypt/Makefile (xtests): Add md5test-giant..
55097         * crypt/Makefile ($(objpfx)md5test-giant): Add.
55099 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
55101         [BZ #14090]
55102         * crypt/md5.c (md5_process_block): Don't assume the buffer
55103         length is less than 2**32.
55104         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
55105         length is less than 2**64.
55107 2012-08-15  Roland McGrath  <roland@hack.frob.com>
55109         * string/str-two-way.h: Include <sys/param.h>.
55110         (MAX): Macro removed.
55112         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
55113         Move #define and #undef of memmove to just before and after
55114         including <string.h>.
55116         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
55117         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
55118         and after including <string.h>.  Move declarations of
55119         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
55120         to before #include "string/memmove.c".
55122         * include/dirent.h: Declare __getdirentries.
55124         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
55125         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
55127 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
55129         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
55130         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
55131         * sysdeps/i386/configure: Regenerated.
55132         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
55133         STABS_CURRENT_FILE, and STABS_FUN.
55134         (END): Remove call to STABS_FUN_END.
55135         (STABS_CURRENT_FILE1): Delete.
55136         (STABS_CURRENT_FILE): Likewise.
55137         (STABS_FUN): Likewise.
55138         (STABS_FUN_END): Likewise.
55139         (STABS_FUN2): Likewise.
55140         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
55141         * sysdeps/x86_64/configure: Regenerated.
55143 2012-08-14  Roland McGrath  <roland@hack.frob.com>
55145         * elf/dl-open.c: Include <atomic.h>.
55146         * elf/dl-lookup.c: Likewise.
55148 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
55150         * sysdeps/unix/sysv/linux/kernel-features.h
55151         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
55152         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
55153         unconditionally.
55154         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
55155         unconditionally.
55156         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
55157         condition on __ASSUME_CLONE_THREAD_FLAGS.
55159 2012-08-14  Andreas Jaeger  <aj@suse.de>
55161         * sysdeps/i386/fpu/libm-test-ulps: Update.
55163 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
55165         * include/atomic.h (atomic_exchange_and_add): Split into ...
55166         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
55167         New atomic macros.
55169 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
55171         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55173 2012-08-13  Jeff Law <law@redhat.com>
55175         * manual/stdio.texi (snprintf): Clarify handling of the trailing
55176         null byte in the output string.
55178 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
55180         * sysdeps/unix/sysv/linux/kernel-features.h
55181         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
55182         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
55183         (__ASSUME_ARG_MAX_STACK_BASED): Define.
55184         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
55185         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
55186         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
55187         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
55189 2012-08-09  Jeff Law <law@redhat.com>
55191         [BZ #13939]
55192         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
55193         When avoid_arena is set, don't retry in the that arena.  Pick the
55194         next one, whatever it might be.
55195         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
55196         (arena_lock): Pass in new parameter to arena_get2.
55197         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
55198         arena_get2.
55199         (__libc_malloc): Unify retrying after main arena failure with
55200         __libc_memalign version.
55201         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
55203 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
55205         [BZ #14166]
55206         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
55207         to __redirect_strstr.
55208         (__strstr_sse42): Use typeof __redirect_strstr.
55209         (__strstr_ia32): Likewise.
55210         (__libc_strstr): New prototype.
55211         (strstr): Renamed to ...
55212         (__libc_strstr): This.
55213         (strstr): New strong alias of __libc_strstr.
55214         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
55215         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
55216         __redirect_time.
55217         Include <time.h>.
55218         (__libc_time): New prototype.
55219         (time_ifunc): Replace time with __libc_time.
55220         (time): New strong alias and hidden definition of __libc_time.
55221         (__GI_time): Remove strong alias.
55222         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
55223         Include <stddef.h>.
55224         (memmove): Redefined to __redirect_memmove.
55225         (__memmove_sse2): Use typeof __redirect_memmove.
55226         (__memmove_ssse3): Likewise.
55227         (__memmove_ssse3_back): Likewise.
55228         (__libc_memmove): New prototype.
55229         (memmove): Renamed to ...
55230         (__libc_memmove): This.
55231         (memmove): New strong alias of __libc_memmove.
55233 2012-08-08  Mark Salter  <msalter@redhat.com>
55235         * elf/elf.h
55236         (R_MN10300_TLS_GD): Define.
55237         (R_MN10300_TLS_LD): Likewise.
55238         (R_MN10300_TLS_LDO): Likewise.
55239         (R_MN10300_TLS_GOTIE): Likewise.
55240         (R_MN10300_TLS_IE): Likewise.
55241         (R_MN10300_TLS_LE): Likewise.
55242         (R_MN10300_TLS_DTPMOD): Likewise.
55243         (R_MN10300_TLS_DTPOFF): Likewise.
55244         (R_MN10300_TLS_TPOFF): Likewise.
55245         (R_MN10300_SYM_DIFF): Likewise.
55246         (R_MN10300_ALIGN): Likewise.
55247         (R_MN10300_NUM): Update.
55249 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
55251         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
55252         Remove.
55254 2012-08-08  Roland McGrath  <roland@hack.frob.com>
55256         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
55258         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
55259         sysdeps/unix -> sysdeps/posix move.
55260         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
55262 2012-08-07      Allan McRae     <allan@archlinux.org>
55264         [BZ #14303]
55265         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
55266         (SUNOS_CPP): Likewise.
55267         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
55268         not found.
55269         (open_input): Call CPP using execvp.
55271 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
55273         * sysdeps/unix/sysv/linux/kernel-features.h
55274         (__ASSUME_PROT_GROWSUPDOWN): Remove.
55275         (__ASSUME_NO_CLONE_DETACHED): Likewise.
55276         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55277         (__ASSUME_WAITID_SYSCALL): Likewise.
55278         * sysdeps/unix/sysv/linux/dl-execstack.c
55279         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
55280         code unconditional.
55281         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
55282         conditional code.
55283         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
55284         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
55285         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
55286         code.
55287         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
55288         unconditional.
55289         [__ASSUME_WAITID_SYSCALL]: Likewise.
55290         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
55292 2012-08-07  Roland McGrath  <roland@hack.frob.com>
55294         * sysdeps/unix/closedir.c: Renamed to ...
55295         * sysdeps/posix/closedir.c: ... here.
55296         * sysdeps/unix/dirfd.c: Renamed to ...
55297         * sysdeps/posix/dirfd.c: ... here.
55298         * sysdeps/unix/dirstream.h: Renamed to ...
55299         * sysdeps/posix/dirstream.h: ... here.
55300         * sysdeps/unix/fdopendir.c: Renamed to ...
55301         * sysdeps/posix/fdopendir.c: ... here.
55302         * sysdeps/unix/opendir.c: Renamed to ...
55303         * sysdeps/posix/opendir.c: ... here.
55304         * sysdeps/unix/readdir.c: Renamed to ...
55305         * sysdeps/posix/readdir.c: ... here.
55306         * sysdeps/unix/readdir_r.c: Renamed to ...
55307         * sysdeps/posix/readdir_r.c: ... here.
55308         * sysdeps/unix/rewinddir.c: Renamed to ...
55309         * sysdeps/posix/rewinddir.c: ... here.
55310         * sysdeps/unix/seekdir.c: Renamed to ...
55311         * sysdeps/posix/seekdir.c: ... here.
55312         * sysdeps/unix/telldir.c: Renamed to ...
55313         * sysdeps/posix/telldir.c: ... here.
55314         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
55315         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
55316         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
55317         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
55319         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
55320         * bits/fcntl.h: ... here.
55322         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
55323         not 0.
55324         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
55325         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
55326         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
55327         (struct flock): Move l_start, l_len to the beginning.
55328         Use __pid_t for l_pid.
55329         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
55330         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
55331         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
55332         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
55333         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
55334         [__USE_LARGEFILE64] (struct flock64): New type.
55335         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
55337         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
55338         * bits/dirent.h: ... here.
55340         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
55341         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
55343 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
55345         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55346         Change from 2.6.0 to 2.6.16.
55347         * sysdeps/unix/sysv/linux/configure: Regenerated.
55348         * sysdeps/unix/sysv/linux/kernel-features.h
55349         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
55350         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
55351         version.
55352         (__ASSUME_UTIMES): Likewise.
55353         (__ASSUME_CLONE_STOPPED): Remove.
55354         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
55355         architectures, not kernel version.
55356         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
55357         (__ASSUME_NO_CLONE_DETACHED): Likewise.
55358         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55359         (__ASSUME_WAITID_SYSCALL): Likewise.
55360         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
55361         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
55362         * README: State 2.6.16 as minimum Linux kernel version.  Do not
55363         refer to older versions.
55365 2012-08-06  Roland McGrath  <roland@hack.frob.com>
55367         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
55368         Define alphasort64 as an alias.
55369         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
55370         Define versionsort64 as an alias.
55371         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
55372         Define scandir64 as an alias.
55373         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
55374         Define scandirat64 as an alias.
55375         * dirent/alphasort64.c (alphasort64):
55376         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
55377         * dirent/versionsort64.c: Likewise.
55378         * dirent/scandir64.c: Likewise.
55379         * dirent/scandirat64.c: Likewise.
55380         * sysdeps/wordsize-64/alphasort.c: File removed.
55381         * sysdeps/wordsize-64/alphasort64.c: File removed.
55382         * sysdeps/wordsize-64/scandir.c: File removed.
55383         * sysdeps/wordsize-64/scandir64.c: File removed.
55384         * sysdeps/wordsize-64/scandirat.c: File removed.
55385         * sysdeps/wordsize-64/scandirat64.c: File removed.
55386         * sysdeps/wordsize-64/versionsort.c: File removed.
55387         * sysdeps/wordsize-64/versionsort64.c: File removed.
55388         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
55389         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
55390         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
55391         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
55392         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
55393         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
55394         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
55395         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
55397         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
55398         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55399         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
55400         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55401         [defined __arch64__ || defined __sparcv9]
55402         (__INO_T_MATCHES_INO64_T): New macro.
55403         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55404         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
55405         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
55406         * sysdeps/unix/sysv/linux/bits/dirent.h
55407         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
55408         (_DIRENT_MATCHES_DIRENT64): New macro.
55410         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
55411         Define lockf64 as an alias.
55412         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
55413         Define fseeko64 as an alias.
55414         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
55415         Define ftello64 as an alias.
55416         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
55417         Define _IO_fgetpos64 and fgetpos64 as aliases.
55418         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
55419         Define _IO_fsetpos64 and fsetpos64 as aliases.
55420         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
55421         Conditionalize body on this.
55422         * libio/fseeko64.c: Likewise.
55423         * libio/ftello64.c: Likewise.
55424         * libio/iofgetpos64.c: Likewise.
55425         * libio/iofsetpos64.c: Likewise.
55426         * sysdeps/wordsize-64/lockf.c: File removed.
55427         * sysdeps/wordsize-64/lockf64.c: File removed.
55428         * sysdeps/wordsize-64/fseeko.c: File removed.
55429         * sysdeps/wordsize-64/fseeko64.c: File removed.
55430         * sysdeps/wordsize-64/ftello.c: File removed.
55431         * sysdeps/wordsize-64/ftello64.c: File removed.
55432         * sysdeps/wordsize-64/iofgetpos.c: File removed.
55433         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
55434         * sysdeps/wordsize-64/iofsetpos.c: File removed.
55435         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
55436         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
55437         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
55438         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
55439         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
55440         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
55441         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
55442         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
55443         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
55444         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
55445         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
55447         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55448         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55449         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
55450         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55451         [defined __arch64__ || defined __sparcv9]
55452         (__OFF_T_MATCHES_OFF64_T): New macro.
55453         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55454         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55455         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55456         (__OFF_T_MATCHES_OFF64_T): New macro.
55458 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
55460         * stdlib/secure-getenv.c (__secure_getenv): Replace
55461         GLIBC_2_16 with GLIBC_2_17.
55463 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
55465         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
55466         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
55468 2012-08-03  David S. Miller  <davem@davemloft.net>
55470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55472 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
55474         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
55475         Remove.
55476         (__ASSUME_CORRECT_SI_PID): Likewise.
55477         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
55478         (__ASSUME_TMPFS_NAME): Likewise.
55479         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
55480         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
55481         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
55482         (HAVE_AUX_SECURE): Make definition unconditional.
55483         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
55484         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
55486 2012-08-03  Roland McGrath  <roland@hack.frob.com>
55488         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
55489         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
55490         * sysdeps/mach/hurd/eloop-threshold.h: New file.
55491         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
55492         __eloop_threshold instead of SYMLOOP_MAX.
55494         * sysdeps/generic/eloop-threshold.h: New file.
55495         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
55496         of MAXSYMLINKS.
55497         * elf/chroot_canon.c (chroot_canon): Likewise.
55499 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
55501         [BZ #13717]
55502         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55503         Change to 2.6.0 everywhere.
55504         * sysdeps/unix/sysv/linux/configure: Regenerated.
55505         * sysdeps/unix/sysv/linux/kernel-features.h
55506         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
55507         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
55508         kernel versions.
55509         (__ASSUME_POSIX_TIMERS): Define unconditionally.
55510         (__ASSUME_FUTEX_REQUEUE): Remove.
55511         (__ASSUME_STATFS64): Define unconditionally.
55512         (__ASSUME_AT_SECURE): Likewise.
55513         (__ASSUME_CORRECT_SI_PID): Likewise.
55514         (__ASSUME_TGKILL): Define without depending on kernel version for
55515         i386.
55516         (__ASSUME_UTIMES): Likewise.
55517         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
55518         kernel version.
55519         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
55520         (__ASSUME_TMPFS_NAME): Likewise.
55521         * README: Update reference to Linux kernel versions.
55523 2012-08-02  Marek Polacek  <polacek@redhat.com>
55525         [BZ# 14150]
55526         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
55527         libc_cv_asm_type_prefix with %.
55528         * configure: Regenerated.
55529         * include/libc-symbols.h: Remove comment about
55530         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55531         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
55532         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
55533         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
55534         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
55535         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55536         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
55537         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
55538         * elf/tst-unique2mod1.c: Likewise.
55539         * elf/tst-unique1mod2.c: Likewise.
55540         * elf/tst-unique1mod1.c: Likewise.
55541         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
55542         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
55543         Replace ASM_TYPE_DIRECTIVE with .type.
55544         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55545         * sysdeps/i386/sysdep.h: Likewise.
55546         * sysdeps/x86_64/sysdep.h: Likewise.
55547         * sysdeps/sh/sysdep.h: Likewise.
55548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55549         Do not define ASM_TYPE_DIRECTIVE.
55550         * sysdeps/powerpc/sysdep.h: Likewise.
55551         * sysdeps/powerpc/powerpc32/sysdep.h:
55552         Replace ASM_TYPE_DIRECTIVE with .type.
55553         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55554         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55555         * sysdeps/i386/fpu/e_powf.S: Likewise.
55556         * sysdeps/i386/fpu/e_expl.S: Likewise.
55557         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55558         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55559         * sysdeps/i386/fpu/e_pow.S: Likewise.
55560         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55561         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55562         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55563         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55564         * sysdeps/i386/fpu/e_log2.S: Likewise.
55565         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55566         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55567         * sysdeps/i386/fpu/e_powl.S: Likewise.
55568         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55569         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55570         * sysdeps/i386/fpu/e_logl.S: Likewise.
55571         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55572         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55573         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55574         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55575         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55576         * sysdeps/i386/fpu/e_log.S: Likewise.
55577         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55578         * sysdeps/i386/fpu/e_logf.S: Likewise.
55579         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55580         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55581         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55582         * sysdeps/i386/fpu/e_log10.S: Likewise.
55583         * sysdeps/i386/fpu/s_frexp.S: Likewise.
55584         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55585         * sysdeps/i386/fpu/s_asinh.S: Likewise.
55586         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55587         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55588         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
55589         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55590         * sysdeps/i386/i686/strtok.S: Likewise.
55591         * sysdeps/i386/i386-mcount.S: Likewise.
55592         * sysdeps/i386/strtok.S: Likewise.
55593         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
55594         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55595         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55596         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55597         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55598         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55599         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55600         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55601         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55602         * sysdeps/x86_64/_mcount.S: Likewise.
55603         * sysdeps/x86_64/strtok.S: Likewise.
55604         * sysdeps/sh/_mcount.S: Likewise.
55606 2012-08-01  Roland McGrath  <roland@hack.frob.com>
55608         * libio/iofopen.c: Include <fcntl.h>.
55609         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
55610         (_IO_fopen64, fopen64): Define as aliases.
55611         * libio/iofopen64.c: Include <fcntl.h>.
55612         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
55613         Conditionalize body on this.
55614         * sysdeps/wordsize-64/iofopen.c: File removed.
55615         * sysdeps/wordsize-64/iofopen64.c: File removed.
55617 2012-08-01  Marek Polacek  <polacek@redhat.com>
55619         * libc/Makeconfig: Use elf in place of binfmt-subdir.
55620         Use dlfcn directly instead of a variable.
55621         (binfmt-subdir): Do not define.
55622         (dlfcn): Likewise.
55624 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
55626         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
55627         Remove all definitions.
55628         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
55629         <kernel-features.h>.
55630         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55631         (miss_F_GETOWN_EX): Remove all definitions.
55632         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
55633         macro definition.
55634         [!__ASSUME_FCNTL64]: Remove conditional code.
55635         [__ASSUME_FCNTL64]: Make code unconditional.
55636         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
55637         <kernel-features.h>.
55638         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55639         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
55640         (lockf64) [__NR_fcntl64]: Make code unconditional.
55641         (lockf64) [__ASSUME_FCNTL64]: Likewise.
55643         * sysdeps/unix/sysv/linux/kernel-features.h
55644         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
55645         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
55646         Make code unconditional.
55647         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55648         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
55650         [__NR_vfork]: Make code unconditional.
55651         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55652         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
55654         [__NR_vfork]: Make code unconditional.
55655         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55656         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55658 2012-08-01  Roland McGrath  <roland@hack.frob.com>
55660         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
55661         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
55663         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55664         Define mkstemp64 as an alias.
55665         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55666         Define mkstemps64 as an alias.
55667         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55668         Define mkostemp64 as an alias.
55669         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55670         Define mkostemps64 as an alias.
55671         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
55672         Conditionalize body on this.
55673         * misc/mkostemp64.c: Likewise.
55674         * misc/mkostemps64.c: Likewise.
55675         * misc/mkstemps64.c: Likewise.
55676         * sysdeps/wordsize-64/mkstemp64.c: File removed.
55677         * sysdeps/wordsize-64/mkostemp64.c: File removed.
55678         * sysdeps/wordsize-64/mkostemp.c: File removed.
55679         * sysdeps/wordsize-64/mkstemp.c: File removed.
55680         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
55681         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
55682         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
55683         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
55685         [BZ #14138]
55686         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
55687         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
55688         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
55689         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
55691         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
55692         compat_symbol macros from <shlib-compat.h> rather than the underlying
55693         default_symbol_version and symbol_version macros, so that DEFAULT
55694         lines in shlib-versions are respected.
55695         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
55697 2012-08-01  Florian Weimer  <fweimer@redhat.com>
55699         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
55700         Declare with warn_unused_result.
55701         (setgid, setregid, setegid, setresgid): Likewise.
55702         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
55703         Likewise.
55704         * WUR-REPORT: Remove set*id functions.
55706 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
55708         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
55710 2012-07-31  Roland McGrath  <roland@hack.frob.com>
55712         [BZ #10191]
55713         * include/sys/socket.h (__libc_accept, __libc_accept4):
55714         Add attribute_hidden.
55715         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
55717         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
55718         use of PTR_MANGLE.
55719         * inet/getnetgrent_r.c (setup): Likewise.
55721         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
55723 2012-07-31  David S. Miller  <davem@davemloft.net>
55725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55727 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
55729         [BZ #13629]
55730         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
55731         value between 1.0 and 2.0 and smaller part has absolute value less
55732         than 1.0.
55733         * math/s_clog10.c (__clog10): Likewise.
55734         * math/s_clog10f.c (__clog10f): Likewise.
55735         * math/s_clog10l.c (__clog10l): Likewise.
55736         * math/s_clogf.c (__clogf): Likewise.
55737         * math/s_clogl.c (__clogl): Likewise.
55738         * math/libm-test.inc (clog_test): Add more tests.
55739         (clog10_test): Likewise.
55740         * sysdeps/i386/fpu/libm-test-ulps: Update.
55741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55743 2012-07-31  Florian Weimer  <fweimer@redhat.com>
55745         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
55746         Exit with zero in case no suitable GID is found, and write a
55747         message to standard error.
55749 2012-07-30  Roland McGrath  <roland@hack.frob.com>
55751         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
55752         rather than to 1.
55753         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
55754         (MAXPATHLEN): Removed.
55755         (NOGROUP, NODEV): New macros.
55756         (setbit, clrbit, isset, isclr): New macros.
55757         (howmany, roundup, powerof2): New macros.
55758         (DEV_BSIZE): New macro.
55760         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
55761         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
55763         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
55764         definition on [!__NO_LONG_DOUBLE_MATH].
55766         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
55767         PTR_MANGLE and PTR_DEMANGLE.
55769         * socket/accept4.c (accept4): Rename to __libc_accept4.
55770         Define accept4 as a weak alias.
55772         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
55773         on [_DIRENT_HAVE_D_TYPE].
55774         * io/ftw.c (ftw_dir): Likewise.
55776         * io/xmknod.c (__xmknod): Don't check PATH for being null.
55778         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
55780         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
55781         Use the BSD numbers rather than the arbitrary ones we had.
55782         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
55783         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
55784         (SIGXCPU, SIGXFSZ): New macros.
55785         (_NSIG): Now 32.
55787         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
55788         initializer on [_LIBC_REENTRANT].
55790         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
55791         definitions inside [_POSIX_MAPPED_FILES].
55793         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
55795         * dirent/opendir.c: Include <fcntl.h>.
55797         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
55798         (__libc_getspecific): Likewise.
55799         (__libc_key_create): Likewise.
55801         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
55802         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
55803         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
55804         (tmpfile64): Define as alias.
55805         * sysdeps/wordsize-64/tmpfile.c: File removed.
55806         * sysdeps/wordsize-64/tmpfile64.c: File removed.
55807         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
55808         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
55810         * stdio-common/vfscanf.c: Include <stdbool.h>.
55811         * nss/makedb.c: Likewise.
55812         * stdio-common/_i18n_number.h: Likewise.
55813         * argp/argp-help.c: Likewise.
55814         * posix/wordexp.c: Likewise.
55815         * sysdeps/posix/spawni.c: Likewise.
55816         * nss/nss_files/files-initgroups.c: Likewise.
55817         * stdio-common/reg-modifier.c: Include <stdlib.h>.
55818         * nss/nss_files/files-initgroups.c: Likewise.
55819         * nss/nss_db/db-netgrp.c: Likewise.
55820         * nss/nss_db/db-initgroups.c: Likewise.
55821         * io/fchmodat.c: Include <sys/stat.h>.
55823         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
55824         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
55826         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
55827         [HAVE_MMAP].
55829         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
55830         Add multiple inclusion protection.
55832 2012-07-27  David S. Miller  <davem@davemloft.net>
55834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55836 2012-07-27  Gary Benson  <gbenson@redhat.com>
55838         [BZ #14298]
55839         * elf/rtld.c: Include <stap-probe.h>.
55840         (dl_main): Added static probes "init_start" and "init_complete".
55841         * elf/dl-load.c: Include <stap-probe.h>.
55842         (lose): Take new parameter "nsid".
55843         Added static probe "map_failed".
55844         (_dl_map_object_from_fd): Pass namespace id to lose.
55845         Added static probe "map_start".
55846         (open_verify): Pass namespace id to lose.
55847         * elf/dl-open.c: Include <stap-probe.h>.
55848         (dl_open_worker) Added static probes "map_complete", "reloc_start"
55849         and "reloc_complete".
55850         * elf/dl-close.c: Include <stap-probe.h>.
55851         (_dl_close_worker): Added static probes "unmap_start" and
55852         "unmap_complete".
55853         * elf/rtld-debugger-interface.txt: New file documenting the above.
55855 2012-07-26  Roland McGrath  <roland@hack.frob.com>
55857         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
55858         rather than a string variable.
55859         * sunrpc/rpc_main.c (h_output): Likewise.
55860         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
55862 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
55864         * inet/check_native.c: New file.
55866 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
55868         [BZ #13629]
55869         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
55870         if larger part has absolute value 1.0.
55871         * math/s_clog10.c (__clog10): Likewise.
55872         * math/s_clog10f.c (__clog10f): Likewise.
55873         * math/s_clog10l.c (__clog10l): Likewise.
55874         * math/s_clogf.c (__clogf): Likewise.
55875         * math/s_clogl.c (__clogl): Likewise.
55876         * math/libm-test.inc (clog_test): Add more tests.
55877         (clog10_test): Likewise.
55878         * sysdeps/i386/fpu/libm-test-ulps: Update.
55879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55881         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
55882         (pltexit): Likewise.
55883         (La_regs): Likewise.
55884         (La_retval): Likewise.
55885         (int_retval): Likewise.
55886         Update #error for removed macros to refer only to definitions in
55887         tst-audit.h.
55888         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
55889         macro.
55890         (pltexit): Likewise.
55891         (La_regs): Likewise.
55892         (La_retval): Likewise.
55893         (int_retval): Likewise.
55894         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
55895         macro.
55896         (pltexit): Likewise.
55897         (La_regs): Likewise.
55898         (La_retval): Likewise.
55899         (int_retval): Likewise.
55900         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
55901         macro.
55902         (pltexit): Likewise.
55903         (La_regs): Likewise.
55904         (La_retval): Likewise.
55905         (int_retval): Likewise.
55906         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
55907         macro.
55908         (pltexit): Likewise.
55909         (La_regs): Likewise.
55910         (La_retval): Likewise.
55911         (int_retval): Likewise.
55912         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
55913         macro.
55914         (pltexit): Likewise.
55915         (La_regs): Likewise.
55916         (La_retval): Likewise.
55917         (int_retval): Likewise.
55918         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
55919         macro.
55920         (pltexit): Likewise.
55921         (La_regs): Likewise.
55922         (La_retval): Likewise.
55923         (int_retval): Likewise.
55924         * sysdeps/generic/tst-audit.h: Update comment to refer only to
55925         macro definitions in tst-audit.h.
55926         * sysdeps/i386/tst-audit.h: New file.
55927         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
55928         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
55929         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
55930         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
55931         * sysdeps/sh/tst-audit.h: Likewise.
55932         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
55933         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
55934         * sysdeps/x86_64/tst-audit.h: Likewise.
55936 2012-07-26  Andreas Jaeger  <aj@suse.de>
55938         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
55939         ptrace.
55941         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
55942         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
55943         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
55944         PTRACE_O_MASK.
55945         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
55946         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
55947         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
55949         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
55950         value.
55952         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
55953         _sigsys.
55954         (si_call_addr, si_syscall, si_arch): Define new macro.
55955         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
55956         _sigsys.
55957         (si_call_addr, si_syscall, si_arch): Define new marcro.
55958         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
55959         _sigsys.
55960         (si_call_addr, si_syscall, si_arch): Define new macro.
55961         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
55962         _sigsys.
55963         (si_call_addr, si_syscall, si_arch): Define new macro.
55965 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
55967         [BZ #13717]
55968         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55969         Change to 2.4.21 where previously 2.4.1.
55970         * sysdeps/unix/sysv/linux/configure: Regenerated.
55971         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
55972         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
55973         Linux kernel version.
55974         (__ASSUME_STD_AUXV): Remove.
55975         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
55976         kernel version.
55977         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
55978         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
55979         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
55980         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
55981         (__ASSUME_NETLINK_SUPPORT): Likewise.
55982         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
55983         (__no_netlink_support): Remove conditional definition.
55984         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
55985         Remove.
55986         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55987         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
55988         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
55989         (if_nameindex_ioctl): Remove.
55990         (if_nameindex_netlink): Do not handle __no_netlink_support.
55991         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55992         code.
55993         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
55994         Remove conditional code.
55995         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55996         code.
55997         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
55998         unconditional.
55999         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
56000         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
56001         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
56002         Remove.
56003         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
56004         [!__ASSUME_STD_AUXV]: Remove conditional code.
56005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
56006         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
56007         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
56008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
56009         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
56010         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
56011         code.
56012         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
56013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56014         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
56015         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
56016         conditional code.
56017         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
56018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
56019         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
56020         code.
56021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
56022         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
56023         conditional code.
56024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
56025         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56026         code unconditional.
56027         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56028         conditional code.
56029         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56030         unconditional.
56031         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56032         conditional code.
56033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56034         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56035         unconditional.
56036         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56037         conditional code.
56038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
56039         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56040         code unconditional.
56041         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56042         conditional code.
56043         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56044         unconditional.
56045         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56046         conditional code.
56047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
56048         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
56049         code unconditional.
56050         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56051         conditional code.
56052         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
56053         unconditional.
56054         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
56055         conditional code.
56057 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
56059         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
56060         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
56061         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
56062         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
56063         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
56064         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
56065         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
56066         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
56067         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
56068         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
56069         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
56070         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
56071         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
56072         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
56073         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
56074         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
56075         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
56076         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
56077         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
56078         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
56079         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
56080         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
56081         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56083 2012-07-25  Florian Weimer  <fweimer@redhat.com>
56085         * Versions.def: Add GLIBC_2.17.
56086         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
56087         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
56088         Introduce __libc_secure_getenv.
56089         * stdlib/Versions (2.17): Add secure_getenv
56090         (GLIBC_PRIVATE): Add __libc_secure_getenv.
56091         * stdlib/secure-getenv.c: Rename __secure_getenv to
56092         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
56093         symbol __secure_getenv for GLIBC_2.0.
56094         * stdlib/tst-secure-getenv.c: New.
56095         * stdlib/Makefile (tests): Add testcase.
56096         * manual/startup.texi (Environment Access): Document
56097         secure_getenv.
56098         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
56099         __libc_secure_getenv.
56100         * inet/ruserpass.c (ruserpass): Likewise.
56101         * malloc/mtrace.c (mtrace): Likewise.
56102         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
56103         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
56104         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
56105         * sysdeps/posix/tempname.c: Likewise.  Evaluate
56106         HAVE_SECURE_GETENV.
56107         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
56108         __secure_getenv to __libc_secure_getenv.
56109         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
56110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56111         Likewise.
56112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56113         Likewise.
56114         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56115         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56116         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56117         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56119         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56122 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
56124         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
56125         (struct La_i86_retval): Likewise.
56126         (struct La_x86_64_regs): Likewise.
56127         (struct La_x86_64_retval): Likewise.
56128         (struct La_x32_regs): Likewise.
56129         (struct La_x32_retval): Likewise.
56130         (struct La_ppc32_regs): Likewise.
56131         (struct La_ppc32_retval): Likewise.
56132         (struct La_ppc64_regs): Likewise.
56133         (struct La_ppc64_retval): Likewise.
56134         (struct La_sh_regs): Likewise.
56135         (struct La_sh_retval): Likewise.
56136         (struct La_s390_32_regs): Likewise.
56137         (struct La_s390_32_retval): Likewise.
56138         (struct La_s390_64_regs): Likewise.
56139         (struct La_s390_64_retval): Likewise.
56140         (struct La_sparc32_regs): Likewise.
56141         (struct La_sparc32_retval): Likewise.
56142         (struct La_sparc64_regs): Likewise.
56143         (struct La_sparc64_retval): Likewise.
56144         (struct audit_ifaces): Remove architecture-specific pltenter and
56145         pltexit members.
56146         * sysdeps/i386/ldsodefs.h: New file.
56147         * sysdeps/powerpc/ldsodefs.h: Likewise.
56148         * sysdeps/s390/ldsodefs.h: Likewise.
56149         * sysdeps/sh/ldsodefs.h: Likewise.
56150         * sysdeps/sparc/ldsodefs.h: Likewise.
56151         * sysdeps/x86_64/ldsodefs.h: Likewise.
56153 2012-07-25  Marek Polacek  <polacek@redhat.com>
56155         [BZ #6808]
56156         * math/libm-test.inc (yn_test): Add another test.
56157         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
56158         to ERANGE when the result is +-Inf.
56159         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
56160         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
56161         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
56162         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
56164 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
56166         * conform/data/time.h-data (NULL): Use macro-constant.  Require
56167         equal to 0.
56168         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
56169         clock_t.
56170         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
56172 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
56174         * configure.in <sysdeps resolving>: Correct printing
56175         Implies_before.
56176         * configure: Regenerate.
56178 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
56180         * math/w_ilogb.c: Include <limits.h>.
56181         * math/w_ilogbl.c: Likewise.
56183 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
56185         * manual/lang.texi (__va_copy): Document primarily as ISO C99
56186         va_copy.  Document allowing for unavailable va_copy only as
56187         pre-C99 compatibility.
56188         * manual/string.texi (Copying and Concatenation): Use va_copy
56189         instead of __va_copy in concat example.
56191 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
56193         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
56194         (__sendto): Use create_address_port.  Initialize APORT and deallocate
56195         it if not null.
56197         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
56198         with O_NOLINK passed to __file_name_lookup.
56200         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
56201         with O_NOLINK passed to __file_name_lookup.
56203         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
56204         negative N or less than NGIDS.
56206         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
56207         type to string_t.  Set ERANGE as errno and return it if NAME is not big
56208         enough.  Use memcpy instead of strncpy.
56210 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
56212         * elf/Makefile (check-data): Remove.
56213         (localplt.data): New vpath directive.
56214         ($(objpfx)check-localplt.out): Use localplt.data from vpath
56215         instead of $(check-data).
56216         * scripts/data/localplt-generic.data: Move to ...
56217         * sysdeps/generic/localplt.data: ... here.
56218         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
56219         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
56220         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
56221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
56222         ... here.
56223         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
56224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
56225         ... here.
56226         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
56227         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
56228         ... here.
56229         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
56230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
56231         ... here.
56232         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
56233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
56234         ... here.
56235         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
56236         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
56237         ... here.
56239 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56241         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
56242         PPC32 and PPC64 files.
56243         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
56244         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
56246 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56248         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
56249         __makecontext_ret to ...
56250         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
56251         ... here and call exit if uc_link is NULL.  New file.
56252         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
56253         __makecontext_ret.S.
56254         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
56255         __makecontext_ret to ...
56256         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
56257         ... here and call exit if uc_link is NULL.  New file.
56258         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
56259         __makecontext_ret.S.
56261 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56263         * elf/elf.h (R_390_IRELATIVE): New definition.
56264         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
56265         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
56266         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
56267         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
56268         (elf_machine_lazy_rel): Likewise.
56269         * sysdeps/s390/dl-irel.h: New file.
56270         * sysdeps/s390/s390-64/memcpy.S: New asm code.
56271         * sysdeps/s390/s390-64/memset.S: New asm code.
56272         * sysdeps/s390/s390-64/memcmp.S: New asm code.
56273         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
56274         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
56275         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
56276         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
56277         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
56278         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
56279         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
56280         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
56281         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
56282         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
56283         * sysdeps/s390/s390-32/memcpy.S: New asm code.
56284         * sysdeps/s390/s390-32/memset.S: New asm code.
56285         * sysdeps/s390/s390-32/memcmp.S: New asm code.
56287 2012-07-17  Marek Polacek  <polacek@redhat.com>
56289         [BZ #14349]
56290         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
56291         * sysdeps/s390/s390-64/configure.in: Likewise.
56292         * sysdeps/sparc/configure.in: Likewise.
56293         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
56294         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
56295         * sysdeps/i386/configure.in: Likewise.
56296         * sysdeps/x86_64/configure.in: Likewise.
56297         * sysdeps/sh/configure.in: Likewise.
56298         * sysdeps/s390/s390-32/configure: Regenerated.
56299         * sysdeps/s390/s390-64/configure: Likewise.
56300         * sysdeps/x86_64/configure: Likewise.
56301         * sysdeps/sh/configure: Likewise.
56302         * sysdeps/powerpc/powerpc64/configure: Likewise.
56303         * sysdeps/powerpc/powerpc32/configure: Likewise.
56304         * sysdeps/sparc/configure: Likwise.
56305         * sysdeps/i386/configure: Likewise.
56307         * elf/dl-open.c: Comment fixes.
56309 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
56311         * Makefile [CXX] (check-data): Remove.
56312         [CXX] (c++-types.data): New vpath directive.
56313         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
56314         vpath.  Do not allow for C++ type data being missing.
56315         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
56316         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
56317         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
56318         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
56319         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
56320         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
56321         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
56322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
56323         ... here.
56324         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
56325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
56326         ... here.
56327         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
56328         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
56329         ... here.
56330         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
56331         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
56332         ... here.
56333         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
56334         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
56335         ... here.
56336         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
56337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
56338         ... here.
56339         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
56340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
56341         ... here.
56342         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
56343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
56345         * elf/tls-macros.h (TLS_LE): Move architecture-specific
56346         definitions to architecture-specific files.
56347         (TLS_IE): Likewise.
56348         (TLS_LD): Likewise.
56349         (TLS_GD): Likewise.
56350         * sysdeps/i386/tls-macros.h: New file.
56351         * sysdeps/powerpc/tls-macros.h: Likewise.
56352         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
56353         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
56354         * sysdeps/sh/tls-macros.h: Likewise.
56355         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
56356         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
56357         * sysdeps/x86_64/tls-macros.h: Likewise.
56359 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
56361         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
56362         zero value for regular exit case.
56364         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
56365         (__start_context): Preserve zero value for regular exit case.
56367 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
56368             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56370         * manual/setjmp.texi (setcontext): Clarify normal process
56371         termination when uc_link is the null pointer.
56372         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
56373         exit call.
56375 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
56377         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
56378         preprocessor.  Test for each exception mask separately.
56380 2012-07-16  Andreas Jaeger  <aj@suse.de>
56382         * po/ru.po: Update from translation team.
56384 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
56386         * conform/data/string.h-data (NULL): Use macro-constant.  Require
56387         equal to 0.
56388         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56389         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56390         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
56391         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
56392         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56394 2012-07-13  Andreas Jaeger  <aj@suse.de>
56396         * po/fr.po: Update from translation team.
56398 2012-07-12  Marek Polacek  <polacek@redhat.com>
56400         [BZ #14173]
56401         * math/libm-test.inc (yn_test): Add test for BZ #14173.
56402         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
56403         loop condition.
56405 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
56407         [BZ #13717]
56408         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56409         Change to 2.4.1 where previously 2.4.0.
56410         * sysdeps/unix/sysv/linux/configure: Regenerated.
56411         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
56412         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
56413         version.
56414         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
56415         (__ASSUME_AT_CLKTCK): Remove.
56416         (__ASSUME_AT_PAGESIZE): Likewise.
56417         (__ASSUME_AT_XID): Likewise.
56418         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
56419         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
56420         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
56421         unconditionally.
56422         (HAVE_AUX_PAGESIZE): Likewise.
56423         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
56424         [__ASSUME_AT_CLKTCK]: Make code unconditional.
56425         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
56427 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
56429         [BZ #14307]
56430         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
56431         the temporary buffer used to invoke __gethostbyname2_r,
56432         __gethostbyaddr_r and gethostbyname4_r to make room for struct
56433         host_data / struct gaih_addrtuple.
56434         * resolv/nss_dns/dns-host.c (global scope): Move definition of
56435         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
56436         header file nss/nsswitch.h.
56437         * nss/nsswitch.h (global scope): Add definition of implementation
56438         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
56439         resolv/nss_dns/dns-host.c).
56441 2012-07-11  Andreas Jaeger  <aj@suse.de>
56443         * po/fr.po: Update from translation team.
56445         * po/sv.po: Update from translation team
56446         * po/fr.po: Another update from translation team.
56448 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56450         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
56451         for subnormals or multiply small sinh result by itself.
56452         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56453         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56455 2012-07-11  David S. Miller  <davem@davemloft.net>
56457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56459 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
56461         [BZ #14347]
56462         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
56463         (INTERNAL_MARK): Shift it here.
56465 2012-07-10  Marek Polacek  <polacek@redhat.com>
56467         [BZ #14151]
56468         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
56469         libc_cv_asm_global_directive with .globl.
56470         * configure: Regenerated.
56471         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
56472         with .globl.
56473         * sysdeps/i386/configure: Regenerated.
56474         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
56475         with .globl.
56476         * sysdeps/x86_64/configure: Regenerated.
56477         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
56478         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
56479         * elf/tst-unique2mod2.c: Likewise.
56480         * elf/tst-unique2mod1.c: Likewise.
56481         * elf/tst-unique1mod2.c: Likewise.
56482         * elf/tst-unique1mod1.c: Likewise.
56483         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56484         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
56485         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56486         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56487         * sysdeps/mach/sysdep.h: Likewise.
56488         * sysdeps/i386/sysdep.h: Likewise.
56489         * sysdeps/i386/i386-mcount.S: Likewise.
56490         * sysdeps/x86_64/_mcount.S: Likewise.
56491         * sysdeps/x86_64/sysdep.h: Likewise.
56492         * sysdeps/sh/_mcount.S: Likewise.
56493         * sysdeps/sh/sysdep.h: Likewise.
56494         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
56495         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
56496         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
56497         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56498         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
56499         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
56500         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
56501         * locale/localeinfo.h: Likewise.
56502         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
56503         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
56505 2012-07-09  Roland McGrath  <roland@hack.frob.com>
56507         [BZ #14336]
56508         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
56509         system".
56510         * manual/message.texi (The Uniforum approach): Likewise.
56511         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
56512         (glibc iconv Implementation): Likewise.
56514 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
56516         [BZ #14337]
56517         * math/s_clog.c (__clog): Avoid scaling a value down where that
56518         could result in underflow.
56519         * math/s_clog10.c (__clog10): Likewise.
56520         * math/s_clog10f.c (__clog10f): Likewise.
56521         * math/s_clog10l.c (__clog10l): Likewise.
56522         * math/s_clogf.c (__clogf): Likewise.
56523         * math/s_clogl.c (__clogl): Likewise.
56524         * math/libm-test.inc (clog_test): Add more tests.
56525         (clog10_test): Likewise.
56526         * sysdeps/i386/fpu/libm-test-ulps: Update.
56527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56529 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
56531         [BZ #14283]
56532         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
56533         by 7 not 8 to examine high bit of fractional part.
56535         [BZ #14042]
56536         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
56537         for call to __mcount_internal.
56538         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
56539         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
56540         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
56542 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
56544         [BZ #14154]
56545         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
56546         approximation for values within 0x1p-13f of an odd multiple of
56547         pi/4.
56548         * math/libm-test.inc (tan_test): Do not allow spurious underflow
56549         exception.  Add more tests.
56550         * sysdeps/i386/fpu/libm-test-ulps: Update.
56552         [BZ #6778]
56553         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
56554         inputs and return -1 for them.  Do not check for +Inf in case not
56555         reachable for +Inf.
56556         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
56557         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
56558         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56559         and return -1 for them.  Do not check for +Inf in case not
56560         reachable for +Inf.
56561         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
56562         define.
56563         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56564         and return -1 for them.  Do not check for +Inf in case not
56565         reachable for +Inf.
56566         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
56567         spurious underflow.
56568         * sysdeps/i386/fpu/libm-test-ulps: Update.
56569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56571 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
56573         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
56575 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
56577         [BZ #14157]
56578         [BZ #14331]
56579         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
56580         could result in spurious underflow.  Scale down values above
56581         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
56582         * math/s_csqrtf.c (__csqrtf): Likewise.
56583         * math/s_csqrtl.c (__csqrtl): Likewise.
56584         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
56585         spurious underflow.
56586         * sysdeps/i386/fpu/libm-test-ulps: Update.
56587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56589 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
56591         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
56592         xopen-msg.sed.
56593         * catgets/xopen-msg.awk: New file.
56594         * catgets/xopen-msg.sed: Removed.
56596         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
56597         po2text.sed.
56598         * intl/po2test.awk: New file.
56599         * intl/po2test.sed: Removed.
56601 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
56603         [BZ #14328]
56604         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
56605         or multiply small sinh result by itself.
56606         * math/s_ctanf.c (__ctanf): Likewise.
56607         * math/s_ctanh.c (__ctanh): Likewise.
56608         * math/s_ctanhf.c (__ctanhf): Likewise.
56609         * math/s_ctanhl.c (__ctanhl): Likewise.
56610         * math/s_ctanl.c (__ctanl): Likewise.
56611         * math/libm-test.inc (ctan_test_tonearest): New function.
56612         (ctan_test_towardzero): Likewise.
56613         (ctan_test_downward): Likewise.
56614         (ctan_test_upward): Likewise.
56615         (ctanh_test_tonearest): Likewise.
56616         (ctanh_test_towardzero): Likewise.
56617         (ctanh_test_downward): Likewise.
56618         (ctanh_test_upward): Likewise.
56619         (main): Call these new functions.
56620         * sysdeps/i386/fpu/libm-test-ulps: Update.
56621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56623 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
56625         * .gitignore: Delete /ports entry.
56627 2012-07-03  Andreas Jaeger  <aj@suse.de>
56629         * po/bg.po: Update from translation team.
56630         * po/cs.po: Likewise.
56631         * po/de.po: Likewise.
56632         * po/hr.po: Likewise.
56633         * po/nl.pl: Likewise.
56634         * po/pl.po: Likewise.
56635         * po/vi.po: Likewise.
56637 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
56639         * Makeconfig [!+link] (+link-before-libc): New variable.
56640         [!+link] (+link-after-libc): Likewise.
56641         [!+link] (+link-tests): Likewise.
56642         [!+link] (+link): Define in terms of $(+link-before-libc) and
56643         $(+link-after-libc).
56644         [!+link-static] (+link-static-before-libc): New variable.
56645         [!+link-static] (+link-static-after-libc): Likewise.
56646         [!+link-static] (+link-static-tests): Likewise.
56647         [!+link-static] (+link-static): Define in terms of
56648         $(+link-static-before-libc) and $(+link-static-after-libc).
56649         [build-shared] (link-libc-before-gnulib): New variable.
56650         [build-shared] (link-libc-tests): Likewise.
56651         [build-shared] (link-libc): Define in terms of
56652         $(link-libc-before-gnulib).
56653         [!build-shared] (link-libc-tests): New variable.
56654         (link-libc-static-tests): New variable.
56655         [!gnulib] (gnulib-arch): New variable.
56656         [!gnulib] (gnulib-tests): Likewise.
56657         [!gnulib] (static-gnulib-arch): Likewise.
56658         [!gnulib] (static-gnulib-tests): Likewise.
56659         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
56660         Define with "=" instead of ":=".
56661         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
56662         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
56663         * Rules (binaries-all-notests): New variable.
56664         (binaries-all-tests): Likewise.
56665         (binaries-static-notests): Likewise.
56666         (binaries-static-tests): Likewise.
56667         (binaries-all): Define using $(binaries-all-notests) and
56668         $(binaries-all-tests).
56669         (binaries-static): Define using $(binaries-static-notests) and
56670         $(binaries-static-tests).
56671         (binaries-shared-tests): New variable.
56672         (binaries-shared-notests): Likewise.
56673         (binaries-shared): Remove variable.
56674         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
56675         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
56676         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
56677         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
56678         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
56679         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
56680         * elf/Makefile (sln-modules): New variable.
56681         (extra-objs): Add $(sln-modules:=.o).
56682         (ldconfig-modules): Add static-stubs.
56683         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
56684         * elf/static-stubs.c: New file.
56686         [BZ #14283]
56687         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
56688         by 7 not 8 to examine high bit of fractional part.  Use volatile
56689         variables when splitting into final array of floats if
56690         __FLT_EVAL_METHOD__ != 0.
56691         * math/libm-test.inc (cos_test): Add another test.
56692         (sin_test): Likewise.
56693         * sysdeps/i386/fpu/libm-test-ulps: Update.
56695         [BZ #14273]
56696         * math/libm-test.inc (cosh_test): Add more tests.
56698         * version.h (RELEASE): Set to "development".
56699         (VERSION): Set to "2.16.90".
56701 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
56703         * NEWS: Update copyright. Remove last-updated date.
56704         Mention math library bug fixes and timezone data changes.
56705         * README: Mention GNU/Hurd, x32, and HPPA support status.
56707 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
56709         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
56711 2012-06-27  Andreas Jaeger  <aj@suse.de>
56713         * manual/contrib.texi (Contributors): Add Samuel Thibault.
56715 2012-06-25  Andreas Jaeger  <aj@suse.de>
56717         * sysdeps/s390/fpu/libm-test-ulps: Update.
56719 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
56720             Thomas Schwinge  <thomas@codesourcery.com>
56722         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
56723         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
56724         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
56725         fanotify_mark.
56727 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
56729         * sysdeps/mach/start.c: Remove file.
56730         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
56731         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
56732         * sysdeps/sh/init-first.c: Likewise.
56734         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
56735         registers for frame unwinding purposes, add CFI directives.
56736         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56737         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
56738         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
56739         Likewise.
56741         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
56742         __fortify_fail returning.
56743         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56745         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
56746         sysdeps/sh/____longjmp_chk.S.
56747         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
56748         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
56749         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
56750         (gen-as-const-headers): Append sigaltstack-offsets.sym.
56752         * sysdeps/sh/abort-instr.h: New file.
56753         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
56754         process in case exit returns.
56756         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
56757         initialize the GOT register before use.
56759         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
56760         calculation of ARGC > 4.
56762         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
56763         meaningful names to some local labels.
56765 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
56766             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56768         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
56769         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
56770         (__arch_compare_and_exchange_val_16_acq): Likewise.
56771         (__arch_compare_and_exchange_val_32_acq): Likewise.
56772         (atomic_exchange_and_add): Fix gUSA sequence.
56773         (atomic_add): Likewise.
56774         (atomic_add_negative): Likewise.
56775         (atomic_add_zero): Likewise.
56776         (atomic_bit_test_set): Likewise.
56778 2012-06-22  Andreas Schwab  <schwab@redhat.com>
56780         [BZ #13579]
56781         * include/link.h (struct link_map): Add l_free_initfini.
56782         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
56783         l_initfini.
56784         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
56785         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
56786         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
56787         set.
56789 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
56791         * configure.in: Use AC_LANG_SOURCE.
56792         * configure: Regenerate.
56794 2012-06-22  Roland McGrath  <roland@hack.frob.com>
56796         * configure.in (libc_cv_localstatedir): New substituted variable.
56797         * configure: Regenerated.
56798         * config.make.in (localstatedir): New variable, substituted from
56799         libc_cv_localstatedir.
56800         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
56801         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
56802         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
56803         * sysdeps/gnu/configure: Regenerated.
56805 2012-06-21  Jeff Law  <law@redhat.com>
56807         [BZ #14277]
56808         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
56809         free.  Simplify list management for _LIBC case.
56811 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
56813         [BZ #14273]
56814         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
56815         Clear sign bit of 64-bit integer value before comparing against
56816         overflow value.
56818         * sysdeps/mach/configure: Regenerated.
56820 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
56822         [BZ #14278]
56823         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
56825 2012-06-21  Jeff Law  <law@redhat.com>
56827         [BZ #13882]
56828         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
56829         uint16_t for elements in the "seen" array to avoid char overflows.
56830         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56831         * elf/dl-open.c (dl_open_worker): Likewise.
56833 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
56835         * scripts/list-sources.sh: Scan PORTS for translations.
56836         * po/libc.pot: Regenerated.
56838 2012-06-21  Andreas Jaeger  <aj@suse.de>
56840         [BZ #12194]
56841         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
56842         warning.
56843         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
56844         * bits/byteswap-16.h (__bswap_16): Likewise.
56845         * bits/byteswap.h (__bswap_constant_16): Likewise.
56847 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
56849         [BZ #14117]
56850         * sysdeps/i386/fpu_control.h: Removed.
56851         * sysdeps/x86_64/fpu_control.h: Moved to ...
56852         * sysdeps/x86/fpu_control.h: Here.
56854         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
56855         (_FPU_SETCW): Likewise.
56857 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
56859         [BZ #14117]
56860         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
56861         * sysdeps/x86/fpu/bits/mathinline.h: This.
56862         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
56864         [BZ #14050]
56865         [BZ #14117]
56866         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
56867         functions if __x86_64__ is defined.
56869 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
56871         * string/endian.h: Add !__ASSEMBLER__ condition for including
56872         conversion interfaces.
56874 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
56876         [BZ #14241]
56877         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
56878         of ABS(x) in calculating zero to negative powers other than odd
56879         integers.
56880         * math/libm-test.inc (pow_test): Add more tests.
56882 2012-06-15  Andreas Jaeger  <aj@suse.de>
56884         * manual/contrib.texi (Contributors): Update entry of Liubov
56885         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
56886         Machado Filho.
56888 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
56890         * string/string.h: Add __wur to GNU version of strerror_r.
56892 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
56894         [BZ #14229]
56895         * string/Makefile (tests): Add tst-strtok_r.
56896         * string/tst-strtok_r.c: New file.
56897         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
56898         RAX_LP/RDX_LP on SAVE_PTR.
56900 2012-06-14  Roland McGrath  <roland@hack.frob.com>
56902         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
56904 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
56906         * libm_test.inc (csqrt_test): Allow more spurious underflow
56907         exceptions.
56908         (j0_test): Likewise.
56909         (j1_test): Likewise.
56910         (y0_test): Likewise.
56911         (y1_test): Likewise.
56913 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
56915         * po/Makefile (libc.pot): Use UTF-8 charset.
56917 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
56919         [BZ #14210]
56920         Suppress sign-conversion warning from FD_SET.
56921         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
56922         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
56923         not unsigned long int.
56924         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
56926 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
56928         [BZ #14050]
56929         [BZ #14117]
56930         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
56931         __extern_always_inline instead of __extern_inline.
56932         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
56933         (__signbit): Likewise.
56934         (__signbitl): Support C++ namespace.
56935         (lrintf): New inline function.
56936         (lrint): Likewise.
56937         (llrintf): Likewise.
56938         (llrint): Likewise.
56939         (fmaxf): Likewise.
56940         (fmax): Likewise.
56941         (fminf): Likewise.
56942         (fmin): Likewise.
56943         (rint): Likewise.
56944         (rintf): Likewise.
56945         (ceil): Likewise.
56946         (ceilf): Likewise.
56947         (floor): Likewise.
56948         (floorf): Likewise.
56949         (nearbyint): Likewise.
56950         (nearbyintf): Likewise.
56952 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
56954         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
56955         non-default versions.
56957 2012-06-11  Roland McGrath  <roland@hack.frob.com>
56959         [BZ #14218]
56960         * manual/argp.texi (Argp): Reword argp_parse description slightly.
56962 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
56964         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
56965         (FE_UPWARD, FE_DOWNWARD): Don't define.
56966         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
56967         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56969         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
56970         reading it.
56971         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56972         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56974 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56976         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
56977         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
56978         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
56979         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
56981 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
56983         [BZ #14117]
56984         * sysdeps/i386/fpu/bits/fenv.h: Removed.
56985         * sysdeps/i386/fpu/Implies: New file.
56986         * sysdeps/x86_64/fpu/Implies: Likewise.
56987         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
56988         * sysdeps/x86/fpu/bits/fenv.h: This.
56990         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
56991         __SSE_MATH__.
56993 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56995         [BZ #14134]
56996         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
56997         character 0xffff that matches the last element of the
56998         conversion table.
57000 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57002         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
57003         fmodl commit.
57005 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57007         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
57008         values higher than 25.6283.
57010 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57012         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
57013         subnormal exponent extraction and add some __builtin_expect.
57014         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
57015         Fix for subnormal mantissa calculation.
57017 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
57019         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
57020         cpu2 is -1 and errno is not ENOSYS.
57022 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
57024         [BZ #14117]
57025         * sysdeps/i386/i486/bits/string.h: Renamed to ...
57026         * sysdeps/x86/bits/string.h: This.
57027         * sysdeps/x86_64/bits/string.h: Removed.
57029         * sysdeps/i386/i486/bits/string.h: Define inline functions only
57030         if not compiling for x86-64, but compiling for >= i486.
57032         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
57033         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
57035         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
57036         New macro from Linux kernel 3.4.0.
57037         (FP_XSTATE_MAGIC2): Likewise.
57038         (FP_XSTATE_MAGIC2_SIZE): Likewise.
57039         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
57040         (struct _fpx_sw_bytes): New struct.
57041         (struct _xsave_hdr): Likewise.
57042         (struct _ymmh_state): Likewise.
57043         (struct _xstate): Likewise.
57045         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
57046         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
57047         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
57048         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
57049         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
57050         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
57052         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
57053         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
57054         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
57055         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
57056         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
57057         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
57059 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57061         [BZ #13743]
57062         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
57063         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
57064         (sysdep_headers): Include sys/platform/ppc.h.
57065         * sysdeps/powerpc/test-gettimebase.c: Test for
57066         __ppc_get_timebase() to catch future ISA opcode/insn changes.
57067         * manual/Makefile (appendices): Include platform.texi.
57068         * manual/contrib.texi (Contributors): Update @node pointers.
57069         * manual/maint.texi (Maintenance): Likewise.
57070         (Platform): New node.
57071         * manual/platform.texi: New file.  Document the new features.
57073 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57074             Jakub Jelinek  <jakub@redhat.com>
57076         [BZ #14188]
57077         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
57078         where __builtin_expect is unavailable.
57080 2012-06-03  David S. Miller  <davem@davemloft.net>
57082         * stdlib/longlong.h: Updated from GCC.
57084 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
57086         [BZ #14042]
57087         * sysdeps/powerpc/powerpc32/mcount.c: New file.
57088         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
57089         __mcount_internal.
57090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57091         (GLIBC_2.16): Likewise.
57093 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57095         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
57097 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
57099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
57100         (default-abi): New variable.
57101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
57102         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
57103         variable.
57104         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
57105         Likewise.
57106         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
57107         Likewise.
57108         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
57109         Likewise.
57111         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
57112         definition.  Document in comment.
57114 2012-06-01  David S. Miller  <davem@davemloft.net>
57116         * stdlib/longlong.h: Updated from GCC.
57118 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57120         [BZ #14117]
57121         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
57122         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
57123         sys/debugreg.h sys/io.h here.
57124         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
57125         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
57126         sys/io.h.
57127         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
57128         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
57129         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
57130         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
57131         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
57132         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
57134         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
57135         Define only if __x86_64__ is defined.
57137 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
57139         [BZ #14048]
57140         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
57141         Use int64_t for variable i.
57142         * math/libm-test.inc (fmod_test): Add more tests.
57144         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
57145         z computation is not scheduled after fetestexcept.
57146         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
57147         Use math_force_eval instead of asm to ensure calculation scheduled
57148         before exception test.
57149         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
57150         Ensure a1 + u.d computation is not scheduled after fetestexcept.
57152 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
57154         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
57155         computation is not scheduled after fetestexcept.
57157 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57159         [BZ #14117]
57160         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
57161         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
57163 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57165         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
57166         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57168 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
57170         [BZ #14117]
57171         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
57172         <bits/wordsize.h>.
57173         (__WCHAR_MIN): Support __WORDSIZE == 64.
57174         (__WCHAR_MAX): Likewise.
57176         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
57177         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
57179         [BZ #14183]
57180         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
57181         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
57183         [BZ #14117]
57184         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
57185         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
57187         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
57188         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
57190         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
57191         Defined to 1 if __x86_64__ isn't defined.
57192         (_STAT_VER_LINUX_OLD): New.
57193         (st_atime): Remove duplicate.
57194         (st_mtime): Likewise.
57195         (st_ctime): Likewise.
57197 2012-05-31  David S. Miller  <davem@davemloft.net>
57199         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
57200         entries.
57202 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
57204         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
57205         gen-libm-test.pl.
57207         [BZ #14132]
57208         * elf/dl-reloc.c: Include <_itoa.h>.
57209         (_dl_reloc_bad_type): Remove use of INTUSE.
57210         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
57211         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
57212         * stdio-common/psiginfo.c (psiginfo): Likewise.
57213         * stdio-common/psignal.c (psignal): Likewise.
57214         * string/strsignal.c (strsignal): Likewise.
57215         * include/signal.h (_sys_siglist): Declare hidden proto.
57216         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
57217         INTVARDEF with libc_hidden_data_def.
57218         * stdio-common/itoa-udigits.c: Likewise.
57219         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
57220         (_itoa_lower_digits_internal): Remove declaration.
57221         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
57222         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
57223         (_sys_sigabbrev_internal): Remove aliases.
57224         (_sys_siglist): Define hidden alias.
57226 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
57228         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57229         bits/sysctl.h.
57231 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
57233         [BZ #14117]
57234         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
57235         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
57237         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
57238         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
57239         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
57240         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
57241         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
57242         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
57244         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
57245         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
57246         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
57248         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
57249         with __addr.
57250         (insw): Likewise.
57251         (insl): Likewise.
57252         (outsb): Likewise.
57253         (outsw): Likewise.
57254         (outsl): Likewise.
57256         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
57257         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
57258         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
57260         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
57261         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
57262         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
57263         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
57264         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
57265         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
57267         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
57268         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
57270         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
57271         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
57273         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
57274         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
57275         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
57277         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
57278         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
57279         to ...
57280         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
57282         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
57283         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
57284         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
57286         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
57287         for x86-64.
57288         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
57290 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
57292         * math/math.h (M_El): Use two more decimal places.
57293         (M_LOG2El): Likewise.
57294         (M_LOG10El): Likewise.
57295         (M_LN2l): Likewise.
57296         (M_LN10l): Likewise.
57297         (M_PIl): Likewise.
57298         (M_PI_2l): Likewise.
57299         (M_PI_4l): Likewise.
57300         (M_1_PIl): Likewise.
57301         (M_2_PIl): Likewise.
57302         (M_2_SQRTPIl): Likewise.
57303         (M_SQRT2l): Likewise.
57304         (M_SQRT1_2l): Likewise.
57306 2012-05-31  David S. Miller  <davem@davemloft.net>
57308         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
57309         values between float registers.
57310         * sysdeps/sparc/sparc64/memset.S: Likewise.
57311         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
57313 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
57315         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
57316         -D_FORTIFY_SOURCE=1.
57317         (CPPFLAGS-tst-longjmp_chk.c): Define.
57318         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
57319         (CPPFLAGS-tst-longjmp_chk2.c): Define.
57320         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
57321         CFLAGS-tst-wchar-h.c.
57323 2012-05-31  Marek Polacek  <polacek@redhat.com>
57325         [BZ #14132]
57326         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
57327         __endmntent_internal): Remove declaration.
57328         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
57329         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
57330         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
57332 2012-05-30  David S. Miller  <davem@davemloft.net>
57334         * sysdeps/sparc/sparc32/soft-fp/q_util.c
57335         (___Q_simulate_exceptions): Use real FP ops rather than writing
57336         into the %fsr.
57337         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
57338         Likewise.
57340 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57342         [BZ #14117]
57343         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
57344         * sysdeps/x86/bits/xtitypes.h: This.
57346         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
57347         * sysdeps/x86/bits/wordsize.h: This.
57349         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
57350         * sysdeps/x86/bits/huge_vall.h: This.
57352         * sysdeps/i386/bits/select.h: Removed.
57353         * sysdeps/x86_64/bits/select.h: Renamed to ...
57354         * sysdeps/x86/bits/select.h: This.
57356         * sysdeps/i386/bits/setjmp.h: Removed.
57357         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
57358         * sysdeps/x86/bits/setjmp.h: This.
57360         * sysdeps/i386/bits/mathdef.h: Removed.
57361         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
57362         * sysdeps/x86/bits/mathdef.h: This.
57364 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
57366         [BZ #14132]
57367         * include/sys/socket.h (__connect_internal)
57368         (__libc_sa_len_internal): Remove declaration.
57369         (__connect, __libc_sa_len): Declare hidden_proto.
57370         (SA_LEN): Remove use of INTUSE.
57371         * socket/connect.c: Add libc_hidden_def.
57372         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
57373         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
57374         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
57375         alias.
57376         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
57377         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
57378         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
57379         of adding _internal alias.
57381 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57383         [BZ #14117]
57384         * sysdeps/i386/bits/link.h: Removed.
57385         * sysdeps/i386/bits/linkmap.h: Likewise.
57386         * sysdeps/x86_64/bits/link.h: Renamed to ...
57387         * sysdeps/x86/bits/link.h: This.
57388         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
57389         * sysdeps/x86/bits/linkmap.h: This.
57391         * sysdeps/i386/bits/endian.h: Removed.
57392         * sysdeps/x86_64/bits/endian.h: Renamed to ...
57393         * sysdeps/x86/bits/endian.h: This.
57395         * sysdeps/i386/bits/byteswap.h: Removed.
57396         * sysdeps/i386/bits/byteswap-16.h: Likewise.
57397         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
57398         * sysdeps/x86/bits/byteswap.h: This.
57399         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
57400         * sysdeps/x86/bits/byteswap-16.h: This.
57401         * sysdeps/i386/Implies: Add x86.
57402         * sysdeps/x86_64/Implies: Likewise.
57404 2012-05-30  David S. Miller  <davem@davemloft.net>
57406         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
57407         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
57408         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57409         (FP_TRAPPING_EXCEPTIONS): Define.
57410         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57411         (FP_TRAPPING_EXCEPTIONS): Define.
57412         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
57413         subnormals only when inexact has been signalled or underflow
57414         exceptions are enabled.
57415         (_FP_PACK_CANONICAL): Likewise.
57417 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57419         [BZ #14183]
57420         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
57421         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
57423 2012-05-30  Richard Henderson  <rth@twiddle.net>
57425         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
57426         with #ifndef NOT_IN_libc.
57428         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
57429         marked to avoid plt entry.
57431 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57433         [BZ #14112]
57434         * Makeconfig (default-abi): New macro.
57435         (abi-includes): Likewise.
57436         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
57437         $(abi-$(default-abi)-lib-soname) for soname if defined.
57438         ($(common-objpfx)gnu/lib-names.stmp): Generate from
57439         abi-variants.
57440         * Makefile (installed-stubs): Likewise.
57441         * include/stubs-biarch.h: Removed.
57442         * scripts/lib-names.awk: Only handle one library at a time.
57443         * scripts/soversions.awk: Remove WORDSIZE support.
57444         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
57445         entries.
57446         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
57447         Removed.
57448         (syscall-list-default-condition): Likewise.
57449         (syscall-list-default-condition): Likewise.
57450         (syscall-list-includes): Likewise.
57451         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
57452         syscall-list-* with abi-*.  Handle undefined abi-variants.
57453         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
57454         * sysdeps/unix/sysv/linux/i386/Implies: New file.
57455         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
57456         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
57457         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
57458         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
57459         Removed.
57460         (syscall-list-32-options): Likewise.
57461         (syscall-list-32-condition): Likewise.
57462         (syscall-list-64-options): Likewise.
57463         (syscall-list-64-condition): Likewise.
57464         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
57465         macro.
57466         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
57467         Renamed to ...
57468         (abi-*): This.
57469         (abi-64-ld-soname): New macro.
57470         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
57471         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
57472         Renamed to ...
57473         (abi-*): This.
57474         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
57475         * sysdeps/x86_64/x32/shlib-versions: Likewise.
57477 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
57479         * sysdeps/unix/sysv/linux/kernel-features.h
57480         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
57481         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
57482         include <kernel-features.h>.
57483         [!__NR_ftruncate64]: Remove conditional code.
57484         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57485         [__NR_ftruncate64]: Make code unconditional.
57486         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57487         * sysdeps/unix/sysv/linux/truncate64.c: Do not
57488         include <kernel-features.h>.
57489         [!__NR_ftruncate64]: Remove conditional code.
57490         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57491         [__NR_ftruncate64]: Make code unconditional.
57492         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
57494         include <kernel-features.h>.
57495         [!__NR_ftruncate64]: Remove conditional code.
57496         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57497         [__NR_ftruncate64]: Make code unconditional.
57498         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57500         include <kernel-features.h>.
57501         [!__NR_ftruncate64]: Remove conditional code.
57502         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57503         [__NR_ftruncate64]: Make code unconditional.
57504         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57506         * configure.in (libc_cv_fpie): Weaken to a compile test using
57507         LIBC_TRY_CC_OPTION.
57508         * configure: Regenerated.
57510 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
57513         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
57514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
57515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57516         Refreshed.
57517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
57518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
57519         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
57520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
57521         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
57522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57523         Refreshed.
57525 2012-05-27  David S. Miller  <davem@davemloft.net>
57527         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
57528         (___Q_zero): New.
57529         (__Q_simulate_exceptions): Return void.  Change to simulate
57530         exceptions by writing into the %fsr.
57531         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
57532         (__Qp_handle_exceptions): Likewise.
57533         (numbers): Delete.
57534         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
57535         __Qp_handle_exceptions.
57536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
57537         __Qp_handle_exceptions.
57538         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57539         as unused and give dummy FP_RND_NEAREST initializer.
57540         (FP_INHIBIT_RESULTS): Define.
57541         (___Q_simulate_exceptions): Update declaration.
57542         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
57543         formatting.
57544         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57545         as unused and give dummy FP_RND_NEAREST initializer.
57546         (__Qp_handle_exceptions): Update declaration.
57547         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
57548         formatting.
57550 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
57552         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
57553         the temporary FPU control word.
57554         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
57555         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
57556         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
57557         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
57558         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
57559         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
57560         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
57561         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
57562         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
57563         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
57564         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57566 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57568         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
57569         fields.
57571 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
57573         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
57574         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
57575         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
57576         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
57577         Likewise.
57578         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
57579         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
57580         Likewise.
57582 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
57584         * po/h.po: Update from translation team.
57586 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
57588         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
57590         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
57591         handling of denormals.
57592         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57593         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57594         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
57595         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
57596         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57597         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
57598         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
57599         Likewise.
57601 2012-05-26  Marek Polacek  <polacek@redhat.com>
57603         [BZ #14152]
57604         * math/libm-test.inc (fma_test): Don't always expect underflow
57605         exception.
57607 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57609         [BZ #12416]
57610         * elf/tst-execstack.c: Include stackinfo.h.
57611         (do_test): Adjust test case to ensure that pthread_getattr_np
57612         behaviour remains the same after marking stack executable.
57614 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
57616         * sysdeps/unix/sysv/linux/kernel-features.h
57617         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
57618         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
57619         kernel-features.h.
57620         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57621         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57622         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
57623         kernel-features.h.
57624         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57625         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57627 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
57629         * configure.in: Define the default includes to being none.
57630         * configure: Regenerated.
57632 2012-05-25  Roland McGrath  <roland@hack.frob.com>
57634         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
57635         * sysdeps/x86_64/setjmp.S: Likewise.
57636         * sysdeps/i386/bsd-setjmp.S: Likewise.
57637         * sysdeps/i386/bsd-_setjmp.S: Likewise.
57638         * sysdeps/i386/setjmp.S: Likewise.
57639         * sysdeps/i386/__longjmp.S: Likewise.
57640         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57641         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
57643         * include/stap-probe.h: New file.
57644         * configure.in: Handle --enable-systemtap.
57645         * configure: Regenerated.
57646         * config.h.in (USE_STAP_PROBE): New #undef.
57647         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
57648         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
57649         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
57651 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
57653         [BZ #13717]
57654         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57655         to 2.4.0 where earlier.
57656         * sysdeps/unix/sysv/linux/configure: Regenerated.
57657         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
57658         <kernel-features.h>.
57659         [__ASSUME_32BITUIDS]: Make code unconditional.
57660         [!__ASSUME_32BITUIDS]: Remove conditional code.
57661         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
57662         <kernel-features.h>.
57663         [__ASSUME_32BITUIDS]: Make code unconditional.
57664         [!__ASSUME_32BITUIDS]: Remove conditional code.
57665         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
57666         [__ASSUME_32BITUIDS]: Make code unconditional.
57667         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
57668         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
57669         <kernel-features.h>.
57670         [__ASSUME_32BITUIDS]: Make code unconditional.
57671         [!__ASSUME_32BITUIDS]: Remove conditional code.
57672         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
57673         <kernel-features.h>.
57674         [__ASSUME_32BITUIDS]: Make code unconditional.
57675         [!__ASSUME_32BITUIDS]: Remove conditional code.
57676         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
57677         <kernel-features.h>.
57678         [__ASSUME_32BITUIDS]: Make code unconditional.
57679         [!__ASSUME_32BITUIDS]: Remove conditional code.
57680         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
57681         <kernel-features.h>.
57682         [__ASSUME_32BITUIDS]: Make code unconditional.
57683         [!__ASSUME_32BITUIDS]: Remove conditional code.
57684         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
57685         <kernel-features.h>.
57686         [__ASSUME_32BITUIDS]: Make code unconditional.
57687         [!__ASSUME_32BITUIDS]: Remove conditional code.
57688         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
57689         <kernel-features.h>.
57690         [__ASSUME_32BITUIDS]: Make code unconditional.
57691         [!__ASSUME_32BITUIDS]: Remove conditional code.
57692         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
57693         <kernel-features.h>.
57694         [__ASSUME_32BITUIDS]: Make code unconditional.
57695         [!__ASSUME_32BITUIDS]: Remove conditional code.
57696         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57697         <kernel-features.h>.
57698         [__ASSUME_32BITUIDS]: Make code unconditional.
57699         [!__ASSUME_32BITUIDS]: Remove conditional code.
57700         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
57701         <kernel-features.h>.
57702         [__ASSUME_32BITUIDS]: Make code unconditional.
57703         [!__ASSUME_32BITUIDS]: Remove conditional code.
57704         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
57705         <kernel-features.h>.
57706         [__ASSUME_32BITUIDS]: Make code unconditional.
57707         [!__ASSUME_32BITUIDS]: Remove conditional code.
57708         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
57709         <kernel-features.h>.
57710         [__NR_setresgid] (__setresgid): Do not declare.
57711         [__ASSUME_32BITUIDS]: Make code unconditional.
57712         [!__ASSUME_32BITUIDS]: Remove conditional code.
57713         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
57714         <kernel-features.h>.
57715         [__NR_setresuid] (__setresuid): Do not declare.
57716         [__ASSUME_32BITUIDS]: Make code unconditional.
57717         [!__ASSUME_32BITUIDS]: Remove conditional code.
57718         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
57719         <kernel-features.h>.
57720         [__ASSUME_32BITUIDS]: Make code unconditional.
57721         [!__ASSUME_32BITUIDS]: Remove conditional code.
57722         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
57723         <kernel-features.h>.
57724         [__ASSUME_32BITUIDS]: Make code unconditional.
57725         [!__ASSUME_32BITUIDS]: Remove conditional code.
57726         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
57727         <kernel-features.h>.
57728         [__ASSUME_32BITUIDS]: Make code unconditional.
57729         [!__ASSUME_32BITUIDS]: Remove conditional code.
57730         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
57731         <kernel-features.h>.
57732         [__ASSUME_32BITUIDS]: Make code unconditional.
57733         [!__ASSUME_32BITUIDS]: Remove conditional code.
57734         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
57735         <kernel-features.h>.
57736         [__ASSUME_32BITUIDS]: Make code unconditional.
57737         [!__ASSUME_32BITUIDS]: Remove conditional code.
57738         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
57739         <kernel-features.h>.
57740         [__ASSUME_32BITUIDS]: Make code unconditional.
57741         [!__ASSUME_32BITUIDS]: Remove conditional code.
57742         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
57743         <kernel-features.h>.
57744         [__ASSUME_32BITUIDS]: Make code unconditional.
57745         [!__ASSUME_32BITUIDS]: Remove conditional code.
57746         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
57747         <kernel-features.h>.
57748         [__ASSUME_32BITUIDS]: Make code unconditional.
57749         [!__ASSUME_32BITUIDS]: Remove conditional code.
57750         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
57751         <kernel-features.h>.
57752         [__ASSUME_32BITUIDS]: Make code unconditional.
57753         [!__ASSUME_32BITUIDS]: Remove conditional code.
57754         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
57755         <kernel-features.h>.
57756         [__ASSUME_32BITUIDS]: Make code unconditional.
57757         [!__ASSUME_32BITUIDS]: Remove conditional code.
57758         * sysdeps/unix/sysv/linux/kernel-features.h
57759         (__ASSUME_SETRESUID_SYSCALL): Remove.
57760         (__ASSUME_SETRESGID_SYSCALL): Likewise.
57761         (__ASSUME_32BITUIDS): Likewise.
57762         (__ASSUME_LDT_WORKS): Likewise.
57763         (__ASSUME_O_DIRECTORY): Likewise.
57764         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
57765         architecture but not kernel version.
57766         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
57767         (__ASSUME_MMAP2_SYSCALL): Likewise.
57768         (__ASSUME_STAT64_SYSCALL): Likewise.
57769         (__ASSUME_IPC64): Likewise.
57770         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
57771         <kernel-features.h>.
57772         [__ASSUME_32BITUIDS]: Make code unconditional.
57773         [!__ASSUME_32BITUIDS]: Remove conditional code.
57774         * sysdeps/unix/sysv/linux/opendir.c: Do not include
57775         <kernel-features.h>.
57776         [__ASSUME_O_DIRECTORY]: Make code unconditional.
57777         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
57778         132096]: Remove conditional code.
57779         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
57780         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57781         <kernel-features.h>.
57782         [__ASSUME_32BITUIDS]: Make code unconditional.
57783         [!__ASSUME_32BITUIDS]: Remove conditional code.
57784         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57785         <kernel-features.h>.
57786         [__ASSUME_32BITUIDS]: Make code unconditional.
57787         [!__ASSUME_32BITUIDS]: Remove conditional code.
57788         * sysdeps/unix/sysv/linux/setegid.c: Do not include
57789         <kernel-features.h>.
57790         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
57791         unconditional.
57792         (__setresgid): Do not declare.
57793         [__ASSUME_32BITUIDS]: Make code unconditional.
57794         [!__ASSUME_32BITUIDS]: Remove conditional code.
57795         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
57796         <kernel-features.h>.
57797         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
57798         unconditional.
57799         (__setresuid): Do not declare.
57800         [__ASSUME_32BITUIDS]: Make code unconditional.
57801         [!__ASSUME_32BITUIDS]: Remove conditional code.
57802         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57803         <kernel-features.h>.
57804         [__ASSUME_32BITUIDS]: Make code unconditional.
57805         [!__ASSUME_32BITUIDS]: Remove conditional code.
57806         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
57807         <kernel-features.h>.
57808         [__ASSUME_32BITUIDS]: Make code unconditional.
57809         [!__ASSUME_32BITUIDS]: Remove conditional code.
57811 2012-05-25  Richard Henderson  <rth@twiddle.net>
57813         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
57814         dl_hwcap to ifunc resolver.
57815         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
57816         elf_ifunc_invoke.
57817         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
57818         dl_hwcap to ifunc resolver.
57819         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
57821 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57823         [BZ #14153]
57824         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
57825         for |x| <= 2**-26, not 2**-57.
57826         * math/libm-test.inc (acos_test): Do not allow spurious underflow
57827         exception.
57829 2012-05-24  Jeff Law  <law@redhat.com>
57831         * stdio-common/Makefile (tests): Add bug25.
57832         * stdio-common/bug25.c: New test.
57834 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
57836         [BZ #13576]
57837         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
57838         multiple of MALLOC_ALIGNMENT in size.
57839         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
57841 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57843         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
57844         Require >= 256.
57845         (FILENAME_MAX): Use macro-int-constant.
57846         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
57847         (_IOFBF): Use macro-int-constant.
57848         (_IOLBF): Likewise.
57849         (_IONBF): Likewise.
57850         (SEEK_CUR): Likewise.
57851         (SEEK_END): Likewise.
57852         (SEEK_SET): Likewise.
57853         (TMP_MAX): Likewise.
57854         (EOF): Use macro-int-constant.  Require < 0.
57855         (NULL): Use macro-constant.  Require == 0.
57856         (stdin): Require type to be FILE *.
57857         (stdout): Likewise.
57858         (stderr): Likewise.
57859         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
57860         macro-int-constant.
57861         (EXIT_SUCCESS): Likewise.
57862         (NULL): Use macro-constant.  Require == 0.
57863         (RAND_MAX): Use macro-int-constant.
57864         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
57865         [C99-based standards] (strtof): Require function.
57866         [C99-based standards] (strtold): Likewise.
57867         [C99-based standards] (strtoll): Likewise.
57868         [C99-based standards] (strtoull): Likewise.
57869         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
57870         [ISO || ISO99 || ISO11] (limits.h): Likewise.
57871         [ISO || ISO99 || ISO11] (math.h): Likewise.
57872         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
57873         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
57874         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57876 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
57878         [BZ #14132]
57879         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
57880         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
57881         * intl/dgettext.c (DCGETTEXT): Likewise.
57882         * intl/gettext.c (DCGETTEXT): Likewise.
57883         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
57884         * posix/regex_internal.h (gettext): Likewise.
57885         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
57886         Remove declaration.
57887         * include/argz.h (__argz_count_internal)
57888         (__argz_stringify_internal): Remove declaration.
57889         (__argz_count, __argz_stringify): Declare hidden proto.
57890         * intl/dcgettext.c: Remove use of INTDEF.
57891         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
57892         * string/argz-stringify.c: Likewise.
57893         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57894         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57895         Declare hidden proto.
57896         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57897         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57898         Declare hidden proto.
57899         * include/stdio.h (__asprintf_internal): Don't declare.
57900         (__asprintf): Don't define as macro.  Declare hidden proto.
57901         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
57902         (__fsetlocking): Declare hidden proto.
57903         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
57904         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
57905         hidden proto.
57906         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
57907         (_IO_setlinebuf): Remove use of INTUSE.
57908         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
57909         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
57910         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
57911         Remove declaration.
57912         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
57913         (_IO_do_flush): Remove use of INTUSE.
57914         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
57915         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
57916         (_IO_adjust_column, _IO_least_wmarker)
57917         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
57918         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
57919         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
57920         (_IO_default_doallocate, _IO_wdefault_doallocate)
57921         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
57922         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
57923         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
57924         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
57925         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
57926         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
57927         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
57928         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
57929         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
57930         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
57931         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
57932         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
57933         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
57934         proto.
57935         (_IO_flush_all_internal, _IO_adjust_column_internal)
57936         (_IO_default_uflow_internal, _IO_default_finish_internal)
57937         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
57938         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
57939         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
57940         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
57941         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
57942         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
57943         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
57944         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
57945         (_IO_file_close_internal, _IO_file_close_it_internal)
57946         (_IO_file_underflow_internal, _IO_file_overflow_internal)
57947         (_IO_file_init_internal, _IO_file_attach_internal)
57948         (_IO_file_fopen_internal, _IO_file_read_internal)
57949         (_IO_file_sync_internal, _IO_file_seek_internal)
57950         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
57951         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
57952         (_IO_str_underflow_internal, _IO_str_overflow_internal)
57953         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
57954         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
57955         (_IO_list_all_internal, _IO_link_in_internal)
57956         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
57957         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
57958         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
57959         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
57960         (_IO_do_write_internal, _IO_padn_internal)
57961         (_IO_getline_info_internal, _IO_getline_internal)
57962         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
57963         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
57964         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
57965         (_IO_vfscanf_internal, _IO_vfprintf_internal)
57966         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
57967         (_IO_init_internal, _IO_un_link_internal): Don't declare.
57968         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
57969         with libc_hidden_ver, remove use of INTUSE.
57970         * libio/genops.c: Likewise.
57971         * libio/freopen.c: Likewise.
57972         * libio/freopen64.c: Likewise.
57973         * libio/iofclose.c: Likewise.
57974         * libio/iofdopen.c: Likewise.
57975         * libio/iofflush.c: Likewise.
57976         * libio/iofflush_u.c: Likewise.
57977         * libio/iofgets.c: Likewise.
57978         * libio/iofgets_u.c: Likewise.
57979         * libio/iofopen.c: Likewise.
57980         * libio/iofopncook.c: Likewise.
57981         * libio/iofread.c: Likewise.
57982         * libio/iofread_u.c: Likewise.
57983         * libio/ioftell.c: Likewise.
57984         * libio/iofwrite.c: Likewise.
57985         * libio/iogetline.c: Likewise.
57986         * libio/iogets.c: Likewise.
57987         * libio/iogetwline.c: Likewise.
57988         * libio/iopadn.c: Likewise.
57989         * libio/iopopen.c: Likewise.
57990         * libio/ioseekoff.c: Likewise.
57991         * libio/ioseekpos.c: Likewise.
57992         * libio/iosetbuffer.c: Likewise.
57993         * libio/iosetvbuf.c: Likewise.
57994         * libio/ioungetc.c: Likewise.
57995         * libio/ioungetwc.c: Likewise.
57996         * libio/iovdprintf.c: Likewise.
57997         * libio/iovsprintf.c: Likewise.
57998         * libio/iovsscanf.c: Likewise.
57999         * libio/memstream.c: Likewise.
58000         * libio/obprintf.c: Likewise.
58001         * libio/oldfileops.c: Likewise.
58002         * libio/oldiofclose.c: Likewise.
58003         * libio/oldiofdopen.c: Likewise.
58004         * libio/oldiofopen.c: Likewise.
58005         * libio/oldiopopen.c: Likewise.
58006         * libio/oldstdfiles.c: Likewise.
58007         * libio/putc.c: Likewise.
58008         * libio/setbuf.c: Likewise.
58009         * libio/setlinebuf.c: Likewise.
58010         * libio/stdfiles.c: Likewise.
58011         * libio/strops.c: Likewise.
58012         * libio/vasprintf.c: Likewise.
58013         * libio/vscanf.c: Likewise.
58014         * libio/vsnprintf.c: Likewise.
58015         * libio/vswprintf.c: Likewise.
58016         * libio/wfiledoalloc.c: Likewise.
58017         * libio/wfileops.c: Likewise.
58018         * libio/wgenops.c: Likewise.
58019         * libio/wmemstream.c: Likewise.
58020         * libio/wstrops.c: Likewise.
58021         * libio/__fpurge.c: Likewise.
58022         * libio/__fsetlocking.c: Likewise.
58023         * assert/assert.c: Likewise.
58024         * debug/fgets_chk.c: Likewise.
58025         * debug/fgets_u_chk.c: Likewise.
58026         * debug/fread_chk.c: Likewise.
58027         * debug/fread_u_chk.c: Likewise.
58028         * debug/gets_chk.c: Likewise.
58029         * debug/obprintf_chk.c: Likewise.
58030         * debug/vasprintf_chk.c: Likewise.
58031         * debug/vdprintf_chk.c: Likewise.
58032         * debug/vsnprintf_chk.c: Likewise.
58033         * debug/vsprintf_chk.c: Likewise.
58034         * malloc/mtrace.c: Likewise.
58035         * misc/error.c: Likewise.
58036         * misc/syslog.c: Likewise.
58037         * stdio-common/asprintf.c: Likewise.
58038         * stdio-common/fxprintf.c: Likewise.
58039         * stdio-common/getw.c: Likewise.
58040         * stdio-common/isoc99_fscanf.c: Likewise.
58041         * stdio-common/isoc99_scanf.c: Likewise.
58042         * stdio-common/isoc99_vfscanf.c: Likewise.
58043         * stdio-common/isoc99_vscanf.c: Likewise.
58044         * stdio-common/isoc99_vsscanf.c: Likewise.
58045         * stdio-common/printf-prs.c: Likewise.
58046         * stdio-common/printf_fp.c: Likewise.
58047         * stdio-common/printf_fphex.c: Likewise.
58048         * stdio-common/printf_size.c: Likewise.
58049         * stdio-common/putw.c: Likewise.
58050         * stdio-common/scanf.c: Likewise.
58051         * stdio-common/sprintf.c: Likewise.
58052         * stdio-common/tmpfile.c: Likewise.
58053         * stdio-common/vfprintf.c: Likewise.
58054         * stdio-common/vfscanf.c: Likewise.
58055         * stdlib/strfmon_l.c: Likewise.
58056         * sunrpc/openchild.c: Likewise.
58057         * sunrpc/xdr_stdio.c: Likewise.
58058         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
58059         * sysdeps/mach/hurd/tmpfile.c: Likewise.
58061 2012-05-24  Roland McGrath  <roland@hack.frob.com>
58063         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58065         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
58066         in the third column, to generate for the shared library an IFUNC
58067         that uses _dl_vdso_vsym.
58068         * Makerules (COMPILE.c, compile-stdin.c): New variables.
58069         * Makeconfig (object-suffixes-noshared): New variable.
58071         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
58072         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
58073         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
58074         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
58076         [BZ #14132]
58077         * include/sys/time.h (__gettimeofday): Remove macro.
58078         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
58079         * time/gettimeofday.c (__gettimeofday): Remove #undef.
58080         Remove INTDEF.
58081         (__gettimeofday): Add libc_hidden_def.
58082         (gettimeofday): Add libc_hidden_weak.
58083         * sysdeps/mach/gettimeofday.c: Likewise.
58084         * sysdeps/posix/gettimeofday.c: Likewise.
58085         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
58086         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
58087         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
58088         (__gettimeofday_internal): Remove strong_alias.
58089         (__gettimeofday): Add libc_hidden_def.
58090         (gettimeofday): Add libc_hidden_weak.
58091         * sysdeps/unix/syscalls.list (gettimeofday):
58092         Remove __gettimeofday_internal alias.
58094 2012-05-24  Daniel Jacobowitz  <drow@false.org>
58095             H.J. Lu  <hongjiu.lu@intel.com>
58097         [BZ #12495]
58098         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
58099         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
58100         (largebin_index_32_big): New.
58101         (largebin_index): Use it for 16-byte alignment.
58102         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
58103         correction with front_misalign.
58105 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
58107         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
58108         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
58109         Likewise.
58110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
58111         Likewise.
58112         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
58113         Likewise.
58114         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
58115         Likewise.
58116         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
58117         Likewise.
58118         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
58119         Likewise.
58120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
58121         Likewise.
58122         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58123         Likewise.
58124         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
58125         Likewise.
58126         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
58127         Likewise.
58128         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
58129         Likewise.
58130         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
58131         Likewise.
58133         * scripts/data/c++-types-x32-linux-gnu.data: New file.
58134         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
58136 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
58138         [BZ #10846]
58139         [BZ #14036]
58140         * math/libm-test.inc (exp_test): Add test from bug 14036.
58141         (pow_test): Add test from bug 10846.
58143         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
58144         and other flags.
58145         (special_function): Do not include flags in test name.
58146         (parse_args): Likewise.
58147         * sysdeps/i386/fpu/libm-test-ulps: Update.
58148         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58149         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58150         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58153         * math/gen-libm-test.pl (%beautify): Add entries for underflow
58154         exceptions.
58155         * math/libm-test.inc ("Philosophy"): Update comment about
58156         exception testing.
58157         (UNDERFLOW_EXCEPTION): New macro.
58158         (UNDERFLOW_EXCEPTION_OK): Likewise.
58159         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
58160         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
58161         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
58162         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
58163         (INVALID_EXCEPTION_OK): Update value.
58164         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58165         (OVERFLOW_EXCEPTION_OK): Likewise.
58166         (IGNORE_ZERO_INF_SIGN): Likewise.
58167         (test_exceptions): Handle underflow exceptions.
58168         (acos_test): Update for underflow exception expectations.
58169         (cexp_test): Likewise.
58170         (clog_test): Likewise.
58171         (clog10_test): Likewise.
58172         (csqrt_test): Likewise.
58173         (ctan_test): Likewise.
58174         (ctanh_test): Likewise.
58175         (exp_test): Likewise.
58176         (exp10_test): Likewise.
58177         (exp2_test): Likewise.
58178         (expm1_test): Likewise.
58179         (fma_test): Likewise.
58180         (j0_test): Likewise.
58181         (jn_test): Likewise.
58182         (nexttoward_test): Likewise.
58183         (pow_test): Likewise.
58184         (scalbn_test): Likewise.
58185         (scalbln_test): Likewise.
58186         (tan_test): Likewise.
58187         (y1_test): Likewise.
58188         * sysdeps/i386/fpu/libm-test-ulps: Update.
58189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58191 2012-05-23  David S. Miller  <davem@davemloft.net>
58193         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58194         (__libc_sigaction): Remove unused local variables.
58196 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58198         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
58200 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
58202         mktime: avoid signed integer overflow
58203         * time/mktime.c (__mktime_internal): Do not mishandle the case
58204         where diff == INT_MIN.
58206         mktime: simplify computation of average
58207         * time/mktime.c (ranged_convert): Use new time_t_avg function
58208         instead of rolling our own (probably-slower) code.
58210         mktime: do not assume signed right shift propagates sign bit
58211         * time/mktime.c (isdst_differ): New static function.
58212         (__mktime_internal): No need to normalize tm_isdst now.
58213         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
58214         tm_isdst values.
58216         mktime: merge another wrapv change from gnulib
58217         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
58218         from some compilers.
58220         mktime: remove incorrect attempt at unusual arithmetics
58221         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
58222         The code didn't really work on such machines anyway.
58223         (TYPE_MINIMUM): Assume two's complement.
58224         (twos_complement_arithmetic): Verify that long_int and time_t
58225         are two's complement (or unsigned, in the latter case).
58227         mktime: check signed shifts on long_int and time_t, too
58228         * time/mktime.c (SHR): Check that shifts work as desired
58229         on the types long_int and time_t too, as SHR is used on
58230         such types.
58232         mktime: do not assume 'long' is wide enough
58233         * time/mktime.c (verify): Move decl up.
58234         (long_int): New type.
58235         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
58236         to remove assumption in the code that 'long' is wide enough to
58237         store year values.  This assumption is not true on x32 and on
58238         some non-glibc platforms.
58240         mktime: merge wrapv change from gnulib
58241         * time/mktime.c (WRAPV): New macro.
58242         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
58243         (guess_time_tm, __mktime_internal): Do not assume that signed
58244         integer overflow wraps around; modern compilers generate code
58245         where this assumption is no longer valid.
58247 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58249         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58250         Replace "jmp L(pseudo_end)" with "ret".
58251         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
58252         Likewise.
58254 2012-05-23  Andreas Jaeger  <aj@suse.de>
58256         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
58257         * sysdeps/unix/sysv/linux/poll.c: Remove file.
58259 2012-05-23  Andreas Jaeger  <aj@suse.de>
58260             Maximilian Attems  <max@stro.at>
58262         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
58263         New macros.
58265 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58267         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
58268         code so that pseudo_end is just ret and the stack pointer is
58269         correct also for static library in error case.
58271 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
58273         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
58274         move to syscalls.list.
58275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
58276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
58277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
58278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
58280         * manual/install.texi (Running make install): Do not mention Linux
58281         kernel version for which pt_chown is not needed.
58282         (Linux): Do not mention problems with nscd with 2.0 kernels.
58283         * INSTALL: Regenerated.
58285 2012-05-23  Andreas Jaeger  <aj@suse.de>
58287         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
58288         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
58289         macro.
58290         * sysdeps/unix/sysv/linux/s390/bits/mman.h
58291         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58292         * sysdeps/unix/sysv/linux/sh/bits/mman.h
58293         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58294         * sysdeps/unix/sysv/linux/i386/bits/mman.h
58295         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58296         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
58297         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58298         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
58299         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58300         * sysdeps/unix/sysv/linux/bits/in.h
58301         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
58303 2012-05-22  Roland McGrath  <roland@hack.frob.com>
58305         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
58306         (PREPARE_VERSION): Just use assert instead, it will be elided
58307         under [NDEBUG] anyway.
58309 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58311         * sysdeps/unix/sysv/linux/Makefile: Include
58312         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
58313         (sysdep_routines): Remove sysctl.
58314         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
58315         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
58316         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
58317         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
58318         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
58320 2012-05-22  Andreas Jaeger  <aj@suse.de>
58322         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
58323         that pseudo_end is just ret and the stack pointer is correct also
58324         for static library in error case.
58326 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
58328         [BZ #14122]
58329         * nss/nsswitch.c (defconfig_entries): New variable.
58330         (__nss_database_lookup): Don't leak defconfig entries.
58331         (nss_parse_service_list): Don't leak on error paths.
58332         (free_database_entries): New function.
58333         (free_defconfig): New function.
58334         (free_mem): Move common code to free_database_entries.
58336 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58338         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
58339         Add arch_prctl.
58340         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
58342         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
58343         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
58344         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
58345         New macro.
58346         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
58347         (INTERNAL_SYSCALL_TYPES): Likewise.
58348         (LOAD_ARGS_TYPES_[1-6]): Likewise.
58349         (LOAD_REGS_TYPES_[1-6]): Likewise.
58350         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
58351         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
58353 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58355         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
58356         copysignl for GLIBC_2_0.
58357         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
58358         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
58359         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
58360         logbl for GLIBC_2_0.
58361         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
58362         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
58364 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58366         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
58367         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58369         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58370         Use "neg %eax".
58372         * time/mktime.c: Update copyright years.
58374 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
58376         mktime: merge comment-quoting-style change from gnulib
58377         * time/mktime.c: Quote 'like this' in comments.
58378         The GNU coding standards suggest that we no longer quote `like this',
58379         as "`" and "'" are typically rendered asymmetrically nowadays.
58380         The typical gnulib style is to quote 'like this' when quoting
58381         code, and "like this" when quoting English.
58383         * time/mktime.c (compile-command): Add "-I.".
58385         mktime: merge mktime-internal.h change from gnulib
58386         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
58388         mktime: merge time_r change from gnulib
58389         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
58391         mktime: merge DEBUG change from gnulib
58392         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
58393         case system <time.h> has a #define.
58395         mktime: merge <sys/types.h> change from gnulib
58396         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
58397         since <time.t> is now guaranteed to define time_t.
58399         mktime: merge HAVE_CONFIG_H change from gnulib
58400         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
58402 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58404         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58405         Use "neg %eax".
58407         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
58408         __rlim_t cast.
58409         (struct rusage): Use anonymous union to pad each field to
58410         __syscall_slong_t.
58412 2012-05-21  David S. Miller  <davem@davemloft.net>
58414         * Makefules (o-iterator): Remove .s cases.
58415         (compile-command.s): Delete.
58416         (COMPILE.s): Delete.
58417         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
58419 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
58421         * configure.in (libc_cv_predef_stack_protector): Only consider
58422         "foobar" and "__stack_chk_fail" lines in libc_undefs.
58423         * configure: Regenerated.
58425 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58427         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58428         New macro.  Use R*LP on int and pointer.
58429         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
58430         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
58431         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
58432         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
58434         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
58435         [__WORDSIZE_TIME64_COMPAT32] instead of
58436         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
58437         (struct utmp): Likewise.
58438         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
58439         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
58440         Renamed to ...
58441         (__WORDSIZE_TIME64_COMPAT32): This.
58442         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
58443         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
58444         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
58445         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
58446         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
58447         (__WORDSIZE_TIME64_COMPAT32): New macro.
58449 2012-05-21  Andreas Jaeger  <aj@suse.de>
58451         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
58452         only if [SHARED]. Add prototype for __wcschr_ia32.
58454 2012-05-21  Roland McGrath  <roland@hack.frob.com>
58456         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
58457         of %rbp unmolested in the jmp_buf while mangling the low bits.
58458         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
58459         unmolested high bits of %rbp while demangling the low bits.
58460         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
58462 2012-05-21  Andreas Jaeger  <aj@suse.de>
58464         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
58465         * sunrpc/svc_simple.c: Use it for registerrpc.
58466         * sunrpc/xcrypt.c: Use it for passwd2des.
58468         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
58470 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58472         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
58473         Don't define if [__SYSCALL_WORDSIZE != 32].
58474         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
58475         New macro.
58477 2012-05-21  Bruno Haible  <bruno@clisp.org>
58478             Andreas Jaeger  <aj@suse.de>
58480         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
58481         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
58482         inptr and inend for must_buffer_ch.
58483         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
58484         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
58485         * stdio-common/Makefile (tests): Remove bug15.
58486         (bug15-ENV): Remove macro.
58487         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
58488         anymore.
58490 2012-05-19  Andreas Jaeger  <aj@suse.de>
58491             Roland McGrath  <roland@hack.frob.com>
58493         * manual/contrib.texi: Completely rewritten. It contains now an
58494         alphabetical list of contributors and their contributions.
58496 2012-05-21  Richard Henderson  <rth@twiddle.net>
58498         * misc/getauxval.c (__getauxval): Use unsigned long int.
58499         * misc/sys/auxv.h: Include <sys/cdefs.h>.
58500         (getauxval): Use unsigned long int.
58502 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58504         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58506 2012-05-21  Roland McGrath  <roland@hack.frob.com>
58508         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
58509         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
58510         __alignof__ (long double).
58512 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58514         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58516 2012-05-20  Richard Henderson  <rth@twiddle.net>
58518         * misc/getauxval.c: New file.
58519         * misc/sys/auxv.h: New file.
58520         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
58521         (routines): Add getauxval.
58522         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
58523         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
58524         * elf/dl-sysdep.c (_dl_auxv): Remove.
58525         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
58526         * elf/dl-support.c (_dl_auxv): New variable.
58527         (_dl_aux_init): Initialize it.
58528         * manual/startup.texi (Auxiliary Vector): New node.
58529         * sysdeps/generic/bits/hwcap.h: New file.
58530         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
58531         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
58532         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
58533         * sysdeps/sparc/sysdep.h: ... here.  Include it.
58534         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
58535         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
58536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58537         Update.
58538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
58539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
58540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
58541         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
58542         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58544         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
58545         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
58547 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58551 2012-05-19  David S. Miller  <davem@davemloft.net>
58553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58555 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
58557         [BZ #14123]
58558         * math/s_ccosh.c: Include <float.h>
58559         (__ccosh): Avoid internal overflow calculating sinh and cosh
58560         values before multiplying by sin and cos values.
58561         * math/s_ccoshf.c: Likewise.
58562         * math/s_ccoshl.c: Likewise.
58563         * math/s_csin.c: Likewise.
58564         * math/s_csinf.c: Likewise.
58565         * math/s_csinl.c: Likewise.
58566         * math/s_csinh.c: Likewise.
58567         * math/s_csinhf.c: Likewise.
58568         * math/s_csinhl.c: Likewise.
58569         * math/libm-test.inc (ccos_test): Add more tests.
58570         (ccosh_test): Likewise.
58571         (csin_test): Likewise.
58572         (csinh_test): Likewise.
58573         * sysdeps/i386/fpu/libm-test-ulps: Update.
58574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58576 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
58578         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
58579         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
58581         * sysdeps/x86_64/x32/_itoa.h: Add comment.
58583 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
58585         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
58586         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
58587         * sysdeps/powerpc/soft-fp/Versions: Likewise.
58588         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
58589         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
58590         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
58591         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
58592         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
58593         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
58594         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
58595         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
58596         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
58597         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
58598         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
58599         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
58600         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
58601         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
58602         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
58603         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
58604         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
58605         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
58606         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
58607         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
58608         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
58609         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
58610         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
58611         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
58612         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
58613         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
58614         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
58615         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
58617 2012-05-18  Andreas Jaeger  <aj@suse.de>
58619         * csu/.gitignore: Delete.
58621 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58623         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
58624         (timex): Use __syscall_slong_t.
58626 2012-05-18  Andreas Jaeger  <aj@suse.de>
58627             Carlos O'Donell  <carlos_odonell@mentor.com>
58629         * manual/install.texi (Configuring and compiling): Update
58630         description about files modified in the source directory.
58631         * INSTALL: Regenerated.
58633 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58635         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
58636         value.  Use "or" to set return value to -1.
58637         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
58638         negate return value.
58640 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58642         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
58643         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
58644         failure if the compiler has Graphite support disabled.
58645         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
58646         Likewise.
58647         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
58648         (CFLAGS-memmove.c): Likewise.
58649         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
58650         Likewise.
58652 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58654         * sysdeps/x86_64/x32/_itoa.h: New file.
58656         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
58657         getdents system call only if kernel and user dirents have the
58658         same d_ino and d_off.
58660         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
58661         LLONG_MAX != LONG_MAX.
58662         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58663         (_fitoa_word): Likewise.
58665         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
58666         years.
58667         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
58668         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
58669         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
58671         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
58672         include <bits/wordsize.h>.  Check __x86_64__ instead of
58673         __WORDSIZE.
58674         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
58675         if __x86_64__ is defined.  Use anonymous union on fpstate.
58677         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
58678         anonymous union.
58680 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
58682         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
58683         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
58684         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
58685         Refer to _rtld_local_ro instead of _rtld_global_ro.
58686         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
58687         Likewise.
58688         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
58689         Likewise.
58690         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
58691         Likewise.
58692         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
58693         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
58694         of _rtld_global, and rtld_progname instead of _dl_argv[0].
58696         [BZ #10882]
58697         * sysdeps/powerpc/powerpc32/dl-machine.c
58698         (__elf_machine_runtime_setup) [PROF]: Don't reference
58699         _dl_prof_resolve.
58701 2012-05-18  Andreas Jaeger  <aj@suse.de>
58703         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
58704         function only available for GCCs before 3.4 since GCC 3.4
58705         introduced a builtin.
58706         (lrint): Likewise.
58707         (llrintf): Likewise.
58708         (llrint): Likewise.
58709         (fmaxf): Likewise.
58710         (fmax): Likewise.
58711         (fminf): Likewise.
58712         (fmin): Likewise.
58713         (rint): Likewise.
58714         (rintf): Likewise.
58715         (nearbyint): Likewise.
58716         (nearbyintf): Likewise.
58717         (ceil): Likewise.
58718         (ceilf): Likewise.
58719         (floor): Likewise.
58720         (floorf): Likewise.
58722 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58724         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
58725         on both fields and cast pointer to __syscall_ulong_t.
58727         * bits/types.h (__fsword_t): New type.
58728         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
58729         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
58730         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58731         (__FSWORD_T_TYPE): Likewise.
58732         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58733         (__FSWORD_T_TYPE): Likewise.
58734         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58735         (__FSWORD_T_TYPE): Likewise.
58736         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
58737         (__FSWORD_T_TYPE): Likewise.
58738         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
58739         __SWORD_TYPE with __fsword_t.
58740         (statfs64): Likewise.
58742 2012-05-17  David S. Miller  <davem@davemloft.net>
58744         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
58746 2012-05-17  Andreas Jaeger  <aj@suse.de>
58748         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
58749         warning.
58751 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58753         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
58755 2012-05-17  Andreas Jaeger  <aj@suse.de>
58757         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
58758         when it is used.
58760 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58762         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
58764 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58766         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
58767         * sysdeps/x86_64/tst-mallocalign1.c: New file.
58769 2012-05-17  Andreas Jaeger  <aj@suse.de>
58770             Carlos O'Donell  <carlos_odonell@mentor.com>
58772         [BZ #14059]
58773         * sysdeps/x86_64/multiarch/init-arch.h
58774         (bit_YMM_Usable): Rename to...
58775         (bit_AVX_Usable): ... this.
58776         (bit_FMA4_Usable): New macro.
58777         (bit_XMM_state): New macro.
58778         (bit_YMM_state): New macro.
58779         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
58780         [__ASSEMBLER__] (index_AVX_Usable): ... this.
58781         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
58782         (CPUID_OSXSAVE): New macro.
58783         (CPUID_AVX): New macro.
58784         (CPUID_FMA4): New macro.
58785         (index_YMM_Usable): Rename to...
58786         (index_AVX_Usable): ... this.
58787         (HAS_AVX): Use HAS_ARCH_FEATURE.
58788         (HAS_FMA4): Likewise.
58789         (HAS_YMM_USABLE): Remove.
58790         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58791         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
58792         are present.
58793         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
58794         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
58795         * sysdeps/x86_64/multiarch/Makefile: Likewise.
58796         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
58797         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
58799 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58801         * math/libm-test.c: Support platforms without multiple rounding modes.
58802         * math/bug-nextafter.c: Support platforms without FP exceptions.
58803         * math/bug-nexttoward.c: Likewise.
58804         * math/test-fenv.c: Likewise.
58805         * math/test-misc.c: Likewise.
58806         * stdlib/bug-getcontext.c: Likewise.
58808 2012-05-17  Andreas Jaeger  <aj@suse.de>
58810         * manual/examples/search.c (critter_cmp): Change signature to
58811         avoid warnings.
58812         * manual/string.texi (Collation Functions): Likewise.
58814 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58816         * bits/types.h: Fold copyright years.
58817         * bits/typesizes.h: Likewise.
58818         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
58819         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58820         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
58821         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
58822         * time/time.h: Likewise.
58824 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
58826         [BZ #208]
58827         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
58828         in instead of returning them.  Return void.
58829         (__libc_mallinfo): Accumulate over all arenas.
58830         (__malloc_stats): Adjust for change in int_mallinfo interface.
58832 2012-05-16  Roland McGrath  <roland@hack.frob.com>
58834         [BZ #10375]
58835         * configure.in (NM): Add AC_CHECK_TOOL for it.
58836         (libc_extra_cflags): New substituted variable.
58837         Check for -fstack-protector being used implicitly.
58838         * configure: Regenerated.
58839         * config.make.in (config-extra-cflags): New variable,
58840         gets @libc_extra_cflags@.
58841         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
58843         [BZ #10375]
58844         * configure.in: Check for _FORTIFY_SOURCE being predefined.
58845         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
58846         * configure: Regenerated.
58847         * config.make.in (CPPUNDEFS): New substituted variable.
58848         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
58849         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
58850         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
58852 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58854         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
58855         (mq_attr): Use __syscall_slong_t.
58857 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58859         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
58860         Check __x86_64__ instead of __WORDSIZE.
58861         (_STAT_VER_LINUX): Likewise.
58862         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
58863         __syscall_ulong_t and __syscall_slong_t.
58864         (stat64): Likewise.
58866 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58868         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
58870 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58872         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
58874 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58876         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
58877         __syscall_ulong_t.
58879         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
58880         include <bits/wordsize.h>.  Check __x86_64__ instead of
58881         __WORDSIZE.
58882         (greg_t): Use "__extension__ long long int" if __x86_64__ is
58883         defined.
58884         (mcontext_t): Replace "unsigned long" with "unsigned long long".
58886         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
58887         include <bits/wordsize.h>.  Check __x86_64__ instead of
58888         __WORDSIZE.
58889         (user_regs_struct): Use "__extension__ unsigned long long"
58890         instead of "unsigned long" if __x86_64__ is defined.
58891         (user): Likewise.  Pad after pointer field if __ILP32__ is
58892         defined.
58894 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
58896         * configure.in (makeinfo): Require version 4.5 or later.  Allow
58897         versions 5 to 9.
58898         * configure: Regenerated.
58899         * manual/install.texi (texinfo): Increase version requirement to
58900         4.5 or later.
58901         * INSTALL: Regenerated.
58903         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
58905 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58907         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
58909         * sysdeps/x86_64/x32/ffs.c: New file.
58911         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
58912         __syscall_ulong_t.
58913         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
58914         defined.  Use __syscall_ulong_t.
58915         (shminfo): Use __syscall_ulong_t.
58916         (shm_info): Likewise.
58918         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
58919         __syscall_ulong_t.
58921         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
58922         <bits/wordsize.h>.
58923         (msgqnum_t): Use __syscall_ulong_t.
58924         (msglen_t): Likewise.
58925         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
58926         __syscall_ulong_t.
58928         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
58929         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58931         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
58933         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
58934         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
58936         * sysvipc/sys/msg.h (msgbuf): Replace long int with
58937         __syscall_slong_t.
58939         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
58940         include <bits/wordsize.h>.  Check __x86_64__ instead of
58941         __WORDSIZE.
58943         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
58944         "unsigned long long int" if __x86_64__ is defined.
58945         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
58947         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
58948         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58949         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
58951         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
58952         <stdint.h>.
58953         (GET_PC): Cast to uintptr_t first.
58954         (GET_FRAME): Likewise.
58955         (GET_STACK): Likewise.
58957         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
58958         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
58959         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
58960         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
58961         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
58962         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
58963         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
58964         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
58965         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
58966         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
58967         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
58968         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
58969         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58970         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
58971         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
58972         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
58973         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
58974         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
58975         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
58976         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
58977         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
58978         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
58979         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
58980         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
58981         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
58982         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
58983         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
58984         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
58985         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
58987 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
58989         * Makerules (+depfiles): Also collect depfiles from .oS in
58990         $(extra-objs).
58991         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
58992         .oS, $(libnldbl-routines)).
58994         * Makerules (native-compile-mkdep-flags): Define.
58995         * sunrpc/Makefile (extra-objs): Add $(addprefix
58996         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
58997         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
58998         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
58999         calling $(make-target-directory).
59001 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59003         * bits/types.h (__snseconds_t): Removed.
59004         * time/time.h (struct timespec): Replace __snseconds_t with
59005         __syscall_slong_t.
59006         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
59007         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
59008         Likewise.
59009         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59010         (__SNSECONDS_T_TYPE): Likewise.
59011         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59012         (__SNSECONDS_T_TYPE): Likewise.
59013         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59014         (__SNSECONDS_T_TYPE): Likewise.
59016 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59018         * sysdeps/mach/hurd/bits/typesizes.h
59019         (__SYSCALL_SLONG_TYPE): New macro.
59020         (__SYSCALL_ULONG_TYPE): Likewise.
59022 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59024         * bits/types.h (__syscall_slong_t): New type.
59025         (__syscall_ulong_t): Likewise.
59027         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
59028         (__SYSCALL_ULONG_TYPE): Likewise.
59029         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59030         (__SYSCALL_SLONG_TYPE): Likewise.
59031         (__SYSCALL_ULONG_TYPE): Likewise.
59032         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59033         (__SYSCALL_SLONG_TYPE): Likewise.
59034         (__SYSCALL_ULONG_TYPE): Likewise.
59035         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59036         (__SYSCALL_SLONG_TYPE): Likewise.
59037         (__SYSCALL_ULONG_TYPE): Likewise.
59039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59041         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
59042         Add sigaltstack-offsets.sym.
59043         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
59044         <sigaltstack-offsets.h>.
59045         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
59046         longjmp_msg pointer.
59047         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
59048         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
59049         signal stack.
59050         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
59052 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
59054         * elf/stackguard-macros.h: Remove file.
59055         * sysdeps/generic/stackguard-macros.h: New file.
59056         * sysdeps/i386/stackguard-macros.h: Likewise.
59057         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
59058         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
59059         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
59060         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
59061         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
59062         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
59063         * sysdeps/x86_64/stackguard-macros.h: Likewise.
59064         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
59065         <elf/stackguard-macros.h>.
59067         [BZ #14109]
59068         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
59069         __aligned__ in attribute.
59070         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
59071         (gregset_t): Likewise.
59073 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59075         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
59076         * sysdeps/x86_64/64/Implies-after: Here.  New file.
59077         * sysdeps/x86_64/x32/Implies-after: New file.
59079 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59081         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
59082         and access return value for _dl_profile_fixup.  Use R10_LP to
59083         load frame size.
59085 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59087         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
59089 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59091         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
59092         * sysdeps/x86_64/x32/sysdep.h: New file.
59094 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59096         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
59097         * sysdeps/x86_64/setjmp.S: Likewise.
59099 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59101         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
59102         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
59103         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
59104         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
59105         remove unused global constant.
59107 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
59109         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
59110         include of <not-cancel.h>.
59112 2012-05-15  Roland McGrath  <roland@hack.frob.com>
59114         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
59116 2012-05-15  Jeff Law  <law@redhat.com>
59117             Andreas Jaeger  <aj@suse.de>
59119         [BZ #13594]
59120         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
59121         out from...
59122         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
59123         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
59124         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
59125         code changing __hst_map_handle.map.
59127 2012-05-15  Roland McGrath  <roland@hack.frob.com>
59129         * configure.in (sysnames): Look for Implies-before and Implies-after
59130         files.
59131         * configure: Regenerated.
59133 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59135         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
59136         8-byte data alignment with LP_SIZE alignment.
59138 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59140         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
59141         into R10_LP.
59143 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59145         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
59147 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59149         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
59150         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
59151         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
59152         Likewise.
59153         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59155 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59157         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
59158         (stackinfo_sub_sp): Likewise.
59160 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59162         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
59163         RAX_LP.
59165 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59167         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
59168         into R*_LP.
59170 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59172         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
59173         sizes into R*_LP.
59175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59177         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
59179 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59181         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
59182         into R11_LP and load __x86_64_shared_cache_size_half into
59183         R8_LP.
59185 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59187         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
59188         R8_LP.
59190 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59192         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
59193         logb for POWER7.
59194         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
59195         logbf for POWER7.
59196         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
59197         logbl for POWER7.
59198         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
59199         powerpc32/power7/fpu/s_logb.c via #include.
59200         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
59201         powerpc32/power7/fpu/s_logbf.c via #include.
59202         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
59203         powerpc32/power7/fpu/s_logbl.c via #include.
59205 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
59207         * README.libm: Remove file.
59209 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59211         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
59212         count for x32.  Use R*_LP and omit operand-size suffix.
59214 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59216         * shlib-versions: Move x86_64-.*-linux.* entries to ...
59217         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
59218         * sysdeps/x86_64/x32/shlib-versions: New file.
59220 2012-05-14  Roland McGrath  <roland@hack.frob.com>
59222         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
59223         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
59224         Use _dl_fatal_printf instead.
59226 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
59228         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
59229         set if not set by the user.  Do not allow for being unset.
59230         * sysdeps/unix/sysv/linux/configure: Regenerated.
59232 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59234         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
59235         the `q' suffix from lea and replace .quad with ASM_ADDR.
59237 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59239         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
59240         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
59241         instead of $17.
59242         (PTR_DEMANGLE): Likewise.
59244 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59246         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
59247         (LP_OP): Likewise.
59248         (ASM_ADDR): Likewise.
59249         (RAX_LP): Likewise.
59250         (RBP_LP): Likewise.
59251         (RBX_LP): Likewise.
59252         (RCX_LP): Likewise.
59253         (RDI_LP): Likewise.
59254         (RSI_LP): Likewise.
59255         (RSP_LP): Likewise.
59256         (R8_LP): Likewise.
59257         (R9_LP): Likewise.
59258         (R10_LP): Likewise.
59259         (R10_LP): Likewise.
59260         (R11_LP): Likewise.
59261         (R12_LP): Likewise.
59262         (R13_LP): Likewise.
59263         (R14_LP): Likewise.
59264         (R15_LP): Likewise.
59266 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59268         * sysdeps/x86_64/x32/dl-machine.h: New file.
59270 2012-05-14  Andreas Jaeger  <aj@suse.de>
59272         * manual/Makefile (subdir): Remove export of subdir.
59273         (all): Remove target.
59274         (.PHONY): Remove all from list.
59275         (mkinstalldirs): Remove.
59276         (.PHONY): Remove installdirs from list.
59277         ($(inst_infodir)/libc.info): Use make-target-directory.
59278         (installdirs): Remove.
59279         (subdir_%): Remove.
59280         (glibc-targets): Remove.
59281         (lib): Remove.
59282         (stubs): Remove.
59283         ($(objpfx)stubs ../po/manual.pot): Remove.
59284         ($(objpfx)stamp%): Remove.
59285         (make-target-directory): Remove.
59286         (subdir_install): Remove.
59287         (routines): Remove.
59288         (aux): Remove.
59289         (sources): Remove.
59290         (objects): Remove.
59291         (headers): Remove.
59293         [BZ #13750]
59294         * manual/.gitignore: Remove, it's not needed anymore.
59295         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
59296         all files in it.
59297         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
59298         directory.
59299         (texis): Renamed to $(objpfx)texis.
59300         (texis-path): New, contains path to generated files.
59301         (chapters.%): Use texis-path for complete path, add extra argument
59302         libc-texinfo.sh.
59303         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
59304         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
59305         (summary,texi, stamp-summary): Use complete path of
59306         files. Generate files in build dir.
59307         (dir-add.texi): Build in build dir.
59308         (libm-err.texi,stamp-libm-err): Likewise.
59309         (version.texi, stamp-version): Likewise.
59310         (.%c.texi): Likewise.
59311         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
59312         (mostlyclean): Remove target.
59313         (realclean): Remove target.
59314         (generated): Add new variable with contents from mostlyclean and
59315         realclean, remove entries duplicated in common-mostlyclean, add
59316         stamp-libm-err and stamp-version.
59317         (generated-dirs): Add libc directory.
59318         ($(inst_infodir)/libc.info): Install files from build dir.
59320         * manual/install.texi (Configuring and compiling): Adjust since
59321         the info files are not part of the tar ball anymore.
59323 2012-05-14  Andreas Jaeger  <aj@suse.de>
59325         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
59326         variable.
59328 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
59330         [BZ #13717]
59331         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59332         to 2.2.0 where earlier.
59333         * sysdeps/unix/sysv/linux/configure: Regenerated.
59334         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
59335         Remove conditional code.
59336         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
59337         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
59338         Remove conditional code.
59339         [!__NR_lchown]: Likewise.
59340         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59341         [__NR_lchown]: Likewise.
59342         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
59343         comment referencing __ASSUME_LCHOWN_SYSCALL.
59344         * sysdeps/unix/sysv/linux/i386/sigaction.c
59345         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59346         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59347         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
59348         Remove conditional code.
59349         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
59350         (__protocol_available): Remove #if 0 code.
59351         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
59352         conditional code.
59353         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
59354         * sysdeps/unix/sysv/linux/kernel-features.h
59355         (__ASSUME_GETCWD_SYSCALL): Don't define.
59356         (__ASSUME_REALTIME_SIGNALS): Likewise.
59357         (__ASSUME_PREAD_SYSCALL): Likewise.
59358         (__ASSUME_PWRITE_SYSCALL): Likewise.
59359         (__ASSUME_POLL_SYSCALL): Likewise.
59360         (__ASSUME_LCHOWN_SYSCALL): Likewise.
59361         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
59362         non-SPARC.
59363         (__ASSUME_SIOCGIFNAME): Don't define.
59364         (__ASSUME_MSG_NOSIGNAL): Likewise.
59365         (__ASSUME_SENDFILE): Define unconditionally.
59366         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
59367         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
59368         conditional code.
59369         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
59370         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
59371         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59372         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59373         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
59374         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59375         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
59377         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59378         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
59380         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59381         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
59383         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59384         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
59386         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59387         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
59389         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59390         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
59392         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59393         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
59395         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59396         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
59398         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59399         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59400         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
59401         Remove conditional code.
59402         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59403         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59404         Remove conditional code.
59405         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59406         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
59407         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
59408         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59409         Remove conditional code.
59410         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59411         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
59412         Remove conditional code.
59413         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59414         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
59415         Remove conditional code.
59416         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59417         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59418         Remove conditional code.
59419         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59420         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59421         Remove conditional code.
59422         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59423         * sysdeps/unix/sysv/linux/sh/pwrite64.c
59424         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59425         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59426         * sysdeps/unix/sysv/linux/sigaction.c
59427         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59428         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59429         * sysdeps/unix/sysv/linux/sigpending.c
59430         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59431         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59432         * sysdeps/unix/sysv/linux/sigprocmask.c
59433         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59434         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59435         * sysdeps/unix/sysv/linux/sigsuspend.c
59436         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59437         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59438         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59439         (__libc_missing_rt_sigs): Remove.
59440         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
59441         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
59442         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
59443         Remove conditional code.
59444         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
59445         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
59446         return 1.
59447         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
59448         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
59449         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
59450         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
59452 2012-05-14  Andreas Jaeger  <aj@suse.de>
59454         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
59455         it's not used in glibc.
59456         (__coshm1): Likewise.
59457         (__acosh1p): Likewise.
59458         (__sgn): Likewise.
59460         * manual/string.texi (Copying and Concatenation): Add missing
59461         variable in concat example.
59462         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
59464 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59466         [BZ #14103]
59467         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
59468         __builtin_clzl with __builtin_clzll.
59470 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59472         [BZ #14104]
59473         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
59474         libc_freeres_ptr.
59476 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59478         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
59479         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
59480         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
59481         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
59483 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
59485         * NEWS: Update ia64 info.
59487 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
59489         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
59490         used as bcopy.
59492 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
59494         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
59495         * sysdeps/unix/syscalls.list (dup3): Likewise.
59496         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
59497         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
59499 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
59501         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
59502         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
59504 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
59506         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
59507         thread pointer.
59508         (TLS_IE): Use mov/add instead of movq/addq to load thread
59509         pointer.
59510         (TLS_GD_PREFIX): New.
59511         (TLS_GD): Use it.
59513 2012-05-11  David S. Miller  <davem@davemloft.net>
59515         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
59516         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
59517         (_FPU_SETCW): Likewise.
59519 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59521         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
59522         is 32-byte aligned.
59524 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
59526         [BZ #11837]
59527         * iconvdata/gb18030.c: Update tables.
59528         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
59529         characters specially.
59530         (BODY for TO_LOOP): Add encoding of missing ranges.
59532 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
59534         [BZ #13673]
59535         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
59536         * sysdeps/mach/hurd/dup3.c: Likewise.
59537         * sysdeps/mach/hurd/readlinkat.c: Likewise.
59538         * sysdeps/powerpc/memmove.c:: Likewise.
59540 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59542         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
59543         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
59545 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59547         * elf/elf.h (R_X86_64_RELATIVE64): New.
59548         (R_X86_64_NUM): Updated.
59549         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59550         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
59551         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
59552         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
59553         tst-quad1pie tst-quad2pie
59554         (modules-names): Add tst-quadmod1 tst-quadmod2.
59555         ($(objpfx)tst-quad1): New dependency.
59556         ($(objpfx)tst-quad2): Likewise.
59557         ($(objpfx)tst-quad1pie): Likewise.
59558         ($(objpfx)tst-quad2pie): Likewise.
59559         * sysdeps/x86_64/tst-quad1.c: New file.
59560         * sysdeps/x86_64/tst-quad1pie.c: New file.
59561         * sysdeps/x86_64/tst-quad2.c: Likewise.
59562         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
59563         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
59564         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
59565         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
59566         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
59568 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59570         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
59571         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
59572         * streams/stropts.h (t_scalar_t): Define type.
59574         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
59575         (_PATH_PRESERVE): Set to "/var/lib".
59576         (_PATH_RWHODIR): Set to "/var/spool/rwho".
59578         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
59579         instead of int.
59581         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
59582         if __dir_mkfile succeeded.
59584         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
59585         checking for _hurd_dtablesize.  Unlock it right after having
59586         finished _hurd_dtable allocation.
59588 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59590         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
59591         * sysdeps/mach/hurd/configure: Regenerated.
59592         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
59593         special-casing to...
59594         * sysdeps/gnu/configure.in: ... this new file.
59595         * sysdeps/unix/sysv/linux/configure: Regenerated.
59596         * sysdeps/gnu/configure: New generated file.
59598         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
59599         for Linux: use nsec instead of usec, as well as:
59600         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
59601         members of type struct timespec.
59602         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
59603         New macros.
59604         (struct stat64): Likewise.
59605         (_STATBUF_ST_NSEC): New macro.
59606         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
59608         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59609         __strtoul_internal rather than strtoul.
59611 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59613         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
59614         and reject them.
59616 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59618         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
59619         which preserves existing values.
59620         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
59622 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59624         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
59625         TIMEOUT values.  Return EINVAL for NFDS values either negative or
59626         greater than FD_SETSIZE.
59628 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59630         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
59631         allocated, call __vm_protect to finish enabling the existing space, and
59632         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
59633         allocate the remainder.
59635 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59637         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
59638         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
59640 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59642         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
59643         sysdeps/mach/hurd/readlink.c.
59645         * posix/tst-sysconf.c (posix_options): Only use
59646         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
59647         _POSIX_SYNCHRONIZED_IO when they are defined
59648         * sysdeps/mach/hurd/bits/posix_opt.h:
59649         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
59650         (_XOPEN_REALTIME): Undefine macro.
59651         (_XOPEN_REALTIME_THREADS): Undefine macro.
59652         (_XOPEN_SHM): Undefine macro.
59653         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
59654         macro to -1.
59655         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
59656         macro to -1.
59657         (_POSIX_ASYNC_IO): Undefine macro.
59658         (_POSIX_PRIORITIZED_IO): Undefine macro.
59659         (_POSIX_SPIN_LOCKS): Define macro to -1.
59661         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
59662         SA_NODEFER, SA_RESETHAND.
59663         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
59664         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
59665         F_DUPFD_CLOEXEC.
59667 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59669         * elf/Makefile (pldd-modules): Define unconditionally.
59671 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59673         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
59675 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59677         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
59678         Return ENOENT when name is empty.
59679         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
59681 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59683         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
59685         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
59687 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59689         Fix mlock in all cases except non-readable pages.
59690         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
59691         instead of VM_PROT_ALL as parameter to __vm_wire function.
59693         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
59694         (__mkdir): When path is `/', just fail with EEXIST.
59695         * sysdeps/mach/hurd/mkdirat.c: Likewise.
59697 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59699         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
59700         <sys/uio.h> (for writev).
59701         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
59702         and <sys/param.h> (for MIN).
59704 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59706         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
59707         REQUESTED_TIME.  Properly set the remaining time and return EINTR
59708         if interrupted.
59710 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59712         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
59713         Depend on against $(link-rpcuserlibs).
59715 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59717         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
59718         (__libc_stack_end): Do not use attribute_relro.
59719         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
59720         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
59721         to libthread-provided value.
59722         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
59723         attribute_relro.
59725 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59727         [BZ #3748]
59728         * bits/libc-lock.h (__libc_once_get): New macro.
59729         * sysdeps/mach/bits/libc-lock.h: Likewise.
59730         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
59731         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
59732         instead of using implementation details.
59734         * libio/fileops.c: Unconditionally include <kernel-features.h>.
59735         * libio/freopen.c: Likewise.
59736         * libio/freopen64.c: Likewise.
59737         * misc/syslog.c: Likewise.
59738         * nscd/connections.c: Likewise.
59739         * nscd/netgroupcache.c: Likewise.
59740         * sysdeps/posix/getcwd.c: Likewise.
59742 2012-05-10  Roland McGrath  <roland@hack.frob.com>
59744         * math/w_ilogbf.c: Add #include <limits.h>.
59746 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59748         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
59749         path instead of returning without unlocking.
59751         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
59752         immediate-write ioctls.
59753         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
59755 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59757         * sysdeps/mach/hurd/i386/init-first.c (init): Use
59758         __builtin_frame_address instead of making assumptions about the
59759         location of the return address relative to DATA.  Force early load of
59760         the return address.
59761         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
59762         __builtin_frame_address.
59764         dup3 for GNU Hurd.
59765         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
59766         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
59767         implement dup3 and do some further code clean-ups.
59768         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
59769         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
59771 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59773         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
59775         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
59776         HURD_CRITICAL_END around holding _hurd_dtable_lock.
59777         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
59778         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
59779         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
59780         d->port.lock.
59782         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
59783         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
59784         when handler == SIG_ERR, not when handler != SIG_ERR.
59786 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59788         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
59789         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
59790         definitions.
59792         accept4 for GNU Hurd.
59793         * include/sys/socket.h (__libc_accept4): New prototype.
59794         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
59795         to implement __libc_accept4.
59796         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
59797         __libc_accept4.
59798         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
59800         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
59801         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
59802         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
59803         signal-defines.sym.
59805 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59807         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
59809 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59811         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
59812         assertion on O_CLOEXEC flag.
59813         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
59814         * hurd/intern-fd.c: Likewise.
59815         * hurd/port2fd.c: Likewise.
59817 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59819         [BZ #3906]
59820         * bits/in.h (IPV6_PKTINFO): Define new macro.
59821         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
59823 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59825         [BZ #13954]
59826         [BZ #13955]
59827         [BZ #13956]
59828         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
59829         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59830         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
59831         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59832         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59833         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59834         * math/libm-test.inc (logb_test) : Additional logb tests.
59836 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
59837             Andreas Jaeger  <aj@suse.de>
59839         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
59840         * configure: Regenerated.
59841         * config.h.in (LINK_OBSOLETE_RPC): New macro.
59842         * config.make.in (link-obsolete-rpc): New substituted variable.
59843         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
59844         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
59845         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59846         (shared-only-routines): Don't set it under [link-obsolete-rpc],
59847         so that libc.a contains the symbols.
59848         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59849         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
59850         * sunrpc/auth_none.c: Likewise.
59851         * sunrpc/auth_unix.c: Likewise.
59852         * sunrpc/authdes_prot.c: Likewise.
59853         * sunrpc/authuxprot.c: Likewise.
59854         * sunrpc/clnt_gen.c: Likewise.
59855         * sunrpc/clnt_perr.c: Likewise.
59856         * sunrpc/clnt_raw.c: Likewise.
59857         * sunrpc/clnt_simp.c: Likewise.
59858         * sunrpc/clnt_tcp.c: Likewise.
59859         * sunrpc/clnt_udp.c: Likewise.
59860         * sunrpc/clnt_unix.c: Likewise.
59861         * sunrpc/des_crypt.c: Likewise.
59862         * sunrpc/des_soft.c: Likewise.
59863         * sunrpc/get_myaddr.c: Likewise.
59864         * sunrpc/key_call.c: Likewise.
59865         * sunrpc/key_prot.c: Likewise.
59866         * sunrpc/netname.c: Likewise.
59867         * sunrpc/pm_getmaps.c: Likewise.
59868         * sunrpc/pm_getport.c: Likewise.
59869         * sunrpc/pmap_clnt.c: Likewise.
59870         * sunrpc/pmap_prot.c: Likewise.
59871         * sunrpc/pmap_prot2.c: Likewise.
59872         * sunrpc/pmap_rmt.c: Likewise.
59873         * sunrpc/publickey.c: Likewise.
59874         * sunrpc/rpc_cmsg.c: Likewise.
59875         * sunrpc/rpc_common.c: Likewise.
59876         * sunrpc/rpc_dtable.c: Likewise.
59877         * sunrpc/rpc_prot.c: Likewise.
59878         * sunrpc/rpc_thread.c: Likewise.
59879         * sunrpc/rtime.c: Likewise.
59880         * sunrpc/svc.c: Likewise.
59881         * sunrpc/svc_auth.c: Likewise.
59882         * sunrpc/svc_raw.c: Likewise.
59883         * sunrpc/svc_run.c: Likewise.
59884         * sunrpc/svc_tcp.c: Likewise.
59885         * sunrpc/svc_udp.c: Likewise.
59886         * sunrpc/svc_unix.c: Likewise.
59887         * sunrpc/svcauth_des.c: Likewise.
59888         * sunrpc/xcrypt.c: Likewise.
59889         * sunrpc/xdr.c: Likewise.
59890         * sunrpc/xdr_array.c: Likewise.
59891         * sunrpc/xdr_float.c: Likewise.
59892         * sunrpc/xdr_intXX_t.c: Likewise.
59893         * sunrpc/xdr_mem.c: Likewise.
59894         * sunrpc/xdr_rec.c: Likewise.
59895         * sunrpc/xdr_ref.c: Likewise.
59896         * sunrpc/xdr_sizeof.c: Likewise.
59897         * sunrpc/xdr_stdio.c: Likewise.
59899 2012-05-10  Roland McGrath  <roland@hack.frob.com>
59901         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
59902         change.  Update copyright years.
59904 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
59906         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
59908 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
59909             Joseph Myers  <joseph@codesourcery.com>
59910             Paul Pluzhnikov  <ppluzhnikov@google.com>
59912         [BZ #14012]
59913         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
59914         requiring rpcgen.
59915         [cross-compiling] (extra-libs): Likewise.
59916         [cross-compiling] (extra-libs-others): Likewise.
59917         [cross-compiling] (librpcsvc-routines): Likewise.
59918         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
59919         [cross-compiling] (omit-deps): Likewise.
59920         (sunrpc-CPPFLAGS): New variable.
59921         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
59922         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
59923         (cross-rpcgen-objs): New variable.
59924         (extra-objs): Append $(cross-rpcgen-objs).
59925         ($(cross-rpcgen-objs)): New rule.
59926         ($(objpfx)cross-rpcgen): Likewise.
59927         (rpcgen-cmd): Define to use $(built-program-file).  Expand
59928         comment.
59929         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
59930         ($(objpfx)x%.stmp): Likewise.
59931         * sunrpc/proto.h [IS_IN_build] (_): Define.
59932         [IS_IN_build] (_libc_intl_domainname): Likewise.
59934 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59936         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
59937         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
59938         and R_X86_64_TPOFF64.
59940 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
59942         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
59943         sysdeps/unix/sysv/syscalls.list.
59944         (stime): Likewise.
59945         (utime): Likewise.
59946         * sysdeps/unix/sysv/syscalls.list: Remove file.
59948 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
59950         [BZ #3440]
59951         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
59952         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
59953         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
59954         (__LC_IDENTIFICATION): Make these macros useful in #if
59955         expressions, as required by C99.
59957 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
59959         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
59960         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
59961         after this.
59963 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
59965         * stdlib/longlong.h: Updated from GCC.
59967 2012-05-09  Andreas Jaeger  <aj@suse.de>
59969         * nscd/nscd.c (run_modes): Make named enum, reorder so that
59970         default is first entry.
59971         (run_mode): Set type.
59972         (main): Remove informal message about syslog.
59973         (options): Fix typo.
59975         [BZ #14053]
59976         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
59977         to asm.
59978         (lrint): Likewise.
59979         (llrintf): Likewise.
59980         (llrint): Likewise.
59981         (rint): Likewise.
59982         (rintf): Likewise.
59983         (nearbyint): Likewise.
59984         (nearbyintf): Likewise.
59986 2012-05-09  Andreas Jaeger  <aj@suse.de>
59987             Pedro Alves  <palves@redhat.com>
59989         * nscd/nscd.c (run_mode): Use enum.
59990         (main): Cleanup coding style issue.
59992 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
59993             Andreas Jaeger  <aj@suse.de>
59995         * nscd/nscd.c (go_background): Replaced with...
59996         (run_mode): ... this.
59997         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
59998         (options): Add -F --foreground.
59999         (main): Implement it.
60000         (parse_opt): Parse it.
60002 2012-05-09  Andreas Jaeger  <aj@suse.de>
60004         [BZ #14083]
60005         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
60006         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
60007         -Wconversion warning.
60008         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
60009         Likewise.
60011 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
60013         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
60014         == 0.
60015         (LC_ALL): Use macro-int-constant.
60016         (LC_COLLATE): Likewise.
60017         (LC_CTYPE): Likewise.
60018         (LC_MESSAGES): Likewise.
60019         (LC_MONETARY): Likewise.
60020         (LC_NUMERIC): Likewise.
60021         (LC_TIME): Likewise.
60022         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
60023         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60024         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60025         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
60026         Specify type.
60027         [C99-based standards] (float_t): Expect type.
60028         [C99-based standards] (double_t): Expect type.
60029         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
60030         type.
60031         [C99-based standards] (HUGE_VALL): Likewise.
60032         [C99-based standards] (INFINITY): Likewise.
60033         [C99-based standards] (NAN): Likewise.
60034         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
60035         [C99-based standards] (FP_NAN): Likewise.
60036         [C99-based standards] (FP_NORMAL): Likewise.
60037         [C99-based standards] (FP_SUBNORMAL): Likewise.
60038         [C99-based standards] (FP_ZERO): Likewise.
60039         [C99-based standards] (FP_FAST_FMA): Use
60040         optional-macro-int-constant.  Specify type.  Require == 1.
60041         [C99-based standards] (FP_FAST_FMAF): Likewise.
60042         [C99-based standards] (FP_FAST_FMAL): Likewise.
60043         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
60044         [C99-based standards] (FP_ILOGBNAN): Likewise.
60045         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
60046         Specify type.
60047         [C99-based standards] (MATH_ERREXCEPT): Likewise.
60048         [C99-based standards] (math_errhandling): Specify type.
60049         [ISO99 || ISO11] (signgam): Do not allow.
60050         [non-C99-based standards] (copysignf): Do not allow.
60051         [non-C99-based standards] (exp2f): Likewise.
60052         [non-C99-based standards] (log2f): Likewise.
60053         [non-C99-based standards] (modff): Allow.
60054         [non-C99-based standards] (erff): Do not allow.
60055         [non-C99-based standards] (erfcf): Likewise.
60056         [non-C99-based standards] (gammaf): Likewise.
60057         [non-C99-based standards] (hypotf): Likewise.
60058         [non-C99-based standards] (j0f): Likewise.
60059         [non-C99-based standards] (j1f): Likewise.
60060         [non-C99-based standards] (jnf): Likewise.
60061         [non-C99-based standards] (lgammaf): Likewise.
60062         [non-C99-based standards] (tgammaf): Likewise.
60063         [non-C99-based standards] (y0f): Likewise.
60064         [non-C99-based standards] (y1f): Likewise.
60065         [non-C99-based standards] (ynf): Likewise.
60066         [non-C99-based standards] (isnanf): Likewise.
60067         [non-C99-based standards] (acoshf): Likewise.
60068         [non-C99-based standards] (asinhf): Likewise.
60069         [non-C99-based standards] (atanhf): Likewise.
60070         [non-C99-based standards] (cbrtf): Likewise.
60071         [non-C99-based standards] (expm1f): Likewise.
60072         [non-C99-based standards] (ilogbf): Likewise.
60073         [non-C99-based standards] (log1pf): Likewise.
60074         [non-C99-based standards] (logbf): Likewise.
60075         [non-C99-based standards] (nextafterf): Likewise.
60076         [non-C99-based standards] (remainderf): Likewise.
60077         [non-C99-based standards] (rintf): Likewise.
60078         [non-C99-based standards] (scalbf): Likewise.
60079         [non-C99-based standards] (copysignl): Likewise.
60080         [non-C99-based standards] (exp2l): Likewise.
60081         [non-C99-based standards] (log2l): Likewise.
60082         [non-C99-based standards] (modfl): Allow.
60083         [non-C99-based standards] (erfl): Do not allow.
60084         [non-C99-based standards] (erfcl): Likewise.
60085         [non-C99-based standards] (gammal): Likewise.
60086         [non-C99-based standards] (hypotl): Likewise.
60087         [non-C99-based standards] (j0l): Likewise.
60088         [non-C99-based standards] (j1l): Likewise.
60089         [non-C99-based standards] (jnl): Likewise.
60090         [non-C99-based standards] (lgammal): Likewise.
60091         [non-C99-based standards] (tgammal): Likewise.
60092         [non-C99-based standards] (y0l): Likewise.
60093         [non-C99-based standards] (y1l): Likewise.
60094         [non-C99-based standards] (ynl): Likewise.
60095         [non-C99-based standards] (isnanl): Likewise.
60096         [non-C99-based standards] (acoshl): Likewise.
60097         [non-C99-based standards] (asinhl): Likewise.
60098         [non-C99-based standards] (atanhl): Likewise.
60099         [non-C99-based standards] (cbrtl): Likewise.
60100         [non-C99-based standards] (expm1l): Likewise.
60101         [non-C99-based standards] (ilogbl): Likewise.
60102         [non-C99-based standards] (log1pl): Likewise.
60103         [non-C99-based standards] (logbl): Likewise.
60104         [non-C99-based standards] (nextafterl): Likewise.
60105         [non-C99-based standards] (remainderl): Likewise.
60106         [non-C99-based standards] (rintl): Likewise.
60107         [non-C99-based standards] (scalbl): Likewise.
60108         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60109         [non-C99-based standards] (FP_*): Do not allow.
60110         [C99-based standards] (FP_*): Change to
60111         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60112         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60113         allow.
60114         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
60115         (SIG_ERR): Likewise.
60116         [X/Open-based standards] (SIG_HOLD): Likewise.
60117         (SIG_IGN): Likewise.
60118         (SIGABRT): Use macro-int-constant.  Specify type.  Require
60119         positive value.
60120         (SIGFPE): Likewise.
60121         (SIGILL): Likewise.
60122         (SIGINT): Likewise.
60123         (SIGSEGV): Likewise.
60124         (SIGTER): Likewise.
60125         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
60126         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
60127         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
60128         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
60129         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
60130         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
60131         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
60132         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
60133         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
60134         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
60135         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
60136         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
60137         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
60138         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
60139         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
60140         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
60141         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
60142         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
60143         [X/Open-based standards] (SIGTRAP): Likewise.
60144         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
60145         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
60146         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
60147         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
60148         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60149         allow.
60151 2012-05-08  Ian Wienand  <ianw@vmware.com>
60153         [BZ #14080]
60154         * time/tzset.c (__tzset_parse_tz): Update default rules for
60155         daylight time changes in the Energy Policy Act of 2005.
60157 2012-05-09  Andreas Jaeger  <aj@suse.de>
60159         [BZ #13983]
60160         * elf/ldconfig.c (parse_conf): Change string to make clear that
60161         ldconfig only issued a warning if ld.so.conf does not exist.
60163 2012-05-08  David S. Miller  <davem@davemloft.net>
60165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
60166         movxtod instead of popping the value on the stack.
60168         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60170 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
60172         * config.h.in: Add HAVE_ARM_PCS_VFP.
60174 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
60176         [BZ #13979]
60177         * include/features.h: Warn if user requests __FORTIFY_SOURCE
60178         checking but the checks are disabled for any reason.
60180 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
60182         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
60183         and ELF64_R_TYPE with ELFW(R_TYPE).
60185 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
60187         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
60188         (ulimit): Likewise.
60190         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
60191         (settimeofday): Likewise.
60193 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
60195         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
60196         a struct th_u2 inside the union, and move tu_block/tu_code into
60197         a new th_u3 union of tu_block/tu_code inside of that.  Move
60198         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
60199         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
60200         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
60201         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
60202         (th_stuff): Change to th_u1.tu_stuff.
60203         (th_data): Define.
60204         (th_msg): Change to th_u1.th_u2.tu_data.
60206 2012-05-07  David S. Miller  <davem@davemloft.net>
60208         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60210         [BZ #14074]
60211         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
60212         (SETUP_PIC_REG): Use it.
60213         (SETUP_PIC_REG_LEAF): Use it.
60215 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
60217         [BZ #13885]
60218         [BZ #13923]
60219         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60220         USE_AS_EXPM1L.
60221         (EXPL_FINITE): Likewise.
60222         (FLDLOG): Likewise.
60223         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60224         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60225         e_expl.S.
60226         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60227         USE_AS_EXPM1L.
60228         (EXPL_FINITE): Likewise.
60229         (FLDLOG): Likewise.
60230         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60231         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60232         e_expl.S.
60233         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
60234         test of -max_value argument for long double.
60235         * sysdeps/i386/fpu/libm-test-ulps: Update.
60236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60238 2012-05-06  David S. Miller  <davem@davemloft.net>
60240         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
60241         quad soft-float symbols whose references which are compiler
60242         generated.
60243         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60245 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
60247         [BZ #13884]
60248         [BZ #13914]
60249         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60250         USE_AS_EXP10L.
60251         (EXPL_FINITE): Likewise.
60252         (FLDLOG): Likewise.
60253         (c0): Likewise.
60254         (c1): Likewise.
60255         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
60256         Adjust comments for base varying.
60257         (__expl_finite): Change alias to EXPL_FINITE.
60258         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
60259         e_expl.S.
60260         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
60261         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
60262         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
60263         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
60264         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60265         USE_AS_EXP10L.
60266         (EXPL_FINITE): Likewise.
60267         (FLDLOG): Likewise.
60268         (c0): Likewise.
60269         (c1): Likewise.
60270         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
60271         Adjust comments for base varying.
60272         (__expl_finite): Change alias to EXPL_FINITE.
60273         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
60274         tests for bugs.
60275         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60277         [BZ #14064]
60278         * math/libm-test.inc (check_float_internal): Correct ulp
60279         calculation for subnormal expected results.
60281 2012-05-06  Andreas Jaeger  <aj@suse.de>
60283         * Makeconfig (+math-flags): New, set to -frounding-math.
60284         (+cflags): Add +math-flags so that all of glibc gets compiled with
60285         it.
60287         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
60289 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
60291         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
60292         Disable one test.
60294         [BZ #13787]
60295         [BZ #13922]
60296         [BZ #14036]
60297         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
60298         (__ieee754_expl): Allow for and saturate large arguments.
60299         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
60300         (u_threshold): Likewise.
60301         (__exp): Call __ieee754_exp before checking for overflow and
60302         underflow.
60303         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
60304         (u_threshold): Likewise.
60305         (__expf): Call __ieee754_expf before checking for overflow and
60306         underflow.
60307         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
60308         (u_threshold): Likewise.
60309         (__expl): Call __ieee754_expl before checking for overflow and
60310         underflow.
60311         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
60312         (__ieee754_expl): Allow for and saturate large arguments.
60313         * math/libm-test.inc (exp_test): Add another test.  Do not allow
60314         missing overflow exception on overflow.
60315         (expm1_test): Do not allow missing overflow exception on overflow.
60317         * sysdeps/i386/fpu/e_expl.c: Move to ...
60318         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
60319         rather than using inline asm.
60320         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
60321         * sysdeps/x86_64/fpu/e_expl.S: Copy from
60322         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
60324         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
60325         (nice): Likewise.
60326         (poll): Likewise.
60327         (signal): Likewise.
60328         (time): Likewise.
60329         (times): Likewise.
60331 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60333         * sysdeps/unix/syscalls.list (adjtime): Add entry from
60334         sysdeps/unix/common/syscalls.list.
60335         (fchmod): Likewise.
60336         (fchown): Likewise.
60337         (ftruncate): Likewise.
60338         (getrusage): Likewise.
60339         (gettimeofday): Likewise.
60340         (setpgid): Likewise.
60341         (setregid): Likewise.
60342         (setreuid): Likewise.
60343         (sigaction): Likewise.
60344         (truncate): Likewise.
60345         (vhangup): Likewise.
60346         * sysdeps/unix/common/syscalls.list: Remove file.
60347         * sysdeps/unix/bsd/Implies: Don't include unix/common.
60348         * sysdeps/unix/sysv/linux/Implies: Likewise.
60350 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
60352         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
60353         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
60354         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
60355         Moved to ...
60356         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
60357         Here.
60358         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
60359         to ...
60360         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
60361         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
60362         to ...
60363         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
60364         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
60365         to ...
60366         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
60367         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
60368         to ...
60369         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
60370         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
60371         to ...
60372         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
60373         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
60374         to ...
60375         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
60376         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
60377         to ...
60378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
60379         Here.
60380         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
60381         to ...
60382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
60383         Here.
60384         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
60385         to ...
60386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
60387         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
60388         Moved to ...
60389         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
60390         Here.
60391         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
60392         to ...
60393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
60395 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60397         * sysdeps/unix/common/bits/dirent.h: Remove file.
60398         * sysdeps/unix/common/bits/fcntl.h: Likewise.
60400         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
60401         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
60402         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
60403         * sysdeps/unix/bsd/isatty.c: Likewise.
60404         * sysdeps/unix/bsd/tcdrain.c: Likewise.
60405         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
60406         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
60408 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60410         [BZ #13563]
60411         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
60412         long double comparison inaccuracies.
60413         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
60414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60416 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
60418         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
60419         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
60421 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60423         [BZ #14049]
60424         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
60425         nonzero digits before rounding a hex value.
60426         * stdlib/tst-strtod.c (tests): Add another test.
60428 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60430         * sysdeps/s390/fpu/libm-test-ulps: Update.
60432 2012-05-03  Andreas Jaeger  <aj@suse.de>
60434         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
60435         does not get optimized out.
60436         (malloc_opt_barrier): New.
60438 2012-05-03  Andreas Jaeger  <aj@suse.de>
60439             Roland McGrath  <roland@hack.frob.com>
60441         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
60442         intermediate file deletion.
60443         (generated): Add .symlist files.
60445 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
60447         [BZ #13775]
60448         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
60449         Redirect under this condition.
60450         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60451         [__USE_GNU] (__dprintf_chk): Not under this condition.
60452         [__USE_GNU] (__vdprintf_chk): Likewise.
60453         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
60454         under this condition.
60455         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60456         [__USE_XOPEN2K8] (dprintf): Define under this condition.
60457         [__USE_XOPEN2K8] (vdprintf): Likewise.
60458         [__USE_GNU] (__dprintf_chk): Not under this condition.
60459         [__USE_GNU] (__vdprintf_chk): Likewise.
60460         [__USE_GNU] (dprintf): Likewise.
60461         [__USE_GNU] (vdprintf): Likewise.
60463 2012-05-03  Roland McGrath  <roland@hack.frob.com>
60465         * elf/Makefile (common-generated): Set this instead of generated for
60466         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
60467         $(all-built-dso)-derived lists.
60469 2012-05-03  Andreas Jaeger  <aj@suse.de>
60471         * sysdeps/i386/fpu/libm-test-ulps: Update.
60473         * FAQ: Removed.
60474         * FAQ.in: Likewise.
60475         * scripts/gen-FAQ.pl: Likewise.
60476         * manual/install.texi (Installation): Point to online location of
60477         FAQ.
60478         * Makefile (files-for-dist): Remove FAQ.
60479         (FAQ): Remove.
60481 2012-05-02  Allan McRae  <allan@archlinux.org>
60483         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
60484         (LDFLAGS-reldepmod5.so): Likewise.
60485         (LDFLAGS-reldep6mod1.so): Likewise.
60486         (LDFLAGS-reldep6mod4.so): Likewise.
60487         (LDFLAGS-reldep8mod3.so): Likewise.
60488         (LDFLAGS-unload4mod1.so): Likewise.
60489         (LDFLAGS-unload4mod2.so): Likewise.
60490         (LDFLAGS-tst-initorder): Likewise.
60491         (LDFLAGS-tst-initordera2.so): Likewise.
60492         (LDFLAGS-tst-initordera3.so): Likewise.
60493         (LDFLAGS-tst-initordera4.so): Likewise.
60494         (LDFLAGS-tst-initorderb2.so): Likewise.
60495         (LDFLAGS-noload): Likewise.
60496         (LDFLAGS-next): Likewise.
60497         (LDFLAGS-order2mod1.so): Likewise.
60498         (LDFLAGS-order2mod2.so): Likewise.
60499         (LDFLAGS-tst-initorder2): Likewise.
60500         (LDFLAGS-tst-initorder2a.so): Likewise.
60501         (LDFLAGS-tst-initorder2b.so): Likewise.
60502         (LDFLAGS-tst-initorder2c.so): Likewise.
60503         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
60505 2012-05-02  David S. Miller  <davem@davemloft.net>
60507         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60509 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
60511         [BZ #14055]
60512         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
60514 2012-05-02  Andreas Jaeger  <aj@suse.de>
60516         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
60517         since we manipulate rounding mode.
60518         (CPPFLAGS-test-idouble.c): Likewise.
60519         (CPPFLAGS-test-ifloat.c): Likewise.
60520         (CFLAGS-test-ldouble.c): Likewise.
60521         (CFLAGS-test-double.c): Likewise.
60522         (CFLAGS-test-float.c): Likewise.
60523         (CFLAGS-test-misc.c): Likewise.
60524         (CFLAGS-test-test-fenv.c): Likewise.
60526 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60528         [BZ #2550]
60529         [BZ #2570]
60530         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
60531         comparisons to determine direction to adjust input.
60533 2012-05-01  Roland McGrath  <roland@hack.frob.com>
60535         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
60536         output to the target.
60538         * scripts/localplt.awk: New file.
60539         * elf/Makefile ($(objpfx)check-localplt): Target removed.
60540         (check-localplt-CFLAGS): Variable removed.
60541         ($(all-built-dso:=.jmprel)): New static pattern rule.
60542         (generated): Add those targets.
60543         (localplt-built-dso): New variable.
60544         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
60546         * elf/check-localplt.c: File removed.
60548         * scripts/check-execstack.awk: New file.
60549         * elf/Makefile ($(objpfx)check-execstack): Target removed.
60550         (check-execstack-CFLAGS): Variable removed.
60551         ($(objpfx)check-execstack.h): Target removed.
60552         ($(objpfx)execstack-default): New target.
60553         (generated): Add that instead of check-execstack.h.
60554         ($(all-built-dso:=.phdr)): New static pattern rule.
60555         (generated): Add those targets.
60556         * elf/check-execstack.c: File removed.
60558         * scripts/check-textrel.awk: New file.
60559         * elf/Makefile ($(objpfx)check-textrel): Target removed.
60560         (check-textrel-CFLAGS): Variable removed.
60561         (all-built-dso): Use := to define.o
60562         ($(all-built-dso:=.dyn)): New static pattern rule.
60563         (generated): Add those targets.
60564         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
60565         * config.make.in (READELF): New substituted variable.
60566         * elf/check-textrel.c: File removed.
60568 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
60570         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60571         allow.
60572         * conform/data/ctype.h-data [C99-based standards] (isblank):
60573         Expect function.
60574         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
60575         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
60576         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60577         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
60578         Specify type.  Require positive value.
60579         (EILSEQ): Likewise.
60580         (ERANGE): Likewise.
60581         [ISO || POSIX] (EILSEQ): Do not expect.
60582         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
60583         Specify type.  Require positive value.
60584         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
60585         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
60586         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
60587         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
60588         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
60589         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
60590         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
60591         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
60592         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
60593         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
60594         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
60595         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
60596         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
60597         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
60598         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
60599         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
60600         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
60601         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
60602         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
60603         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
60604         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
60605         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
60606         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
60607         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
60608         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
60609         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
60610         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
60611         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
60612         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
60613         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
60614         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
60615         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
60616         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
60617         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
60618         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
60619         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
60620         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
60621         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
60622         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
60623         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
60624         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
60625         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
60626         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
60627         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
60628         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
60629         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
60630         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
60631         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
60632         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
60633         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
60634         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
60635         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
60636         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
60637         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
60638         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
60639         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
60640         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
60641         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
60642         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
60643         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
60644         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
60645         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
60646         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
60647         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
60648         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
60649         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
60650         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
60651         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
60652         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
60653         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
60654         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
60655         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
60656         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
60657         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
60658         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
60659         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
60660         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
60661         Require >= 2.
60662         (FLT_ROUNDS): Expect as macro, not constant.
60663         (FLT_MANT_DIG): Use macro-int-constant.
60664         (DBL_MANT_DIG): Likewise.
60665         (LDBL_MANT_DIG): Likewise.
60666         (FLT_DIG): Likewise.
60667         (DBL_DIG): Likewise.
60668         (LDBL_DIG): Likewise.
60669         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
60670         (DBL_MIN_EXP): Likewise.
60671         (LDBL_MIN_EXP): Likewise.
60672         (FLT_MAX_EXP): Use macro-int-constant.
60673         (DBL_MAX_EXP): Likewise.
60674         (LDBL_MAX_EXP): Likewise.
60675         (FLT_MAX_10_EXP): Likewise.
60676         (DBL_MAX_10_EXP): Likewise.
60677         (LDBL_MAX_10_EXP): Likewise.
60678         (FLT_MAX): Use macro-constant.
60679         (DBL_MAX): Likewise.
60680         (LDBL_MAX): Likewise.
60681         (FLT_EPSILON): Use macro-constant.  Give upper bound.
60682         (DBL_EPSILON): Likewise.
60683         (LDBL_EPSILON): Likewise.
60684         (FLT_MIN): Likewise.
60685         (DBL_MIN): Likewise.
60686         (LDBL_MIN): Likewise.
60687         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
60688         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
60689         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
60690         [ISO11] (FLT_HAS_SUBNORM): Likewise.
60691         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
60692         [ISO11] (DBL_DECIMAL_DIG): Likewise.
60693         [ISO11] (FLT_DECIMAL_DIG): Likewise.
60694         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
60695         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
60696         [ISO11] (FLT_TRUE_MIN): Likewise.
60697         [ISO11] (LDBL_TRUE_MIN): Likewise.
60698         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60699         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
60700         (SCHAR_MIN): Use macro-int-constant.  Specify type.
60701         (SCHAR_MAX): Likewise.
60702         (UCHAR_MAX): Likewise.
60703         (CHAR_MIN): Likewise.
60704         (CHAR_MAX): Likewise.
60705         (MB_LEN_MAX): Use macro-int-constant.
60706         (SHRT_MIN): Use macro-int-constant.  Specify type.
60707         (SHRT_MAX): Likewise.
60708         (USHRT_MAX): Likewise.
60709         (INT_MAX): Likewise.
60710         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
60711         bound negative.
60712         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60713         bound with "U".
60714         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60715         bound with "L".
60716         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
60717         bound negative.  Suffix upper bound with "L".
60718         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60719         bound with "UL".
60720         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
60721         Specify type.
60722         [C99-based standards] (LLONG_MAX): Likewise.
60723         [C99-based standards] (ULLONG_MAX): Likewise.
60724         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
60725         == 0.
60726         [ISO11] (max_align_t): Require type.
60727         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60729         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
60730         from $CFLAGS, without defining away __attribute__ calls.
60731         (checknamespace): Use $CFLAGS_namespace.
60733         * conform/conformtest.pl (@keywords): Only include C99 keywords
60734         for standards based on C99 or C11.
60736         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
60737         Disable tests.
60738         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
60739         UNIX98]: Likewise.
60741         * conform/conformtest.pl: Handle "macro-int-constant" and test for
60742         usability of symbols in #if.
60744         * conform/conformtest.pl: If macro or constant types start
60745         "promoted:", expect the symbol to be of the following type
60746         promoted by the integer promotions.
60748         * conform/conformtest.pl: Parse all "constant" and "macro" lines
60749         in one place.  Also handle "macro-constant".
60751         * conform/conformtest.pl: Only accept expected macro values with
60752         "==".  Parse all "macro" lines in one place.
60753         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
60755         * conform/conformtest.pl: Handle braced types on "constant" lines
60756         instead of handling "typed-constant".
60757         * conform/data/signal.h-data: Use "constant" instead of
60758         "typed-constant".
60760         * conform/conformtest.pl: Handle "optional-" at start of lines in
60761         one place rather than duplicating several cases.  Handle each
60762         format of "macro" line with initial "optional-".
60764         * conform/conformtest.pl: Only accept expected constant or
60765         optional-constant values with "==".  Parse all "constant" lines in
60766         one place.  Parse all "optional-constant" lines in one place.
60767         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
60768         * conform/data/fmtmsg.h-data: Likewise.
60769         * conform/data/netinet/in.h-data: Likewise.
60770         * conform/data/tar.h-data: Likewise.
60771         * conform/data/limits.h-data: Use "==" form on "constant" and
60772         "optional-constant" lines.
60774         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
60775         Use -std=c99 for XOPEN2K.
60776         (@knownproblems): Remove.
60777         (newtoken): Don't check %isknown.
60779         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
60780         Do not expect macro.
60781         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
60782         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
60783         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
60784         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
60785         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
60786         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
60787         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
60788         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
60789         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
60790         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
60791         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
60792         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
60793         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
60794         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
60795         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
60796         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
60797         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
60798         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
60799         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
60800         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
60801         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
60802         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
60803         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
60804         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
60805         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
60806         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
60807         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
60808         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
60809         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
60810         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
60811         [XPG3] (acosh): Likewise.
60812         [XPG3] (asinh): Likewise.
60813         [XPG3] (atanh): Likewise.
60814         [XPG3] (cbrt): Likewise.
60815         [XPG3] (expm1): Likewise.
60816         [XPG3] (ilogb): Likewise.
60817         [XPG3] (log1p): Likewise.
60818         [XPG3] (logb): Likewise.
60819         [XPG3] (nextafter): Likewise.
60820         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
60821         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
60822         [XPG3] (remainder): Likewise.
60823         [XPG3] (rint): Likewise.
60824         [XPG3 || XPG4 || UNIX98] (round): Likewise.
60825         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
60826         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
60827         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
60828         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
60829         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
60830         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
60831         [UNIX98 || XOPEN2K] (scalb): Expect.
60832         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
60833         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
60834         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
60835         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
60836         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
60837         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
60838         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
60839         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
60840         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
60841         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
60842         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
60843         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
60844         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
60845         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
60846         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
60847         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
60848         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
60849         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
60850         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
60851         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
60852         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
60853         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
60854         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
60855         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
60856         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
60857         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
60858         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
60859         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
60860         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
60861         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
60862         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
60863         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
60864         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
60865         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
60866         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
60867         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
60868         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
60869         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
60870         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
60871         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
60872         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
60873         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
60874         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
60875         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
60876         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
60877         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
60878         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
60879         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
60880         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
60881         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
60882         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
60883         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
60884         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
60885         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
60886         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
60887         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
60888         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
60889         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
60890         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
60891         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
60892         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
60893         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
60894         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
60895         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
60896         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
60897         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
60898         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
60899         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
60900         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
60901         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
60902         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
60903         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
60904         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
60905         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
60906         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
60907         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
60908         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
60909         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
60910         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
60911         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
60912         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
60913         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
60914         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
60915         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
60916         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
60917         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
60918         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
60919         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
60920         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
60921         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
60922         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
60923         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
60924         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
60925         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
60926         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
60927         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
60928         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
60929         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
60930         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
60931         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
60932         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
60933         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
60934         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
60935         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
60936         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
60937         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
60938         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
60939         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
60940         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
60941         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
60942         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
60943         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
60944         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
60945         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
60946         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
60947         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
60948         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
60949         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
60950         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
60951         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
60952         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
60953         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
60954         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
60955         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
60956         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
60957         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
60958         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
60959         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
60960         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
60961         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
60962         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
60963         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
60964         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
60965         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
60966         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
60967         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
60968         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
60970         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
60971         _XOPEN_SOURCE_EXTENDED for XPG4.
60973         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
60975         * Makeconfig (localtime): Remove variable.
60976         (inst_localtime-file): Likewise.
60978 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
60980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
60981         Update.
60982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60983         Update.
60984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
60985         Update.
60986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
60987         Update.
60988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
60989         Update.
60990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
60991         Update.
60992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60993         Update.
60994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
60995         Update.
60996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60997         Update.
60999 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
61001         [BZ #2550]
61002         [BZ #2570]
61003         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
61004         comparisons to determine direction to adjust input.
61005         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
61006         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
61007         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
61008         Likewise.
61009         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
61010         Likewise.
61011         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
61012         Likewise.
61013         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
61014         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
61015         Likewise.
61016         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
61017         Likewise.
61018         * math/libm-test.inc (nexttoward_test): Add more tests.
61020 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
61022         [BZ #14040]
61023         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
61024         in version GLIBC_2.1, not GLIBC_2.0.
61025         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
61026         Likewise.
61028 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
61030         [BZ #13942]
61031         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
61032         (1 - x) * (1 + x).
61033         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
61034         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
61035         * math/libm-test.inc (acos_test): Add more tests.
61036         (asin_test): Likewise.
61037         * sysdeps/i386/fpu/libm-test-ulps: Update.
61038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61040         [BZ #14034]
61041         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
61042         of square root.
61043         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
61044         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
61045         * math/libm-test.inc (acos_test_tonearest): New function.
61046         (acos_test_towardzero): Likewise.
61047         (acos_test_downward): Likewise.
61048         (acos_test_upward): Likewise.
61049         (asin_test_tonearest): Likewise.
61050         (asin_test_towardzero): Likewise.
61051         (asin_test_downward): Likewise.
61052         (asin_test_upward): Likewise.
61053         (main): Call the new functions.
61054         * sysdeps/i386/fpu/libm-test-ulps: Update.
61055         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61057         [BZ #13884]
61058         [BZ #13924]
61059         * math/e_exp10.c: Include <float.h>.
61060         (__ieee754_exp10): Handle underflow here rather than multiplying
61061         large negative argument by M_LN10.
61062         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
61063         of __ieee754_expf.
61064         * math/e_exp10l.c: Include <float.h>.
61065         (__ieee754_exp10l): Handle underflow here rather than multiplying
61066         large negative argument by M_LN10l.
61067         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
61068         spurious overflow exception on underflow.
61070 2012-04-29  Marek Polacek  <polacek@redhat.com>
61072         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
61073         (__fortify_function): New macro.
61074         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
61075         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
61076         __extern_always_inline.
61077         * libio/bits/stdio2.h: Likewise.
61078         * libio/bits/stdio.h: Likewise.
61079         * string/string.h: Likewise.
61080         * string/bits/string3.h: Likewise.
61081         * include/stdio.h: Likewise.
61082         * stdlib/bits/stdlib.h: Likewise.
61083         * stdlib/stdlib.h: Likewise.
61084         * rt/bits/mqueue2.h: Likewise.
61085         * rt/mqueue.h: Likewise.
61086         * posix/bits/unistd.h: Likewise.
61087         * posix/unistd.h: Likewise.
61088         * io/bits/poll2.h: Likewise.
61089         * io/bits/fcntl2.h: Likewise.
61090         * io/fcntl.h: Likewise.
61091         * io/sys/poll.h: Likewise.
61092         * misc/bits/syslog.h: Likewise.
61093         * misc/bits/syslog-ldbl.h: Likewise.
61094         * misc/sys/syslog.h: Likewise.
61095         * socket/bits/socket2.h: Likewise.
61096         * socket/sys/socket.h: Likewise.
61097         * debug/tst-chk1.c: Likewise.
61098         * wcsmbs/bits/wchar2.h: Likewise.
61099         * wcsmbs/bits/wchar-ldbl.h: Likewise.
61100         * wcsmbs/wchar.h: Likewise.
61102 2012-04-29  Andreas Jaeger  <aj@suse.de>
61104         * Makerules (tests): Remove enable-check-abi protection.
61105         (check-abi-warn): Remove.
61106         (check-abi-%): Remove check-abi-warn usage.
61108         * configure.in: Remove check-abi configure option.
61109         * configure: Regenerated.
61110         * config.make.in (enable-check-abi): Remove.
61112 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
61114         [BZ #14033]
61115         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
61116         double functions to double *_finite functions.
61118         [BZ #13941]
61119         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
61120         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
61121         LDBL_MIN_EXP.
61122         * stdio-common/Makefile (tests): Add tst-sprintf3.
61123         * stdio-common/tst-sprintf3.c: New file.
61125         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
61126         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
61128 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
61130         * conform/conformtest.pl: Remove duplicate typed-constant
61131         handling.
61133 2012-04-28  David S. Miller  <davem@davemloft.net>
61135         * Makerules (%.abilist): Add vpath on sysdep_dirs.
61136         (check-abi-%): Remove AWK script prerequisite and explicit
61137         abilist directory.
61138         (check-abi): Rewrite to just diff the symlist with the abilist.
61139         (config-tls, config-abi-config): Delete, no longer used.
61140         (update-abi-%): Remove AWK script and explicit abilist directory.
61141         (update-abi): Rewrite to simply compare and conditionally copy the
61142         symlist and the sysdep abilist file.  Remove update-abi-config
61143         checks.
61144         * abilist/ld.abilist: Remove.
61145         * abilist/libBrokenLocale.abilist: Remove.
61146         * abilist/libanl.abilist: Remove.
61147         * abilist/libcrypt.abilist: Remove.
61148         * abilist/libdl.abilist: Remove.
61149         * abilist/librt.abilist: Remove.
61150         * abilist/libthread_db.abilist: Remove.
61151         * abilist/libutil.abilist: Remove.
61152         * scripts/extract-abilist.awk: Remove.
61153         * scripts/merge-abilist.awk: Remove.
61154         * sysdeps/generic/libcidn.abilist: New file.
61155         * sysdeps/generic/libnss_compat.abilist: New file.
61156         * sysdeps/generic/libnss_db.abilist: New file.
61157         * sysdeps/generic/libnss_dns.abilist: New file.
61158         * sysdeps/generic/libnss_files.abilist: New file.
61159         * sysdeps/generic/libnss_hesiod.abilist: New file.
61160         * sysdeps/generic/libnss_nis.abilist: New file.
61161         * sysdeps/generic/libnss_nisplus.abilist: New file.
61162         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
61163         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
61164         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
61165         file.
61166         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
61167         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
61168         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
61169         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
61170         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
61171         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
61172         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
61173         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
61174         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
61175         file.
61176         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
61177         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
61178         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
61179         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
61180         file.
61181         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
61182         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
61183         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
61184         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
61185         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
61186         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
61187         file.
61188         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
61189         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
61190         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
61191         file.
61192         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
61193         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
61194         New file.
61195         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
61196         New file.
61197         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
61198         New file.
61199         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
61200         New file.
61201         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
61202         New file.
61203         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
61204         New file.
61205         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
61206         New file.
61207         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
61208         New file.
61209         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
61210         New file.
61211         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
61212         New file.
61213         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
61214         New file.
61215         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
61216         New file.
61217         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
61218         New file.
61219         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
61220         file.
61221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
61222         New file.
61223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
61224         New file.
61225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
61226         file.
61227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
61228         New file.
61229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
61230         New file.
61231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
61232         file.
61233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
61234         New file.
61235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61236         New file.
61237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
61238         New file.
61239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
61240         New file.
61241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
61242         New file.
61243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
61244         New file.
61245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
61246         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
61247         file.
61248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
61249         New file.
61250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
61251         file.
61252         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
61253         file.
61254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
61255         file.
61256         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
61257         file.
61258         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
61259         file.
61260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61261         New file.
61262         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
61263         file.
61264         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
61265         file.
61266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
61267         New file.
61268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
61269         file.
61270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
61271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
61272         file.
61273         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
61274         New file.
61275         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
61276         file.
61277         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
61278         file.
61279         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
61280         file.
61281         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
61282         file.
61283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
61284         file.
61285         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61286         New file.
61287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
61288         file.
61289         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
61290         file.
61291         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
61292         New file.
61293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
61294         file.
61295         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61296         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
61297         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
61298         file.
61299         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
61300         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
61301         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
61302         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
61303         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
61304         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
61305         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
61306         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
61307         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
61308         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
61309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
61310         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
61311         file.
61312         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
61313         New file.
61314         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
61315         file.
61316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
61317         file.
61318         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
61319         file.
61320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
61321         file.
61322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
61323         file.
61324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
61325         New file.
61326         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
61327         New file.
61328         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
61329         file.
61330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
61331         New file.
61332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
61333         file.
61334         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
61335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
61336         file.
61337         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
61338         New file.
61339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
61340         file.
61341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
61342         file.
61343         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
61344         file.
61345         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
61346         file.
61347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
61348         file.
61349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61350         New file.
61351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
61352         New file.
61353         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
61354         file.
61355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
61356         New file.
61357         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
61358         file.
61360 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
61362         * conform/conformtest.pl: Fix typo in handling typed-constant from
61363         allow-header.
61365 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
61367         * README: Cut down references to pre-2.6 Linux kernels and
61368         Linuxthreads.  Update lists of configurations in libc and ports
61369         and sort alphabetically.  Say "or newer" with Linux kernel version
61370         requirements.
61372         * config.h.in [IS_IN_build]: Allow compiling without optimization.
61374 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61376         [BZ #887]
61377         * math/libm-test.inc (logb_test_downward): New test to expose
61378         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
61379         rounding mode.
61381 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
61383         [BZ #14027]
61384         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
61385         to be done.
61386         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
61387         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
61389 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
61391         * sysdeps/unix/i386/brk.S: Remove file.
61392         * sysdeps/unix/i386/dl-brk.S: Likewise.
61393         * sysdeps/unix/i386/pipe.S: Likewise.
61394         * sysdeps/unix/i386/sigreturn.S: Likewise.
61395         * sysdeps/unix/i386/syscall.S: Likewise.
61396         * sysdeps/unix/i386/vfork.S: Likewise.
61397         * sysdeps/unix/i386/wait.S: Likewise.
61399         * sysdeps/unix/common/tcsendbrk.c: Move to ...
61400         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
61402         * configure.in (arm*-none*): Do not allow without
61403         --enable-hacker-mode.
61404         (netbsd*): Remove case setting base_os.
61405         (386bsd*): Likewise.
61406         (freebsd*): Likewise.
61407         (bsdi*): Likewise.
61408         (osf*): Likewise.
61409         (sunos*): Likewise.
61410         (ultrix*): Likewise.
61411         (newsos*): Likewise.
61412         (dynix*): Likewise.
61413         (*bsd*): Likewise.
61414         (sysv*): Likewise.
61415         (isc*): Likewise.
61416         (esix*): Likewise.
61417         (sco*): Likewise.
61418         (minix*): Likewise.
61419         (irix4*): Likewise.
61420         (irix6*): Likewise.
61421         (solaris[2-9]*): Likewise.
61422         (none): Likewise.
61423         * configure: Regenerated.
61425 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61427         [BZ #11521]
61428         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
61429         overflow or cancellation in calculating denominator.
61430         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
61431         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
61432         down expression to avoid unexpected rounding in newer GCCs.
61433         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
61435 2012-04-26  David S. Miller  <davem@davemloft.net>
61437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
61438         long-double compat symbols.
61439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
61443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
61445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
61446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
61447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
61448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
61449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
61450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
61451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61453 2012-04-25  David S. Miller  <davem@davemloft.net>
61455         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
61456         HWCAP_* values only after the memory barriers have been defined.
61457         (atomic_full_barrier): Define.
61458         (atomic_read_barrier): Define.
61459         (atomic_write_barrier): Define.
61461 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61463         * shlib-versions: Add libgcc_s version information.
61464         * sysdeps/generic/libgcc_s.h: Remove.
61465         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
61466         libgcc_s.h.
61467         * sysdeps/gnu/unwind-resume.c: Likewise.
61468         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
61470 2012-04-25  David S. Miller  <davem@davemloft.net>
61472         * sysdeps/unix/sparc/brk.S: Delete.
61473         * sysdeps/unix/sparc/dl-brk.S: Delete.
61474         * sysdeps/unix/sparc/pipe.S: Delete.
61475         * sysdeps/unix/sparc/sysdep.S: Delete.
61476         * sysdeps/unix/sparc/sysdep.h: Delete.
61477         * sysdeps/unix/sparc/vfork.S: Delete.
61478         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
61479         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
61480         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
61481         (ret_ERRVAL, r0, r1, MOVE): Define.
61482         (JUMPTARGET): Remove.
61483         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
61484         sysdeps/unix/sparc/sysdep.h
61485         (ENTRY, END): Remove.
61486         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61488 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
61490         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
61491         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
61492         -DIS_IN_build.
61494         * timezone/README: Update upstream location and email address for
61495         tzcode and tzdata.
61496         * timezone/zdump.c: Update from tzcode 2012b.
61497         * timezone/zic.c: Likewise.
61499         * configure.in (libc_cv_as_needed): Remove test.
61500         * configure: Regenerated.
61501         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
61502         conditional definition.
61503         [$(have-as-needed) != yes] (no-as-needed): Likewise.
61504         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
61505         * config.make.in (have-as-needed): Remove variable.
61507 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61508             Paul Pluzhnikov  <ppluzhnikov@google.com>
61510         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
61511         strings correctly.
61513 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
61515         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
61516         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
61517         * sysdeps/sh/strlen.S: Likewise.
61519 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61521         * sysdeps/unix/fork.S: Remove file.
61522         * sysdeps/unix/i386/fork.S: Likewise.
61523         * sysdeps/unix/sparc/fork.S: Likewise.
61525         * sysdeps/unix/system.c: Remove file.
61526         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
61528         * sysdeps/unix/getegid.S: Remove file.
61529         * sysdeps/unix/geteuid.S: Likewise.
61531 2012-04-24  Roland McGrath  <roland@hack.frob.com>
61533         * scripts/check-localplt.awk: New file.
61534         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
61535         of diff.
61536         * scripts/data/localplt-generic.data: Add a comment.
61538         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
61539         NODE when __dir_mkfile failed.
61540         * sysdeps/mach/hurd/symlinkat.c: Likewise.
61541         Reported by Ludovic Courtès <ludo@gnu.org>.
61543 2012-04-24  Andreas Jaeger  <aj@suse.de>
61545         * Makerules (common-clean): Also remove gen-as-const-headers
61546         files.
61548 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61550         * Makerules (native-compile): Do not change working directory for
61551         build.  Use $(OUTPUT_OPTION) in command.
61552         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
61554 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61556         [BZ #13886]
61557         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
61558         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
61559         * math/libm-test.inc (floor_test): Add more tests.
61560         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
61562 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61564         * sysdeps/unix/getdents.c: Remove file.
61565         * sysdeps/unix/sysv/getdents.c: Likewise.
61566         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
61568         * sysdeps/unix/syscalls.list (madvise): Add syscall from
61569         sysdeps/unix/mman/syscalls.list.
61570         (mmap): Likewise.
61571         (mprotect): Likewise.
61572         (msync): Likewise.
61573         (munmap): Likewise.
61574         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
61575         * sysdeps/unix/mman/syscalls.list: Remove.
61576         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
61578         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
61579         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
61580         * configure: Regenerated.
61581         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
61582         $(libgcc_s_suffix).
61583         * config.make.in (libgcc_s_suffix): Remove variable.
61585 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
61587         * sysdeps/unix/sysv/gethostname.c: Move to ...
61588         * sysdeps/posix/gethostname.c: ... here.
61590         * sysdeps/unix/execve.S: Remove file.
61592         * sysdeps/unix/_exit.S: Remove file.
61594 2012-04-23  Andreas Jaeger  <aj@suse.de>
61596         [BZ #13739]
61597         * manual/Makefile: Remove make dist support, there's no
61598         need for a stand-alone documentation tar ball.
61599         (TEXI2DVI): Define always, it's not in Makeconfig.
61600         (dist): Removed.
61601         (tar-it): Removed.
61602         (edition): Removed.
61603         (glibc-doc-$(edition).tar): Removed
61604         (%.Z): Removed.
61605         (%.gz): Removed.
61606         (%.uu): Removed.
61607         (ETAGS): Remove, it's in Makeconfig.
61608         (move-if-change): Remove, it's in Makeconfig.
61610 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
61612         [BZ #13970]
61613         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
61614         (strtod, strtof, strtold, strtol, strtoul, strtoq)
61615         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
61616         (strtod_l, strtof_l, strtold_l): Remove __wur.
61617         It is not necessarily an error to ignore strtol's return value.
61618         One can reliably look at the stored endptr to decide whether
61619         the number had valid syntax.
61621 2012-04-21  Andreas Jaeger  <aj@suse.de>
61623         [BZ #13739]
61624         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
61626 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
61628         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
61629         * sysdeps/unix/sysv/Versions: Remove file.
61631 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
61633         [BZ #13927]
61634         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61636 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
61638         [BZ #7064]
61639         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
61640         version from __vm86.
61642 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
61644         * sysdeps/unix/common/lxstat.c: Remove file.
61645         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
61647         * sysdeps/unix/sysv/Makefile: Remove file.
61649         * sysdeps/unix/sysv/direct.h: Remove file.
61651         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
61652         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
61653         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
61654         * sysdeps/unix/sysv/bits/signum.h: Likewise.
61655         * sysdeps/unix/sysv/bits/stat.h: Likewise.
61656         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
61657         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
61659         * sysdeps/unix/sysv/setrlimit.c: Remove file.
61661         * sysdeps/unix/xmknod.c: Remove file.
61662         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
61664         * sysdeps/unix/sysv/settimeofday.c: Remove file.
61666         * sysdeps/unix/sysv/i386/time.S: Remove file.
61668         * sysdeps/unix/fxstat.c: Remove file.
61669         * sysdeps/unix/xstat.c: Likewise.
61670         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
61672         * sysdeps/unix/sysv/sigaction.c: Remove file.
61674         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
61675         (sysdep_headers): Remove variable.
61676         [termio.h not in sysdep_headers] (generated): Likewise.
61677         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
61678         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
61679         * sysdeps/unix/sysv/tcdrain.c: Likewise.
61680         * sysdeps/unix/sysv/tcflow.c: Likewise.
61681         * sysdeps/unix/sysv/tcflush.c: Likewise.
61682         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
61683         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
61684         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
61685         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
61686         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
61688         * sysdeps/unix/siglist.c: Remove file.
61690         * sysdeps/unix/getppid.S: Remove file.
61692         * sysdeps/unix/mkdir.c: Remove file.
61693         * sysdeps/unix/rmdir.c: Likewise.
61695 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
61697         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
61698         ERR_MAX value.
61699         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
61700         errlist-compat value.
61702 2012-04-18  David S. Miller  <davem@davemloft.net>
61704         * sysdeps/generic/memcopy.h (reg_char): Delete.
61705         * debug/strcat_chk.c: Use char, not reg_char.
61706         * debug/strcpy_chk.c: Likewise.
61707         * debug/strncat_chk.c: Likewise.
61708         * debug/strncpy_chk.c: Likewise.
61709         * string/memchr.c: Likewise.
61710         * string/memrchr.c: Likewise.
61711         * string/rawmemchr.c: Likewise.
61712         * string/strcat.c: Likewise.
61713         * string/strchr.c: Likewise.
61714         * string/strchrnul.c: Likewise.
61715         * string/strcmp.c: Likewise.
61716         * string/strcpy.c: Likewise.
61717         * string/strncat.c: Likewise.
61718         * string/strncmp.c: Likewise.
61719         * string/strncpy.c: Likewise.
61721 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61723         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
61724         __builtin_memcopy is called when src and dest ranges are known to not
61725         overlap.
61727 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61729         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
61730         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
61731         fwd_align_merge macro call.
61732         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
61733         bwd_align_merge macro call.
61734         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61736 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61738         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
61739         bwd_align_merge macros.
61740         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
61741         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
61742         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61744 2012-04-18  David S. Miller  <davem@davemloft.net>
61746         * sysdeps/sparc/sparc64/memcopy.h: Delete.
61748 2012-04-18  Andreas Jaeger  <aj@suse.de>
61750         [BZ# 6794]
61751         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
61752         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
61753         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61755         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
61756         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
61757         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61759         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
61760         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
61761         Adjust for changed ldbl-128 files.
61763         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
61764         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
61765         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61767 2012-04-17  David S. Miller  <davem@davemloft.net>
61769         * sysdeps/sparc/sparc32/memcopy.h: Delete.
61771 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
61773         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
61774         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
61775         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
61776         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
61777         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61778         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
61780 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61782         [BZ #6794]
61783         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
61784         * math/libm-test.inc: Add ilogb errno and exception tests.
61785         * math/w_ilogb.c: New file: ilogb wrapper.
61786         * math/w_ilogbf.c: New file: ilogbf wrapper.
61787         * math/w_ilogbl.c: New file: ilogbl wrapper.
61788         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
61789         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
61790         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
61791         exception being thrown with 0.0 as argument.
61792         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
61793         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
61794         exception being thrown with 0.0 as argument.
61795         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
61796         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61797         exception being thrown with 0.0 as argument.
61798         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
61799         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61800         exception being thrown with 0.0 as argument.
61801         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
61802         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
61803         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
61804         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
61805         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
61806         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
61807         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
61808         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
61809         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
61811 2012-04-17  Petr Baudis  <pasky@ucw.cz>
61813         * include/sys/uio.h: Change __vector to __iovec to avoid clash
61814         with altivec.
61816 2012-04-16  Marek Polacek  <polacek@redhat.com>
61818         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
61820 2012-04-16  Marek Polacek  <polacek@redhat.com>
61822         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
61823         operands of fdivp instruction.
61825 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
61827         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
61828         * elf/tst-auditmod3b.c: Likewise.
61829         * elf/tst-auditmod4b.c: Likewise.
61830         * elf/tst-auditmod5b.c: Likewise.
61831         * elf/tst-auditmod6b.c: Likewise.
61832         * elf/tst-auditmod6c.c: Likewise.
61833         * elf/tst-auditmod7b.c: Likewise.
61834         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
61835         * sysdeps/x86_64/preconfigure.in: Likewise.
61836         * sysdeps/x86_64/preconfigure: Regenerated.
61838 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
61840         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
61841         __ILP32__.
61843 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
61845         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61846         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
61848 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
61850         [BZ #13973]
61851         * locale/iso-639.def: Fix gl language name. Spotted by
61852         Yaron Shahrabani.
61854 2012-04-12  Roland McGrath  <roland@hack.frob.com>
61856         [BZ #2074]
61857         * libio/libio.h (__io_write_fn): Update comment.
61859 2012-04-12  Petr Baudis  <pasky@ucw.cz>
61861         [BZ #2074]
61862         * stdio.texi (Hook Functions): The user provided writer function
61863         is not allowed to return -1.
61865 2012-04-11  David S. Miller  <davem@davemloft.net>
61867         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61869 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
61871         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
61872         Add a leading slash to rtkaio.
61874 2012-04-11  Jim Meyering  <meyering@redhat.com>
61876         [BZ #11959]
61877         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
61878         It is not necessarily an error to ignore fwrite's return
61879         value.  One can reliably use ferror to test for errors after
61880         the fact.
61882 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
61884         * bits/types.h (__snseconds_t): New type.
61885         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
61887         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
61888         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61889         (__SNSECONDS_T_TYPE): Likewise.
61890         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61891         (__SNSECONDS_T_TYPE): Likewise.
61892         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61893         (__SNSECONDS_T_TYPE): Likewise.
61895 2012-04-10  Andreas Jaeger  <aj@suse.de>
61897         [BZ #2636]
61898         * manual/time.texi (Processor Time): Return type of times is
61899         elapsed real time since an arbitrary point in the past.
61900         (CPU Time): Move CLK_TCK from here...
61901         (Processor Time): ...to here.  Correct description.
61902         * manual/conf.texi (Constants for Sysconf): Correct description of
61903         _SC_CLK_TCK.
61905 2012-04-10  David S. Miller  <davem@davemloft.net>
61907         [BZ #13967]
61908         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
61909         where the is a gap between DT_REL(A) and DT_JMPREL.
61911 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
61913         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
61914         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61915         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61917 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61919         * elf/dl-support.c (_dl_inhibit_cache): New variable.
61920         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
61921         (dl_main): Handle --inhibit-cache.
61922         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
61923         _dl_inhibit_cache.
61924         * elf/dl-load.c (_dl_map_object): Use it.
61925         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
61927 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
61929         [BZ #13872]
61930         * sysdeps/i386/fpu/e_powl.S (p78): New object.
61931         (__ieee754_powl): Saturate large exponents rather than testing for
61932         overflow of y*log2(x).
61933         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61934         * math/libm-test.inc (pow_test): Do not permit spurious overflow
61935         exceptions.
61937         [BZ #11521]
61938         * math/s_ctan.c: Include <float.h>.
61939         (__ctan): Avoid internal overflow or cancellation in calculating
61940         denominator.
61941         * math/s_ctanf.c: Likewise.
61942         * math/s_ctanl.c: Likewise.
61943         * math/s_ctanh.c: Likewise.
61944         * math/s_ctanhf.c: Likewise.
61945         * math/s_ctanhl.c: Likewise.
61946         * math/libm-test.inc (ctan_test): Add more tests.
61947         (ctanh_test): Likewise.
61948         * sysdeps/i386/fpu/libm-test-ulps: Update.
61949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61951 2012-04-09  Andreas Jaeger  <aj@suse.de>
61953         [BZ #6894]
61954         * manual/filesys.texi (Directory Entries): Mention that d_namlen
61955         is an optional BSD extension.
61957         [BZ #10254]
61958         * manual/stdio.texi (Opening Streams): Document additional fopen
61959         parameters.
61961 2012-04-09  Roland McGrath  <roland@hack.frob.com>
61963         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
61964         %eax without telling the compiler.
61966 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
61968         [BZ # 13963]
61969         * manual/install.texi: Use sourceware.org.
61971 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
61973         [BZ #13873]
61974         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
61975         (__ieee754_pow): Generate overflow and underflow using huge*huge
61976         and tiny*tiny rather than just returning constant infinity or zero
61977         for large exponents.
61978         * math/libm-test.inc (pow_test): Require overflow exceptions for
61979         applicable cases of large exponents.
61981         [BZ #706]
61982         * sysdeps/i386/fpu/e_pow.S (p10): New object.
61983         (__ieee754_pow): Use iterative multiplication algorithm only for
61984         integer exponents with absolute value below 1024.  Check for odd
61985         integer exponents when using algorithm for real exponents.
61986         * math/libm-test.inc (pow_test): Add more tests.
61987         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61989 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
61991         [BZ #13705]
61992         * math/libm-test.inc (exp_test): Do not allow overflow exception
61993         on underflow test.
61995 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
61997         [BZ #13705]
61998         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
61999         instead of __kernel_standard_f.
62001 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
62003         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
62004         * sysdeps/x86_64/memset_chk.S: Likewise.
62006 2012-04-08  Andreas Jaeger  <aj@suse.de>
62008         [BZ #10153]
62009         * manual/startup.texi (Environment Access): Describe return value
62010         for putenv and setenv.
62012         [BZ #6895]
62013         * manual/filesys.texi (Directory Entries): Add description for
62014         DT_LNK.
62016         [BZ #6890]
62017         * manual/filesys.texi (Directory Entries): Clarify that it's file
62018         system not operating system in the description of DT_UNKNOWN.
62020         [BZ #6578]
62021         * manual/syslog.texi (closelog): Fix reference, it's openlog.
62023 2012-04-08  Stephen Compall  <s11@member.fsf.org>
62025         [BZ #6649]
62026         * manual/llio.texi (Opening and Closing Files): Add cross
62027         reference to explain mode argument.
62029 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
62031         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
62032         * sysdeps/x86_64/memset_chk.S: Likewise.
62034 2012-04-07  David S. Miller  <davem@davemloft.net>
62036         * elf/elf.h (R_SPARC_WDISP10): Define.
62037         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
62038         R_SPARC_SIZE32.
62039         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
62040         R_SPARC_SIZE64 and R_SPARC_H34.
62042 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
62044         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
62045         conditions and remove no longer applicable assertion.
62047 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
62049         * bits/byteswap.h: Include <features.h>.
62050         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
62051         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
62053 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
62055         * bits/byteswap.h (__bswap_16): Removed.
62056         Include <bits/byteswap-16.h> to get __bswap_16.
62057         * sysdeps/i386/bits/byteswap.h: Likewise.
62058         * sysdeps/s390/bits/byteswap.h: Likewise.
62059         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62060         * bits/byteswap-16.h: New file.
62061         * sysdeps/i386/bits/byteswap-16.h: Likewise.
62062         * sysdeps/s390/bits/byteswap-16.h: Likewise.
62063         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
62064         * string/Makefile (headers): Add bits/byteswap-16.h.
62066 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
62068         [BZ #13895]
62069         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
62070         extra indirection.
62071         * nss/Makefile (tests-static, tests): Add tst-nss-static.
62072         * nss/tst-nss-static.c: New.
62074 2012-04-06  Robert Millan  <rmh@gnu.org>
62076         [BZ #6486]
62077         * manual/llio.texi (File Position Primitive): lseek
62078         refers to WHENCE when it really means OFFSET.
62080 2012-04-06  Andreas Jaeger  <aj@suse.de>
62082         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
62083         strncmp declarations.
62085         * abilist/libc.abilist: Add __poll and __ppoll.
62087 2012-04-05  David S. Miller  <davem@davemloft.net>
62089         * scripts/check-local-headers.sh: Accept a host triplet in the
62090         path matched by the exclude regexp.
62092         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
62093         definition.
62094         * sysdeps/powerpc/powerpc32/dl-machine.h
62095         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
62096         * sysdeps/s390/s390-32/dl-machine.h
62097         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62098         * sysdeps/sparc/sparc32/dl-machine.h
62099         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62100         * sysdeps/sparc/sparc64/dl-machine.h
62101         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62103         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
62104         lazy binding.
62105         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
62106         undefined symbol errors.
62108         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
62109         DT_NEEDED entries.
62111 2012-04-05  Michael Matz  <matz@suse.de>
62113         [BZ #13592]
62114         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
62116 2012-04-05  Andreas Jaeger  <aj@suse.de>
62118         [BZ #13908]
62119         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
62120         comment.
62122 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62124         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
62125         which ROUND is no valid rounding mode.
62127 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62129         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
62130         read again.
62131         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
62133 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62135         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
62136         an exception using FPU order intentionally.
62138 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62140         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
62141         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
62142         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
62143         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
62145 2012-04-05  Simon Josefsson  <simon@josefsson.org>
62147         [BZ #12340]
62148         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
62149         EINVAL when BUFLEN is too smal.
62151 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
62153         [BZ #13553]
62154         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
62155         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
62157 2012-04-03  Andreas Jaeger  <aj@suse.de>
62159         [BZ #13938]
62160         * manual/setjmp.texi (System V contexts): Fix sentence.
62162         [BZ #13926]
62163         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
62164         New macro for this case.
62165         [!__GNUC__] (__bswap_64): New inline function for this case.
62166         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62167         * bits/byteswap.h: Likewise.
62168         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
62169         ull, guard with __GLIBC_HAVE_LONG_LONG.
62171         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
62172         __GLIBC_HAVE_LONG_LONG.
62174         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
62175         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
62177 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62179         [BZ #13691]
62180         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
62181         inptr and inend, rather than using last_ch.
62183 2012-04-02  David S. Miller  <davem@davemloft.net>
62185         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
62186         * stdio-common/printf-parse.h (read_int): Change return type to
62187         'int', return -1 on INT_MAX overflow.
62188         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
62189         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
62190         overflows INT_MAX.  Check for overflow of in-format-string precision
62191         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
62192         SIZE_MAX not INT_MAX for integer overflow test.
62193         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
62194         skip the construct in the format string but do not record anything.
62195         * stdio-common/bug22.c: Adjust to test both width/prevision
62196         INT_MAX overflow as well as total length INT_MAX overflow.  Check
62197         explicitly for proper errno values.
62199 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
62201         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
62202         CHAR_MAX.
62203         * string/test-strcmp.c [! WIDE]: Likewise.
62204         * time/tst-mktime2.c: Likewise for INT_MAX.
62205         * string/test-string.h: #include <sys/param.h> for MIN.
62207         * csu/init-first.c (__libc_init_first): Call __ctype_init.
62208         * sysdeps/i386/init-first.c (init): Likewise.
62209         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
62210         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
62211         * sysdeps/sh/init-first.c (init): Likewise.
62213 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
62215         * po/ru.po: Update from translation team.
62216         * po/vi.po: Likewise.
62218 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
62220         * resolv/nss_dns/dns-host.c: Merge copyright years.
62222 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62224         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
62225         Optimize memcpy with prefetch if
62226         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
62227         src, dst pointers have unequal 16 byte alignments.
62229 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62231         [BZ #13928]
62232         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
62233         from a CNAME entry and return the minimum ttl for the query.
62234         (gaih_getanswer_slice): Likewise.
62236 2012-03-30  Jeff Law  <law@redhat.com>
62238         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
62239         due to long keys.
62240         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
62241         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
62243         * resolv/nss_dns/dns-host.c: Update copyright year.
62245 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
62247         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
62248         requests to save a system call.  Fix check that all bytes are sent.
62250         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
62251         comments for sendmmsg.
62253 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62255         [BZ #13691]
62256         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
62257         with only 1 character between 0x0041 and 0x01b0.
62258         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
62259         * wcsmbs/tst-mbsnrtowcs.c: New file.
62261 2012-03-29  David S. Miller  <davem@davemloft.net>
62263         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
62264         small copies by hand.
62266 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62268         [BZ #13761]
62269         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
62270         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
62271         group memberships.
62273 2012-03-28  David S. Miller  <davem@davemloft.net>
62275         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
62276         that branches into memcpy.
62277         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
62278         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
62279         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62280         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
62281         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
62282         bits.
62283         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
62284         implementation too.
62285         * sysdeps/sparc/mempcpy.S: New file.
62287         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
62288         the IFUNC routine in the libc case.
62289         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62291         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
62292         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
62293         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
62294         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
62295         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
62296         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
62297         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
62298         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
62300         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
62301         loop to 256 bytes instead of 64 bytes and fix test signedness.
62303         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
62304         * sysdeps/sparc/sparc32/Makefile: rather than here...
62305         * sysdeps/sparc/sparc64/Makefile: and here.
62307 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
62309         * malloc/mallocbug.c: Avoid warnings about unused variables.
62311 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62313         [BZ #13760]
62314         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
62315         in the right place. Discard and retry query if response is
62316         larger than input buffer size.
62318 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
62320         [BZ #369]
62321         [BZ #2678]
62322         [BZ #3866]
62323         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
62324         x for large integer exponent.
62325         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
62326         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
62327         sign of result as needed afterwards.
62328         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
62329         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
62330         result for underflowing pow the same as for overflow.
62331         (__kernel_standard_l): Handle powl overflow and underflow here
62332         rather than calling __kernel_standard.
62333         * math/libm-test.inc (pow_test): Add more tests.
62335         [BZ #3868]
62336         [BZ #13879]
62337         [BZ #13910]
62338         [BZ #13911]
62339         [BZ #13912]
62340         [BZ #13913]
62341         [BZ #13915]
62342         [BZ #13916]
62343         [BZ #13917]
62344         [BZ #13918]
62345         [BZ #13919]
62346         [BZ #13920]
62347         [BZ #13921]
62348         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
62349         * sysdeps/ieee754/k_standard.c: Include <float.h>.
62350         (__kernel_standard_l): New function.
62351         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
62352         __kernel_standard.
62353         * math/w_acosl.c (__acosl): Likewise.
62354         * math/w_asinl.c (__asinl): Likewise.
62355         * math/w_atan2l.c (__atan2l): Likewise.
62356         * math/w_atanhl.c (__atanhl): Likewise.
62357         * math/w_coshl.c (__coshl): Likewise.
62358         * math/w_exp10l.c (__exp10l): Likewise.
62359         * math/w_exp2l.c (__exp2l): Likewise.
62360         * math/w_fmodl.c (__fmodl): Likewise.
62361         * math/w_hypotl.c (__hypotl): Likewise.
62362         * math/w_j0l.c (__j0l, __y0l): Likewise.
62363         * math/w_j1l.c (__j1l, __y1l): Likewise.
62364         * math/w_jnl.c (__jnl, __ynl): Likewise.
62365         * math/w_lgammal.c (__lgammal): Likewise.
62366         * math/w_log10l.c (__log10l): Likewise.
62367         * math/w_log2l.c (__log2l): Likewise.
62368         * math/w_logl.c (__logl): Likewise.
62369         * math/w_powl.c (__powl): Likewise.
62370         * math/w_remainderl.c (__remainderl): Likewise.
62371         * math/w_scalbl.c (sysv_scalbl): Likewise.
62372         * math/w_sinhl.c (__sinhl): Likewise.
62373         * math/w_sqrtl.c (__sqrtl): Likewise.
62374         * math/w_tgammal.c (__tgammal): Likewise.
62375         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
62376         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
62377         * math/libm-test.inc (acos_test): Add more tests.
62378         (acosh_test): Likewise.
62379         (asin_test): Likewise.
62380         (atanh_test): Likewise.
62381         (exp_test): Likewise.
62382         (exp10_test): Likewise.
62383         (exp2_test): Likewise.
62384         (expm1_test): Likewise.
62385         (lgamma_test): Likewise.
62386         (log_test): Likewise.
62387         (log10_test): Likewise.
62388         (log1p_test): Likewise.
62389         (log2_test): Likewise.
62390         (pow_test): Do not allow some spurious overflow exceptions.
62391         (sqrt_test): Add more tests.
62392         (tgamma_test): Likewise.
62393         (y0_test): Likewise.
62394         (y1_test): Likewise.
62395         (yn_test): Likewise.
62397 2012-03-27  Anton Blanchard  <anton@samba.org>
62399         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
62400         MAP_HUGETLB.
62401         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62402         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62403         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62405 2012-03-27  David S. Miller  <davem@davemloft.net>
62407         * conform/Makefile: Run run-conformtest.sh using $(BASH).
62409         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
62410         have-as-vis3 check.
62412 2012-03-27  Andreas Jaeger  <aj@suse.de>
62414         * sysdeps/x86_64/elf/configure.in: Moved to ...
62415         * sysdeps/x86_64/configure.in: ... here.
62416         * sysdeps/x86_64/elf/start.S: Moved to ...
62417         * sysdeps/x86_64/start.S: ... here.
62418         * sysdeps/x86_64/elf/configure: Delete.
62420         * sysdeps/x86_64/configure.in: Merge contents from
62421         sysdeps/i386/configure.in (without i686 check).
62423         * sysdeps/i386/elf/Versions: Merge into ...
62424         * sysdeps/i386/Versions: ... this.
62425         * sysdeps/i386/elf/Versions: Delete file.
62426         * sysdeps/i386/elf/start.S: Moved to ...
62427         * sysdeps/i386/start.S: ...here.
62428         * sysdeps/i386/elf/configure.in: Merge into...
62429         * sysdeps/i386/configure.in: ...here.
62430         * sysdeps/i386/elf/configure.in: Delete file.
62431         * sysdeps/i386/elf/configure: Delete file.
62433         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
62434         * debug/backtracesyms.c: ... here.
62435         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
62436         * debug/backtracesymsfd.c: ... here.
62437         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
62438         * sysdeps/generic/ifunc-sel.h: ... here.
62440         * sysdeps/unix/i386/start.c: Delete file.
62441         * sysdeps/unix/sparc/start.c: Delete file.
62442         * sysdeps/unix/start.c: Delete file.
62444         * sysdeps/sh/elf/configure.in: Moved to ...
62445         * sysdeps/sh/configure.in: ... here.
62446         * sysdeps/sh/elf/start.S: Moved to ...
62447         * sysdeps/sh/start.S: ... here.
62448         * sysdeps/sh/elf/configure: Delete file.
62450         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
62451         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
62452         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
62453         * sysdeps/powerpc/powerpc64/entry.h: ... here.
62454         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
62455         * sysdeps/powerpc/powerpc64/start.S: here.
62456         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
62457         * sysdeps/powerpc/powerpc64/Makefile: ... this.
62458         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
62459         * sysdeps/powerpc/powerpc64/configure.in: ... this.
62460         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
62462         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
62463         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
62464         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
62465         * sysdeps/powerpc/powerpc32/start.S: ... here.
62466         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
62467         * sysdeps/powerpc/powerpc32/configure.in: ... this.
62468         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
62470         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
62471         * sysdeps/powerpc/ifunc-sel.h: ... here.
62472         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
62473         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
62475         * sysdeps/sparc/elf/configure.in: Moved to ...
62476         * sysdeps/sparc/configure.in: ... here.
62477         * sysdeps/sparc/elf/configure: Delete file.
62478         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
62479         * sysdeps/sparc/sparc32/start.S: ... here.
62480         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
62481         * sysdeps/sparc/sparc64/start.S: ... here.
62482         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
62483         * sysdeps/sparc/sparc32/Makefile: ... this.
62484         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
62485         * sysdeps/sparc/sparc64/Makefile: ... this.
62487         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
62488         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
62489         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
62490         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
62491         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
62492         * sysdeps/s390/s390-32/setjmp.S: ... here.
62493         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
62494         * sysdeps/s390/s390-32/configure.in: ... here.
62495         * sysdeps/s390/s390-32/elf/configure: Delete file.
62496         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
62497         * sysdeps/s390/s390-32/start.S: ... here.
62499         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
62500         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
62501         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
62502         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
62503         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
62504         * sysdeps/s390/s390-64/setjmp.S: ... here.
62505         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
62506         * sysdeps/s390/s390-64/configure.in: ... here
62507         * sysdeps/s390/s390-64/elf/configure: Delete file.
62508         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
62509         * sysdeps/s390/s390-64/start.S: ... here.
62510         * sysdeps/s390/s390-64/elf/configure: Delete.
62512         * configure.in: Remove support for elf directories in sysdeps.
62514         * configure: Regenerated.
62515         * sysdeps/i386/configure: Regenerated.
62516         * sysdeps/powerpc/powerpc32/configure: Regenerated.
62517         * sysdeps/powerpc/powerpc64/configure: Regenerated.
62518         * sysdeps/s390/s390-32/configure: Regenerated.
62519         * sysdeps/s390/s390-64/configure: Regenerated.
62520         * sysdeps/sh/configure: Regenerated.
62521         * sysdeps/sparc/configure: Regenerated.
62522         * sysdeps/x86_64/configure: Regenerated.
62524 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
62526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62528         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
62529         denormal result into account.
62531 2012-03-25  Roland McGrath  <roland@hack.frob.com>
62533         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
62534         Reported by Allan McRae <allan@archlinux.org>.
62536 2012-03-23  Jeff Law  <law@redhat.com>
62538         * nss/getnssent.c (__nss_getent): Fix typo.
62540 2012-03-23  David S. Miller  <davem@davemloft.net>
62542         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62544 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
62546         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
62547         to pad to uint64_t for each field.
62548         (dl_tls_index): Replace unsigned long with uint64_t.
62550 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
62551         Paul Pluzhnikov  <ppluzhnikov@google.com>
62553         [BZ #6528]
62554         * grp/Makefile (otherlibs): Don't set it.
62555         * inet/Makefile (otherlibs): Likewise.
62556         * login/Makefile (otherlibs): Likewise.
62557         * nscd/Makefile (otherlibs): Likewise.
62558         * posix/Makefile (otherlibs): Likewise.
62559         * pwd/Makefile (otherlibs): Likewise.
62560         * rt/Makefile (otherlibs): Likewise.
62561         * sunrpc/Makefile (otherlibs): Likewise.
62562         * nss/Makefile (otherlibs): Likewise.
62563         Add libnss_files to routines and static-only-routines.
62564         ($(objpfx)getent): Remove rule.
62565         * resolv/Makefile: Add libnss_dns and libresolv to routines and
62566         static-only-routines.
62568 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
62570         [BZ #13892]
62571         * math/s_cexp.c: Include <float.h>.
62572         (__cexp): Handle exp result overflowing not necessarily
62573         overflowing both real and imaginary parts of result.
62574         * math/s_cexpf.c: Likewise.
62575         * math/s_cexpl.c: Likewise.
62576         * math/libm-test.inc (cexp_test): Add more tests.
62577         * sysdeps/i386/fpu/libm-test-ulps: Update.
62578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62580 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62582         * include/link.h (ELFW): New macro.
62583         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
62584         Replace ELF64_R_TYPE with ELFW(R_TYPE).
62586 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62588         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
62589         with uint64_t.
62591 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62593         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
62594         declaration.
62595         (struct La_x32_retval): Likewise.
62597 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62599         * sysdeps/x86_64/preconfigure.in: New file.
62600         * sysdeps/x86_64/preconfigure: New generated file.
62602 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
62604         [BZ #13824]
62605         * math/e_exp2l.c: Include <float.h>.
62606         (__ieee754_exp2l): Handle overflow and underflow cases
62607         separately.  Only pass fractional part of argument to
62608         __ieee754_expl.
62609         * math/libm-test.inc (exp2_test): Add more tests.
62611         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
62612         negating x to take absolute value.
62613         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
62614         Likewise.
62615         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62616         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
62617         Likewise.
62618         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
62619         computing low part if x was negated.
62620         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62622 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62624         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
62625         la_x32_gnu_pltexit.
62626         (pltexit): Cast int_retval to ptrdiff_t.
62627         * elf/tst-auditmod3b.c: Likewise.
62628         * elf/tst-auditmod4b.c: Likewise.
62629         * elf/tst-auditmod5b.c: Likewise.
62630         * elf/tst-auditmod6b.c: Likewise.
62631         * elf/tst-auditmod6c.c: Likewise.
62632         * elf/tst-auditmod7b.c: Likewise.
62634         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
62635         and x32_gnu_pltexit.
62637         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
62638         __ELF_NATIVE_CLASS.
62639         (La_x32_regs): New macro.
62640         (La_x32_retval): Likewise.
62641         (la_x32_gnu_pltenter): New function prototype.
62642         (la_x32_gnu_pltexit): Likewise.
62644 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
62646         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
62647         exponent.
62649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62651         * configure.in (libc_cv_cc_nofma): Check for option to disable
62652         generation of FMA instructions.
62653         * configure: Regenerate.
62654         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
62655         * sysdeps/ieee754/dbl-64/Makefile: New file.
62656         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
62657         Remove brandred-fma4.
62658         (CFLAGS-brandred-fma4.c): Remove.
62659         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
62660         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
62661         define.
62662         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
62663         define.
62665 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62667         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62668         LLONG_MAX != LONG_MAX.
62669         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62670         (_fitoa_word): Likewise.
62671         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
62672         LLONG_MAX != LONG_MAX.
62673         * stdio-common/_itowa.h: Include <_itoa.h>.
62674         (_itowa_word): Use _ITOA_WORD_TYPE on value.
62675         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
62676         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
62677         only if not defined.
62678         (_ITOA_WORD_TYPE): Likewise.
62679         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62680         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
62682 2012-03-21  David S. Miller  <davem@davemloft.net>
62684         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62686 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62688         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
62689         of x86_64 when setting libc_cv_slibdir, libdir and
62690         libc_cv_localedir.
62691         * sysdeps/unix/sysv/linux/configure: Regenerated.
62693 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62695         * manual/lang.texi (Old Varargs): Remove section.
62696         (How Variadic): Update menu.
62697         (va_start): Do not mention varargs.h.
62699 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62700             Joseph Myers  <joseph@codesourcery.com>
62702         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
62703         link test.
62704         * configure: Regenerated.
62706 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62708         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
62709         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
62710         conformtest.pl
62712 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62714         * NOTES: Remove.
62715         * Makefile (files-for-dist): Remove NOTES.
62716         (NOTES): Remove rule.
62717         * README: Don't refer to NOTES.
62718         * manual/creature.texi: Don't include macros.texi.
62719         * manual/intro.texi (creature.texi): Remove comment referring to
62720         NOTES.
62722         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
62723         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
62724         * configure: Regenerated.
62725         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
62726         LIBC_TRY_CC_OPTION.
62727         (libc_cv_as_i686): Likewise.
62728         (libc_cv_cc_avx): Likewise.
62729         (libc_cv_cc_sse2avx): Likewise.
62730         (libc_cv_cc_fma4): Likewise.
62731         (libc_cv_cc_novzeroupper): Likewise.
62732         * sysdeps/i386/configure: Regenerated.
62734         [BZ #13883]
62735         * sysdeps/i386/fpu/s_cexp.S: Remove.
62736         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62737         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62738         * math/libm-test.inc (cexp_test): Add more tests.
62739         * sysdeps/i386/fpu/libm-test-ulps: Update.
62740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62742 2012-03-21  Allan McRae  <allan@archlinux.org>
62744         * timezone/Makefile: Do not install iso3166.tab and zone.tab
62746 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62748         [BZ #13871]
62749         * math/w_exp2.c: Do not include <float.h>.
62750         (o_threshold, u_threshold): Remove.
62751         (__exp2): Calculate result before checking finiteness and calling
62752         __kernel_standard.
62753         * math/w_exp2f.c: Likewise.
62754         * math/w_exp2l.c: Likewise.
62755         * math/libm-test.inc (exp2_test): Require overflow exception for
62756         1e6 input.
62758         [BZ #3866]
62759         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
62760         range of signed 64-bit integers before using fistpll.  Remove
62761         checks for whether integers fit in mantissa bits.
62762         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
62763         the range of signed 32-bit integers before using fistpl.  Remove
62764         checks for whether integers fit in mantissa bits.
62765         * sysdeps/i386/fpu/e_powl.S (p64): New object.
62766         (__ieee754_powl): Test for y outside the range of signed 64-bit
62767         integers before using fistpll.  Reduce 64-bit values to 63-bit
62768         ones as needed.
62769         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
62770         divide-by-zero is raised for zero to large negative powers.
62771         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
62772         (__ieee754_powl): Test for y outside the range of signed 64-bit
62773         integers before using fistpll.  Reduce 64-bit values to 63-bit
62774         ones as needed.
62775         * math/libm-test.inc (pow_test): Add more tests.
62777 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62779         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
62780         <stdio-common/_itoa.h>.
62781         * debug/segfault.c: Likewise.
62782         * elf/dl-cache.c: Likewise.
62783         * elf/dl-minimal.c: Likewise.
62784         * elf/dl-misc.c: Likewise.
62785         * elf/dl-sysdep.c: Likewise.
62786         * elf/dl-version.c: Likewise.
62787         * elf/rtld.c: Likewise.
62788         * hurd/hurdsock.c: Likewise.
62789         * hurd/lookup-retry.c: Likewise.
62790         * malloc/malloc.c: Likewise.
62791         * malloc/mtrace.c: Likewise.
62792         * nscd/nscd_getgr_r.c: Likewise.
62793         * nscd/nscd_getpw_r.c: Likewise.
62794         * nscd/nscd_getserv_r.c: Likewise.
62795         * posix/getopt_init.c: Likewise.
62796         * posix/wordexp.c: Likewise.
62797         * stdio-common/_itoa.c: Likewise.
62798         * stdio-common/printf_fphex.c: Likewise.
62799         * stdio-common/vfprintf.c: Likewise.
62800         * string/_strerror.c: Likewise.
62801         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
62802         * sysdeps/i386/i686/hp-timing.h: Likewise.
62803         * sysdeps/mach/_strerror.c: Likewise.
62804         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
62805         * sysdeps/mach/hurd/sethostid.c: Likewise.
62806         * sysdeps/mach/hurd/xmknodat.c: Likewise.
62807         * sysdeps/mach/xpg-strerror.c: Likewise.
62808         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62809         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62810         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
62811         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
62812         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62813         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
62814         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
62815         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
62816         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
62817         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
62818         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
62819         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62820         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
62821         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62822         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62823         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
62824         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
62825         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
62826         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
62827         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
62828         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
62830         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
62832         * stdio-common/_itoa.h: Moved to ...
62833         * sysdeps/generic/_itoa.h: Here.
62835         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
62837         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
62838         instead of "_itoa.h" and "_itowa.h".
62839         * stdio-common/vfprintf.: Likewise.
62841 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62843         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
62844         <bits/wordsize.h>.
62845         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
62846         (__signbit): Likwise.
62847         (llrintf): Likwise.
62848         (llrint): Likwise.
62850 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62852         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
62853         __WORDSIZE != 64.
62855 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
62857         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
62858         OVERFLOW_EXCEPTION_OK.
62859         * math/libm-test.inc ("Philosophy"): Update comment about
62860         exception testing.
62861         (OVERFLOW_EXCEPTION): Define.
62862         (OVERFLOW_EXCEPTION_OK): Likewise.
62863         (INVALID_EXCEPTION_OK): Renumber.
62864         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62865         (IGNORE_ZERO_INF_SIGN): Likewise.
62866         (test_exceptions): Handle FE_OVERFLOW.
62867         (exp10_test): Expect overflow exceptions.
62868         (exp2_test): Likewise.
62869         (expm1_test): Likewise.
62870         (nextafter_test): Likewise.
62871         (pow_test): Likewise.
62872         (scalbn_test): Likewise.
62873         (scalbln_test): Likewise.
62875 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62877         * sysdeps/x86_64/bits/atomic.h
62878         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
62879         64bit integer.
62880         (atomic_exchange_acq): Likewise.
62881         (__arch_exchange_and_add_body): Likewise.
62882         (__arch_add_body): Likewise.
62883         (atomic_add_negative): Likewise.
62884         (atomic_add_zero): Likewise.
62886 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62888         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
62889         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
62891 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62893         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
62894         Check __x86_64__ instead of __WORDSIZE.
62896 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62898         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
62900 2012-03-19  David S. Miller  <davem@davemloft.net>
62902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62904         * sysdeps/sparc/fpu/fenv_private.h: New file.
62905         * sysdeps/sparc/fpu/math_private.h: Use it.
62906         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
62907         Remove.
62908         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
62909         (libc_feholdexcept_setroundl): Remove.
62910         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
62911         Remove.
62912         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
62913         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
62915 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62917         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
62918         int64_t instead of long int.
62919         (INSERT_WORDS64): Likwise.
62921 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62923         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
62924         _Unwind_GetCFA return to _Unwind_Ptr first.
62926 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
62928         [BZ #13629]
62929         * math/s_clog.c: Include <float.h>.
62930         (__clog): Scale large or subnormal inputs.
62931         * math/s_clogf.c: Likewise.
62932         * math/s_clogl.c: Likewise.
62933         * math/s_clog10.c: Include <float.h>.
62934         (M_LOG10_2): Define.
62935         (__clog10): Scale large or subnormal inputs.
62936         * math/s_clog10f.c: Likewise.
62937         * math/s_clog10l.c: Likewise.
62938         * math/libm-test.inc (clog_test): Add more tests.
62939         (clog10_test): Likewise.
62940         * sysdeps/i386/fpu/libm-test-ulps: Update.
62941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62943         [BZ #11451]
62944         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
62945         x and y.
62946         * math/libm-test.inc (atan2_test): Add another test.
62948         * Makerules (common-objdir-compile): Remove.
62949         * sysdeps/unix/Makefile (config-generated): Do not add
62950         $(unix-generated) to variable.
62951         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
62952         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
62953         Remove rule.
62954         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
62955         Likewise.
62956         [generic bits/local_lim.h] (before-compile): Do not append to
62957         variable.
62958         [generic bits/local_lim.h] (common-generated): Likewise.
62959         [generic sys/param.h] (before-compile): Do not append to variable.
62960         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
62961         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
62962         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
62963         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
62964         include.
62965         [generic sys/param.h] (sys/param.h-includes): Remove variable.
62966         [generic sys/param.h] (sys/param.h-includes): Remove rule.
62967         [generic sys/param.h] ($(addprefix
62968         $(common-objpfx),$(sys/param.h-includes))): Likewise.
62969         [generic sys/param.h] (common-generated): Do not append to
62970         variable.
62971         [generic sys/param.h] (sysdep_headers): Likewise.
62972         [generic bits/errno.h] (before-compile): Do not append to
62973         variable.
62974         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
62975         rule.
62976         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
62977         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
62978         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
62979         [generic bits/errno.h] (common-generated): Do not append to
62980         variable.
62981         [generic bits/ioctls.h] (before-compile): Do not append to
62982         variable.
62983         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
62984         rule.
62985         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
62986         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
62987         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
62988         rule.
62989         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
62990         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
62991         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
62992         [generic bits/ioctls.h] (common-generated): Do not append to
62993         variable.
62994         [generic sys/syscall.h] (syscall.h): Remove variable.
62995         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
62996         rule.
62997         [generic sys/syscall.h] (before-compile): Do not append to
62998         variable.
62999         [generic sys/syscall.h] (common-generated): Likewise.
63000         * sysdeps/unix/errnos-tmpl.c: Remove file.
63001         * sysdeps/unix/errnos.awk: Likewise.
63002         * sysdeps/unix/ioctls-tmpl.c: Likewise.
63003         * sysdeps/unix/ioctls.awk: Likewise.
63004         * sysdeps/unix/mk-local_lim.c: Likewise.
63005         * sysdeps/unix/snarf-ioctls: Likewise.
63007 2012-03-19  Richard Henderson  <rth@twiddle.net>
63009         * sysdeps/i386/fpu/fenv_private.h: New file.
63010         * sysdeps/i386/fpu/math_private.h: Use it.
63011         (math_opt_barrier, math_force_eval): Remove.
63012         (libc_feholdexcept_setround_53bit): Remove.
63013         (libc_feupdateenv_53bit): Remove.
63014         * sysdeps/x86_64/fpu/math_private.h: Likewise.
63015         (math_opt_barrier, math_force_eval): Remove.
63016         (libc_feholdexcept): Remove.
63017         (libc_feholdexcept_setround): Remove.
63018         (libc_fetestexcept, libc_fesetenv): Remove.
63019         (libc_feupdateenv_test): Remove.
63020         (libc_feupdateenv, libc_feholdsetround): Remove.
63021         (libc_feresetround): Remove.
63023         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
63024         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
63026         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
63027         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
63028         (libc_feupdateenv_testl): New.
63029         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
63030         (libc_feupdateenv_testf): New.
63031         (libc_feupdateenv): Use libc_feupdateenv_test.
63032         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
63033         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
63035         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
63036         (libc_feholdsetroundf, libc_feholdsetroundl): New.
63037         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
63038         (libc_feresetround_noex): New.
63039         (libc_feresetround_noexf): New.
63040         (libc_feresetround_noexl): New.
63041         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
63042         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
63043         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
63044         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
63045         SET_RESTORE_ROUND.
63046         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
63047         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
63048         (__cos): Likewise.
63049         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
63050         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
63051         SET_RESTORE_ROUND_NOEX.
63052         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
63053         SET_RESTORE_ROUND_NOEXF.
63054         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
63055         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
63056         (libc_feholdsetroundf): New.
63057         (libc_feresetround, libc_feresetroundf): New.
63059         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
63060         (libc_feholdexcept_setround_53bit): Convert from macro to function.
63061         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
63063         * sysdeps/generic/math_private.h: Include <fenv.h>.
63064         (default_libc_feholdexcept): New.
63065         (default_libc_feholdexcept_setround): New.
63066         (default_libc_fesetenv, default_libc_feupdateenv): New.
63067         (libc_feholdexcept): Only define if undefined.
63068         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
63069         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
63070         (libc_feholdexcept_setroundl): Likewise.
63071         (libc_feholdexcept_setround_53bit): Likewise.
63072         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
63073         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
63074         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
63075         (libc_feupdateenv_53bit): Likewise.
63076         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
63077         (libc_feholdexcept): Convert from macro to inline function.
63078         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
63079         (libc_fesetenv, libc_feupdateenv): Likewise.
63081         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
63082         not previously defined.
63083         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
63084         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
63085         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
63086         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
63087         * sysdeps/ieee754/flt-32/math_private.h: New file.
63088         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
63089         math_private.h below SET_FLOAT_WORD.
63090         (__isnan, __isinf_ns, __finite): Remove.
63091         (__isnanf, __isinf_nsf, __finitef): Remove.
63093 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
63095         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63097 2012-03-17  David S. Miller  <davem@davemloft.net>
63099         [BZ #6471]
63100         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
63101         for 2.16.
63103 2012-03-16  David S. Miller  <davem@davemloft.net>
63105         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
63106         warnings.
63108         [BZ #6471]
63109         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
63110         properly.
63111         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
63112         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
63113         sysdep_routines when subdir is sysvipc.
63114         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
63115         __getshmlba helper.
63117         * sysdeps/sparc/fpu/libm-test/ulps: Update.
63119 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63121         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
63122         [__LP64__].
63124 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63126         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
63127         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
63128         (__lround): Renamed to ...
63129         (__llround): This.  Replace long int with long long int.
63130         Define lround functions as aliases of llround functions.
63131         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
63133 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63135         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
63136         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
63137         adresses to uintptr_t.  Replace "long int" and "unsigned long
63138         int" with "greg_t" on va_arg.
63140 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63142         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
63143         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
63145         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
63146         Move e_machine check before EI_CLASS check.  Handle x32
63147         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
63148         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
63149         SKIP_EM_IA_64 and include
63150         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
63152         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
63153         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
63154         (add_system_dir): New macro.
63156         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
63157         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
63159 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
63161         [BZ #2551]
63162         [BZ #2552]
63163         [BZ #2553]
63164         [BZ #2554]
63165         [BZ #2562]
63166         [BZ #2563]
63167         [BZ #2565]
63168         [BZ #2566]
63169         [BZ #2576]
63170         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
63171         (y0): Likewise.
63172         * math/w_j0f.c (j0f): Likewise.
63173         (y0f): Likewise.
63174         * math/w_j0l.c (__j0l): Likewise.
63175         (__y0l): Likewise.
63176         * math/w_j1.c (j1): Likewise.
63177         (y1): Likewise.
63178         * math/w_j1f.c (j1f): Likewise.
63179         (y1f): Likewise.
63180         * math/w_j1l.c (__j1l): Likewise.
63181         (__y1l): Likewise.
63182         * math/w_jn.c (jn): Likewise.
63183         (yn): Likewise.
63184         * math/w_jnf.c (jnf): Likewise.
63185         (ynf): Likewise.
63186         * math/w_jnl.c (__jnl): Likewise.
63187         (__ynl): Likewise.
63188         * math/libm-test.inc (j0_test): Add more tests.
63189         (j1_test): Likewise.
63190         (jn_test): Likewise.  Add trailing semicolon to existing test.
63191         (y0_test): Likewise.
63192         (y1_test): Likewise.
63193         * sysdeps/i386/fpu/libm-test-ulps: Update.
63194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63196         [BZ #13851]
63197         [BZ #13854]
63198         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
63199         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
63200         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
63201         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
63202         (__tanl): Set errno for infinite argument.
63203         * sysdeps/i386/fpu/mptan.c: Remove.
63204         * sysdeps/i386/fpu/s_tan.S: Likewise.
63205         * sysdeps/i386/fpu/s_tanl.S: Likewise.
63206         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
63207         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
63208         * math/libm-test.inc (tan_test): Add more tests and enable more
63209         tests for double and long double.
63210         * sysdeps/i386/fpu/libm-test-ulps: Update.
63211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63213 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
63215         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
63216         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
63218 2012-03-16  Roland McGrath  <roland@hack.frob.com>
63220         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
63221         * configure.in: Use it for both main tree and add-ons.
63222         * configure: Regenerated.
63224 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63226         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
63228 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
63230         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
63231         in comment.
63233         [BZ #13851]
63234         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
63235         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
63236         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
63237         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
63238         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
63239         infinite argument.
63240         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
63241         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
63242         != 0 for prec == 2.
63243         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
63244         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
63245         * sysdeps/i386/fpu/s_cosl.S: Likewise.
63246         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
63247         * sysdeps/i386/fpu/s_sinl.S: Likewise.
63248         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
63249         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
63250         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
63251         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
63252         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
63253         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
63254         * math/libm-test.inc (cos_test): Add more tests and enable more
63255         tests for long double.
63256         (sin_test): Likewise.
63257         (sincos_test): Likewise.
63258         * sysdeps/i386/fpu/libm-test-ulps: Update.
63259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63261 2012-03-16  David S. Miller  <davem@davemloft.net>
63263         * sysdeps/sparc/fpu/math_private.h: New file.
63265 2012-03-15  David S. Miller  <davem@davemloft.net>
63267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
63268         file.
63269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
63270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
63271         file.
63272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
63273         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
63274         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
63275         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
63276         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
63277         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
63278         sysdep routines.
63279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63281         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
63282         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
63284         * sysdeps/sparc/sparc-ifunc.h: New file.
63285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
63286         sparc-ifunc.h
63287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
63288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
63289         Likewise.
63290         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
63291         Likewise.
63292         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
63293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
63294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
63296         Likewise.
63297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
63299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
63301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
63302         Likewise.
63303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
63304         Likewise.
63305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
63307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
63308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
63309         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
63310         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
63311         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
63312         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
63313         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
63314         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
63315         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
63316         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
63317         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
63318         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
63319         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
63320         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
63321         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
63322         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
63323         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
63324         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
63325         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
63326         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
63327         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
63328         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
63330 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
63332         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
63333         scaling.
63334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63336 2012-03-15  Andreas Jaeger  <aj@suse.de>
63338         [BZ #13852]
63339         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
63340         ieee754/flt-32 implementation for sin, cos and sincos.
63341         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
63342         * sysdeps/i386/fpu/s_cosf.S: Likewise.
63343         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
63344         * sysdeps/i386/fpu/s_sinf.S: Likewise.
63345         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
63346         ieee754/flt-32 implementation for tan.
63348         * math/libm-test.inc (cos_test): Enable some large input tests for
63349         float as well
63350         (sin_test): Likewise.
63351         (sincos_test): Likewise.
63352         (tan_test): Add tests for large input.
63354         * sysdeps/i386/fpu/libm-test-ulps: Update.
63356 2012-03-15  Andreas Jaeger  <aj@suse.de>
63358         [BZ #13658]
63359         * math/libm-test.inc (cos_test): Add more test cases.
63360         (sin_test): Likewise.
63361         (sincos_test): Likewise.
63363 2012-03-15  Andreas Jaeger  <aj@suse.de>
63365         [BZ #13837]
63366         * math/libm-test.inc (cos_test): Add a test case for large input
63367         value.
63368         (sin_test): Likewise.
63369         (sincos_test): Likewise.
63371 2012-03-15  Andreas Jaeger  <aj@suse.de>
63372             Joseph Myers  <joseph@codesourcery.com>
63374         [BZ #13658]
63375         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
63376         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
63377         * sysdeps/i386/fpu/branred.c: Likewise.
63378         * sysdeps/i386/fpu/dosincos.c: Likewise.
63379         * sysdeps/i386/fpu/mpa.c: Likewise.
63380         * sysdeps/i386/fpu/s_cos.S: Likewise.
63381         * sysdeps/i386/fpu/s_sin.S: Likewise.
63382         * sysdeps/i386/fpu/s_sincos.S: Likewise.
63383         * sysdeps/i386/fpu/sincos32.c: Likewise.
63385         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
63386         Define.
63387         (libc_feupdateenv_53bit): Define.
63388         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
63389         Define.
63390         (libc_feupdateenv_53bit): Define.
63392         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
63393         53 bit (without extend i386 double precision).
63395         * math/libm-test.inc (sincos_test): Add tests for large input.
63396         (sin): Likewise.
63397         (cos): Likewise.
63399         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
63401 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
63403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63405 2012-03-15  David S. Miller  <davem@davemloft.net>
63407         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
63408         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
63409         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
63410         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
63411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
63412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
63413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
63414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
63415         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
63416         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
63417         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
63418         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
63419         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
63420         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
63421         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
63422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
63423         file.
63424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
63425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
63426         file.
63427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
63428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
63429         file.
63430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
63431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
63432         file.
63433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
63434         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
63435         fmin/fmax sysdep routines.
63436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63438 2012-03-14  David S. Miller  <davem@davemloft.net>
63440         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
63441         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
63442         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
63443         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
63444         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
63445         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
63446         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
63447         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
63448         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
63449         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
63450         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
63451         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
63452         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
63453         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
63454         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
63455         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
63456         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
63457         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
63458         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
63459         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
63460         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
63461         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
63462         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
63463         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
63464         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
63465         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
63466         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
63467         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
63468         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
63469         routines.
63470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
63471         file.
63472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
63473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
63474         file.
63475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
63476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
63477         file.
63478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
63479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
63480         file.
63481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
63482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
63483         file.
63484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
63485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
63486         file.
63487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
63488         file.
63489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
63490         file.
63491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
63492         file.
63493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
63494         New file.
63495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
63496         file.
63497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
63498         file.
63499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
63500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
63501         file.
63502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
63503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
63504         file.
63505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
63506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
63507         file.
63508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
63509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
63510         VIS3 routines.
63512         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
63513         New file.
63515         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63517         * sysdeps/sparc/configure.in: New file.
63518         * sysdeps/sparc/configure: Generate.
63519         * configure.in (libc_cv_sparc_as_vis3): Substitute.
63520         * configure: Regenerate.
63521         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
63522         * config.make.in (have-as-vis3): New.
63523         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
63524         available use -Av9d instead of -Av9a.
63525         * sysdeps/sparc/sparc64/Makefile: Likewise.
63526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
63527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
63528         New file.
63529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
63530         file.
63531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
63532         New file.
63533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
63534         file.
63535         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
63536         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
63537         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
63538         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
63539         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
63541         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
63542         fzeros/fnegs to load 0x80000000 into a float register instead of
63543         using the stack.
63544         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
63546 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
63548         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63549         bits/syscall.h.
63550         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
63551         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
63552         ($(inst_includedir)/bits/syscall.h): Remove rule.
63553         ($(objpfx)bits/syscall.d): Include instead of
63554         $(objpfx)syscall-list.d.
63555         (generated): Change syscall-list.h and syscall-list.d to
63556         bits/syscall.h and bits/syscall.d.
63558 2012-03-14  Roland McGrath  <roland@hack.frob.com>
63560         [BZ #13846]
63561         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
63563 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
63565         [BZ #13841]
63566         * math/s_csqrt.c: Include <float.h>.
63567         (__csqrt): Scale large or subnormal inputs.
63568         * math/s_csqrtf.c: Likewise.
63569         * math/s_csqrtl.c: Likewise.
63570         * math/libm-test.inc (csqrt_test): Add more tests.
63571         * sysdeps/i386/fpu/libm-test-ulps: Update.
63572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63574         [BZ #13840]
63575         * math/libm-test.inc (hypot_test): Add more tests.
63577 2012-03-13  David S. Miller  <davem@davemloft.net>
63579         [BZ #13840]
63580         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
63581         double-precision for the calculation instead of scaling.
63583 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
63585         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
63586         manipulate bits before adding and subtracting TWO52[sx].
63587         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
63588         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
63589         Likewise.
63590         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
63592 2012-03-13  David S. Miller  <davem@davemloft.net>
63594         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
63595         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
63596         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
63597         rtld-global-offsets.h
63598         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63600         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
63601         large parameters.
63603         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
63605         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
63606         'err' in the ifdef scope in which it is actually used.
63608         * nss/nss_db/db-init.c: Include string.h
63610 2012-03-12  David S. Miller  <davem@davemloft.net>
63612         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63613         masking out of the most significant byte of random value used.
63614         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63615         Fix coding style in previous change.
63617         * sysdeps/unix/sysv/linux/kernel-features.h
63618         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
63619         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
63620         expression.
63621         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
63622         later.
63624 2012-03-11  David S. Miller  <davem@davemloft.net>
63626         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63627         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
63628         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
63629         for 'resultvar' otherwise things get truncated on 64-bit.
63631         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63632         Fix masking out of the most significant byte of random value used.
63634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63636 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
63638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63640 2012-03-09  David S. Miller  <davem@davemloft.net>
63642         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
63643         variables with appropriate CPP guards.
63644         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
63645         from the frame pointer, not the stack pointer.  Correct layout
63646         comments.  Fix test on resulting framesize and the management of
63647         the outregs buffer for pltexit.  Preserve floating point return
63648         values across _dl_call_pltexit call.
63649         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
63650         framesize and the management of the outregs buffer for pltexit.
63651         Preserve floating point return values across _dl_call_pltexit
63652         call.
63653         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
63654         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
63655         (la_sparc64_gnu_pltexit): New functions.
63656         (print_exit): Fix format string for return register value.
63658 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
63660         * sunrpc/Makefile (others): Add rpcgen.
63661         ($(objpfx)rpcgen): Remove special build rule and dependency on
63662         libc.
63663         * sunrpc/rpcgen.c: New file.
63665 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
63667         [BZ #13673]
63668         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
63669         * stdio-common/bug-vfprintf-nargs.c: Likewise.
63670         * sysdeps/i386/crti.S: Likewise.
63671         * sysdeps/i386/crtn.S: Likewise.
63672         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
63673         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
63674         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
63675         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
63676         * sysdeps/sh/crti.S: Likewise.
63677         * sysdeps/sh/crtn.S: Likewise.
63678         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63680         [BZ #13673]
63681         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
63682         with URL.
63683         * locale/programs/locfile-kw.gperf: Likewise.
63684         * locale/programs/charmap-kw.h: Regenerated.
63685         * locale/programs/locfile-kw.h: Likewise.
63687         [BZ #13673]
63688         * intl/plural.y: Replace FSF snail mail address with URL.
63689         * intl/plural.c: Regenerated.
63691 2012-03-09  Richard Henderson  <rth@twiddle.net>
63693         * include/math_private.h: Remove file.
63694         * math/math_private.h: Move file ...
63695         * sysdeps/generic/math_private.h: ... here.
63697         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
63698         * sysdeps/powerpc/fpu/math_private.h: Likewise.
63699         * sysdeps/x86_64/fpu/math_private.h: Likewise.
63701         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
63702         and <math_private.h>.
63703         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63704         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63705         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63706         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63707         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63708         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
63709         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63710         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63711         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
63712         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63713         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63714         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63715         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
63716         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63717         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
63718         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
63719         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63720         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63721         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
63722         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
63723         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63724         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
63725         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
63726         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63727         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
63728         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63729         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
63730         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63731         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63732         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63733         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
63734         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63735         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
63736         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
63737         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63738         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63739         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63740         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63741         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63742         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63743         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
63744         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63745         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63746         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
63747         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
63748         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63749         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
63750         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
63751         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63752         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63753         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
63754         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
63755         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
63756         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63757         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
63758         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63759         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63760         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
63761         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
63762         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
63763         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63764         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
63765         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63766         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63767         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
63768         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63769         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63770         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63771         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
63772         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
63773         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63774         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63775         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63776         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63777         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
63778         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
63779         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
63780         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63781         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
63782         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
63783         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63784         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
63785         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63786         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63787         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63788         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
63789         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
63790         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
63791         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
63792         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63793         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63794         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
63795         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63796         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
63797         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
63798         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
63799         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63800         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
63801         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63802         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
63803         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
63804         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
63805         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
63806         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
63807         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63808         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
63809         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
63810         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
63811         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63812         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63813         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63814         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63815         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
63816         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63817         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
63818         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63819         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63820         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63821         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63822         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
63823         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63824         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63825         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63826         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
63827         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63828         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63829         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
63830         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
63831         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63832         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
63833         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
63834         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
63835         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63836         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
63837         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
63838         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63839         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63840         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63841         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
63842         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63843         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63844         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63845         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63846         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
63847         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
63848         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63849         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63850         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63851         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
63852         * sysdeps/ieee754/k_standard.c: Likewise.
63853         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
63854         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
63855         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63856         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
63857         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
63858         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
63859         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
63860         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
63861         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
63862         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
63863         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
63864         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
63865         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
63866         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
63867         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
63868         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
63869         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
63870         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
63871         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
63872         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
63873         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
63874         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
63875         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63876         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63877         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
63878         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
63879         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63880         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63881         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63882         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63883         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
63884         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63885         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63886         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63887         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
63888         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63889         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63890         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
63891         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
63892         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63893         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
63894         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
63895         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
63896         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63897         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
63898         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
63899         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63900         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63901         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63902         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63903         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63904         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
63905         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63906         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
63907         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63908         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63909         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
63910         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
63911         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63912         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63913         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63914         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
63915         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63916         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
63917         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63918         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63919         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
63920         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
63921         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
63922         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
63923         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
63924         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63925         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
63926         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
63927         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
63928         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
63929         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
63930         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
63931         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63932         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
63933         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
63934         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
63935         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63936         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63937         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
63938         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63939         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63940         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
63941         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63942         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63943         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
63944         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63945         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
63946         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
63947         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63948         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63949         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
63950         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
63951         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
63952         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
63953         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63954         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63955         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63956         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63957         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
63958         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63959         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63960         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
63961         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
63962         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63963         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63964         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63965         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
63966         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63967         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
63968         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63969         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
63970         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63971         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63972         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
63973         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
63974         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
63975         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
63976         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
63977         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63978         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
63979         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63980         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63981         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63982         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63983         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63984         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63985         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63986         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
63987         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63988         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63989         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
63990         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
63991         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63992         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
63993         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
63994         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63995         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
63996         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
63997         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63998         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63999         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
64000         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
64001         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
64002         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
64003         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
64004         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
64005         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
64006         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
64007         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
64008         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
64009         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
64010         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
64011         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
64012         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
64013         * sysdeps/ieee754/s_lib_version.c: Likewise.
64014         * sysdeps/ieee754/s_matherr.c: Likewise.
64015         * sysdeps/ieee754/s_signgam.c: Likewise.
64016         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64017         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64018         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
64019         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
64020         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
64021         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
64022         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
64023         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
64024         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
64025         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
64026         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
64027         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
64028         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
64029         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
64030         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
64031         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
64032         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
64033         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
64034         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
64035         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
64036         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
64038 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
64040         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
64041         * sunrpc/rpc_main.c: Likewise.
64042         * sunrpc/rpc_svcout.c: Likewise.
64044 2012-03-09  David S. Miller  <davem@davemloft.net>
64046         * include/math_private.h: New file.
64048 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
64050         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
64051         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
64052         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
64053         from <bits/socket_type.h>.
64054         (enum __socket_type): Don't define here.
64055         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
64056         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
64057         bits/socket_type.h.
64059         [BZ #13566]
64060         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
64061         checking __USE_GNU.
64063         * Makerules ($(inst_includedir)/%.h): New rule.
64064         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
64065         (install-others): Remove variable setting.
64066         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
64068 2012-03-08  Richard Henderson  <rth@twiddle.net>
64070         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
64071         from macro to inline function; merge with the
64072         !__LIBC_INTERNAL_MATH_INLINES version.
64073         (__ieee754_sqrtf): Likewise.
64075         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
64076         to inline function.
64077         (__rintf, __floor, __floorf): Likewise.
64079         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
64080         macro to inline function.
64081         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
64083         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
64084         not <math/math_private.h>.
64086 2012-03-08  David S. Miller  <davem@davemloft.net>
64088         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
64089         copyright year.
64090         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
64092 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
64094         * resolv/gai_misc.c (handle_requests): Fix struct timespec
64095         normalization.
64096         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
64097         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
64099 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
64101         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
64102         be defined individually, they must be defined as a block.  Define
64103         S for printing a string instead of hidint the different by using a
64104         macro for adding the 'l'.
64105         * stdio-common/tst-fphex-wide.c: Adjust.
64107 2012-03-07  Marek Polacek  <polacek@redhat.com>
64109         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
64111 2012-03-08  Marek Polacek  <polacek@redhat.com>
64113         [BZ #13806]
64114         * stdio-common/Makefile (tests): Add tst-fphex-wide.
64115         * stdio-common/tst-fphex.c: Define a few macros to make the
64116         test reusable.  Use them.
64117         * stdio-common/tst-fphex-wide.c: New file.
64119 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
64121         [BZ #6911]
64122         * manual/macros.texi (gnusystems): New macro.
64123         (nongnusystems): Likewise.
64124         (gnulinuxhurdsystems): Likewise.
64125         (gnuhurdsystems): Likewise..
64126         (gnulinuxsystems): Likewise.
64127         * manual/charset.texi: Use new macros or @theglibc{} to refer to
64128         variants of the GNU system, not "GNU system".
64129         * manual/conf.texi: Likewise.
64130         * manual/errno.texi: Likewise.  Update example of errno macro
64131         expansion.
64132         * manual/filesys.texi: Likewise.
64133         (getumask): Document as specific to GNU/Hurd.
64134         * manual/install.texi: Likewise.  Reword some references to
64135         GNU/Linux.
64136         * manual/intro.texi: Likewise.
64137         * manual/io.texi: Likewise.
64138         (File Name Portability): Detail which constraints are inapplicable
64139         to all GNU systems and which are only inapplicable to GNU/Hurd.
64140         * manual/job.texi: Likewise.
64141         * manual/llio.texi: Likewise.
64142         (O_NOCTTY): Document as present on GNU/Linux.
64143         * manual/maint.texi: Likewise.
64144         * manual/memory.texi: Likewise.
64145         * manual/pattern.texi: Likewise.
64146         * manual/pipe.texi: Likewise.
64147         * manual/process.texi: Likewise.
64148         * manual/resource.texi: Likewise.
64149         (RUSAGE_CHILDREN): Remove statement about specifying a particular
64150         child on GNU/Hurd.
64151         * manual/setjmp.texi: Likewise.
64152         * manual/signal.texi: Likewise.
64153         * manual/startup.texi: Likewise.
64154         * manual/stdio.texi: Likewise.
64155         * manual/terminal.texi: Likewise.
64156         (ONLCR): Document as POSIX.
64157         (OXTABS): Document availability on GNU/Linux as XTABS.
64158         (ONOEOT): Document availability separately from other bits.
64159         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
64160         * manual/time.texi: Likewise.
64161         * manual/users.texi: Likewise.
64162         * INSTALL: Regenerated.
64163         * sysdeps/gnu/errlist.c: Regenerated.
64165         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
64166         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
64167         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
64168         puts.
64169         * configure: Regenerated.
64171 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
64173         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
64174         default includes instead of AC_HEADER_CHECK.
64175         * sysdeps/i386/configure: Regenerated.
64177         [BZ #10716]
64178         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
64179         * math/s_cacoshf.c (__cacoshf): Likewise.
64180         * math/s_cacoshl.c (__cacoshl): Likewise.
64181         * math/s_casinh.c (__casinh): Set signs of result from argument.
64182         * math/s_casinhf.c (__casinhf): Likewise.
64183         * math/s_casinhl.c (__casinhl): Likewise.
64184         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
64185         (casinh_test): Add more tests.
64186         * sysdeps/i386/fpu/libm-test-ulps: Update.
64187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64189 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
64191         * po/zh_TW.po: Update from translation team.
64193         * login/Makefile (distribute): Remove variable.
64194         * catgets/Makefile: Likewise.
64195         * mach/Makefile: Likewise.
64196         * malloc/Makefile: Likewise.
64197         * misc/Makefile: Likewise.
64198         * iconv/Makefile: Likewise.
64199         * nscd/Makefile: Likewise.
64200         * hurd/Makefile: Likewise.
64201         * manual/Makefile: Likewise.
64202         * locale/Makefile: Likewise.
64203         * intl/Makefile: Likewise.
64204         * conform/Makefile: Likewise.
64205         * nss/Makefile: Likewise.
64206         * time/Makefile: Likewise.
64207         * soft-fp/Makefile: Likewise.
64208         * dirent/Makefile: Likewise.
64209         * gmon/Makefile: Likewise.
64210         * po/Makefile: Likewise.
64211         * rt/Makefile: Likewise.
64212         * socket/Makefile: Likewise.
64213         * math/Makefile: Likewise.
64214         * signal/Makefile: Likewise.
64215         * debug/Makefile: Likewise.
64216         * elf/Makefile: Likewise.
64217         * timezone/Makefile: Likewise.
64218         * stdlib/Makefile: Likewise.
64219         * iconvdata/Makefile: Likewise.
64220         * sunrpc/Makefile: Likewise.
64221         * io/Makefile: Likewise.
64222         * argp/Makefile: Likewise.
64223         * inet/Makefile: Likewise.
64224         * hesiod/Makefile: Likewise.
64225         * grp/Makefile: Likewise.
64226         * csu/Makefile: Likewise.
64227         * wctype/Makefile: Likewise.
64228         * crypt/Makefile: Likewise.
64229         * libio/Makefile: Likewise.
64230         * string/Makefile: Likewise.
64231         * nis/Makefile: Likewise.
64232         * resolv/Makefile: Likewise.
64233         * stdio-common/Makefile: Likewise.
64234         * wcsmbs/Makefile: Likewise.
64235         * dlfcn/Makefile: Likewise.
64236         * posix/Makefile: Likewise.
64238         [BZ #6959]
64239         * timezone/Makefile: Don't install timezone files, just the programs
64240         and scripts.
64242 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
64244         * nss/databases.def: Add missing gshadow entry.
64246         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
64248 2012-03-06  Marek Polacek  <polacek@redhat.com>
64250         [BZ #13726]
64251         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
64252         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
64253         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
64254         * stdio-common/tst-long-dbl-fphex.c: New file.
64256 2012-03-06  David S. Miller  <davem@davemloft.net>
64258         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64259         (set_obp_int): New function.
64260         (get_obp_int): New function.
64261         (__get_clockfreq_via_dev_openprom): Likewise.
64262         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
64263         Avoid unused variable warnings on 'val' and use builtin_expect.
64264         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
64265         __builtin_expect.
64266         (INLINE_CLONE_SYSCALL): Likewise.
64268 2012-03-05  David S. Miller  <davem@davemloft.net>
64270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64272 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
64274         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64276         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
64277         only for |x| >= 40.
64278         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64280 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
64282         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
64283         Replace gettimeofday with __vdso_gettimeofday.
64285         * sysdeps/unix/sysv/linux/x86_64/init-first.c
64286         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
64287         __vdso_clock_gettime and __vdso_getcpu.
64289         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
64290         time with __vdso_time.
64292 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
64294         * manual/lang.texi (size_t): Note types to which size_t may be
64295         equivalent with the GNU C Library, but do not describe when
64296         differences between them are significant.
64298 2012-03-05  Andreas Jaeger  <aj@suse.de>
64300         * sysdeps/i386/fpu/libm-test-ulps: Update.
64302 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
64304         [BZ #3976]
64305         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
64306         (__ieee754_pow): Save and restore rounding mode and use
64307         round-to-nearest for main computations.
64308         * math/libm-test.inc (pow_test_tonearest): New function.
64309         (pow_test_towardzero): Likewise.
64310         (pow_test_downward): Likewise.
64311         (pow_test_upward): Likewise.
64312         (main): Call the new functions.
64313         * sysdeps/i386/fpu/libm-test-ulps: Update.
64314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64316         [BZ #3976]
64317         * math/libm-test.inc (cosh_test_tonearest): New function.
64318         (cosh_test_towardzero): Likewise.
64319         (cosh_test_downward): Likewise.
64320         (cosh_test_upward): Likewise.
64321         (sinh_test_tonearest): Likewise.
64322         (sinh_test_towardzero): Likewise.
64323         (sinh_test_downward): Likewise.
64324         (sinh_test_upward): Likewise.
64325         (main): Call the new functions.
64326         * sysdeps/i386/fpu/libm-test-ulps: Update.
64327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64329 2012-03-05  Tom de Vries  <tom@codesourcery.com>
64331         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
64332         default stack guard is set in last bytes.
64333         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
64335 2012-03-05  Kees Cook  <keescook@chromium.org>
64337         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
64339         [BZ #13656]
64340         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
64341         possibly allocate from heap instead of stack.
64342         * stdio-common/bug-vfprintf-nargs.c: New file.
64343         * stdio-common/Makefile (tests): Add nargs overflow test.
64345 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
64347         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64349 2012-03-03  Marek Polacek  <polacek@redhat.com>
64351         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
64352         * math/math_private.h: Likewise.
64353         * stdlib/tst-strtod.c: Likewise.
64354         * sysdeps/i386/i486/bits/atomic.h: Likewise.
64355         * sysdeps/x86_64/bits/atomic.h: Likewise.
64357 2012-03-02  David S. Miller  <davem@davemloft.net>
64359         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
64360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
64361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
64362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
64363         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
64364         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
64365         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
64366         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
64368 2012-03-02  Roland McGrath  <roland@hack.frob.com>
64370         [BZ #13792]
64371         * manual/examples/README: New file, says the example source files
64372         can be used under GPL>=2.
64373         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
64374         line containing just "*/".
64375         * manual/examples/add.c: Add copyright header (GPL>=2).
64376         * manual/examples/argp-ex1.c: Likewise.
64377         * manual/examples/argp-ex2.c: Likewise.
64378         * manual/examples/argp-ex3.c: Likewise.
64379         * manual/examples/argp-ex4.c: Likewise.
64380         * manual/examples/atexit.c: Likewise.
64381         * manual/examples/db.c: Likewise.
64382         * manual/examples/dir.c: Likewise.
64383         * manual/examples/dir2.c: Likewise.
64384         * manual/examples/execinfo.c: Likewise.
64385         * manual/examples/filecli.c: Likewise.
64386         * manual/examples/filesrv.c: Likewise.
64387         * manual/examples/fmtmsgexpl.c: Likewise.
64388         * manual/examples/genpass.c: Likewise.
64389         * manual/examples/inetcli.c: Likewise.
64390         * manual/examples/inetsrv.c: Likewise.
64391         * manual/examples/isockad.c: Likewise.
64392         * manual/examples/longopt.c: Likewise.
64393         * manual/examples/memopen.c: Likewise.
64394         * manual/examples/memstrm.c: Likewise.
64395         * manual/examples/mkfsock.c: Likewise.
64396         * manual/examples/mkisock.c: Likewise.
64397         * manual/examples/mygetpass.c: Likewise.
64398         * manual/examples/pipe.c: Likewise.
64399         * manual/examples/popen.c: Likewise.
64400         * manual/examples/rprintf.c: Likewise.
64401         * manual/examples/search.c: Likewise.
64402         * manual/examples/select.c: Likewise.
64403         * manual/examples/setjmp.c: Likewise.
64404         * manual/examples/sigh1.c: Likewise.
64405         * manual/examples/sigusr.c: Likewise.
64406         * manual/examples/stpcpy.c: Likewise.
64407         * manual/examples/strdupa.c: Likewise.
64408         * manual/examples/strftim.c: Likewise.
64409         * manual/examples/strncat.c: Likewise.
64410         * manual/examples/subopt.c: Likewise.
64411         * manual/examples/swapcontext.c: Likewise.
64412         * manual/examples/termios.c: Likewise.
64413         * manual/examples/testopt.c: Likewise.
64414         * manual/examples/testpass.c: Likewise.
64415         * manual/examples/timeval_subtract.c: Likewise.
64417         [BZ #13792]
64418         * manual/time.texi (Elapsed Time): Move timeval_subtract example
64419         function to ...
64420         * manual/timeval_subtract.c.texi: ... here, new file.
64422 2012-03-02  David S. Miller  <davem@davemloft.net>
64424         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
64426 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
64428         [BZ #3976]
64429         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
64430         (__sin): Save and restore rounding mode and use round-to-nearest
64431         for all computations.
64432         (__cos): Save and restore rounding mode and use round-to-nearest
64433         for all computations.
64434         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
64435         <fenv.h>.
64436         (tan): Save and restore rounding mode and use round-to-nearest for
64437         all computations.
64438         * math/libm-test.inc (cos_test_tonearest): New function.
64439         (cos_test_towardzero): Likewise.
64440         (cos_test_downward): Likewise.
64441         (cos_test_upward): Likewise.
64442         (sin_test_tonearest): Likewise.
64443         (sin_test_towardzero): Likewise.
64444         (sin_test_downward): Likewise.
64445         (sin_test_upward): Likewise.
64446         (tan_test_tonearest): Likewise.
64447         (tan_test_towardzero): Likewise.
64448         (tan_test_downward): Likewise.
64449         (tan_test_upward): Likewise.
64450         (main): Call the new functions.
64451         * sysdeps/i386/fpu/libm-test-ulps: Update.
64452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64454         [BZ #10135]
64455         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
64456         small n, then large n, before computing and testing k+n.
64457         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
64458         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
64459         Likewise.
64460         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
64461         Likewise.
64462         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
64463         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
64464         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
64465         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
64466         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
64467         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
64468         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
64469         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
64470         * math/libm-test.inc (scalbn_test): Add more tests.
64471         (scalbln_test): Likewise.
64473         * manual/filesys.texi (mode_t): Describe constraints on size and
64474         signedness, not exact equivalence to a particular type.
64475         (ino_t): Likewise.
64476         (ino64_t): Likewise.
64477         (dev_t): Likewise.
64478         (nlink_t): Likewise.
64479         (blkcnt_t): Likewise.
64480         (blkcnt64_t): Likewise.
64481         * manual/llio.texi (off_t): Likewise.
64483         [BZ #3976]
64484         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
64485         (__ieee754_exp): Save and restore rounding mode and use
64486         round-to-nearest for all computations.
64487         * math/libm-test.inc (exp_test_tonearest): New function.
64488         (exp_test_towardzero): Likewise.
64489         (exp_test_downward): Likewise.
64490         (exp_test_upward): Likewise.
64491         (main): Call the new functions.
64492         * sysdeps/i386/fpu/libm-test-ulps: Update.
64493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64495 2012-03-01  Chris Demetriou  <cgd@google.com>
64497         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
64498         have predictable order.
64500 2012-03-01  David S. Miller  <davem@davemloft.net>
64502         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
64504         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
64505         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
64506         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
64507         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
64509         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
64510         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
64511         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
64512         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
64513         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
64514         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
64515         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
64516         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
64517         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
64519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64521         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
64522         * sysdeps/sparc/fpu/libm-test-ulps: to here.
64523         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
64525         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
64526         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
64527         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64528         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
64529         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
64530         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
64531         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
64532         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
64533         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64534         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
64535         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
64536         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64537         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
64538         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64539         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64540         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64541         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
64542         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
64543         * sysdeps/sparc/elf/configure: Regenerated.
64545 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
64547         * configure.in (AS, LD): Require binutils 2.20 or later.
64548         * configure: Regenerated.
64549         * manual/install.texi (Tools for Compilation): Give binutils 2.20
64550         as required minimum version.
64551         * INSTALL: Regenerated.
64553         [BZ #2541]
64554         [BZ #4108]
64555         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
64556         before squaring exponent.
64557         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
64558         bottom long double and 27 bits of top long double before squaring
64559         exponent.
64560         * math/libm-test.inc (erfc_test): Add more tests.
64561         * sysdeps/i386/fpu/libm-test-ulps: Update.
64562         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64565 2012-03-01  Kai Tietz  <ktietz@redhat.com>
64567         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
64568         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
64569         containing bit-fields.
64570         * soft-fp/extended.h (_FP_UNION_E): Likewise.
64571         * soft-fp/single.h (_FP_UNION_S): Likewise.
64572         * soft-fp/double.h (_FP_UNION_D): Likewise.
64574 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
64576         [BZ #13786]
64577         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
64578         not include ../strcmp.S.
64579         [USE_AS_STRNCASECMP_L]: Likewise.
64580         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
64581         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
64582         * sysdeps/i386/i686/multiarch/strncase_l-c.c
64583         (__strncasecmp_l_ia32): Define as alias to
64584         __strncasecmp_l_nonascii.
64586         [BZ #5794]
64587         * math/libm-test.inc (expm1_test): Add test for bug 5794.
64588         * sysdeps/i386/fpu/libm-test-ulps: Update.
64589         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64591         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
64592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64594 2012-02-29  Jeff Law  <law@redhat.com>
64596         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
64597         out of bounds read.
64599 2012-02-29  Marek Polacek  <polacek@redhat.com>
64601         [BZ #13706]
64602         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
64603         * elf/Makefile: Add rules to run tst-unused-dep.out.
64605 2012-02-28  David S. Miller  <davem@davemloft.net>
64607         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
64608         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
64609         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
64610         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
64611         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
64612         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
64614 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
64616         * math/libm-test.inc (llround_test): Move one test from
64617         lround_test.  Use TEST_f_L in moved test.
64618         (lround_test): Move misplaced test to llround_test.  Add testcase
64619         from bug 2561.
64621 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
64623         * sysdeps/x86_64/fpu/e_expf.S: New file.
64624         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
64626 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
64628         [BZ #13637]
64629         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
64630         of remain_len that may cause incomplete multi-byte character and
64631         false match.
64632         * posix/bug-regex33.c: New file.
64633         * posix/Makefile (tests): Add bug-regex33.
64635 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
64637         * manual/macros.texi: New file.
64638         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
64639         * manual/libc.texinfo: Include macros.texi.
64640         * manual/creatute.texi: Likewise.
64641         * manual/install.texi: Likewise.
64642         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
64643         @glibcadj{} in references to the GNU C Library.
64644         * manual/charset.texi: Likewise.
64645         * manual/conf.texi: Likewise.
64646         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
64647         when not using those macros.
64648         * manual/creature.texi: Likewise.
64649         * manual/crypt.texi: Likewise.
64650         * manual/errno.texi: Likewise.
64651         * manual/filesys.texi: Likewise.
64652         * manual/header.texi: Likewise.
64653         * manual/install.texi: Likewise.
64654         * manual/intro.texi: Likewise.
64655         * manual/io.texi: Likewise.
64656         * manual/job.texi: Likewise.
64657         * manual/lang.texi: Likewise.
64658         * manual/libc.texiinfo: Likewise.
64659         * manual/llio.texi: Likewise.
64660         * manual/locale.texi: Likewise.
64661         * manual/maint.texi: Likewise.
64662         * manual/math.texi: Likewise.
64663         * manual/memory.texi: Likewise.
64664         * manual/message.texi: Likewise.
64665         * manual/nss.texi: Likewise.
64666         * manual/pattern.texi: Likewise.
64667         * manual/process.texi: Likewise.
64668         * manual/resource.texi: Likewise.
64669         * manual/search.texi: Likewise.
64670         * manual/setjmp.texi: Likewise.
64671         * manual/signal.texi: Likewise.
64672         * manual/socket.texi: Likewise.
64673         * manual/startup.texi: Likewise.
64674         * manual/stdio.texi: Likewise.
64675         * manual/string.texi: Likewise.
64676         * manual/sysinfo.texi: Likewise.
64677         * manual/syslog.texi: Likewise.
64678         * manual/terminal.texi: Likewise.
64679         * manual/time.texi: Likewise.
64680         * manual/users.texi: Likewise.
64681         * INSTALL: Regenerated.
64682         * NOTES: Regenerated.
64683         * sysdeps/gnu/errlist.c: Regenerated.
64685 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
64687         * include/dirent.h: Include <dirstream.h> before
64688         <dirent/dirent.h>.
64690 2012-02-28  David S. Miller  <davem@davemloft.net>
64692         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
64693         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
64694         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
64695         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
64697 2012-02-27  David S. Miller  <davem@davemloft.net>
64699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
64700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
64701         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
64702         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
64704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
64705         frame pointer instead of stack pointer relative arg slot.
64706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64707         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64708         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64710 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
64712         [BZ #3992]
64713         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
64715 2012-02-27  David S. Miller  <davem@davemloft.net>
64717         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
64718         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64719         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
64721         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64722         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64723         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
64724         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
64726 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64728         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
64729         later.  Allow versions 5-9.
64730         * configure: Regenerated.
64731         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
64732         required minimum version and 4.6 as recommended version.  Do not
64733         mention bugs in GCC 2.7 and 2.8.
64734         * INSTALL: Regenerated.
64736 2012-02-27  David S. Miller  <davem@davemloft.net>
64738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
64739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
64740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
64741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
64742         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
64743         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
64744         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
64745         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
64747         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
64748         manipulate bits before adding and subtracting TWO112[sx].
64749         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
64751 2012-02-27  Roland McGrath  <roland@hack.frob.com>
64753         [BZ #13775]
64754         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
64755         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
64756         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
64757         being in POSIX, because they are in 1003.1-2008.
64759         * rt/tst-aio.c: Include <fcntl.h>.
64760         * rt/tst-aio7.c: Likewise.
64761         * rt/tst-aio64.c: Likewise.
64763         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
64765 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64767         * manual/install.texi (--with-headers): Describe headers as
64768         interface headers, not private headers.
64769         (Specific advice for GNU/Linux systems): Describe use of headers
64770         from "make headers_install", not private headers from older
64771         kernels.
64772         * INSTALL: Regenerated.
64773         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
64774         Change to 2.6.19.
64775         * sysdeps/unix/sysv/linux/configure: Regenerated.
64777         * manual/llio.texi (fclean): Remove documentation.
64779         * manual/Makefile (libc-texi-generated): New variable.  Include
64780         version.texi.
64781         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
64782         $(libc-texi-generated), not duplicated list of files.
64783         (version.texi, stamp-version): New rules.
64784         (realclean): Remove $(libc-texi-generated), not individual files
64785         from that list.  Do not remove dir-add.texinfo.
64786         * manual/libc.texinfo: Comment out uses of edition numbers and
64787         references to printed manual.  Remove last-updated dates.
64788         (EDITION): Comment out.
64789         (ISBN): Likewise.
64790         (VERSION, UPDATED): Remove.
64791         (version.texi): Include.
64793 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
64795         * sysdeps/posix/spawni.c: Include <signal.h>.
64796         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
64797         * sysdeps/pthread/aio_fsync.c: Likewise.
64799 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
64801         * conform/Makefile (tests): Run only when not cross-compiling and
64802         when fast-check is not defined.
64804         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
64805         * conform/data/limits.h-data: Fixes for POSIX2008.
64806         * conform/run-conformtest.sh: Run all tests.
64807         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
64808         headers.
64809         * include/bits/dlfcn.h: Likewise.
64810         * include/langinfo.h: Likewise.
64811         * include/monetary.h: Likewise.
64812         * include/sys/poll.h: Likewise.
64814         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
64815         for __USE_GNU.
64816         * posix/spawn.h: Define __need_sigset_t.
64817         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
64818         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
64819         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
64820         to get sigevent_t only.
64821         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
64822         only for __USE_GNU.
64823         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64824         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64825         process_vm_writev only for __USE_GNU.
64826         * termios/termios.h: Declare tcgetsid also for POSIX2008.
64828         * conform/Makefile: For now ignore errors from run-conformtest.
64829         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
64830         POSIX to avoid namespace pollution.  Don't prepend headers.
64831         * conform/data/aio.h-data: Fixes for POSIX testing.
64832         * conform/data/fcntl.h-data: Likewise.
64833         * conform/data/glob.h-data: Likewise.
64834         * conform/data/grp.h-data: Likewise.
64835         * conform/data/pthread.h-data: Likewise.
64836         * conform/data/pwd.h-data: Likewise.
64837         * conform/data/signal.h-data: Likewise.
64838         * conform/data/spawn.h-data: Likewise.
64839         * conform/data/stdio.h-data: Likewise.
64840         * conform/data/stdlib.h-data: Likewise.
64841         * conform/data/stropts.h-data: Likewise.
64842         * conform/data/sys/mman.h-data: Likewise.
64843         * conform/data/sys/stat.h-data: Likewise.
64844         * conform/data/sys/types.h-data: Likewise.
64845         * conform/data/sys/wait.h-data: Likewise.
64846         * conform/data/time.h-data: Likewise.
64847         * conform/data/unistd.h-data: Likewise.
64848         * conform/data/utime.h-data: Likewise.
64850         * io/sys/stat.h: fchmod was always in POSIX.
64851         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
64852         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
64853         * rt/aio.h: Define __need_timespec before including <time.h>.
64854         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
64855         struct.  Add forward declaration of pthread_attr_t and use it in
64856         sigevent.
64857         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
64858         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64859         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
64860         always remove CLK_TCK definition.
64862 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
64864         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
64866 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
64868         * conform/run-conformtest.sh: New file.
64869         * conform/Makefile: Run run-conformtest for tests.
64870         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
64871         support.
64873         * conform/data/uchar.h-data: New file.
64874         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
64875         * conform/data/arpa/inet.h-data: Likewise.
64876         * conform/data/assert.h-data: Likewise.
64877         * conform/data/complex.h-data: Likewise.
64878         * conform/data/cpio.h-data: Likewise.
64879         * conform/data/ctype.h-data: Likewise.
64880         * conform/data/dirent.h-data: Likewise.
64881         * conform/data/dlfcn.h-data: Likewise.
64882         * conform/data/errno.h-data: Likewise.
64883         * conform/data/fcntl.h-data: Likewise.
64884         * conform/data/float.h-data: Likewise.
64885         * conform/data/fmtmsg.h-data: Likewise.
64886         * conform/data/fnmatch.h-data: Likewise.
64887         * conform/data/ftw.h-data: Likewise.
64888         * conform/data/glob.h-data: Likewise.
64889         * conform/data/grp.h-data: Likewise.
64890         * conform/data/iconv.h-data: Likewise.
64891         * conform/data/inttypes.h-data: Likewise.
64892         * conform/data/langinfo.h-data: Likewise.
64893         * conform/data/libgen.h-data: Likewise.
64894         * conform/data/limits.h-data: Likewise.
64895         * conform/data/locale.h-data: Likewise.
64896         * conform/data/math.h-data: Likewise.
64897         * conform/data/monetary.h-data: Likewise.
64898         * conform/data/mqueue.h-data: Likewise.
64899         * conform/data/ndbm.h-data: Likewise.
64900         * conform/data/net/if.h-data: Likewise.
64901         * conform/data/netdb.h-data: Likewise.
64902         * conform/data/netinet/in.h-data: Likewise.
64903         * conform/data/nl_types.h-data: Likewise.
64904         * conform/data/poll.h-data: Likewise.
64905         * conform/data/pthread.h-data: Likewise.
64906         * conform/data/pwd.h-data: Likewise.
64907         * conform/data/regex.h-data: Likewise.
64908         * conform/data/sched.h-data: Likewise.
64909         * conform/data/search.h-data: Likewise.
64910         * conform/data/semaphore.h-data: Likewise.
64911         * conform/data/setjmp.h-data: Likewise.
64912         * conform/data/signal.h-data: Likewise.
64913         * conform/data/spawn.h-data: Likewise.
64914         * conform/data/stdarg.h-data: Likewise.
64915         * conform/data/stdio.h-data: Likewise.
64916         * conform/data/stdlib.h-data: Likewise.
64917         * conform/data/string.h-data: Likewise.
64918         * conform/data/strings.h-data: Likewise.
64919         * conform/data/stropts.h-data: Likewise.
64920         * conform/data/sys/ipc.h-data: Likewise.
64921         * conform/data/sys/mman.h-data: Likewise.
64922         * conform/data/sys/msg.h-data: Likewise.
64923         * conform/data/sys/resource.h-data: Likewise.
64924         * conform/data/sys/select.h-data: Likewise.
64925         * conform/data/sys/sem.h-data: Likewise.
64926         * conform/data/sys/shm.h-data: Likewise.
64927         * conform/data/sys/socket.h-data: Likewise.
64928         * conform/data/sys/stat.h-data: Likewise.
64929         * conform/data/sys/statvfs.h-data: Likewise.
64930         * conform/data/sys/time.h-data: Likewise.
64931         * conform/data/sys/timeb.h-data: Likewise.
64932         * conform/data/sys/times.h-data: Likewise.
64933         * conform/data/sys/types.h-data: Likewise.
64934         * conform/data/sys/uio.h-data: Likewise.
64935         * conform/data/sys/un.h-data: Likewise.
64936         * conform/data/sys/utsname.h-data: Likewise.
64937         * conform/data/sys/wait.h-data: Likewise.
64938         * conform/data/syslog.h-data: Likewise.
64939         * conform/data/tar.h-data: Likewise.
64940         * conform/data/termios.h-data: Likewise.
64941         * conform/data/utime.h-data: Likewise.
64942         * conform/data/utmpx.h-data: Likewise.
64943         * conform/data/varargs.h-data: Likewise.
64944         * conform/data/wchar.h-data: Likewise.
64945         * conform/data/wctype.h-data: Likewise.
64946         * conform/data/wordexp.h-data: Likewise.
64948         * include/stropts.h: New file.
64949         * include/uchar.h: New file.
64950         * include/aio.h: Changes to allow conformtest.pl to use the headers.
64951         * include/assert.h: Likewise.
64952         * include/ctype.h: Likewise.
64953         * include/dirent.h: Likewise.
64954         * include/dlfcn.h: Likewise.
64955         * include/fcntl.h: Likewise.
64956         * include/fnmatch.h: Likewise.
64957         * include/glob.h: Likewise.
64958         * include/grp.h: Likewise.
64959         * include/libio.h: Likewise.
64960         * include/locale.h: Likewise.
64961         * include/math.h: Likewise.
64962         * include/net/if.h: Likewise.
64963         * include/netdb.h: Likewise.
64964         * include/netinet/in.h: Likewise.
64965         * include/pthread.h: Likewise.
64966         * include/pwd.h: Likewise.
64967         * include/regex.h: Likewise.
64968         * include/sched.h: Likewise.
64969         * include/search.h: Likewise.
64970         * include/setjmp.h: Likewise.
64971         * include/signal.h: Likewise.
64972         * include/stdio.h: Likewise.
64973         * include/stdlib.h: Likewise.
64974         * include/string.h: Likewise.
64975         * include/sys/cdefs.h: Likewise.
64976         * include/sys/mman.h: Likewise.
64977         * include/sys/msg.h: Likewise.
64978         * include/sys/resource.h: Likewise.
64979         * include/sys/select.h: Likewise.
64980         * include/sys/socket.h: Likewise.
64981         * include/sys/stat.h: Likewise.
64982         * include/sys/statvfs.h: Likewise.
64983         * include/sys/time.h: Likewise.
64984         * include/sys/times.h: Likewise.
64985         * include/sys/uio.h: Likewise.
64986         * include/sys/utsname.h: Likewise.
64987         * include/sys/wait.h: Likewise.
64988         * include/termios.h: Likewise.
64989         * include/time.h: Likewise.
64990         * include/ulimit.h: Likewise.
64991         * include/unistd.h: Likewise.
64992         * include/utime.h: Likewise.
64993         * include/wchar.h: Likewise.
64994         * include/wctype.h: Likewise.
64995         * include/wordexp.h: Likewise.
64997         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
64999         * time/time.h: TIME_UTC must be a macro.
65000         Make timespec_get available for ISO C11 only as well.
65002 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
65004         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
65005         Reported by Peng Haitao <penght@cn.fujitsu.com>.
65007 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65009         * configure.in: Use -o not -a in test for unsupported multi-arch.
65011 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65013         * manual/texinfo.tex: Update to version 2012-01-19.16.
65015 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
65017         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
65019 2012-02-24  Roland McGrath  <roland@hack.frob.com>
65021         [BZ #13738]
65022         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
65023         * manual/fdl-1.3.texi: New file.
65024         * manual/fdl-1.1.texi: File removed.
65026         [BZ #13738]
65027         * manual/libc.texinfo (FDL_VERSION): New @set.
65028         Use it for mention of FDL in cover text.
65029         (Documentation License): Use it in @include file name.
65031 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65032             Roland McGrath  <roland@hack.frob.com>
65034         [BZ #5461]
65035         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
65036         (not LONG_LONG_MAX and LONG_LONG_MIN.
65037         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
65038         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
65039         name.
65040         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
65042 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65044         [BZ #2547]
65045         [BZ #11365]
65046         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
65047         manipulate bits before adding and subtracting TWO23[sx].
65048         * math/libm-test.inc (nearbyint_test): Add more tests.
65050 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65052         [BZ #2548]
65053         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
65054         bits before adding and subtracting TWO23[sx].
65055         * math/libm-test.inc (rint_test): Add more tests.
65056         (rint_test_tonearest): Likewise.
65057         (rint_test_towardzero): Likewise.
65058         (rint_test_downward): Likewise.
65059         (rint_test_upward: Likewise.
65061 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65063         [BZ #10110]
65064         * include/stdc-predef.h: New file.  Extracted from features.h.
65065         * include/features.h: Include stdc-predef.h.
65066         * Makefile (headers): Add stdc-predef.h.
65067         * CONFORMANCE (Compiler limitations): Update.
65069 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
65071         * manual/libc.texinfo (VERSION, UPDATED): Revert.
65073 2012-02-21  David S. Miller  <davem@davemloft.net>
65075         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
65076         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65078 2012-02-20  David S. Miller  <davem@davemloft.net>
65080         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
65081         using a normal save/restore sequence, rather than allocating a
65082         dummy stack frame just to store a frame pointer and restore.
65083         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65085 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65087         * manual/install.texi: Fix stray word in line-wrapped comment.
65089 2012-02-20  David S. Miller  <davem@davemloft.net>
65091         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
65092         both binutils and gcc support GOTDATA.
65094         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
65095         "rd %pc" in the PIC register setup sequences.
65097         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
65098         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
65099         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
65100         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
65101         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
65102         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65103         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65104         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65105         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
65106         (SYSCALL_ERROR_HANDLER): Likewise.
65107         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
65108         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65109         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
65110         (SYSCALL_ERROR_HANDLER): Likewise.
65112         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
65113         (HAVE_GCC_GOTDATA): New.
65114         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
65115         relocation support in both binutils and gcc.
65116         * sysdeps/sparc/elf/configure: Regenerate.
65118         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
65119         * sysdeps/sparc/sparc32/elf/configure: Delete.
65120         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
65121         * sysdeps/sparc/sparc64/elf/configure: Delete.
65122         * sysdeps/sparc/elf/configure.in: New file.
65123         * sysdeps/sparc/elf/configure: Generate.
65125         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
65126         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
65127         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
65128         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
65129         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
65131 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65133         * manual/install.texi: Do not mention specific glibc version
65134         numbers.
65135         * manual/libc.texinfo (VERSION, UPDATED): Update.
65136         (@copying): Use @copyright{} and range of years.
65138 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65140         [BZ #13695]
65141         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
65142         [crti.S not in sysdirs] (generated): Do not append.
65143         [crti.S not in sysdirs] (omit-deps): Likewise.
65144         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
65145         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
65146         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
65147         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
65148         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
65149         Likewise.
65150         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
65151         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
65152         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
65153         * csu/defs.awk: Remove file.
65154         * sysdeps/generic/initfini.c: Likewise.
65155         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
65156         variable.
65157         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
65158         Likewise.
65160 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65162         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
65163         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
65164         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
65165         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
65166         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65167         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
65168         <bits/epoll.h>.
65169         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
65170         (__EPOLL_PACKED): Define to empty if not defined by
65171         <bits/epoll.h>.
65172         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
65173         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65174         bits/epoll.h.
65176 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65178         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
65179         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
65180         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
65181         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
65182         <bits/timerfd.h>.
65183         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
65184         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65185         bits/timerfd.h.
65187 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65189         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
65190         in C locale.
65191         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65192         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65193         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
65194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65196 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
65198         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65199         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65201 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
65203         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
65204         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
65205         defined.
65206         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
65207         Likewise.
65208         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
65209         entry for 2.16.
65211 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
65213         * math/w_acos.c: Use non-signaling floating-point comparisons.
65214         * math/w_acosf.c: Likewise.
65215         * math/w_acosh.c: Likewise.
65216         * math/w_acoshf.c: Likewise.
65217         * math/w_acoshl.c: Likewise.
65218         * math/w_acosl.c: Likewise.
65219         * math/w_asin.c: Likewise.
65220         * math/w_asinf.c: Likewise.
65221         * math/w_asinl.c: Likewise.
65222         * math/w_atanh.c: Likewise.
65223         * math/w_atanhf.c: Likewise.
65224         * math/w_atanhl.c: Likewise.
65225         * math/w_exp2.c: Likewise.
65226         * math/w_exp2f.c: Likewise.
65227         * math/w_exp2l.c: Likewise.
65228         * math/w_j0.c: Likewise.
65229         * math/w_j0f.c: Likewise.
65230         * math/w_j0l.c: Likewise.
65231         * math/w_j1.c: Likewise.
65232         * math/w_j1f.c: Likewise.
65233         * math/w_j1l.c: Likewise.
65234         * math/w_jn.c: Likewise.
65235         * math/w_jnf.c: Likewise.
65236         * math/w_log.c: Likewise.
65237         * math/w_log10.c: Likewise.
65238         * math/w_log10f.c: Likewise.
65239         * math/w_log10l.c: Likewise.
65240         * math/w_log2.c: Likewise.
65241         * math/w_log2f.c: Likewise.
65242         * math/w_log2l.c: Likewise.
65243         * math/w_logf.c: Likewise.
65244         * math/w_logl.c: Likewise.
65245         * math/w_sqrt.c: Likewise.
65246         * math/w_sqrtf.c: Likewise.
65247         * math/w_sqrtl.c: Likewise.
65248         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65249         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
65250         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65251         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65252         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65254 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65256         [BZ #9739]
65257         * manual/string.texi (strnlen): Use correct parameter name in
65258         equivalent expression.
65260 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65262         [BZ #11174]
65263         * manual/users.texi (seteuid): Consistently use neweuid for
65264         argument name.
65266 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65268         [BZ #13704]
65269         * manual/nss.texi (Services in the NSS configuration): Correct
65270         list of services in example configuration file.
65272 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
65274         [BZ #11322]
65275         * manual/arith.texi: Remove statements about negative zero
65276         behaving identically to zero.
65278 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
65280         [BZ #5993]
65281         * manual/install.texi: Do not document upgrading from libc5.
65283 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
65285         [BZ #4596]
65286         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
65288 2012-02-18  David S. Miller  <davem@davemloft.net>
65290         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
65291         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
65292         %o7 across the call.
65293         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
65294         instead.
65295         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
65296         SETUP_PIC_REG_LEAF.
65297         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65298         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
65299         * sysdeps/sparc/crtn.S: Likewise.
65301 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
65303         * aout/Makefile: Remove.
65305 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
65307         [BZ #13058]
65308         * manual/examples/argp-ex1.c (main): Format definition in GNU
65309         style.
65310         * manual/examples/argp-ex2.c (main): Likewise.
65311         * manual/examples/argp-ex3.c (main): Likewise.
65312         * manual/examples/argp-ex4.c (main): Likewise.
65313         * manual/examples/longopt.c (main): Use new-style prototype
65314         definition.
65315         * manual/examples/strncat.c (main): Specify return type and use
65316         (void) for arguments.
65317         * manual/examples/subopt.c (main): Use char **argv argument.
65319 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65321         [BZ #5077]
65322         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
65323         rounding modes.
65325 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
65327         [BZ #6907]
65328         * manual/string.texi (strchr): Change when strchrnul is
65329         recommended.
65331 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
65333         [BZ #174]
65334         * manual/locale.texi (setlocale): Document LOCPATH.
65336 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65338         [BZ #10210]
65339         * manual/process.texi (execle): Move @dots{} before last argument.
65341 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
65343         [BZ #12047]
65344         * manual/charset.texi (Generic Charset Conversion): Fix typo
65345         (LC_TYPE -> LC_CTYPE).
65347 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
65349         [BZ #5805]
65350         * manual/arith.texi (scalbn): Use @var{} on parameter names.
65351         (scalbnf): Likewise.
65352         (scalbnl): Likewise.
65353         (scalbln): Likewise.
65354         (scalblnf): Likewise.
65355         (scalblnl): Likewise.
65356         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
65357         (vwarnx): Likewise.
65358         (verr): Likewise.
65359         (verrx): Likewise.
65360         * manual/filesys.texi (telldir): Use braces around return type.
65361         * manual/llio.texi (mmap): Add space after comma.
65362         (mmap64): Likewise.
65363         * manual/math.texi (jn): Use @var{} on parameter names.
65364         (jnf): Likewise.
65365         (jnl): Likewise.
65366         (yn): Likewise.
65367         (ynf): Likewise.
65368         (ynl): Likewise.
65369         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
65370         line.
65371         * manual/resource.texi (ulimit): Use @dots{} instead of literal
65372         "...".
65373         (sched_get_priority_min): Remove semicolon on @deftypefun line.
65374         (sched_get_priority_max): Likewise.
65375         * manual/signal.texi (sigvec): Add space after comma.
65376         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
65377         names.
65378         (if_indextoname): Likewise.
65379         (if_freenameindex): Likewise.
65380         (sendto): Use ',' instead of '.' in prototype.
65381         * manual/startup.texi (syscall): Use @dots{} instead of literal
65382         "...".
65383         * manual/stdio.texi (__fpending): Separate initial words of
65384         paragraph from @deftypefun line.
65385         * manual/syslog.texi (syslog): Use @dots{} instead of literal
65386         "...".
65387         (vsyslog): Use @var{} on parameter names.
65388         * manual/terminal.texi (stty): Use @var{} on parameter names.
65389         * manual/users.texi (getutmp): Use @var{} on parameter names.
65390         (getutmpx): Likewise.
65392 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65394         [BZ #6884]
65395         * manual/stdio.texi (fopen): Fix typos in description of
65396         ",ccs=STRING".
65398 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
65400         [BZ #4026]
65401         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
65402         get clock_id definition.
65404 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
65406         [BZ #4822]
65407         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
65408         (madvise): Cast every argument to void on its own.
65410 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65412         [BZ #9902]
65413         * manual/startup.texi (Exit Status): Fix typo.
65415 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65417         [BZ #10140]
65418         * manual/examples/argp-ex1.c: Include <stdlib.h>.
65419         * manual/examples/argp-ex2.c: Likewise.
65420         * manual/examples/argp-ex3.c: Likewise.
65422 2012-02-16  Richard Henderson  <rth@redhat.com>
65424         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
65425         * sysdeps/s390/s390-32/initfini.c: Remove.
65426         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
65427         * sysdeps/s390/s390-64/initfini.c: Remove.
65429 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65431         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
65432         compiler output for sysdeps/generic/initfini.c.
65433         * sysdeps/sh/elf/initfini.c: Remove file.
65435 2012-02-16  David S. Miller  <davem@davemloft.net>
65437         [BZ #11494]
65438         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
65440         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
65441         * sysdeps/sparc/crti.S: New file.
65442         * sysdeps/sparc/crtn.S: New file.
65443         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
65444         * sysdeps/sparc/sparc64/Makefile: Likewise.
65446 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
65448         [BZ #3335]
65449         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
65451 2012-02-15  Roland McGrath  <roland@hack.frob.com>
65453         [BZ #4822]
65454         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
65456         * mach/devstream.c (cookie_io_functions_t): Macro removed.
65457         (write, read, close): Likewise.
65458         Patch by Aurelien Jarno <aurelien@aurel32.net>.
65460 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
65462         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
65463         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
65464         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
65465         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
65466         <bits/signalfd.h>.
65467         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
65468         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65469         bits/signalfd.h.
65471 2012-02-14  Marek Polacek  <polacek@redhat.com>
65473         * sysdeps/x86_64/crti.S: New file.
65474         * sysdeps/x86_64/crtn.S: New file.
65475         * sysdeps/x86_64/elf/initfini.c: Remove file.
65477 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
65479         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
65480         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
65481         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
65482         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
65483         <bits/inotify.h>.
65484         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
65485         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65486         bits/inotify.h.
65488 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
65490         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
65491         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
65492         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
65493         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
65494         <bits/eventfd.h>.
65495         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
65496         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65497         bits/eventfd.h.
65499 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
65501         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
65502         __feraiseexcept instead of feraiseexcept.
65504         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
65505         nanosleep invocations.
65506         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
65507         strings, and add error checking for a nanosleep invocations.
65509 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
65511         Replace FSF snail mail address with URLs, as per GNU coding standards.
65512         Most of the snail mail addresses were wrong anyway, and omitting
65513         them makes the source code easier to maintain.  Almost all of the
65514         changes are to license notices and to locale LC_IDENTIFICATION
65515         addresses, except for this one:
65516         * manual/libc.texinfo: In "Published by", give the FSF's URL,
65517         not its snail mail address.
65519 2012-02-09  Richard Henderson  <rth@twiddle.net>
65521         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
65522         of kernel-features.h.
65524         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
65526 2012-02-08  Marek Polacek  <polacek@redhat.com>
65528         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
65529         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
65530         * sysdeps/gnu/_G_config.h: Likewise.
65531         * sysdeps/generic/_G_config.h: Likewise.
65533 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
65535         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
65536         tests.
65537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65539         * sysdeps/powerpc/powerpc32/crti.S: New file.
65540         * sysdeps/powerpc/powerpc32/crtn.S: New file.
65541         * sysdeps/powerpc/powerpc64/crti.S: New file.
65542         * sysdeps/powerpc/powerpc64/crtn.S: New file.
65544         * Makeconfig (have-initfini): Don't set.
65545         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
65546         * configure.in (nopic_initfini): Don't substitute.
65547         * config.h.in (HAVE_INITFINI): Don't #undef.
65548         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
65549         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
65551 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
65553         Support crti.S and crtn.S provided directly by architectures.
65554         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
65555         [crti.S in sysdirs] (omit-deps): Likewise.
65556         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
65557         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
65558         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
65559         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
65560         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
65561         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
65562         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
65563         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
65564         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
65565         compiler output for sysdeps/generic/initfini.c.
65566         * sysdeps/i386/elf/Makefile: Remove file.
65567         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
65569 2012-02-07  Marek Polacek  <polacek@redhat.com>
65571         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
65572         * sysdeps/gnu/_G_config.h: Likewise.
65573         * sysdeps/mach/hurd/_G_config.h: Likewise.
65575 2012-02-07  Marek Polacek  <polacek@redhat.com>
65577         * math/Makefile (tests): Add tst-CMPLX2.
65578         * math/tst-CMPLX2.c: New file.
65580 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
65582         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65584         * math/libm-test.inc (jn_test): Add missing L suffix.
65586 2012-02-06  Marek Polacek  <polacek@redhat.com>
65588         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
65589         * sysdeps/i386/fpu/e_powf.S: Likewise.
65590         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65591         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65592         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65593         * sysdeps/i386/fpu/e_pow.S: Likewise.
65594         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65595         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65596         * sysdeps/i386/fpu/s_expm1.S: Likewise.
65597         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65598         * sysdeps/i386/fpu/e_log2.S: Likewise.
65599         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65600         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65601         * sysdeps/i386/fpu/e_powl.S: Likewise.
65602         * sysdeps/i386/fpu/s_log1p.S: Likewise.
65603         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65604         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65605         * sysdeps/i386/fpu/e_logl.S: Likewise.
65606         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65607         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
65608         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65609         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65610         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65611         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65612         * sysdeps/i386/fpu/e_log.S: Likewise.
65613         * sysdeps/i386/fpu/s_cexp.S: Likewise.
65614         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65615         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
65616         * sysdeps/i386/fpu/e_logf.S: Likewise.
65617         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65618         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65619         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
65620         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65621         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65622         * sysdeps/i386/fpu/e_log10.S: Likewise.
65623         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65624         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65625         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65626         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65627         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65628         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65629         * sysdeps/i386/asm-syntax.h: Likewise.
65630         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65631         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65632         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65633         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
65634         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
65635         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65636         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65637         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65638         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65639         * sysdeps/powerpc/sysdep.h: Likewise.
65640         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
65641         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65643 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
65645         [BZ #411]
65646         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
65648 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
65650         * sysdeps/i386/sysdep.h: Include <features.h>.
65651         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
65652         version.
65654 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
65656         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
65657         Define.
65658         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
65659         LOAD_PIC_REG_STR.
65661 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65663         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
65664         (SETUP_PIC_REG): Use GET_PC_THUNK.
65665         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
65666         macro.
65668 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65670         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
65671         for non-PIC compilation.
65672         (SETUP_PIC_REG): Add .p2align directive.
65673         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
65674         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
65675         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65676         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65677         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
65678         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65679         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
65680         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
65681         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65682         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65683         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65684         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65685         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65686         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65687         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65688         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
65689         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
65690         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65691         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65692         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65693         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65694         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
65695         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65696         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65697         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
65698         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
65699         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65700         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
65701         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65702         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65703         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65704         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65705         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65706         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65707         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65708         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65709         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65710         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65711         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65712         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65713         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65715 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65717         * math/tst-CMPLX.c: Include <stdio.h>.
65719 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
65721         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
65722         float.
65723         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65724         * sysdeps/sparc/bits/mathdef.h: Likewise.
65726 2012-01-31  Marek Polacek  <polacek@redhat.com>
65728         * libio/libio.h: Don't define _PARAMS.
65729         * locale/programs/config.h: Don't define PARAMS.
65730         * stdlib/strtol_l.c: Likewise.
65731         (__strtol_l): Remove PARAMS from the prototype.
65733 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
65735         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
65736         names.  Just use the correct names.  Remove unnecessary wrapper
65737         functions.
65738         * malloc/arena.c: Likewise.
65739         * malloc/hooks.c: Likewise.
65741         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
65742         ARENA_TEST says not to.  Simplify test for creation of a new arena.
65743         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
65745 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
65747         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
65748         into tail calls.
65749         (update_get_addr): New function.
65750         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
65751         GET_ADDR_MODULE parameter.
65753 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65755         * crypt/cert.c: Remove __STDC__ conditionals.
65756         * crypt/crypt-entry.c: Likewise.
65757         * crypt/crypt_util.c: Likewise.
65758         * libio/filedoalloc.c: Likewise.
65759         * libio/fileops.c: Likewise.
65760         * libio/genops.c: Likewise.
65761         * libio/iofclose.c: Likewise.
65762         * libio/iofdopen.c: Likewise.
65763         * libio/iofopen.c: Likewise.
65764         * libio/iofopen64.c: Likewise.
65765         * libio/iogetdelim.c: Likewise.
65766         * libio/iopopen.c: Likewise.
65767         * libio/obprintf.c: Likewise.
65768         * libio/oldfileops.c: Likewise.
65769         * libio/oldiofclose.c: Likewise.
65770         * libio/oldiofdopen.c: Likewise.
65771         * libio/oldiofopen.c: Likewise.
65772         * libio/oldiopopen.c: Likewise.
65773         * libio/wfiledoalloc.c: Likewise.
65774         * libio/wgenops.c: Likewise.
65775         * locale/programs/xmalloc.c: Likewise.
65776         * misc/syslog.c: Likewise.
65777         * stdio-common/xbug.c: Likewise.
65778         * string/memchr.c: Likewise.
65779         * string/memcmp.c: Likewise.
65780         * string/memrchr.c: Likewise.
65781         * string/rawmemchr.c: Likewise.
65782         * sysdeps/posix/getcwd.c: Likewise.
65783         * time/strftime_l.c: Likewise.
65785 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65787         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
65788         * config.make.in (config-cflags-sse2avx): Define.
65789         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
65790         Fix typo.
65792 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
65794         * scripts/config.guess: Update from upstream config git repository.
65795         * scripts/config.sub: Likewise.
65797 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
65799         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
65800         (EM_NUM): Update.
65801         (R_TILEPRO_*, R_TILEGX_*): New macros.
65803         * scripts/firstversions.awk: Fix bug in version range handling.
65805         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
65807         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
65809         * include/sys/epoll.h: New file.
65810         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
65811         libc_hidden_def.
65813 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
65815         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
65816         Avoid unnecessary __WORDSIZE == 64 test.
65817         (fmaxf): Use VEX format if possible.
65818         (fmax): Likewise.
65819         (fminf): Likewise.
65820         (fmin): Likewise.
65822         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
65823         * math/math_private.h: Remove libc_fegetround* and
65824         libc_fesetround*.
65825         * sysdeps/i386/configure.in: Check for -msse2avx.
65826         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
65827         also if SSE2AVX is defined.
65828         Remove libc_fegetround* and libc_fesetround*.
65829         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
65830         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
65831         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
65832         of HAS_YMM_USABLE.
65833         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65834         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65835         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65836         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65837         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65839         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
65841 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65843         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
65844         size is not set.
65845         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65847 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
65849         [BZ #13618]
65850         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
65851         relocation.
65852         * Makeconfig (libm): Define.
65853         * elf/Makefile: Add rules to build and run tst-relsort1.
65854         * elf/tst-relsort1.c: New file.
65855         * elf/tst-relsort1mod1.c: New file.
65856         * elf/tst-relsort1mod2.c: New file.
65858 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
65860         * math/s_ldexp.c: Remove __STDC__ conditionals.
65861         * math/s_ldexpf.c: Likewise.
65862         * math/s_ldexpl.c: Likewise.
65863         * math/s_nextafter.c: Likewise.
65864         * math/s_nexttowardf.c: Likewise.
65865         * math/s_significand.c: Likewise.
65866         * math/s_significandf.c: Likewise.
65867         * math/s_significandl.c: Likewise.
65868         * math/w_jnl.c: Likewise.
65869         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65870         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65871         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65872         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65873         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65874         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65875         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
65876         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65877         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65878         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65879         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65880         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65881         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65882         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65883         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65884         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65885         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65886         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65887         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65888         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65889         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65890         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65891         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65892         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65893         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65894         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65895         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65896         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65897         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
65898         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65899         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65900         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
65901         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65902         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
65903         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
65904         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65905         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
65906         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
65907         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
65908         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
65909         * sysdeps/ieee754/k_standard.c: Likewise.
65910         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65911         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65912         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
65913         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
65914         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
65915         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
65916         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65917         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
65918         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
65919         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
65920         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
65921         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
65922         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
65923         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
65924         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
65925         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
65926         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
65927         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65928         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65929         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
65930         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65931         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65932         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
65933         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
65934         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65935         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
65936         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65937         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65938         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65939         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
65940         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
65941         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
65942         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
65943         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
65944         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
65945         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
65946         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
65947         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
65948         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
65949         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
65950         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
65951         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
65952         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
65953         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
65954         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
65955         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
65956         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65957         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65958         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
65959         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
65960         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
65961         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65962         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65963         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
65964         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
65965         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
65966         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
65967         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65968         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65969         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65970         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
65971         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
65972         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
65973         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65974         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
65975         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
65976         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
65977         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
65978         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
65979         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
65980         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
65981         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
65982         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
65983         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
65984         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
65985         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
65986         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
65987         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
65988         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
65989         * sysdeps/ieee754/s_matherr.c: Likewise.
65990         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
65991         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
65992         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65993         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65995 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
65997         * crypt/md5.h: Remove __STDC__ conditionals.
65998         * libio/libioP.h: Likewise.
65999         * locale/programs/config.h: Likewise.
66000         * sysdeps/generic/sysdep.h: Likewise.
66001         * sysdeps/i386/asm-syntax.h: Likewise.
66002         * sysdeps/s390/asm-syntax.h: Likewise.
66003         * sysdeps/unix/sysdep.h: Likewise.
66004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
66005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
66007 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
66009         * libio/libio.h: Remove __STDC__ conditionals.
66010         * malloc/obstack.h: Likewise.
66011         * math/complex.h: Likewise.
66012         * math/math.h: Likewise.
66013         * sysdeps/generic/_G_config.h: Likewise.
66014         * sysdeps/gnu/_G_config.h: Likewise.
66015         * sysdeps/mach/hurd/_G_config.h: Likewise.
66016         * sysdeps/powerpc/bits/mathdef.h: Likewise.
66017         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
66018         * sysdeps/sparc/bits/mathdef.h: Likewise.
66020 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
66022         [BZ #13583]
66023         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
66024         Clean up HAS_* macros.
66025         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
66026         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
66027         possible.
66028         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
66029         HAS_AVX.
66030         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
66031         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
66032         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
66033         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
66034         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
66036 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
66038         * elf/tst-unique3.cc (gets): Remove declaration.
66039         * elf/tst-unique3lib.cc (gets): Likewise.
66040         * elf/tst-unique3lib2.cc (gets): Likewise.
66041         * elf/tst-unique4.cc (gets): Likewise.
66043 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
66045         * include/stdio.h: Add C++ protection.  Add gets declarations and
66046         definitions.
66047         * debug/tst-chk1.c: Don't declare gets here.
66048         * stdio-common/tst-gets.c: Likewise.
66050 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
66052         * posix/glob: Remove directory.
66054 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
66056         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
66058 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
66060         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
66061         of the non-standard EPFNOSUPPORT.
66063 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
66065         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
66066         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
66067         ANYWHERE set to 1 only on KERN_NO_SPACE error.
66069 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
66071         * wcsmbs/uchar.h: Test __STDC_VERSION__.
66073 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
66075         * nscd/aicache.c (addhstaiX): Do not cache negative results of
66076         transient errors.
66077         * nscd/grpcache.c (cache_addgr): Likewise.
66078         * nscd/hstcache.c (cache_addhst): Likewise.
66079         * nscd/initgrcache.c (addinitgroupsX): Likewise.
66080         * nscd/pwdcache.c (cache_addpw): Likewise.
66081         * nscd/servicescache.c (cache_addserv): Likewise.
66083 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
66085         * malloc/malloc.c: Various cleanups.
66086         * malloc/hooks.c: Likewise.
66088         * stdlib/Makefile (tests): Add bug-fmtmsg1.
66089         * stdlib/bug-fmtmsg1.c: New file.
66091         * stdlib/fmtmsg.c (init): Add missing unlock.
66092         Patch by Peng Haitao <penght@cn.fujitsu.com>.
66094 2012-01-12  Marek Polacek  <polacek@redhat.com>
66096         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
66097         and _GNU_SOURCE.
66099 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
66101         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
66102         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
66103         macro to ensure uniqueness of label name.
66104         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66105         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66107 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
66109         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
66111         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
66112         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66113         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66114         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
66116 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
66118         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
66120         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
66121         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66122         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66124         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
66126         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
66127         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66128         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66129         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
66131         * math/bits/math-finite.h: Add ldexp support.
66133 2012-01-10  Marek Polacek  <polacek@redhat.com>
66135         * locale/programs/localedef.h (show_archive_content): Add noreturn
66136         attribute.
66138 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
66140         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
66142 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66144         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
66146         * io/Makefile (headers): Add bits/poll2.h.
66148 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
66150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
66151         typo #include statement.
66153 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66155         * include/sys/cdefs.h: Define __attribute_alloc_size.
66156         * catgets/gencat.c: Add alloc_size attribute and apply consistently
66157         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
66158         * elf/pldd.c: Likewise.
66159         * iconv/iconv_charmap.c: Likewise.
66160         * iconv/iconvconfig.c: Likewise.
66161         * iconv/strtab.c: Likewise.
66162         * locale/programs/locale.c: Likewise.
66163         * locale/programs/localedef.h: Likewise.
66164         * locale/programs/simple-hash.c: Likewise.
66165         * nscd/nscd.h: Likewise.
66166         * nss/makedb.c: Likewise.
66167         * sysdeps/generic/ldconfig.h: Likewise.
66168         * locale/programs/localedef.c: Remove xmalloc prototype.
66169         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
66171 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66173         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
66174         appropriate.
66176 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66178         * math/Makefile (tests): Add tst-CMPLX.
66179         * math/tst-CMPLX.c: New file.
66181         * math/complex.h (CMPLXL): Fix typo.
66183         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
66184         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
66185         GLIBC_2.16.
66186         * debug/tst-chk1.c: Add poll and ppoll tests.
66187         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
66188         * include/sys/poll.h: Add hidden proto for ppoll.
66189         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
66190         * sysdeps/mach/hurd/ppoll.c: Likewise.
66191         * io/ppoll.c: Likewise.
66192         * debug/poll_chk.c: New file.
66193         * debug/ppoll_chk.c: New file.
66194         * include/bits/poll2.h: New file.
66195         * io/bits/poll2.h: New file.
66197         [BZ #1350]
66198         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
66200         * configure.in: static is always set to yes.  Remove.
66201         * config.make.in: Don't set build-static.
66202         * Makeconfig: Remove use of build-static.
66203         * dlfcn/Makefile: Likewise.
66204         * elf/Makefile: Likewise.
66205         * math/Makefile: Likewise.
66206         * misc/Makefile: Likewise.
66207         * nptl/Makefile: Likewise.
66208         * sysdeps/mach/hurd/Makefile: Likewise.
66210         * configure.in: PWD_P is not used anymore.
66211         * config.make.in: Remove PWD_P entry.
66213         * configure.in: Remove last remnants of RANLIB.
66214         No need to check for signed size_t anymore.
66215         Don't set libc_commonpagesize and libc_relro_required here for Alpha
66216         and IA-64.
66217         Remove __builtin_expect test because we require at least gcc 3.4.
66218         * aclocal.m4: Likewise.
66220         * wcsmbs/mbrtoc16.c: Implement using towc function.
66221         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
66222         * wcsmbs/wcsmbsload.c: Likewise.
66223         * iconv/gconv_simple.c: Likewise.
66224         * iconv/gconv_int.h: Likewise.
66225         * iconv/gconv_builtin.h: Likewise.
66226         * iconv/iconv_prog.c: Remove CHAR16 handling.
66228         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
66230         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
66232         * configure.in: Remove --with-elf and --enable-bounded options.
66233         Dont set base_machine for ia64.  More non-ELF conditions removed.
66234         Remove testing and setting of leading underscore information.
66235         * config.make.in (build-bounded): Set to no.
66236         * config.h.in: Remove NO_UNDERSCORES entry.
66237         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
66238         them.
66239         * csu/start.c: Remove !NO_UNDERSCORE code.
66240         * locale/localeinfo.h: Likewise.
66241         * sysdeps/generic/machine-gmon.h: Likewise.
66242         * sysdeps/generic/sysdep.h: Likewise.
66243         * sysdeps/i386/sysdep.h: Likewise.
66244         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66245         * sysdeps/mach/sysdep.h: Likewise.
66246         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66247         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66248         * sysdeps/sh/sysdep.h: Likewise.
66249         * sysdeps/sparc/sparc32/alloca.S: Likewise.
66250         * sysdeps/unix/i386/sysdep.S: Likewise.
66251         * sysdeps/unix/sparc/start.c: Likewise.
66252         * sysdeps/unix/sparc/sysdep.S: Likewise.
66253         * sysdeps/unix/sparc/sysdep.h: Likewise.
66254         * sysdeps/unix/start.c: Likewise.
66255         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66256         * sysdeps/x86_64/sysdep.h: Likewise.
66258 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
66260         [BZ #13553]
66261         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
66262         for non-gcc.
66263         * argp/argp-fmtstream.h: Use const instead __const.
66264         * argp/argp.h: Likewise.
66265         * assert/assert.h: Likewise.
66266         * bits/fenv.h: Likewise.
66267         * bits/sched.h: Likewise.
66268         * bits/sigset.h: Likewise.
66269         * bits/sigthread.h: Likewise.
66270         * catgets/nl_types.h: Likewise.
66271         * conform/data/pthread.h-data: Likewise.
66272         * crypt/crypt-private.h: Likewise.
66273         * crypt/crypt.h: Likewise.
66274         * crypt/crypt_util.c: Likewise.
66275         * ctype/ctype.h: Likewise.
66276         * debug/execinfo.h: Likewise.
66277         * debug/mbsnrtowcs_chk.c: Likewise.
66278         * debug/mbsrtowcs_chk.c: Likewise.
66279         * debug/wcsnrtombs_chk.c: Likewise.
66280         * debug/wcsrtombs_chk.c: Likewise.
66281         * debug/wcstombs_chk.c: Likewise.
66282         * dirent/dirent.h: Likewise.
66283         * dlfcn/dlfcn.h: Likewise.
66284         * elf/neededtest4.c: Likewise.
66285         * grp/grp.h: Likewise.
66286         * gshadow/gshadow.h: Likewise.
66287         * iconv/gconv.h: Likewise.
66288         * iconv/gconv_int.h: Likewise.
66289         * iconv/gconv_simple.c: Likewise.
66290         * iconv/iconv.h: Likewise.
66291         * iconv/loop.c: Likewise.
66292         * iconv/skeleton.c: Likewise.
66293         * include/aio.h: Likewise.
66294         * include/aliases.h: Likewise.
66295         * include/argz.h: Likewise.
66296         * include/arpa/inet.h: Likewise.
66297         * include/assert.h: Likewise.
66298         * include/dirent.h: Likewise.
66299         * include/dlfcn.h: Likewise.
66300         * include/execinfo.h: Likewise.
66301         * include/fcntl.h: Likewise.
66302         * include/fenv.h: Likewise.
66303         * include/glob.h: Likewise.
66304         * include/grp.h: Likewise.
66305         * include/libintl.h: Likewise.
66306         * include/mntent.h: Likewise.
66307         * include/netdb.h: Likewise.
66308         * include/pwd.h: Likewise.
66309         * include/rpc/netdb.h: Likewise.
66310         * include/sched.h: Likewise.
66311         * include/search.h: Likewise.
66312         * include/shadow.h: Likewise.
66313         * include/signal.h: Likewise.
66314         * include/stdio.h: Likewise.
66315         * include/stdlib.h: Likewise.
66316         * include/string.h: Likewise.
66317         * include/sys/socket.h: Likewise.
66318         * include/sys/stat.h: Likewise.
66319         * include/sys/statfs.h: Likewise.
66320         * include/sys/statvfs.h: Likewise.
66321         * include/sys/syslog.h: Likewise.
66322         * include/sys/time.h: Likewise.
66323         * include/sys/uio.h: Likewise.
66324         * include/time.h: Likewise.
66325         * include/unistd.h: Likewise.
66326         * include/utmp.h: Likewise.
66327         * include/wchar.h: Likewise.
66328         * include/wctype.h: Likewise.
66329         * inet/aliases.h: Likewise.
66330         * inet/arpa/inet.h: Likewise.
66331         * inet/netinet/ether.h: Likewise.
66332         * inet/netinet/in.h: Likewise.
66333         * intl/libintl.h: Likewise.
66334         * io/bits/fcntl2.h: Likewise.
66335         * io/fcntl.h: Likewise.
66336         * io/ftw.h: Likewise.
66337         * io/sys/poll.h: Likewise.
66338         * io/sys/stat.h: Likewise.
66339         * io/sys/statfs.h: Likewise.
66340         * io/sys/statvfs.h: Likewise.
66341         * io/utime.h: Likewise.
66342         * libio/bits/stdio.h: Likewise.
66343         * libio/bits/stdio2.h: Likewise.
66344         * libio/libio.h: Likewise.
66345         * libio/libioP.h: Likewise.
66346         * libio/stdio.h: Likewise.
66347         * locale/lc-ctype.c: Likewise.
66348         * locale/locale.h: Likewise.
66349         * login/utmp.h: Likewise.
66350         * malloc/arena.c: Likewise.
66351         * malloc/malloc.c: Likewise.
66352         * malloc/malloc.h: Likewise.
66353         * malloc/mcheck.c: Likewise.
66354         * malloc/mtrace.c: Likewise.
66355         * math/bits/mathcalls.h: Likewise.
66356         * math/fenv.h: Likewise.
66357         * math/math_private.h: Likewise.
66358         * misc/bits/error.h: Likewise.
66359         * misc/bits/syslog.h: Likewise.
66360         * misc/err.h: Likewise.
66361         * misc/error.h: Likewise.
66362         * misc/fstab.h: Likewise.
66363         * misc/mntent.h: Likewise.
66364         * misc/regexp.h: Likewise.
66365         * misc/search.h: Likewise.
66366         * misc/sgtty.h: Likewise.
66367         * misc/sys/mman.h: Likewise.
66368         * misc/sys/syslog.h: Likewise.
66369         * misc/sys/uio.h: Likewise.
66370         * misc/sys/xattr.h: Likewise.
66371         * misc/ttyent.h: Likewise.
66372         * nis/rpcsvc/ypclnt.h: Likewise.
66373         * nss/nss.h: Likewise.
66374         * posix/bits/unistd.h: Likewise.
66375         * posix/fnmatch.h: Likewise.
66376         * posix/glob.h: Likewise.
66377         * posix/sched.h: Likewise.
66378         * posix/spawn.h: Likewise.
66379         * posix/sys/wait.h: Likewise.
66380         * posix/unistd.h: Likewise.
66381         * posix/wordexp.h: Likewise.
66382         * pwd/pwd.h: Likewise.
66383         * resolv/netdb.h: Likewise.
66384         * resource/sys/resource.h: Likewise.
66385         * rt/aio.h: Likewise.
66386         * rt/bits/mqueue2.h: Likewise.
66387         * rt/mqueue.h: Likewise.
66388         * shadow/shadow.h: Likewise.
66389         * signal/signal.h: Likewise.
66390         * socket/send.c: Likewise.
66391         * socket/sendto.c: Likewise.
66392         * socket/sys/socket.h: Likewise.
66393         * stdio-common/printf.h: Likewise.
66394         * stdlib/bits/stdlib.h: Likewise.
66395         * stdlib/fmtmsg.h: Likewise.
66396         * stdlib/monetary.h: Likewise.
66397         * stdlib/stdlib.h: Likewise.
66398         * stdlib/ucontext.h: Likewise.
66399         * streams/stropts.h: Likewise.
66400         * string/argz.h: Likewise.
66401         * string/bits/string2.h: Likewise.
66402         * string/string.h: Likewise.
66403         * string/strings.h: Likewise.
66404         * sunrpc/rpc/auth.h: Likewise.
66405         * sunrpc/rpc/auth_des.h: Likewise.
66406         * sunrpc/rpc/clnt.h: Likewise.
66407         * sunrpc/rpc/netdb.h: Likewise.
66408         * sunrpc/rpc/pmap_clnt.h: Likewise.
66409         * sunrpc/rpc/xdr.h: Likewise.
66410         * sysdeps/generic/inttypes.h: Likewise.
66411         * sysdeps/generic/net/if.h: Likewise.
66412         * sysdeps/generic/sys/swap.h: Likewise.
66413         * sysdeps/gnu/net/if.h: Likewise.
66414         * sysdeps/gnu/utmpx.h: Likewise.
66415         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
66416         * sysdeps/i386/i486/bits/string.h: Likewise.
66417         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
66418         * sysdeps/s390/bits/string.h: Likewise.
66419         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
66420         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
66421         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
66422         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
66423         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
66424         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
66425         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
66426         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
66427         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
66428         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
66429         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
66430         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
66431         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
66432         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
66433         * sysdeps/unix/sysv/linux/readv.c: Likewise.
66434         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
66435         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
66436         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66437         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
66438         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
66439         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66440         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
66441         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
66442         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
66443         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
66444         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
66445         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
66446         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66447         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
66448         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
66449         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
66450         * sysvipc/sys/ipc.h: Likewise.
66451         * sysvipc/sys/msg.h: Likewise.
66452         * sysvipc/sys/sem.h: Likewise.
66453         * sysvipc/sys/shm.h: Likewise.
66454         * termios/termios.h: Likewise.
66455         * time/sys/time.h: Likewise.
66456         * time/time.h: Likewise.
66457         * wcsmbs/bits/wchar2.h: Likewise.
66458         * wcsmbs/uchar.h: Likewise.
66459         * wcsmbs/wchar.h: Likewise.
66460         * wctype/wctype.h: Likewise.
66462         [BZ #13551]
66463         * Makeconfig: Remove all but ELF support including AIX support.
66464         * Makerules: Likewise.
66465         * config.h.in: Likewise.
66466         * config.make.in: Likewise.
66467         * configure: Likewise.
66468         * configure.in: Likewise.
66469         * csu/Makefile: Likewise.
66470         * csu/version.c: Likewise.
66471         * debug/Makefile: Likewise.
66472         * dlfcn/Makefile: Likewise.
66473         * elf/Makefile: Likewise.
66474         * extra-lib.mk: Likewise.
66475         * iconv/Makefile: Likewise.
66476         * include/libc-symbols.h: Likewise.
66477         * include/shlib-compat.h: Likewise.
66478         * resolv/Makefile: Likewise.
66479         * resolv/res_libc.c: Likewise.
66480         * rt/Makefile: Likewise.
66481         * sysdeps/i386/asm-syntax.h: Likewise.
66482         * sysdeps/i386/sysdep.h: Likewise.
66483         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66484         * sysdeps/mach/sysdep.h: Likewise.
66485         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
66486         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
66487         * sysdeps/s390/asm-syntax.h: Likewise.
66488         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66489         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66490         * sysdeps/sh/sysdep.h: Likewise.
66491         * sysdeps/unix/sparc/sysdep.h: Likewise.
66492         * sysdeps/wordsize-32/divdi3.c: Likewise.
66493         * sysdeps/x86_64/sysdep.h: Likewise.
66495         * argp/Versions: Remove _argp_unlock_xxx.
66497         [BZ #13559]
66498         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
66499         * abilist/libBrokenLocale.abilist: Likewise.
66500         * abilist/libanl.abilist: Likewise.
66501         * abilist/libc.abilist: Likewise.
66502         * abilist/libcrypt.abilist: Likewise.
66503         * abilist/libdl.abilist: Likewise.
66504         * abilist/libm.abilist: Likewise.
66505         * abilist/libnsl.abilist: Likewise.
66506         * abilist/libpthread.abilist: Likewise.
66507         * abilist/libresolv.abilist: Likewise.
66508         * abilist/librt.abilist: Likewise.
66509         * abilist/libthread_db.abilist: Likewise.
66510         * abilist/libutil.abilist: Likewise.
66511         * abilist/libnss_db.abilist: New file.
66513         * scripts/abilist.awk: Add support for indirect functions.
66515         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
66517         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
66519         * shlib-versions: Remove entries for ports architectures.
66521         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
66522         files in ports.
66523         * elf/stackguard-macros.h: Remove support for IA-64.
66524         * elf/tst-auditmod1.c: Likewise.
66525         * sysdeps/generic/ldsodefs.h: Likewise.
66527         * sysdeps/unix/sysv/linux/configure.in: Ports should define
66528         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
66529         configure files.
66531         [BZ #13552]
66532         * configure.in: Remove --enable-omitfp support.
66533         * FAQ.in: Adjust.
66534         * config.make.in: Likewise.
66535         * Makeconfig: Likewise.
66536         * manual/install.texi: Likewise.
66538         In case anyone cares, the IA-64 architecture could move to ports.
66539         * sysdeps/ia64/*: Removed.
66540         * sysdeps/unix/sysv/linux/ia64/*: Removed.
66541         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
66543         [BZ #13555]
66544         * configure.in: Remove entries for unsupported architectures.
66546         [BZ #13533]
66547         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
66548         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
66549         routines.
66550         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
66551         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
66552         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
66553         fall back to using wcrtomb.
66554         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
66555         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
66556         renaming.
66557         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
66558         * wcsmbs/tst-c16c32-1.c: New file.
66560         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
66561         local variable.
66563         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
66565         * elf/tst-unique3.cc: Add explicit declaration of gets.
66566         * elf/tst-unique3lib.cc: Likewise.
66567         * elf/tst-unique3lib2.cc: Likewise.
66568         * elf/tst-unique4.cc: Likewise.
66570         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
66572 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
66574         [BZ #13566]
66575         * assert/assert.h (static_assert): Don't define for C++.
66576         * libio/stdio.h (gets): Do declare for C++ <= C++11.
66577         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
66579 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
66581         * iconv/loop.c (single loop): Fix assertion in storing of
66582         remaining bytes.
66584         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
66586 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
66588         * posix/getconf.c: Update copyright year.
66589         * nss/getent.c: Likewise.
66590         * nss/makedb.c: Likewise.
66591         * iconv/iconvconfig.c: Likewise.
66592         * iconv/iconv_prog.c: Likewise.
66593         * elf/ldconfig.c: Likewise.
66594         * elf/pldd.c: Likewise.
66595         * elf/sotruss.ksh: Likewise.
66596         * catgets/gencat.c: Likewise.
66597         * csu/version.c: Likewise.
66598         * elf/ldd.bash.in: Likewise.
66599         * elf/sprof.c (print_version): Likewise.
66600         * locale/programs/locale.c: Likewise.
66601         * locale/programs/localedef.c: Likewise.
66602         * login/programs/pt_chown.c: Likewise.
66603         * nscd/nscd.c (print_version): Likewise.
66604         * debug/xtrace.sh: Likewise.
66605         * malloc/memusage.sh: Likewise.
66606         * malloc/mtrace.pl: Likewise.
66607         * debug/catchsegv.sh: Likewise.
66609 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
66611         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
66612         pure attribute.
66614 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
66616         [BZ #13533]
66617         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
66618         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
66619         transformations.
66620         * iconv/gconv_int.h: Likewise.
66621         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
66622         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
66623         from libc for GLIBC_2.16.
66624         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
66625         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
66626         * wcsmbs/uchar.h: Really define mbstate_t.
66627         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
66628         * wcsmbs/c16rtomb.c: New file.
66629         * wcsmbs/mbrtoc16.c: New file.
66630         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
66631         for C/POSIX locale.
66632         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
66633         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
66635         * wcsmbs/wchar.h: Add missing __restrict.
66637 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
66639         [BZ #13532]
66640         * time/Makefile (routines): Add timespec_get.
66641         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
66642         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
66643         timespec for ISO C11.
66644         * time/timespec_get.c: New file.
66645         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
66646         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
66648         [BZ #13531]
66649         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
66650         * stdlib/stdlib.h: Declare aligned_alloc.
66651         * Versions.def: Add GLIBC_2.16 for libc.
66652         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
66654         [BZ 13527]
66655         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
66656         ISO C11.
66658         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
66659         code.
66661         [BZ #13528]
66662         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
66664         [BZ #13529]
66665         * assert/assert.h (static_assert): Define.
66667         * version.h: Update for 2.16 development version.
66669         [BZ #13526]
66670         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
66671         _ISOC11_SOURCE.
66673         * version.h (RELEASE): Bump for 2.15 release.
66674         * include/features.h (__GLIBC_MINOR__): Bump to 15.
66676         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
66677         Patch by Marek Polacek <mpolacek@redhat.com>.
66679         * bits/byteswap.h: Protect long long constants with __extension__.
66680         * sysdeps/i386/bits/byteswap.h: Likewise.
66681         * sysdeps/ia64/bits/byteswap.h: Likewise.
66682         * sysdeps/s390/bits/byteswap.h: Likewise.
66683         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66685 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66687         [BZ #13540]
66688         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
66689         destination buffer.
66690         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
66692 2011-12-23  Marek Polacek  <polacek@redhat.com>
66694         * elf/dl-addr.c (determine_info): Add inline keyword.
66695         * elf/tst-auditmod4b.c (check_avx): Likewise.
66696         * elf/tst-auditmod6b.c (check_avx): Likewise.
66697         * elf/tst-auditmod6c.c (check_avx): Likewise.
66698         * elf/tst-auditmod7b.c (check_avx): Likewise.
66700 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
66702         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
66703         !__SSE_MATH__.
66705 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66707         [BZ #13540]
66708         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
66709         processing for last bytes.
66711 2011-08-06  Bruno Haible  <bruno@clisp.org>
66713         [BZ #13061]
66714         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
66715         U+0385, not to U+1FEE.
66717         [BZ #13062]
66718         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
66719         entry for U+00A5 U+0301.
66721 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66723         [BZ #13166]
66724         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
66725         buffer for the output is too small.
66727         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
66728         optimization.
66730         [BZ #13185]
66731         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
66732         SSE flags if possible.
66734 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66736         [BZ #13540]
66737         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
66738         processing for last bytes.
66740 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
66742         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
66743         (syscall-list-default-options, syscall-list-default-condition)
66744         (syscall-list-includes): Define.
66745         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
66746         list of ABIs and options and #if conditions for each ABI.  Do not
66747         handle common syscalls between ABIs specially.
66748         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
66749         Remove.
66750         (syscall-list-variants, syscall-list-32bit-options)
66751         (syscall-list-32bit-condition, syscall-list-64bit-options)
66752         (syscall-list-64bit-condition): Define.
66753         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
66754         (syscall-list-variants, syscall-list-32bit-options)
66755         (syscall-list-32bit-condition, syscall-list-64bit-options)
66756         (syscall-list-64bit-condition): Define.
66757         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
66758         Remove.
66759         (syscall-list-variants, syscall-list-32bit-options)
66760         (syscall-list-32bit-condition, syscall-list-64bit-options)
66761         (syscall-list-64bit-condition): Define.
66762         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
66763         Remove.
66764         (syscall-list-variants, syscall-list-32bit-options)
66765         (syscall-list-32bit-condition, syscall-list-64bit-options)
66766         (syscall-list-64bit-condition): Define.
66768 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66770         * locale/iso-639.def: Add brx entry.
66772         [BZ #13328]
66773         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
66774         Proposed by Mariusz_Cukr <marcukr@op.pl>.
66776         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
66777         __feraiseexcept_renamed.
66779 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
66781         [BZ #13538]
66782         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
66783         EPOLLET with unsigned values.
66784         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66785         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66787         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
66788         to large cancellation.
66789         * math/s_cacoshf.c: Likewise.
66790         * math/s_cacoshl.c: Likewise.
66792 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
66794         [BZ #13305]
66795         [BZ #12786]
66796         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
66797         * math/s_cacoshf.c: Likewise.
66798         * math/s_cacoshl.c: Likewise.
66800 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
66802         [BZ #13439]
66803         * iconv/gconv.h: Define __GCONV_SWAP.
66804         * iconvdata/unicode.c: The swap bit must be stored in __flags.
66805         * iconvdata/utf-16.c: Likewise.
66806         * iconvdata/utf-32.c: Likewise.
66808 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
66810         [BZ #13524]
66811         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
66812         numerator after shifting it by one limb.
66814 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
66816         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
66817         under [__USE_EXTERN_INLINES].
66819 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
66821         [BZ #13446]
66822         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
66824 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66826         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
66827         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
66828         optimized code.
66829         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
66830         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
66831         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
66832         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
66833         for strncasecmp/strncasecmp_l compilation.
66834         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
66835         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
66837 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
66839         [BZ #13484]
66840         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
66841         of __asm__.
66843 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
66845         [BZ #13506]
66846         * time/tzfile.c (__tzfile_read): Check values from file header.
66848 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
66850         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
66851         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
66852         * powerpc/powerpc32/dl-start.S: Likewise.
66853         * powerpc/powerpc32/elf/start.S: Likewise.
66854         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
66855         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
66856         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
66857         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
66858         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
66859         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
66860         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
66861         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
66862         * powerpc/powerpc32/fpu/s_round.S: Likewise.
66863         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
66864         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
66865         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
66866         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
66867         * powerpc/powerpc32/memset.S: Likewise.
66868         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
66869         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66870         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66871         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66872         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66873         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
66874         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
66875         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
66876         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
66877         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
66878         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
66879         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66880         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66882 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66884         * math/libm-test.inc: Added more nearbyint tests.
66885         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
66886         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
66887         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
66888         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
66890 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
66892         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
66893         FD_CLOEXEC.
66895 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66897         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
66898         Add wcscpy-ssse3 wcscpy-c.
66899         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
66900         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
66901         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
66902         * sysdeps/x86_64/wcschr.S: New file.
66903         * sysdeps/x86_64/wcsrchr.S: New file.
66904         * string/test-strcmp.c: Remove checking of wcscmp function for
66905         wrong alignments.
66906         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
66907         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
66908         wcsrchr-sse2 wcsrchr-c.
66909         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
66910         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
66911         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
66912         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
66913         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
66914         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
66915         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
66916         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
66917         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
66918         * wcsmbc/wcschr.c (WCSCHR): New macro.
66920 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66922         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
66923         * wcsmbs/test-wcsrchr.c: New file.
66924         * string/test-strrchr.c: Add wcsrchr support.
66925         (WIDE): New macro.
66926         * wcsmbs/test-wcscpy.c: New file.
66927         * string/test-strcpy.c: Add wcscpy support.
66928         (WIDE): New macro.
66930 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
66932         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
66933         the inner loop.
66935 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
66937         [BZ #13472]
66938         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
66940 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
66942         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
66943         Minor optimizations.
66945         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
66946         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
66947         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
66949 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
66951         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
66952         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
66953         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
66954         for gcc to avoid warnings.
66955         * inet/Makefile (tests): Add tst-checks.
66956         * inet/tst-checks.c: New file.
66958         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
66959         warning.
66961         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
66962         __wmemcmp_sse2.
66964         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
66965         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
66967         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
66969 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
66971         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
66972         problem.
66974         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
66976 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
66978         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
66979         conditional on GCC version.
66980         (__arch_compare_and_exchange_val_8_acq)
66981         (__arch_compare_and_exchange_val_16_acq)
66982         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
66983         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
66984         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
66986 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
66988         * sysdeps/sh/backtrace.c: New file.
66990 2011-12-02  Andreas Schwab  <schwab@redhat.com>
66992         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
66993         parenthesis.
66995 2011-12-01  Andreas Schwab  <schwab@redhat.com>
66997         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
66998         falling back to utime.
67000 2011-11-30  Andreas Schwab  <schwab@redhat.com>
67002         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
67003         expectations for float.
67005 2011-11-29  Andreas Schwab  <schwab@redhat.com>
67007         * locale/weight.h (findidx): Add parameter len.
67008         * locale/weightwc.h (findidx): Likewise.
67009         * posix/fnmatch_loop.c (FCT): Adjust caller.
67010         * posix/regcomp.c (build_equiv_class): Likewise.
67011         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
67012         * posix/regexec.c (check_node_accept_bytes): Likewise.
67013         * string/strcoll_l.c (STRCOLL): Likewise.
67014         * string/strxfrm_l.c (STRXFRM): Likewise.
67016 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
67018         * Makefile.in: Remove CVSOPT handling.
67019         * configure.in: Remove use of AC_REVISION.
67020         * iconvdata/Makefile (distribute): No need to filter out CVS.
67021         * scripts/list-sources.sh: Remove CVS, subversion and monotone
67022         handling.
67024 2011-11-16  Andreas Schwab  <schwab@redhat.com>
67026         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
67027         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
67028         [USE_AS_STRNCASECMP_L]: Likewise.
67029         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
67030         NO_TLS_DIRECT_SEG_REFS.
67031         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
67032         Fix argument offsets for non-PIC.
67033         [USE_AS_STRNCASECMP_L]: Likewise.
67034         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
67035         NO_TLS_DIRECT_SEG_REFS.
67037 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
67039         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
67040         O_CLOEXEC.
67041         * locale/loadlocale.c (_nl_load_locale): Likewise.
67043 2011-11-15  Andreas Schwab  <schwab@redhat.com>
67045         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
67046         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
67047         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
67048         (SYSCALL_GETTIME): Set errno on error.
67050         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
67051         count references to noai6ai_cached.
67053 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
67055         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
67057         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
67058         FD_CLOEXEC for /proc/self/maps.
67060         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
67061         FD_CLOEXEC for /proc/meminfo.
67063         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
67064         gai.conf.
67066         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
67067         FD_CLOEXEC for given file.
67069         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
67071         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
67072         FD_CLOEXEC for /etc/hosts.
67073         (_gethtent): Likewise.
67075         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
67077         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
67078         cancellation and set FD_CLOEXEC for /etc/netgroup.
67080         * nss/nss_files/files-key.c (search): Don't allow cancellation when
67081         reading /etc/publickey.
67083         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
67084         allow cancellation when reading /etc/group.
67086         * nss/nss_files/files-alias.c (internal_setent): Don't allow
67087         cancellation.
67088         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
67090         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
67091         when using data file.
67093         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
67095         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
67096         (write_nis_obj): Use "c" and "e" in fopen.
67098         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
67100         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
67102         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
67104         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
67106         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
67107         locale.alias.
67109         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
67111         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
67113         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
67115         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
67116         file parsing and set FD_CLOEXEC.
67118 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
67120         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
67122 2011-11-14  Andreas Schwab  <schwab@redhat.com>
67124         * malloc/arena.c (arena_get2): Don't call reused_arena when
67125         _int_new_arena failed.
67127 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
67129         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
67130         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
67131         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
67132         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67133         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67134         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
67135         to compile strcasecmp and strncasecmp.
67136         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
67137         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
67139         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
67141 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
67143         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
67144         locale-defines.sym to gen-as-const-headers.
67145         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
67146         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
67147         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
67148         to compile strcasecmp and strncasecmp.
67149         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
67150         strcasecmp_l and strncasecmp_l.
67151         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
67152         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
67153         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
67154         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
67155         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
67156         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
67157         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
67158         * sysdeps/i386/i686/multiarch/strncase.S: New file.
67159         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
67160         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
67161         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
67163 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
67165         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
67166         result of SYSDEP_GETTIME_CPU to retval.
67167         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
67168         parameter list to macro.  Remove trailing semicolon.  Adjust users.
67170         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
67171         variable.
67173         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
67174         mantissa words.
67175         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
67177         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
67178         from unused variable.
67180         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
67181         DWARF definitions.
67182         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
67183         for assembling.
67185         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
67186         over namespaces.
67188         * sunrpc/rpc_prot.c (rejected): Fix case value.
67190         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
67191         unsigned long long int to avoid warnings in shift.
67193         * posix/regex_internal.c (re_string_reconstruct): Actually use result
67194         of use of trans.
67195         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
67196         variable tmp.
67198         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
67199         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
67200         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
67202         * nis/nis_table.c (nis_list): Use variable of correct type for
67203         result of __follow_path call.
67205 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67207         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
67208         of math functions ceil, trunc, floor, round, and sqrt, when
67209         avaliable on the platform.
67210         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
67211         name clash.
67212         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67213         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67214         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67216 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
67218         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
67219         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
67221 2011-11-11  Roland McGrath  <roland@hack.frob.com>
67223         * include/unistd.h: Fix __readlink return type.
67224         Reported by Chris Metcalf <cmetcalf@tilera.com>.
67226 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
67228         * stdlib/ucontext.h: Undo last change for makecontext.
67230 2011-11-11  Andreas Schwab  <schwab@redhat.com>
67232         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
67234         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
67235         * setjmp/setjmp.h: Mark functions as non-leaf.
67236         * setjmp/bits/setjmp2.h: Likewise.
67237         * stdlib/ucontext.h: Likewise.
67239 2011-11-10  Andreas Schwab  <schwab@redhat.com>
67241         * malloc/arena.c (_int_new_arena): Don't increment narenas.
67242         (reused_arena): Don't check arena limit.
67243         (arena_get2): Atomically check arena limit.
67245 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
67247         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
67248         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
67250         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
67251         instructions.
67253 2011-11-07  Andreas Schwab  <schwab@redhat.com>
67255         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
67256         handler when locking.
67258         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
67259         Fix size of allocated buffer.
67261 2011-11-04  Andreas Schwab  <schwab@redhat.com>
67263         [BZ #10103]
67264         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
67265         declarations for long double functions.
67266         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
67268         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
67270 2011-11-03  Andreas Schwab  <schwab@redhat.com>
67272         * nscd/nscd.c (main): Don't start AVC thread until credentials are
67273         installed.
67275         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
67276         is disabled.
67278 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67280         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
67282 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
67284         * include/alloca.h (stackinfo_alloca_round): Define.
67285         (extend_alloca): Use it.
67286         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
67287         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
67288         here.
67290         * scripts/check-local-headers.sh: Ignore libaudit.h.
67292         * nscd/Makefile (extra-objs): Make recursively expanded.
67294 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
67296         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
67297         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
67299         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
67300         * posix/tst-rfc3484-2.c: Likewise.
67301         * posix/tst-rfc3484-3.c: Likewise.
67303         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67304         process_vm_writev.
67305         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
67306         process_vm_writev.
67307         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
67308         process_vm_writev from libc using GLIBC_2.15 version.
67310         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
67312 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
67314         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
67315         stack usage.
67317 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
67319         [BZ #13367]
67320         * nss/getent.c (initgroups_keys): Show error message in case no group
67321         names are given.
67323         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
67324         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
67325         __bump_nl_timestamp.
67326         * nscd/connections (nscd_init): When host database is served open
67327         netlink socket and request notification about configuration changes.
67328         (main_loop_poll): Track netlink file descriptor and bump timestamp
67329         in case data becomes available.
67330         (main_loop_epoll): Likewise.
67331         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
67332         (database_pers_head): Add extra_data fileds.
67333         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
67334         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
67335         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
67336         Adjust caller.
67337         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
67338         in6ai data, call __free_in6ai.
67339         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
67340         Add -DHAVE_NETLINK.
67341         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
67342         interface information.  Reuse previous data if netlink timestamp
67343         is not changed.
67344         (__bump_nl_timestamp): New function.
67345         (__free_in6ai): New function.
67347 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
67349         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
67350         close_not_cancel_no_status here.
67351         (__check_pf): Reorganize code a bit to not call close twice if OOM.
67353 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
67355         [BZ #13276]
67356         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
67357         return value.
67359         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
67360         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
67361         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
67363 2011-07-03  Andreas Jaeger  <aj@suse.de>
67365         [BZ #10709]
67366         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
67367         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
67368         * math/libm-test.inc (sin_test): Add test case.
67370 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
67372         [BZ #13337]
67373         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
67374         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67376         * elf/chroot_canon.c (chroot_canon): Cleanups.
67378         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
67380         [BZ #13335]
67381         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
67382         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67384         * string/test-strchr.c: Make usable for strchrnul testing.
67385         * string/test-strchrnul.c: New file.
67386         * string/Makefile (strop-tests): Add strchrnul.
67388         * po/it.po: Update from translation team.
67389         * po/es.po: Likewise.
67391 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
67393         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
67394         the three constants needed as parameters.  Drop the others.
67395         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
67396         __m128i_strloadu_tolower.
67397         Create and initialize variable zero and use it in all the places
67398         where _mm_setzero_si128 was used.
67400         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
67401         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
67402         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
67403         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
67404         anymore.
67405         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
67406         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
67407         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
67408         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
67409         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
67410         __mpranred, __mptan.
67411         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
67412         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
67413         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
67414         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
67415         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
67416         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
67417         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
67418         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
67419         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
67421 2011-10-28  Andreas Schwab  <schwab@redhat.com>
67423         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
67424         redefine if SHARED.
67425         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
67427         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
67428         wide char related routines to wcsmbs subdir.
67430 2011-10-27  Andreas Schwab  <schwab@redhat.com>
67432         [BZ #13344]
67433         * misc/sys/cdefs.h (__THROWNL): Define.
67434         * posix/unistd.h: Use __THREADNL instead of __THREAD
67435         for memory synchronization functions.
67437 2011-10-26  Roland McGrath  <roland@hack.frob.com>
67439         [BZ #13349]
67440         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
67441         doesn't exist.
67442         * manual/stdio.texi (Obstack Streams): Node removed.
67444 2011-10-26  Andreas Schwab  <schwab@redhat.com>
67446         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
67447         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67448         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67450         * math/math_private.h (math_force_eval): Allow non-addressable
67451         arguments.
67452         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
67454 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67456         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
67457         file is not needed.
67459         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
67460         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
67461         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67462         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67463         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67464         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67465         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67466         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
67467         Add AVX variants.
67468         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
67469         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
67470         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
67471         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
67472         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
67473         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
67474         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
67475         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
67476         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
67477         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
67478         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
67479         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
67480         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
67481         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
67482         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
67483         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
67484         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
67485         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
67486         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
67488         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
67489         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
67491         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
67492         place.  Use VEX encoding when compiling for AVX.
67494 2011-10-25  Andreas Schwab  <schwab@redhat.com>
67496         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
67497         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
67499         * string/test-strchr.c (do_test): Don't generate NUL bytes.
67501 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67503         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
67504         useless if() expression.
67505         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67506         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67507         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67508         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67509         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67510         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67511         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67512         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67513         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67514         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67515         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67516         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67517         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67518         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67519         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67520         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67521         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67522         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67523         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67525         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
67527 2011-10-25  Andreas Schwab  <schwab@redhat.com>
67529         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
67530         condition.
67531         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67533 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67535         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
67536         .text section.  Avoid duplicate constants.
67537         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67538         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67539         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67540         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67541         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67542         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67543         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67544         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67545         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
67546         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
67547         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
67548         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67549         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
67550         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
67551         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67552         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
67553         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67554         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
67555         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67556         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67557         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67558         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67559         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67560         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
67561         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
67562         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
67563         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
67564         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
67565         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
67566         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
67567         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
67568         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
67569         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67570         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
67571         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
67572         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
67573         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
67574         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
67575         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
67576         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
67577         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
67578         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
67579         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
67580         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
67581         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
67583 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
67585         * sysdeps/x86_64/dla.h: Move to ...
67586         * sysdeps/x86_64/fpu/dla.h: ...here.
67587         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
67588         situations.  Use __builtin_fma only for gcc 4.6 and up.
67590         * config.make.in: Add have-mfma4 entry.
67591         * configure.in: Substitute libc_cv_cc_fma4.
67592         * math/Makefile (dbl-only-routines): Add sincostab.
67593         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
67594         Use __sincostab not sincos.
67595         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
67596         name is a macro.
67597         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67598         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67599         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67600         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
67601         using __copysign.
67602         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
67603         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
67604         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
67605         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
67606         and __inv.
67607         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
67608         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
67609         __copysign.
67610         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
67611         define aliases when function name is a macro.
67612         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
67613         sysdeps/ieee754/dbl-64/sincos.tbl.
67614         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
67615         fma4-enabled routines.
67616         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
67617         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
67618         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
67619         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
67620         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
67621         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
67622         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
67623         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
67624         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
67625         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
67626         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
67627         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
67628         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
67629         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
67630         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
67631         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
67632         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
67633         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
67634         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
67635         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
67636         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
67637         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
67638         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
67639         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
67640         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
67641         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
67642         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
67643         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
67644         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
67645         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
67647         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
67648         rename.
67649         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67650         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67651         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67652         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67653         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67654         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67655         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67656         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67658 2011-10-24  Andreas Schwab  <schwab@redhat.com>
67660         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
67662 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67664         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
67666         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
67667         prediction.
67668         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
67670         * string/strnlen.c: Don't define STRNLEN, reverse logic.
67671         Remove unused variable magic_bits.
67672         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
67674         * string/strnlen.c: Define and use STRNLEN macro.
67675         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
67676         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
67677         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
67678         * wcsmbs/wcslen.c: Define and use WCSLEN.
67679         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
67680         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
67681         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
67682         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
67683         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
67684         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
67685         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67687 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67689         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67690         strnlen-sse2-no-bsf.
67691         Rename strlen-no-bsf to strlen-sse2-no-bsf.
67692         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
67693         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
67694         Add strnlen support.
67695         (USE_AS_STRNLEN): New macro.
67696         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
67697         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
67698         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
67699         * sysdeps/x86_64/wcslen.S: New file.
67701 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
67703         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67704         XMM-moves are used for copying on small sizes.
67706 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67708         * wcsmbs/Makefile (strop-tests): Add wcschr.
67709         * wcsmbs/test-wcschr.c: New file.
67710         * string/test-strchr.c: Update.
67711         Add wcschr support.
67712         (WIDE): New macro.
67714 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67716         * wcsmbs/Makefile (strop-tests): Add wcslen.
67717         * wcsmbs/test-wcslen.c: New file.
67718         * string/test-strlen.c: Update.
67719         Add wcslen support.
67720         (WIDE): New macro.
67722 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67724         * po/it.po: Update from translation team.
67726 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67728         * sysdeps/x86_64/wcscmp.S: Update.
67729         Fix wrong comparison semantics.
67730         wcscmp shall use signed comparison not unsigned.
67731         Don't use substraction to avoid overflow bug.
67732         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
67733         * wcsmbc/wcscmp.c: Likewise.
67734         * string/test-strcmp.c: Likewise.
67735         Add new tests to check cases with negative values.
67737 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67739         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
67740         * sysdeps/x86_64/dla.h: ...here.  New file.
67741         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
67742         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67743         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67744         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67745         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67746         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67747         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67748         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67749         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67751 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
67753         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
67754         __ynl_finite aliases.
67756 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67758         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67760         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
67761         define DLA_FMA.
67762         [DLA_FMA] (EMULV): Use DLA_FMA.
67763         [DLA_FMA] (MUL12): Use EMULV.
67764         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
67765         that are not needed.
67766         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67767         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67768         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67769         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67770         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67771         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67772         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67774 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
67776         * math/s_nan.c: Undef __nan.
67777         * math/s_nanf.c: Undef __nanf.
67778         * math/s_nanl.c: Undef __nanl.
67779         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
67780         "math_private.h".
67782 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67784         * math/s_catan.c: Add branch predictions.
67785         * math/s_catanf.c: Likewise.
67786         * math/s_catanh.c: Likewise.
67787         * math/s_catanhf.c: Likewise.
67788         * math/s_catanhl.c: Likewise.
67789         * math/s_catanl.c: Likewise.
67790         * math/s_cexp.c: Likewise.
67791         * math/s_cexpf.c: Likewise.
67792         * math/s_cexpl.c: Likewise.
67793         * math/s_clog.c: Likewise.
67794         * math/s_clog10.c: Likewise.
67795         * math/s_clog10f.c: Likewise.
67796         * math/s_clog10l.c: Likewise.
67797         * math/s_clogf.c: Likewise.
67798         * math/s_clogl.c: Likewise.
67799         * math/s_csqrt.c: Likewise.
67800         * math/s_csqrtf.c: Likewise.
67801         * math/s_csqrtl.c: Likewise.
67802         * math/s_ctanf.c: Likewise.
67803         * math/s_ctanh.c: Likewise.
67804         * math/s_ctanhf.c: Likewise.
67805         * math/s_ctanhl.c: Likewise.
67806         * math/s_ctanl.c: Likewise.
67808         * math/math_private.h: Define __nan, __nanf, __nanl.
67809         * math/s_cacosh.c: Include <math_private.h>.
67810         * math/s_cacoshl.c: Likewise.
67811         * math/s_casinh.c: Likewise.
67812         * math/s_casinhf.c: Likewise.
67813         * math/s_casinhl.c: Likewise.
67814         * math/s_ccos.c: Rely entire on ccosh.
67815         * math/s_ccosf.c: Rely entire on ccoshf.
67816         * math/s_ccosl.c: Rely entirely on ccoshl.
67817         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
67818         Remove tests for FE_INVALID.
67819         * math/s_ccoshf.c: Likewise.
67820         * math/s_ccoshl.c: Likewise.
67821         * math/s_csin.c: Likewise.
67822         * math/s_csinf.c: Likewise.
67823         * math/s_csinh.c Likewise.
67824         * math/s_csinhf.c: Likewise.
67825         * math/s_csinhl.c: Likewise.
67826         * math/s_csinl.c: Likewise.
67827         * math/s_ctan.c: Likewise.
67828         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
67829         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
67830         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
67832 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
67834         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
67835         compilation problems.
67837         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
67838         __builtin_expect.
67840 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
67842         * sysdeps/i386/configure.in: Test for -mfma4 option.
67843         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
67844         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
67845         COMMON_CPUID_INDEX_80000001.
67846         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
67847         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
67848         use it if FMA3 is not supported.
67849         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
67851         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
67852         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
67854 2011-10-20  Andreas Schwab  <schwab@redhat.com>
67856         [BZ #12892]
67857         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
67858         it would create a cycle with a link time dependency.
67860 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
67862         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
67863         instruction.
67864         * string/Makefile (strop-tests): Add rawmemchr.
67865         * string/test-rawmemchr.c: New file.
67867         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
67868         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
67869         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
67870         when compiling str{,n}casecmp and when AVX is available.  Hook up
67871         new optimized code in initializers.
67873 2011-10-19  Andreas Schwab  <schwab@redhat.com>
67875         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
67876         __feraiseexcept instead of feraiseexcept.
67878 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
67880         * math/math_private.h: Define defaults for libc_fetestexcept and
67881         libc_feupdateenv.
67882         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
67883         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
67884         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67885         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67886         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67887         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67888         libc_fetestexcept and libc_feupdateenv.
67890         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
67891         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
67892         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
67893         * sysdeps/x86_64/fpu/math_private.h: Define special version of
67894         libc_feholdexcept_setround.
67896         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
67897         Add s_nearbyint-c and s_nearbyintf-c.
67898         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
67899         nearbyintf inlines.
67900         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
67901         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
67902         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
67903         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
67905         * math/math_private.h: Define defaults for libc_fegetround,
67906         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
67907         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
67908         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
67909         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
67910         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
67911         standard functions.
67912         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67913         Remove comments and hacks for old compiler versions.
67914         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67915         libc_fegetround, libc_fesetround, libc_feholdexcept, and
67916         libc_feholdexceptl.
67918 2011-10-18  Andreas Schwab  <schwab@redhat.com>
67920         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
67921         (__feraiseexcept_renamed): Add __NTH.
67922         (feraiseexcept): Add __NTH.  Rename local variables to fix
67923         namespace violations.
67925 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
67927         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
67929         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
67931         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
67932         recently added interfaces.
67933         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
67935         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
67936         about macro parameter expansion.
67938         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
67939         __NO_MATH_INLINES is defined.  Cleanups.
67941         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
67942         and __floorf is target has SSE4.1.
67943         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
67944         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
67945         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
67946         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
67948         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
67949         name.
67950         (floorf): Likewise.
67952         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
67954 2011-10-17  Andreas Schwab  <schwab@redhat.com>
67956         * misc/sys/cdefs.h: Fix last change.
67958         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
67959         database lookup.
67961 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
67963         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
67965         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
67966         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67967         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67968         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67969         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67970         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67971         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67972         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67973         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67974         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
67975         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
67976         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
67977         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
67978         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
67979         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
67980         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
67981         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
67982         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
67983         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
67984         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
67985         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
67986         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
67988         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
67989         ceil, ceilf, floor, floorf.
67991         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
67992         Perform IRELATIVE relocations last.
67994         * elf/do-rel.h: Add another parameter nrelative, replacing the
67995         local variable with the same name.  Change name of the function
67996         to end in Rel or Rela (uppercase).
67997         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
67998         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
67999         elf_dynamic_do_##reloc function.
68001 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
68003         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
68004         is sufficient, at least on modern CPUs.
68006         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
68008         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
68009         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
68011         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
68012         __expl_finite.
68013         * math/bits/math-finite.h: Add entries for exp.
68014         * math/e_expl.c: Add __*_finite alias.
68015         * sysdeps/i386/fpu/e_exp.S: Likewise.
68016         * sysdeps/i386/fpu/e_expf.S: Likewise.
68017         * sysdeps/i386/fpu/e_expl.c: Likewise.
68018         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
68019         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
68020         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
68021         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
68022         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
68023         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
68024         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
68026         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
68027         is sufficient, at least on modern CPUs.
68029         * ctype/ctype-info.c (__ctype_init): Define.
68030         * include/ctype.h (__ctype_init): Declare.
68031         (__ctype_b_loc): The variable is always initialized.
68032         (__ctype_toupper_loc): Likewise.
68033         (__ctype_tolower_loc): Likewise.
68034         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
68035         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
68037 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
68039         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
68041         * configure.in: Also look in $cxxmachine/include for C++ system
68042         headers.
68044 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68046         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
68047         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
68048         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
68049         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
68050         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
68051         (USE_AS_WMEMCMP): New macro.
68052         Fixing indents.
68053         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
68054         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
68055         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
68056         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
68057         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68058         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
68059         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
68060         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
68061         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
68062         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
68063         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
68064         (USE_AS_WMEMCMP): New macro.
68065         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
68066         * sysdeps/string/test-memcmp.c: Update.
68067         Fix simple_wmemcmp.
68068         Add new tests.
68069         * wcsmbs/wmemcmp.c: Update.
68070         (WMEMCMP): New macro.
68071         Fix overflow bug.
68073 2011-10-12  Andreas Jaeger  <aj@suse.de>
68075         [BZ #13268]
68076         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
68078 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
68080         * libio/iofwide.c (do_length): Avoid warning.
68082         * ctype/ctype.h (__isctype_f): Add missing __THROW.
68084 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
68086         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
68088         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
68089         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
68090         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
68091         * sysdeps/i386/i686/fpu/e_log.S: New file.
68092         * sysdeps/i386/i686/fpu/e_logf.S: New file.
68093         * sysdeps/i386/i686/fpu/e_logl.S: New file.
68095         * ctype/ctype.h: Add support for inlined isXXX functions when
68096         compiling C++ code.
68098 2011-10-14  Andreas Schwab  <schwab@redhat.com>
68100         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68102         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
68104 2011-10-13  Roland McGrath  <roland@hack.frob.com>
68106         [BZ #13291]
68107         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
68109 2011-10-13  Andreas Schwab  <schwab@redhat.com>
68111         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
68112         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
68113         feraiseexcept.
68115         * sysdeps/x86_64/memrchr.S: Check for zero size.
68117         * string/stratcliff.c: Add memrchr tests.
68119 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68121         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68122         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
68123         rawmemchr-sse2 rawmemchr-sse2-bsf.
68124         * sysdeps/i386/i686/multiarch/memchr.S: New file.
68125         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
68126         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
68127         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
68128         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
68129         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
68130         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
68131         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
68132         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
68133         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
68134         * string/memrchr.c (MEMRCHR): New macro.
68136 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
68138         Add integration with gcc's -ffinite-math-only and optimize wrapper
68139         functions in libm.
68140         * Versions.def: Define GLIBC_2.15 version for libm.
68141         * math/Makefile (headers): Add bits/math-finite.h.
68142         * math/bits/math-finite.h: New file.
68143         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
68144         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
68145         * math/e_acoshl.c: Add __*_finite alias.
68146         * math/e_acosl.c: Likewise.
68147         * math/e_asinl.c: Likewise.
68148         * math/e_atan2l.c: Likewise.
68149         * math/e_atanhl.c: Likewise.
68150         * math/e_coshl.c: Likewise.
68151         * math/e_exp10.c: Likewise.
68152         * math/e_exp10f.c: Likewise.
68153         * math/e_exp10l.c: Likewise.
68154         * math/e_exp2l.c: Likewise.
68155         * math/e_fmodl.c: Likewise.
68156         * math/e_gammal_r.c: Likewise.
68157         * math/e_hypotl.c: Likewise.
68158         * math/e_j0l.c: Likewise.
68159         * math/e_j1l.c: Likewise.
68160         * math/e_jnl.c: Likewise.
68161         * math/e_lgammal_r.c: Likewise.
68162         * math/e_log10l.c: Likewise.
68163         * math/e_log2l.c: Likewise.
68164         * math/e_logl.c: Likewise.
68165         * math/e_powl.c: Likewise.
68166         * math/e_sinhl.c: Likewise.
68167         * math/e_sqrtl.c: Likewise.
68168         * math/e_scalb.c: Completely rewritten and optimized.
68169         * math/e_scalbf.c: Likewise.
68170         * math/e_scalbl.c: Likewise.
68171         * math/w_acos.c: Likewise.
68172         * math/w_acosf.c: Likewise.
68173         * math/w_acosl.c: Likewise.
68174         * math/w_acosh.c: Likewise.
68175         * math/w_acoshf.c: Likewise.
68176         * math/w_acoshl.c: Likewise.
68177         * math/w_asin.c: Likewise.
68178         * math/w_asinf.c: Likewise.
68179         * math/w_asinl.c: Likewise.
68180         * math/w_atan2.c: Likewise.
68181         * math/w_atan2f.c: Likewise.
68182         * math/w_atan2l.c: Likewise.
68183         * math/w_atanh.c: Likewise.
68184         * math/w_atanhf.c: Likewise.
68185         * math/w_atanhl.c: Likewise.
68186         * math/w_exp10.c: Likewise.
68187         * math/w_exp10f.c: Likewise.
68188         * math/w_exp10l.c: Likewise.
68189         * math/w_fmod.c: Likewise.
68190         * math/w_fmodf.c: Likewise.
68191         * math/w_fmodl.c: Likewise.
68192         * math/w_j0.c: Likewise.
68193         * math/w_j0f.c: Likewise.
68194         * math/w_j0l.c: Likewise.
68195         * math/w_j1.c: Likewise.
68196         * math/w_j1f.c: Likewise.
68197         * math/w_j1l.c: Likewise.
68198         * math/w_jn.c: Likewise.
68199         * math/w_jnf.c: Likewise.
68200         * math/w_log.c: Likewise.
68201         * math/w_logf.c: Likewise.
68202         * math/w_logl.c: Likewise.
68203         * math/w_log10.c: Likewise.
68204         * math/w_log10f.c: Likewise.
68205         * math/w_log10l.c: Likewise.
68206         * math/w_log2.c: Likewise.
68207         * math/w_log2f.c: Likewise.
68208         * math/w_log2l.c: Likewise.
68209         * math/w_pow.c: Likewise.
68210         * math/w_powf.c: Likewise.
68211         * math/w_powl.c: Likewise.
68212         * math/w_remainder.c: Likewise.
68213         * math/w_remainderf.c: Likewise.
68214         * math/w_remainderl.c: Likewise.
68215         * math/w_scalb.c: Likewise.
68216         * math/w_scalbf.c: Likewise.
68217         * math/w_scalbl.c: Likewise.
68218         * math/w_sqrt.c: Likewise.
68219         * math/w_sqrtf.c: Likewise.
68220         * math/w_sqrtl.c: Likewise.
68221         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
68222         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
68223         used.
68224         * math/math_private.h: Declare __kernel_standard_f.
68225         * math/w_cosh.c: Remove cruft and optimize a bit.
68226         * math/w_coshf.c: Likewise.
68227         * math/w_coshl.c: Likewise.
68228         * math/w_exp2.c: Likewise.
68229         * math/w_exp2f.c: Likewise.
68230         * math/w_exp2l.c: Likewise.
68231         * math/w_hypot.c: Likewise.
68232         * math/w_hypotf.c: Likewise.
68233         * math/w_hypotl.c: Likewise.
68234         * math/w_lgamma.c: Likewise.
68235         * math/w_lgamma_r.c: Likewise.
68236         * math/w_lgammaf.c: Likewise.
68237         * math/w_lgammaf_r.c: Likewise.
68238         * math/w_lgammal.c: Likewise.
68239         * math/w_lgammal_r.c: Likewise.
68240         * math/w_sinh.c: Likewise.
68241         * math/w_sinhf.c: Likewise.
68242         * math/w_sinhl.c: Likewise.
68243         * math/w_tgamma.c: Likewise.
68244         * math/w_tgammaf.c: Likewise.
68245         * math/w_tgammal.c: Likewise.
68246         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68247         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68248         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
68249         Minor optimizations.  Pretty printing.  Remove cruft.
68250         * sysdeps/i386/fpu/e_acosf.S: Likewise.
68251         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68252         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68253         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68254         * sysdeps/i386/fpu/e_acosl.c: Likewise.
68255         * sysdeps/i386/fpu/e_asin.S: Likewise.
68256         * sysdeps/i386/fpu/e_asinf.S: Likewise.
68257         * sysdeps/i386/fpu/e_atan2.S: Likewise.
68258         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
68259         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
68260         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68261         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68262         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68263         * sysdeps/i386/fpu/e_exp10.S: Likewise.
68264         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
68265         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
68266         * sysdeps/i386/fpu/e_exp2.S: Likewise.
68267         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
68268         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
68269         * sysdeps/i386/fpu/e_fmod.S: Likewise.
68270         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
68271         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
68272         * sysdeps/i386/fpu/e_hypot.S: Likewise.
68273         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
68274         * sysdeps/i386/fpu/e_log.S: Likewise.
68275         * sysdeps/i386/fpu/e_log10.S: Likewise.
68276         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68277         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68278         * sysdeps/i386/fpu/e_log2.S: Likewise.
68279         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68280         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68281         * sysdeps/i386/fpu/e_logf.S: Likewise.
68282         * sysdeps/i386/fpu/e_logl.S: Likewise.
68283         * sysdeps/i386/fpu/e_pow.S: Likewise.
68284         * sysdeps/i386/fpu/e_powf.S: Likewise.
68285         * sysdeps/i386/fpu/e_powl.S: Likewise.
68286         * sysdeps/i386/fpu/e_remainder.S: Likewise.
68287         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
68288         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
68289         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68290         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68291         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68292         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
68293         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
68294         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
68295         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68296         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68297         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68298         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68299         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
68300         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68301         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
68302         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68303         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68304         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68305         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68306         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68307         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68308         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68309         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68310         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68311         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68312         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68313         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68314         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68315         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68316         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68317         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68318         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68319         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68320         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68321         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
68322         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68323         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
68324         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68325         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68326         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68327         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68328         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68329         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68330         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68331         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68332         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68333         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68334         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68335         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68336         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68337         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68338         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68339         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68340         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68341         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68342         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68343         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68344         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
68345         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68346         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68347         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68348         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68349         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68350         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68351         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68352         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68353         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68354         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68355         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68356         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68357         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68358         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68359         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68360         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68361         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68362         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68363         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
68364         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68365         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68366         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68367         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68368         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68369         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68370         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68371         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
68372         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68373         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68374         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68375         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68376         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68377         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
68378         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68379         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68380         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68381         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68382         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68383         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68384         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68385         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68386         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68387         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68388         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
68389         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
68390         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
68391         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
68392         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
68393         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
68394         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
68395         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
68396         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
68397         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
68398         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
68399         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68400         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68401         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68402         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68403         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
68404         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68405         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
68406         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
68407         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
68408         (__isnanf): Likewise.
68409         (__isinf_ns): Likewise.
68410         (__isinf_nsf): Likewise.
68411         (__finite): Likewise.
68412         (__finitef): Likewise.
68413         (__ieee754_sqrt): Define as macro.
68414         (__ieee754_sqrtf): Define as macro.
68415         (__ieee754_sqrtl): Define as macro.
68416         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
68417         inlined copy.
68418         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
68419         __FINITE_MATH_ONLY__ consistent.
68420         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
68422 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
68424         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
68425         of rawmemchr.
68427         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
68429 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
68431         * po/ja.po: Update from translation team.
68433 2011-10-08  Roland McGrath  <roland@hack.frob.com>
68435         * locale/programs/locarchive.c (prepare_address_space): New function.
68436         (create_archive, enlarge_archive, open_archive): Use it.
68438         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
68439         inside [SHARED], where it is used.
68441         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
68443         * nss/getent.c (netgroup_keys): Remove unused variable.
68444         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68446 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
68448         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
68449         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
68450         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
68451         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
68452         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
68453         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
68454         * math/Makefile (libm-calls): Add s_isinf_ns.
68455         * math/divtc3.c: Use __isinf_nsl instead of isinf.
68456         * math/multc3.c: Likewise.
68457         * math/s_casin.c: Likewise.
68458         * math/s_casinf.c: Likewise.
68459         * math/s_casinl.c: Likewise.
68460         * math/s_ccos.c: Likewise.
68461         * math/s_ccosf.c: Likewise.
68462         * math/s_ccosl.c: Likewise.
68463         * math/s_ctan.c: Likewise.
68464         * math/s_ctanf.c: Likewise.
68465         * math/s_ctanh.c: Likewise.
68466         * math/s_ctanhf.c: Likewise.
68467         * math/s_ctanhl.c: Likewise.
68468         * math/s_ctanl.c: Likewise.
68469         * math/w_fmod.c: Likewise.
68470         * math/w_fmodf.c: Likewise.
68471         * math/w_fmodl.c: Likewise.
68472         * math/w_remainder.c: Likewise.
68473         * math/w_remainderf.c: Likewise.
68474         * math/w_remainderl.c: Likewise.
68475         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
68476         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
68477         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
68478         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
68479         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
68480         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
68481         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
68482         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
68484         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
68485         of the number.
68486         * stdio-common/printf_fphex.c: Likewise.
68487         * stdio-common/printf_size.c: Likewise.
68489         * math/e_exp10.c: Include math_private.h using <...> not "...".
68490         * math/e_exp10f.c: Likewise.
68491         * math/e_exp10l.c: Likewise.
68492         * math/e_exp2l.c: Likewise.
68493         * math/e_j0l.c: Likewise.
68494         * math/e_j1l.c: Likewise.
68495         * math/e_jnl.c: Likewise.
68496         * math/e_lgammal_r.c: Likewise.
68497         * math/e_rem_pio2l.c: Likewise.
68498         * math/e_scalb.c: Likewise.
68499         * math/e_scalbf.c: Likewise.
68500         * math/e_scalbl.c: Likewise.
68501         * math/k_cosl.c: Likewise.
68502         * math/k_sinl.c: Likewise.
68503         * math/k_tanl.c: Likewise.
68504         * math/s_cacoshf.c: Likewise.
68505         * math/s_catan.c: Likewise.
68506         * math/s_catanf.c: Likewise.
68507         * math/s_catanh.c: Likewise.
68508         * math/s_catanhf.c: Likewise.
68509         * math/s_catanhl.c: Likewise.
68510         * math/s_catanl.c: Likewise.
68511         * math/s_ccosh.c: Likewise.
68512         * math/s_ccoshf.c: Likewise.
68513         * math/s_ccoshl.c: Likewise.
68514         * math/s_cexp.c: Likewise.
68515         * math/s_cexpf.c: Likewise.
68516         * math/s_cexpl.c: Likewise.
68517         * math/s_clog.c: Likewise.
68518         * math/s_clog10.c: Likewise.
68519         * math/s_clog10f.c: Likewise.
68520         * math/s_clog10l.c: Likewise.
68521         * math/s_clogf.c: Likewise.
68522         * math/s_clogl.c: Likewise.
68523         * math/s_csin.c: Likewise.
68524         * math/s_csinf.c: Likewise.
68525         * math/s_csinh.c: Likewise.
68526         * math/s_csinhf.c: Likewise.
68527         * math/s_csinhl.c: Likewise.
68528         * math/s_csinl.c: Likewise.
68529         * math/s_csqrt.c: Likewise.
68530         * math/s_csqrtf.c: Likewise.
68531         * math/s_csqrtl.c: Likewise.
68532         * math/s_ctan.c: Likewise.
68533         * math/s_ctanf.c: Likewise.
68534         * math/s_ctanh.c: Likewise.
68535         * math/s_ctanhf.c: Likewise.
68536         * math/s_ctanhl.c: Likewise.
68537         * math/s_ctanl.c: Likewise.
68538         * math/s_ldexp.c: Likewise.
68539         * math/s_ldexpf.c: Likewise.
68540         * math/s_ldexpl.c: Likewise.
68541         * math/s_significand.c: Likewise.
68542         * math/s_significandf.c: Likewise.
68543         * math/s_significandl.c: Likewise.
68544         * math/w_acos.c: Likewise.
68545         * math/w_acosf.c: Likewise.
68546         * math/w_acosh.c: Likewise.
68547         * math/w_acoshf.c: Likewise.
68548         * math/w_acoshl.c: Likewise.
68549         * math/w_acosl.c: Likewise.
68550         * math/w_asin.c: Likewise.
68551         * math/w_asinf.c: Likewise.
68552         * math/w_asinl.c: Likewise.
68553         * math/w_atan2.c: Likewise.
68554         * math/w_atan2f.c: Likewise.
68555         * math/w_atan2l.c: Likewise.
68556         * math/w_atanh.c: Likewise.
68557         * math/w_atanhf.c: Likewise.
68558         * math/w_atanhl.c: Likewise.
68559         * math/w_cosh.c: Likewise.
68560         * math/w_coshf.c: Likewise.
68561         * math/w_coshl.c: Likewise.
68562         * math/w_dremf.c: Likewise.
68563         * math/w_exp10.c: Likewise.
68564         * math/w_exp10f.c: Likewise.
68565         * math/w_exp10l.c: Likewise.
68566         * math/w_exp2.c: Likewise.
68567         * math/w_exp2f.c: Likewise.
68568         * math/w_fmod.c: Likewise.
68569         * math/w_fmodf.c: Likewise.
68570         * math/w_fmodl.c: Likewise.
68571         * math/w_hypot.c: Likewise.
68572         * math/w_hypotf.c: Likewise.
68573         * math/w_hypotl.c: Likewise.
68574         * math/w_j0.c: Likewise.
68575         * math/w_j0f.c: Likewise.
68576         * math/w_j0l.c: Likewise.
68577         * math/w_j1.c: Likewise.
68578         * math/w_j1f.c: Likewise.
68579         * math/w_j1l.c: Likewise.
68580         * math/w_jn.c: Likewise.
68581         * math/w_jnf.c: Likewise.
68582         * math/w_jnl.c: Likewise.
68583         * math/w_lgamma.c: Likewise.
68584         * math/w_lgamma_r.c: Likewise.
68585         * math/w_lgammaf.c: Likewise.
68586         * math/w_lgammaf_r.c: Likewise.
68587         * math/w_lgammal.c: Likewise.
68588         * math/w_lgammal_r.c: Likewise.
68589         * math/w_log.c: Likewise.
68590         * math/w_log10.c: Likewise.
68591         * math/w_log10f.c: Likewise.
68592         * math/w_log10l.c: Likewise.
68593         * math/w_log2.c: Likewise.
68594         * math/w_log2f.c: Likewise.
68595         * math/w_log2l.c: Likewise.
68596         * math/w_logf.c: Likewise.
68597         * math/w_logl.c: Likewise.
68598         * math/w_pow.c: Likewise.
68599         * math/w_powf.c: Likewise.
68600         * math/w_powl.c: Likewise.
68601         * math/w_remainder.c: Likewise.
68602         * math/w_remainderf.c: Likewise.
68603         * math/w_remainderl.c: Likewise.
68604         * math/w_scalb.c: Likewise.
68605         * math/w_scalbf.c: Likewise.
68606         * math/w_scalbl.c: Likewise.
68607         * math/w_sinh.c: Likewise.
68608         * math/w_sinhf.c: Likewise.
68609         * math/w_sinhl.c: Likewise.
68610         * math/w_sqrt.c: Likewise.
68611         * math/w_sqrtf.c: Likewise.
68612         * math/w_sqrtl.c: Likewise.
68613         * math/w_tgamma.c: Likewise.
68614         * math/w_tgammaf.c: Likewise.
68615         * math/w_tgammal.c: Likewise.
68617         * po/ja.po: Update from translation team.
68619 2011-09-29  Andreas Jaeger  <aj@suse.de>
68621         [BZ #13179]
68622         * sunrpc/netname.c (netname2host): Fix logic.
68624         [BZ #6779]
68625         [BZ #6783]
68626         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
68627         correctly.
68628         * math/w_remainder.c (__remainder): Likewise.
68629         * math/w_remainderf.c (__remainderf): Likewise.
68630         * math/libm-test.inc (remainder_test): Add test cases.
68632 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68634         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
68635         sdiv_qrnnd.
68637 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
68639         * string/test-memcmp.c: Avoid unncessary #defines.
68640         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
68642 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68644         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
68645         Use new sse2 version for core i3 - i7 as it's faster
68646         than sse42 version.
68647         (bit_Prefer_PMINUB_for_stringop): New.
68648         * sysdeps/x86_64/rawmemchr.S: Update.
68649         Replace with faster SSE2 version.
68650         * sysdeps/x86_64/memrchr.S: New file.
68651         * sysdeps/x86_64/memchr.S: Update.
68652         Replace with faster SSE2 version.
68654 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
68656         * elf/dl-load.c (lose): Add cast to avoid warning.
68658 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
68660         * po/ca.po: Update from translation team.
68662         * inet/getnetgrent_r.c: Hook up nscd.
68663         * nscd/Makefile (routines): Add nscd_netgroup.
68664         (nscd-modules): Add netgroupcache.
68665         (CFLAGS-netgroupcache.c): Define.
68666         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
68667         (cache_search): Add const to second parameter.
68668         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
68669         INNETGR.
68670         (dbs): Add netgrdb entry.
68671         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
68672         (verify_persistent_db): Handle netgrdb.
68673         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
68674         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
68675         GETFDNETGR.
68676         (netgroup_response_header): Define.
68677         (innetgroup_response_header): Define.
68678         (datahead): Add netgroup_response_header and innetgroup_response_header
68679         elements.
68680         * nscd/nscd.conf: Add entries for netgroup cache.
68681         * nscd/nscd.h (dbtype): Add netgrdb.
68682         (_PATH_NSCD_NETGROUP_DB): Define.
68683         (netgroup_iov_disabled): Declare.
68684         (xmalloc, xcalloc, xrealloc): Move declarations here.
68685         (cache_search): Adjust prototype.
68686         Add netgroup-related prototypes.
68687         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
68688         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
68689         (__nscd_innetgr): Declare.
68690         * nscd/selinux.c (perms): Use access_vector_t as element type and
68691         add netgroup-related initializers.
68692         * nscd/netgroupcache.c: New file.
68693         * nscd/nscd_netgroup.c: New file.
68694         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
68695         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
68696         For four parameters use innetgr.
68697         * nss/nss_files/files-init.c: Add definition and callback for netgr.
68698         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
68699         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
68700         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
68702         * nscd/connections.c (register_traced_file): Don't register file
68703         for disabled databases.
68705 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
68707         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
68709         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
68710         from tree and freeing node.
68712 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
68714         * nss/nsswitch.c (__nss_database_lookup): Handle
68715         nss_parse_service_list out of memory case.
68717 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
68719         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
68720         out of memory case.
68722 2011-10-04  Andreas Schwab  <schwab@redhat.com>
68724         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
68725         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
68726         pass it down.
68727         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
68728         elf_machine_rela, elf_machine_lazy_rel.
68729         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
68730         (ELF_DYNAMIC_DO_REL): Likewise.
68731         (ELF_DYNAMIC_DO_RELA): Likewise.
68732         (ELF_DYNAMIC_RELOCATE): Likewise.
68733         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
68734         to ELF_DYNAMIC_DO_REL.
68735         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
68736         (dl_main): In trace mode always set __RTLD_NOIFUNC.
68737         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
68738         elf_machine_rela.
68739         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
68740         skip_ifunc, don't call ifunc function if non-zero.
68741         (elf_machine_rela): Likewise.
68742         (elf_machine_lazy_rel): Likewise.
68743         (elf_machine_lazy_rela): Likewise.
68744         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
68745         (elf_machine_lazy_rel): Likewise.
68746         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
68747         Likewise.
68748         (elf_machine_lazy_rel): Likewise.
68749         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68750         Likewise.
68751         (elf_machine_lazy_rel): Likewise.
68752         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
68753         (elf_machine_lazy_rel): Likewise.
68754         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
68755         (elf_machine_lazy_rel): Likewise.
68756         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
68757         (elf_machine_lazy_rel): Likewise.
68758         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
68759         (elf_machine_lazy_rel): Likewise.
68760         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
68761         (elf_machine_lazy_rel): Likewise.
68762         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
68763         (elf_machine_lazy_rel): Likewise.
68765 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
68767         * nss/nss_files/files-init.c (_nss_files_init): Use static
68768         initialization for all the *_traced_file variables.
68770 2011-09-28  Andreas Schwab  <schwab@redhat.com>
68772         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68774 2011-09-27  Roland McGrath  <roland@hack.frob.com>
68776         [BZ #13226]
68777         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
68779 2011-09-27  Andreas Schwab  <schwab@redhat.com>
68781         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68782         Reread the line before reparsing it.
68784 2011-09-26  Andreas Schwab  <schwab@redhat.com>
68786         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
68788 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
68789             Maxim Kuvyrkov  <maxim@codesourcery.com>
68790             Joseph Myers  <joseph@codesourcery.com>
68792         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
68793         if needed for __stack_chk_guard.
68795 2011-09-19  Roland McGrath  <roland@hack.frob.com>
68797         * sysdeps/posix/spawni.c (script_execute): Always define it.
68798         It will be optimized away if unused.
68799         (maybe_script_execute): New function.
68800         (__spawni): Call it.
68802         * Makerules: Don't include tls.make.
68803         (config-tls): Always set to thread.
68804         * tls.make.c: File removed.
68806 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
68808         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
68809         * config.make.in (CPPFLAGS-config): New substituted variable.
68811 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
68813         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
68815         [BZ #13192]
68816         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
68817         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
68819 2011-09-15  Roland McGrath  <roland@hack.frob.com>
68821         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
68822         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
68823         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68824         (CALL_FAIL): Likewise.
68825         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
68826         (CALL_FAIL): Macro removed.
68827         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
68829 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
68831         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
68832         for __FINITE_MATH_ONLY__ == 1.
68834 2011-09-15  Andreas Schwab  <schwab@redhat.com>
68836         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
68837         __ieee754_sqrt instead of sqrt.
68838         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
68839         __ieee754_sqrtf instead of sqrtf.
68840         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
68841         __floorf instead of floorf.
68842         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
68843         __floorf, __truncf instead of floorf, truncf.
68845 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
68847         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
68849         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
68850         __extern_always_inline.
68851         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
68852         32-bit.
68854 2011-09-14  Andreas Schwab  <schwab@redhat.com>
68856         * elf/rtld.c (dl_main): Also relocate in dependency order when
68857         doing symbol dependency testing.
68859 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
68861         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68862         Always define `refsym'.
68864 2011-09-13  Andreas Schwab  <schwab@redhat.com>
68866         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
68867         (__FD_ELT): Renamed from __FDELT.
68868         * misc/bits/select2.h (__FD_ELT): Likewise.
68869         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
68870         __FD_MASK instead of __FDELT, __FDMASK.
68871         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68872         Likewise.
68873         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68874         Likewise.
68876         * elf/Makefile (gen-ldd): Fix pattern.
68878         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
68879         (init_tls): Likewise.
68881 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
68883         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
68885 2011-09-12  Andreas Schwab  <schwab@redhat.com>
68887         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
68888         `struct cmsghdr *' instead of `void *'.
68889         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
68890         Likewise.
68892 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
68894         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
68895         if non-absolute.
68896         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
68897         ldd_rewrite_script.
68899 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
68901         * configure.in: Remove --with-tls option.
68902         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
68903         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
68904         out in case it is missing.
68905         * sysdeps/ia64/elf/configure.in: Likewise.
68906         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
68907         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
68908         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
68909         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
68910         * sysdeps/sh/elf/configure.in: Likewise.
68911         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
68912         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68913         * sysdeps/x86_64/elf/configure.in: Likewise.
68914         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
68915         * sysdeps/mach/hurd/tls.h: Likewise.
68917         [BZ #13067]
68918         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
68920         [BZ #13090]
68921         * configure.in: Fix use of AC_INIT.
68923         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
68925 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
68927         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
68928         __set_errno.
68929         * malloc/hooks.c: Likewise.
68931         [BZ #11929]
68932         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
68933         variables statically.
68934         (narenas): Initialize.
68935         (list_lock): Initialize.
68936         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
68937         initializtion of main_arena and list_lock.  Small cleanups.
68938         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
68939         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
68940         Add initializers to main_arena and mp_.
68941         (malloc_state): Remove pagesize member.  Change all users to use
68942         GLRO(dl_pagesize).
68944         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
68945         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
68946         is always initialized.
68948         * malloc/malloc.c: Removed unused configurations and dead code.
68949         * malloc/arena.c: Likewise.
68950         * malloc/hooks.c: Likewise.
68951         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
68953         * include/tls.h: Removed.  USE___THREAD must always be defined.
68954         * bits/libc-tsd.h: Don't handle !USE___THREAD.
68955         * elf/dl-libc.c: Likewise.
68956         * elf/dl-tsd.c: Likewise.
68957         * include/errno.h: Likewise.
68958         * include/netdb.h: Likewise.
68959         * include/resolv.h: Likewise.
68960         * inet/herrno-loc.c: Likewise.
68961         * inet/herrno.c: Likewise.
68962         * malloc/arena.c: Likewise.
68963         * malloc/hooks.c: Likewise.
68964         * malloc/malloc.c: Likewise.
68965         * resolv/res-state.c: Likewise.
68966         * resolv/res_libc.c: Likewise.
68967         * sysdeps/i386/dl-machine.h: Likewise.
68968         * sysdeps/ia64/dl-machine.h: Likewise.
68969         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
68970         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
68971         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
68972         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
68973         * sysdeps/sh/dl-machine.h: Likewise.
68974         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68975         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68976         * sysdeps/unix/i386/sysdep.S: Likewise.
68977         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
68978         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
68979         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
68980         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
68981         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
68982         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
68983         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
68984         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68985         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68986         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
68987         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68988         * sysdeps/x86_64/dl-machine.h: Likewise.
68989         * tls.make.c: Likewise.
68991         * configure.in: Remove --with-__thread option.  Make tests for
68992         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
68993         tls_model attribute fail if no support is available.  Remove
68994         USE_IN_LIBIO.
68995         * Makeconfig: Adjust for dropped configure option.  All features are
68996         now mandatory.
68997         * Makerules: Likewise.
68998         * Versions.def: Likewise.
68999         * argp/argp-fmtstream.c: Likewise.
69000         * argp/argp-fmtstream.h: Likewise.
69001         * argp/argp-help.c: Likewise.
69002         * assert/assert.c: Likewise.
69003         * config.h.in: Likewise.
69004         * config.make.in: Likewise.
69005         * configure: Likewise.
69006         * configure.in: Likewise.
69007         * csu/Versions: Likewise.
69008         * csu/init.c: Likewise.
69009         * elf/tst-audit2.c: Likewise.
69010         * elf/tst-tls10.c: Likewise.
69011         * elf/tst-tls10.h: Likewise.
69012         * elf/tst-tls11.c: Likewise.
69013         * elf/tst-tls12.c: Likewise.
69014         * elf/tst-tls14.c: Likewise.
69015         * elf/tst-tlsmod11.c: Likewise.
69016         * elf/tst-tlsmod12.c: Likewise.
69017         * elf/tst-tlsmod13.c: Likewise.
69018         * elf/tst-tlsmod13a.c: Likewise.
69019         * elf/tst-tlsmod14a.c: Likewise.
69020         * elf/tst-tlsmod15b.c: Likewise.
69021         * elf/tst-tlsmod16a.c: Likewise.
69022         * elf/tst-tlsmod16b.c: Likewise.
69023         * elf/tst-tlsmod7.c: Likewise.
69024         * elf/tst-tlsmod8.c: Likewise.
69025         * elf/tst-tlsmod9.c: Likewise.
69026         * gmon/gmon.c: Likewise.
69027         * grp/fgetgrent_r.c: Likewise.
69028         * grp/putgrent.c: Likewise.
69029         * hurd/fopenport.c: Likewise.
69030         * include/libc-symbols.h: Likewise.
69031         * include/tls.h: Likewise.
69032         * intl/gettextP.h: Likewise.
69033         * intl/loadinfo.h: Likewise.
69034         * locale/global-locale.c: Likewise.
69035         * locale/localeinfo.h: Likewise.
69036         * mach/devstream.c: Likewise.
69037         * malloc/arena.c: Likewise.
69038         * malloc/set-freeres.c: Likewise.
69039         * misc/err.c: Likewise.
69040         * misc/getttyent.c: Likewise.
69041         * misc/mntent_r.c: Likewise.
69042         * posix/getopt.c: Likewise.
69043         * posix/wordexp.c: Likewise.
69044         * pwd/fgetpwent_r.c: Likewise.
69045         * resolv/Versions: Likewise.
69046         * resolv/res_hconf.c: Likewise.
69047         * shadow/fgetspent_r.c: Likewise.
69048         * shadow/putspent.c: Likewise.
69049         * stdio-common/printf_fphex.c: Likewise.
69050         * stdio-common/tmpfile.c: Likewise.
69051         * stdlib/abort.c: Likewise.
69052         * stdlib/fmtmsg.c: Likewise.
69053         * sunrpc/auth_unix.c: Likewise.
69054         * sunrpc/clnt_perr.c: Likewise.
69055         * sunrpc/clnt_tcp.c: Likewise.
69056         * sunrpc/clnt_udp.c: Likewise.
69057         * sunrpc/clnt_unix.c: Likewise.
69058         * sunrpc/openchild.c: Likewise.
69059         * sunrpc/svc_simple.c: Likewise.
69060         * sunrpc/svc_tcp.c: Likewise.
69061         * sunrpc/svc_udp.c: Likewise.
69062         * sunrpc/svc_unix.c: Likewise.
69063         * sunrpc/xdr.c: Likewise.
69064         * sunrpc/xdr_array.c: Likewise.
69065         * sunrpc/xdr_rec.c: Likewise.
69066         * sunrpc/xdr_ref.c: Likewise.
69067         * sunrpc/xdr_stdio.c: Likewise.
69069 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69071         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
69073 2011-07-03  Andreas Jaeger  <aj@suse.de>
69075         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
69076         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
69077         regenerate with gen-libm-tests.pl.
69079 2010-05-12  Petr Baudis  <pasky@suse.cz>
69081         [BZ #11589]
69082         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
69083         around j0() zero points by switching to j1().
69084         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69085         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69086         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69087         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69089 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69091         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
69092         instead of 0.
69093         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
69094         instead of 0.
69095         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69096         Patch in part by Pavel Roskin <proski@gnu.org>.
69098         [BZ #13138]
69099         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
69100         realloc.
69101         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
69102         Free memory block if necessary.
69104         [BZ #12847]
69105         * libio/genops.c (INTDEF): For string streams the _lock pointer can
69106         be NULL.  Don't lock in this case.
69108 2011-09-09  Roland McGrath  <roland@hack.frob.com>
69110         * elf/elf.h (ELFOSABI_GNU): New macro.
69111         (ELFOSABI_LINUX): Define to that.
69113 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
69115         * string/strncat.c (strncat): Undef the symbol in case it has been
69116         defined in bits/string.h.
69118 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69120         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
69122         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
69123         link map.
69125 2011-08-17  Andreas Jaeger  <aj@suse.de>
69127         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
69129 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
69130             Ian Lance Taylor  <iant@google.com>
69132         * math/libm-test.inc (lround_test): New testcase.
69133         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
69135 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
69137         * Makefile: Remove support for automatic cvs check-ins.
69138         * Makerules: Likewise.
69139         * config.make.in: Likewise.
69140         * configure.in: Likewise.
69141         * intl/Makefile: Likewise.
69142         * locale/Makefile: Likewise.
69143         * po/Makefile: Likewise.
69144         * posix/Makefile: Likewise.
69145         * sysdeps/gnu/Makefile: Likewise.
69146         * sysdeps/mach/hurd/Makefile: Likewise.
69147         * sysdeps/sparc/sparc32/Makefile: Likewise.
69149         [BZ #13118]
69150         * posix/Makefile (bug-regex32-ENV): Define.
69151         Patch by John Stanley <jpsinthemix@verizon.net>.
69153         * misc/Makefile (headers): Add bits/select2.h.
69154         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
69155         * misc/bits/select2.h: New file.
69156         * include/bits/select2.h: New file.
69157         * debug/Makefile (routines): Add fdelt_chk.
69158         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
69159         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
69160         FD_ISSET.
69161         * debug/fdelt_chk.c: New file.
69163         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
69164         * wcsmbs/test-wmemcmp.c: Likewise.
69165         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
69166         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
69168 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69170         * string/Makefile (strop-tests): Add memcmp.
69171         * string/test-wmemcmp.c: New file.
69172         * string/test-memcmp.c: Add wmemcmp support.
69174 2011-09-08  Roland McGrath  <roland@hack.frob.com>
69176         [BZ #13153]
69177         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
69178         2011-07-19 change.
69180         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
69181         garbage value in a __mach_port_mod_refs call in the cases of the
69182         task-self and thread-self ports.
69184 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69186         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
69188 2011-09-08  Andreas Schwab  <schwab@redhat.com>
69190         * elf/dl-load.c (lose): Check for non-null L.
69192 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
69194         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
69196         * elf/dl-libc.c (dlerror_run): Pass back error code from
69197         dl_catch_error.
69199         [BZ #13123]
69200         * elf/dl-load.c (lose): Free l_origin if it is valid.
69202         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
69203         names.
69204         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
69205         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69206         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69207         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69208         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
69209         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
69211 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69213         * sysdeps/powerpc/fpu/e_hypot.c: New file.
69214         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
69215         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
69216         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
69217         * sysdeps/powerpc/fpu/k_cosf.c: New file.
69218         * sysdeps/powerpc/fpu/k_sinf.c: New file.
69219         * sysdeps/powerpc/fpu/s_cosf.c: New file.
69220         * sysdeps/powerpc/fpu/s_sinf.c: New file.
69221         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
69222         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
69224 2011-08-15  Alan Modra  <amodra@gmail.com>
69226         [BZ #13092]
69227         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
69228         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
69229         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
69230         ppc_mcount to static-only-routines.
69231         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
69232         __mcount_internal.
69233         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
69234         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
69236 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
69238         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
69239         for finite and infinity parameters.
69241 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
69243         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
69244         and add nop instructions for throughput optimization.
69245         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69247 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
69249         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
69250         aligned copy for power7 with vector-scalar instructions.
69251         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
69253 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
69255         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
69256         AVX check.
69258 2011-09-07  Andreas Schwab  <schwab@redhat.com>
69260         [BZ #13144]
69261         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
69262         last change.
69264 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
69266         * sysdeps/unix/sysv/linux/x86_64/init-first.c
69267         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
69268         syscall wrapper around clock_gettime in __vdso_clock_gettime.
69269         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
69270         clock_gettime.
69272 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
69274         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
69275         Forgot to demangle the pointer.
69277         * sysdeps/i386/sysdep.h: Define atom_text_section.
69278         * sysdeps/x86_64/sysdep.h: Likewise.
69279         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
69280         section with atom_text_section.
69281         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69282         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69283         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
69284         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69285         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
69287         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
69288         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
69289         already be defined.  Change to take two parameters and don't assign
69290         result to variable.  Adjust all users.
69291         Define INTERNAL_GETTIME if not already defined.
69292         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
69293         call.
69294         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
69295         HAVE_CLOCK_GETTIME_VSYSCALL.
69296         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
69298         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
69299         gettimeofday vsyscall, just use time.
69301 2011-09-06  Andreas Schwab  <schwab@redhat.com>
69303         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
69304         <errno.h>.
69306 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
69308         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
69309         syscall on x86-64.
69310         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
69311         syscall.
69312         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
69313         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
69314         syscall if possible.
69316 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69318         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
69319         e_ident.  Don't pass to find_mapsXX.
69320         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
69322 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69324         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69325         strchr-sse2-no-bsf strrchr-sse2-no-bsf
69326         * sysdeps/x86_64/multiarch/strchr.S: Update.
69327         Check bit_slow_BSF bit.
69328         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
69329         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
69330         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
69332 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69334         [BZ #13134]
69335         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
69336         before glibc 2.15.
69337         (tryshell): Define.
69338         (__spawni): Change last parameter to be flag.  Test
69339         SPAWN_XFLAGS_USE_PATH flag to use path or not.
69340         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
69341         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
69342         * posix/spawni.c: Likewise.
69343         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
69344         * posix/spawnp.c: Likewise.  Change normal version to use
69345         SPAWN_XFLAGS_USE_PATH.
69346         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
69347         SPAWN_XFLAGS_TRY_SHELL.
69349         [BZ #13150]
69350         * posix/glob.h: Remove gcc 1.x support.
69352         [BZ #13068]
69353         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
69355 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69357         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69358         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
69359         strrchr-sse2-bsf
69360         * sysdeps/i386/i686/multiarch/strchr.S: New file.
69361         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
69362         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
69363         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
69364         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
69365         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
69367 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69369         * sysdeps/x86_64/wcscmp.S: New file.
69371         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
69372         wcscmp-c wcscmp-sse2
69373         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
69374         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
69375         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
69376         * wcsmbs/wcscmp.c: Allow renaming.
69378 2011-09-05  David S. Miller  <davem@davemloft.net>
69380         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
69381         stack slot, rather than the struct return pointer slot.
69382         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
69383         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
69384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
69385         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
69387 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69389         * po/ja.po: Update from translation team.
69391         [BZ #13144]
69392         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
69393         kernel in 64-bit binaries.
69395 2011-09-01  David S. Miller  <davem@davemloft.net>
69397         * elf/elf.h (HWCAP_SPARC_*): Move to..
69398         * sysdeps/sparc/sysdep.h: this new file and add new values.
69399         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
69400         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
69401         _DL_HWCAP_COUNT to 24.
69402         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
69403         entries.
69404         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
69405         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
69406         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
69407         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
69408         instead of magic constants.
69409         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69411 2011-08-31  David S. Miller  <davem@davemloft.net>
69413         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
69414         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
69415         Reimplement to do errno handling inline.
69416         (SYSCALL_ERROR_HANDLER): New macro.
69417         (__SYSCALL_STRING): Do not do errno handling in asm.
69418         (__CLONE_SYSCALL_STRING): Delete.
69419         (__INTERNAL_SYSCALL_STRING): Delete.
69420         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
69421         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
69422         (PSEUDO): Reimplement to do errno handling inline.
69423         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
69424         (SYSCALL_ERROR_HANDLER): New macro.
69425         (__SYSCALL_STRING): Do not do errno handling in asm.
69426         (__CLONE_SYSCALL_STRING): Delete.
69427         (__INTERNAL_SYSCALL_STRING): Delete.
69428         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
69429         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
69430         i386.
69431         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
69432         (inline_syscall*): Add 'err' argument.
69433         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
69434         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
69435         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
69436         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
69438         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
69439         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
69441 2011-08-30  Andreas Schwab  <schwab@redhat.com>
69443         * elf/rtld.c (dl_main): Relocate objects in dependency order.
69445 2011-08-29  Jiri Olsa <jolsa@redhat.com>
69447         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
69448         directive.
69450 2011-08-24  David S. Miller  <davem@davemloft.net>
69452         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
69454 2011-08-24  Andreas Schwab  <schwab@redhat.com>
69456         * elf/Makefile: Add rules to build and run unload8 test.
69457         * elf/unload8.c: New file.
69458         * elf/unload8mod1.c: New file.
69459         * elf/unload8mod1x.c: New file.
69460         * elf/unload8mod2.c: New file.
69461         * elf/unload8mod3.c: New file.
69463         * elf/dl-close.c (_dl_close_worker): Reset private search list if
69464         it wasn't used.
69466 2011-08-23  David S. Miller  <davem@davemloft.net>
69468         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
69469         subtract stack bias.
69470         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
69471         %sp not %fp in calculations.
69472         (_JMPBUF_UNWINDS_ADJ): Likewise.
69474         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
69475         (aio_suspend): Call it to force an exception region around the
69476         AIO_MISC_WAIT() invocation.
69478 2011-08-23  Andreas Schwab  <schwab@redhat.com>
69480         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
69481         backslash.
69483 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
69485         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
69486         protection macro.
69487         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
69488         and <dl-machine.h>.
69489         (Elf64_FuncDesc): Remove.
69491 2011-08-22  David S. Miller  <davem@davemloft.net>
69493         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
69494         sigaltstack check, add missing cfi directives.
69495         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
69496         missing cfi directives, and sigaltstack handling.
69498 2011-08-16  Andreas Schwab  <schwab@redhat.com>
69500         [BZ #11724]
69501         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
69502         object is seen twice.
69503         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69505         * elf/Makefile (distribute): Add tst-initorder2.c.
69506         (tests): Add tst-initorder2.
69507         (modules-names): Add tst-initorder2a tst-initorder2b
69508         tst-initorder2c tst-initorder2d.  Add rules to build them.
69509         ($(objpfx)tst-initorder2.out): New rule.
69510         * elf/tst-initorder2.c: New file.
69511         * elf/tst-initorder2.exp: New file.
69513 2011-08-22  Andreas Schwab  <schwab@redhat.com>
69515         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
69517         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
69518         dependencies back to end of function.
69520         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
69521         $(elfobjdir)/ld.so.
69523 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
69525         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
69526         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
69527         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
69528         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
69529         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
69530         of __vdso_gettimeofday.
69531         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
69532         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
69533         attribute_hidden.
69534         (_libc_vdso_platform_setup): Remove initialization of
69535         __vdso_gettimeofday and __vdso_time.
69537 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
69539         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
69540         and fgetc_unlocked.
69541         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
69542         getc_unlocked.
69544         * elf/dl-open.c (add_to_global): Report additions to the global scope
69545         for LD_DEBUG=scopes.
69546         (dl_open_worker): Also print scope of newly loaded dependencies.
69547         (_dl_show_scope): Indicate if there is no scope.
69549         [BZ #13114]
69550         * stdio-common/Makefile (tests): Add bug24.
69551         * stdio-common/bug24.c: New file.
69553 2011-08-19  Andreas Jaeger  <aj@suse.de>
69555         [BZ #13114]
69556         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
69557         non-existant file when using close-on-exec mode.
69559 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
69561         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
69562         the very first instruction.
69564         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
69565         the CFI state in the end.
69566         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
69567         inclusion of dl-trampoline.h.
69568         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
69570 2011-08-19  Andreas Schwab  <schwab@redhat.com>
69572         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
69573         expectations for long double.
69575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
69576         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
69578 2011-08-14  David S. Miller  <davem@davemloft.net>
69580         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
69581         artificual limit depends upon the system page size.
69583 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
69585         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
69586         * resolv/Makefile: Define CFLAGS-libresolv.
69588 2011-08-17  Andreas Schwab  <schwab@redhat.com>
69590         * nss/makedb.c (compute_tables): Make variables used in nested
69591         function static.
69593 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
69595         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
69596         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
69597         if buffer was too small.
69599         * elf/pldd.c (main): Attach to all threads in the process.
69600         Rewrite /proc handling to use *at functions.
69602 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
69604         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
69605         specifies first scope to show.
69606         (dl_open_worker): Update callers.  Move printing scope of new
69607         object to before the relocation.
69608         * elf/rtld.c (dl_main): Update _dl_show_scope call.
69609         * sysdeps/generic/ldsodefs.h: Update declaration.
69611         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
69612         string for the scope number.
69614 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
69616         * nscd/servicescache.c (cache_addserv): Make sure written is always
69617         initialized.
69619 2011-08-14  Roland McGrath  <roland@hack.frob.com>
69621         * sysdeps/i386/i486/bits/atomic.h
69622         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
69623         statement expression, so as to suppress "set but not used" warning.
69624         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
69626         * string/strncat.c (STRNCAT): Use prototype definition.
69628         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
69629         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
69630         -Iprograms here.
69631         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
69632         (localedef-modules): Add localedef.
69633         (locale-modules): Add locale.
69635         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
69636         * elf/rtld.c (dl_main): Invert order of assignment in last change,
69637         to avoid a warning.
69639 2011-08-14  David S. Miller  <davem@davemloft.net>
69641         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
69642         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
69644 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
69646         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
69647         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
69648         * elf/rtld.c (dl_main): Set l_name of vDSO.
69649         Call _dl_show_scope when DL_DEBUG_SCOPES.
69650         (process_dl_debug): Recognize scopes flag and also set it for all.
69651         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
69652         Declare _dl_show_scope.
69654         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
69655         (do_dlopen): Pass caller_dlopen to dl_open.
69656         (__libc_dlopen_mode): Initialize caller_dlopen.
69658         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
69659         of libc.  Make tolower call locale-independent.  Optimize a bit by
69660         using isdigit instead of isalnum.
69661         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
69663 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
69665         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
69666         was a dependency or dynamically loaded.
69668 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
69670         * intl/l10nflist.c: Allow architecture-specific pop function.
69671         * sysdeps/x86_64/l10nflist.c: New file.
69673         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
69674         classification.
69676 2011-08-10  Andreas Schwab  <schwab@redhat.com>
69678         * include/dirent.h: Add libc_hidden_proto for scandirat and
69679         scandirat64.  Don't declare __scandirat64.
69680         * dirent/scandirat.c: Add libc_hidden_def.
69681         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
69682         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
69684 2011-08-10  David S. Miller  <davem@davemloft.net>
69686         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
69687         enum.
69688         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69689         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69690         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69692 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
69694         * Versions.def [libc]: Add GLIBC_2.15.
69695         * dirent/Makefile (routines): Add scandirat and scandirat64.
69696         * dirent/Versions [libc]: Export scandirat and scandirat64 for
69697         GLIBC_2.15.
69698         * dirent/dirent.h: Declare scandirat and scandirat64.
69699         * dirent/scandirat.c: New file.
69700         * dirent/scandirat64.c: New file.
69701         * sysdeps/wordsize-64/scandirat.c: New file.
69702         * sysdeps/wordsize-64/scandirat64.c: New file.
69703         * dirent/opendir.c: Define opendirat.
69704         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
69705         using scandirat.
69706         * dirent/scandir64.c: Adjust for scandir.c change.
69707         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
69708         __scandirat64, and __scandir_cancel_handler.
69709         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
69710         additional parameter and use openat instead of open (outside of ld.so).
69711         Add new __opendir as wrapper around __opendirat.
69712         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
69713         here without requiring old scandirat implementation.
69715 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
69717         * dirent/scandir.c (cancel_handler): Renamed to
69718         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
69719         defined.  Adjust users.
69720         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
69721         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
69723 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
69725         * string/test-string.h (IMPL): Use __STRING to expand name and then
69726         stringify it.
69728         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
69729         of cleanups.
69731 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69733         * string/Makefile: Update.
69734         (strop-tests): Append strncat.
69735         * string/test-wcscmp.c: New file.
69736         New comprehensive test for wcscmp.
69737         * string/test-strcmp.c: Update.
69738         (WIDE): New define.
69740 2011-07-22  Andreas Schwab  <schwab@redhat.com>
69742         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
69743         line.
69745 2011-07-26  Andreas Schwab  <schwab@redhat.com>
69747         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69748         encoding to ACE if AI_IDN.
69750 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
69752         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
69753         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
69755 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69757         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
69758         Fix overflow bug in strncat.
69759         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
69761         * string/test-strncat.c: Update.
69762         Add new tests for checking overflow bugs.
69764 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69766         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69767         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
69768         * sysdeps/i386/i686/multiarch/strcat.S: New file.
69769         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
69770         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
69771         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
69772         * sysdeps/i386/i686/multiarch/strncat.S: New file.
69773         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
69774         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
69776         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
69777         (USE_AS_STRCAT): Define.
69778         Add strcat and strncat support.
69779         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69781 2011-07-25  Andreas Schwab  <schwab@redhat.com>
69783         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
69784         __n bigger than INT_MAX+1.
69785         (__strncmp_g): Likewise.
69787 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
69789         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
69790         * libio/stido.h: Likewise.
69792         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
69793         (AF_NFC): Define.
69794         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
69795         (AF_NFC): Define.
69797         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
69798         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69799         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69800         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
69801         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69803         [BZ #13021]
69804         * scripts/test-installation.pl: Don't expect libnss_test1 to be
69805         installed.
69807         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
69808         typo.
69809         (_dl_x86_64_save_sse): Likewise.
69811 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
69813         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
69814         OSXSAVE.
69815         (_dl_x86_64_save_sse): Likewise.
69817         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
69819         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
69821 2011-07-21  Andreas Schwab  <schwab@redhat.com>
69823         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
69824         change.
69825         (_dl_x86_64_save_sse): Use correct AVX check.
69827 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69829         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
69830         bug in strncpy/strncat.
69831         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
69833 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
69835         * string/tester.c (test_strcat): Add tests for different alignments
69836         of source and destination.
69837         (test_strncat): Likewise.
69839 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
69841         [BZ #12852]
69842         * posix/glob.c (glob): Check passed in values before using them in
69843         expressions to avoid some overflows.
69844         (glob_in_dir): Likewise.
69846         [BZ #13007]
69847         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
69848         check for AVX enablement so that we don't crash with old kernels and
69849         new hardware.
69850         * elf/tst-audit4.c: Add same checks here.
69851         * elf/tst-audit6.c: Likewise.
69853         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
69855 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
69857         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
69859 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
69861         * po/cs.po: Update from translation team.
69862         * po/bg.po: Likewise.
69864 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
69866         * misc/sys/cdefs.h: Add support for const attribute.
69867         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
69868         to gnu_dev_{major,minor,makedev} functions.
69870 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
69872         * intl/dcigettext.c (get_output_charset): Add missing bracket.
69874 2011-07-20  Andreas Schwab  <schwab@redhat.com>
69876         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
69877         strlen results.
69879 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69881         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
69882         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
69883         register in order to avoid conflicts with the soft frame pointer
69884         being held in r11 when necessary.
69885         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
69886         (INTERNAL_VSYSCALL_NCS): Likewise.
69888 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
69890         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
69891         * elf/dl-fini.c (_dl_fini): Adjust caller.
69892         * elf/dl-close.c (_dl_close_worker): Likewise.
69893         * sysdeps/generic/ldsodefs.h: Adjust declaration.
69895 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
69897         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
69898         "aux_cache->nlibs < 0".
69900         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
69901         in the reload-count case.
69903 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69905         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69906         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
69907         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
69908         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
69909         * sysdeps/x86_64/multiarch/strcat.S: New file.
69910         * sysdeps/x86_64/multiarch/strncat.S: New file.
69911         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
69912         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
69913         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
69914         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
69915         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
69916         (USE_AS_STRCAT): Define.
69917         Add strcat and strncat support.
69918         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69919         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
69920         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
69921         * string/strncat.c: Update.
69922         (USE_AS_STRNCAT): Define.
69923         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69924         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
69925         and i7.
69926         * sysdeps/x86_64/multiarch/init-arch.h
69927         (bit_Prefer_PMINUB_for_stringop): New.
69928         (index_Prefer_PMINUB_for_stringop): Likewise.
69929         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
69930         bit_Prefer_PMINUB_for_stringop.
69932 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
69934         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
69935         buffer64.
69936         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
69937         of casting of buffer.
69938         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
69939         buffer32 and buffer64.
69940         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
69941         writes instead of casting of buffer.
69942         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
69943         buffer32.
69944         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
69945         casting of buffer.
69947 2011-07-19  Andreas Schwab  <schwab@redhat.com>
69949         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
69951 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
69953         * nscd/nscd.c (termination_handler): Don't do anything for a database
69954         if it has not yet been initialized.
69956 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
69958         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69960 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
69962         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69964 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
69966         * po/nl.po: Update from translation team.
69967         * po/sv.po: Likewise.
69969 2011-07-16  Roland McGrath  <roland@hack.frob.com>
69971         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
69972         now disallowed by GCC.
69974         * configure.in (use-default-link): Default to yes if a test -shared
69975         link meets our qualifications.
69976         * configure: Regenerated.
69978         * config.make.in (output-format): New variable.
69979         * configure.in: Check for ld --print-output-format support.
69980         * configure: Regenerated.
69981         * Makerules ($(common-objpfx)format.lds)
69982         [$(output-format) != unknown]: Just use $(output-format),
69983         instead of the linker-script munging.
69985 2011-07-14  Roland McGrath  <roland@hack.frob.com>
69987         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
69988         of $(common-objpfx)shlib.lds.
69989         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
69991         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
69992         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
69994         * configure.in (-z relro check): Adjust test code to add a large
69995         writable data section after it.
69996         * configure: Regenerated.
69998 2011-07-11  Roland McGrath  <roland@hack.frob.com>
70000         * configure.in (-z relro check): Fix test code to make the variable
70001         truly const.
70002         * configure: Regenerated.
70004 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
70006         * nscd/nscd.h (struct traced_file): Define.
70007         (struct database_dyn): Remove inotify_descr, reset_res, and filename
70008         elements.  Add traced_files.
70009         (inotify_fd): Declare.
70010         (register_traced_file): Declare.
70011         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
70012         (inotify_fd): Export.
70013         (resolv_conf_descr): Remove.
70014         (nscd_init): Move inotify descriptor creation to main.
70015         Don't register files for notification here.
70016         (register_traced_file): New function.
70017         (invalidate_cache): Don't use reset_res to determine whether to call
70018         res_init, go through the list of registered files.
70019         (main_loop_poll): The inotify descriptors are now stored in the
70020         structures for the traced files.
70021         (main_loop_epoll): Likewise.
70022         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
70023         to __nss_disable_nscd.
70024         * nscd/cache.c (prune_cache): There is no single inotify descriptor
70025         for a database anymore.  Check the records for all the registered
70026         files instead.
70027         * nss/Makefile (libnss_files-routines): Add files-init.
70028         (libnss_db-routines): Add db-init.
70029         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
70030         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
70031         * nss/nss_db/db-init.c: New file.
70032         * nss/nss_files/files-init.c: New file.
70033         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
70034         __nss_lookup_function.
70035         (__nss_lookup_function): Call nss_load_library.
70036         (nss_load_all_libraries): New function.
70037         (__nss_disable_nscd): Take parameter with callback function for files
70038         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
70039         used for the cached services.
70040         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
70041         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
70042         options for features to all the files in nscd.
70044         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
70046 2011-07-10  Roland McGrath  <roland@hack.frob.com>
70048         * csu/elf-init.c (__libc_csu_init): Comment typo.
70050 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
70052         * po/pl.po: Update from translation team.
70053         * po/ja.po: Likewise.
70054         * po/ru.po: Likewise.
70055         * po/ko.po: Likewise.
70056         * po/fr.po: Likewise.
70058 2011-07-09  Roland McGrath  <roland@hack.frob.com>
70060         * configure.in (.ctors/.dtors header and trailer check):
70061         Use an empirical test on a built program.
70062         * configure: Regenerated.
70064         * configure.in (-z relro check): Use an empirical test on a built DSO.
70065         Detect, but do not require, on ia64.
70066         * configure: Regenerated.
70068         * configure.in (READELF): Find it with AC_CHECK_TOOL.
70069         Update tests that use readelf to use $READELF instead.
70070         * configure: Regenerated.
70072 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
70074         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
70075         if the result is not used.
70077 2011-07-05  Andreas Jaeger  <aj@suse.de>
70079         [BZ#9696]
70080         * stdlib/tst-strtod.c: Add testcase.
70082 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
70084         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
70085         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
70086         The latter has a higher limit.  Take additional parameter to pass to
70087         the new function.
70088         (__pathconf): Pass file to __statfs_link_max.
70089         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
70090         __statfs_link_max.
70091         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
70092         __statfs_link_max.
70094         [BZ #12868]
70095         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
70096         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70097         Handle Lustre.
70098         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
70099         (__statfs_filesize_max): Likewise.
70100         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
70102 2011-07-05  Andreas Jaeger  <aj@suse.de>
70104         * resolv/res_comp.c (dn_skipname): Remove unused variable.
70106 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
70108         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
70109         `status' variable.
70110         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
70111         Likewise.
70113 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
70115         * Makefile (strop-tests): Add strncat.
70116         * string/test-strncat.c: New file.
70118 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
70120         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
70122 2011-06-21  Andreas Jaeger  <aj@suse.de>
70124         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
70125         Copy rule from iconvdata/Makefile.
70127 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
70129         [BZ #12922]
70130         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
70131         but no long options are defined, just return 'W'.
70133 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
70135         [BZ #9696]
70136         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
70138 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
70140         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
70141         netgroups to read.
70142         (innetgr): Likewise.
70144 2011-07-05  Roland McGrath  <roland@hack.frob.com>
70146         * config.make.in (install_root): Default to $(DESTDIR).
70148 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
70150         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
70152 2011-07-02  Roland McGrath  <roland@hack.frob.com>
70154         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
70156         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
70157         containing directory rather than embedding absolute directory names.
70159         * scripts/check-local-headers.sh: Rewritten using awk.
70160         Match by word, not by line.  Print error messages for matches.
70161         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
70163         * Makerules [shlib-lds-flags empty]:
70164         ($(common-objpfx)libc_pic.opts): New target.
70165         ($(common-objpfx)libc_pic.os.clean): New target.
70166         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
70168         * config.make.in (OBJCOPY): New variable.
70169         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
70170         * configure: Regenerated.
70172         * config.make.in (use-default-link): New variable.
70173         * configure.in (use_default_link): Grok --with-default-link to set it.
70174         * configure: Regenerated.
70175         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
70176         (shlib-lds, shlib-lds-flags): Define to empty.
70178         * Makerules (shlib-lds): New variable.
70179         (shlib-lds-flags): New variable.
70180         (build-shlib, build-moduile, build-module-asneeded): Use it.
70181         ($(common-objpfx)libc.so): Use $(shlib-lds).
70182         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
70183         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
70185         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
70186         DT_FLAGS/DT_FLAGS_1 with zero flags.
70188         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
70189         linker script munging.
70191 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
70193         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
70194         as 128-bit value.
70195         * crypt/sha512.c (sha512_process_block): Perform total addition using
70196         128-bit if possible.
70197         (__sha512_finish_ctx): Likewise.
70198         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
70199         as 64-bit value.
70200         * crypt/sha256.c (SWAP64): Define.
70201         (sha256_process_block): Perform total addition using 64-bit if
70202         possible.
70203         (__sha256_finish_ctx): Likewise.
70205 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
70207         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
70208         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70209         * nscd/hstcache.c (cache_addhst): Likewise.
70210         * nscd/grpcache.c (cache_addgr): Likewise.
70211         * nscd/aicache.c (addhstaiX): Likewise.
70212         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
70214 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
70216         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
70217         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70218         * nscd/hstcache.c (cache_addhst): Likewise.
70219         * nscd/grpcache.c (cache_addgr): Likewise.
70220         * nscd/aicache.c (addhstaiX): Likewise.
70222 2011-07-01  Andreas Schwab  <schwab@redhat.com>
70224         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
70225         domain only when needed.
70227 2011-06-30  Andreas Schwab  <schwab@redhat.com>
70229         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
70230         is always restored.
70232 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
70234         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
70235         are re-adding the entry.
70236         * nscd/servicescache.c (cache_addserv): Likewise.
70238 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
70240         * sysdeps/generic/dl-irel.h: fix protection against multiple
70241         inclusions.
70242         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
70244 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
70246         [BZ #12935]
70247         * malloc/memusage.sh: Fix quoting in message.
70248         * debug/xtrace.sh: Likewise.
70250         * configure.in: Remove support for --experimental-malloc option, make
70251         it the default.
70252         * config.make.in: Likewise.
70253         * malloc/Makefile: Likewise.
70255 2011-06-27  Andreas Schwab  <schwab@redhat.com>
70257         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
70258         two-byte characters.
70260 2011-06-27  Roland McGrath  <roland@hack.frob.com>
70262         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
70263         AC_CACHE_CHECK invocation.
70264         * configure: Regenerated.
70266         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
70268 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
70270         [BZ #12350]
70271         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
70272         bit from old_res_options.
70274         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
70276         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
70277         value type for setfct.
70279 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
70281         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70282         __gettimeofday instead of gettimeofday.
70284 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
70286         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
70288 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
70290         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
70292         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
70293         info.
70295 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
70297         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70298         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70299         strcpy-sse2-unaligned strncpy-sse2-unaligned
70300         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
70301         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
70302         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
70303         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
70304         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
70305         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
70306         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
70307         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
70308         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
70309         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
70310         (STRCPY): Support SSE2 and SSSE3 versions.
70312 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
70314         [BZ #12874]
70315         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
70316         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
70317         kernels which artificially limit size of requests.
70319 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
70321         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70322         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70323         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
70324         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
70325         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
70326         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
70327         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
70328         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
70329         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
70330         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
70331         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
70332         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
70333         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
70334         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
70335         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
70336         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70337         Enable unaligned load optimization for Intel Core i3, i5 and i7
70338         processors.
70339         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
70340         Define.
70341         (index_Fast_Unaligned_Load): Define.
70342         (HAS_FAST_UNALIGNED_LOAD): Define.
70344 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
70346         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
70348 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
70350         [BZ #12907]
70351         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
70352         until it is clear that the information is realy needed.
70353         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
70355 2011-06-22  Andreas Schwab  <schwab@redhat.com>
70357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
70359 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
70361         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70362         /sys/devices/system/cpu/online if it is usable.
70364         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
70365         reading the information from the /proc filesystem to once a second.
70367 2011-06-21  Andreas Jaeger  <aj@suse.de>
70369         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
70370         NULL after inclusion of kernel headers.
70372 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
70374         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
70375         calls to internal_setent.
70377         [BZ #12885]
70378         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
70379         addresses using gethostbyname4_r ignore IPv4 addresses.
70381         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
70382         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
70384         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
70386 2011-06-20  David S. Miller  <davem@davemloft.net>
70388         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
70389         inclusions.
70390         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
70392         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
70393         (elf_irel): Use it.
70394         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
70395         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
70396         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
70397         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
70398         * sysdeps/x86_64/dl-irel.h: Likewise.
70400         * elf/dl-runtime.c: Use elf_ifunc_invoke.
70401         * elf/dl-sym.c: Likewise.
70403 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
70405         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
70406         need to dereference resplen2.
70408 2011-06-14  Andreas Schwab  <schwab@redhat.com>
70410         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
70412 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
70414         * Makeconfig: Define vardbdir and inst_vardbdir.
70415         * nss/Makefile: Add rules to install db-Makefile.
70417         * nss/nss_db/db-XXX.c: Cleanup.
70419         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
70420         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
70421         GLIBC_PRIVATE.
70422         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
70423         * nss/makedb.c: Implement -g option to specify that value strings
70424         are generated and should not be added to table iterated over for
70425         get*ent calls.
70426         * nss/nss_db/db-initgroups.c: New file.
70428         * nss/getent.c: Add support for initgroups lookups through getgrouplist
70429         interface.
70431         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
70432         (internal_getgrouplist): Adjust to name change.
70433         Update use_initgroups_entry if this is not the first call.
70434         * nss/databases.def: Add initgroups entry.
70436         * nss/makedb.c (compute_tables): Check result of multiple hash table
70437         sizes to minimize maximum chain length.
70439 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
70441         * Versions.def: Add entry for libnss_db.
70442         * shlib-versions: Likewise.
70443         * nss/Makefile: Add rules to build libnss_db.
70444         * nss/Versions: Add libnss_db information.  Organize libnss_files
70445         entries better.
70446         * nss/db-Makefile: Add gshadow support.  Change rules for the new
70447         makedb progra.  Some minor improvements to generate smaller files.
70448         * nss/nss_db/nss_db.h: Move NSS database header data structures to
70449         here from...
70450         * nss/makedb.c: ...here.
70451         Improve database format to be smaller and require less memory at
70452         runtime.
70453         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
70454         db anymore.
70455         * nss/nss_db/db-netgrp.c: Likewise.
70456         * nss/nss_db/db-open.c: Likewise.
70457         * nss/nss_files/flies-XXX.x: Adjust comments.
70458         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
70459         * nss/nss_files/files-grp.c: Likewise.
70460         * nss/nss_files/files-hosts.c: Likewise.
70461         * nss/nss_files/files-network.c: Likewise.
70462         * nss/nss_files/files-proto.c: Likewise.
70463         * nss/nss_files/files-pwd.c: Likewise.
70464         * nss/nss_files/files-rpc.c: Likewise.
70465         * nss/nss_files/files-service.c: Likewise.
70466         * nss/nss_files/files-sgrp.c: Likewise.
70467         * nss/nss_files/files-spwd.c: Likewise.
70468         * nss/nss_db/db-alias.c: Removed.
70469         * nss/nss_db/dummy-db.h: Removed.
70471 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
70473         * nss/makedb.c: Rewritten to not use database library.
70474         * nss/Makefile: Update to build new makedb program.
70476 2011-06-14  Andreas Jaeger  <aj@suse.de>
70478         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
70479         memset declaration.
70481 2011-06-10  Andreas Schwab  <schwab@redhat.com>
70483         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
70484         tmpbuf.
70486 2011-06-10  Roland McGrath  <roland@hack.frob.com>
70488         * Makerules (shlib.lds): Fail if the linker script comes out empty.
70489         * elf/Makefile ($(objpfx)ld.so): Likewise.
70491         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
70492         Don't list ld.so twice in dependencies.
70494         * posix/bug-regex31.c: Include <stdlib.h>.
70496         * nscd/hstcache.c (cache_addhst): Remove unused variable.
70498         * nis/nss_compat/compat-spwd.c
70499         (getspent_next_nss_netgr): Remove unused variable.
70500         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
70502         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
70503         nonmembers" output to use the right array.
70505         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
70507         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
70509         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
70510         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
70511         * catgets/gencat.c (read_input_file): Likewise.
70512         * locale/programs/locarchive.c (enlarge_archive): Likewise.
70514         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
70515         variable definition inside #if's controlling its use.
70517         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
70519         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
70521         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
70523         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
70524         unreachable code.
70526         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
70528         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
70529         * configure: Regenerated.
70531         * Makerules: Revert last change.
70532         * elf/Makefile: Likewise.
70534 2011-06-09  Roland McGrath  <roland@hack.frob.com>
70536         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
70537         * elf/Makefile ($(objpfx)librtld.os): Likewise.
70538         (reloc-link): Likewise.
70540 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
70542         * elf/Makefile: Add rules to build pldd.
70543         * elf/pldd.c: New file.
70544         * elf/pldd-xx.c: New file.
70546 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
70548         * version.h: Update for 2.15 development version.
70550 2011-06-07  David S. Miller  <davem@davemloft.net>
70552         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
70553         ifuncs.
70554         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
70555         elf_machine_lazy_rel): Likewise.
70556         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
70557         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
70558         elf_machine_lazy_rel): Likewise.
70559         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
70560         dl_hwcap via passed in argument.
70561         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
70562         Likewise.
70564 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70566         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
70568 2011-06-06  Roland McGrath  <roland@hack.frob.com>
70570         [BZ #12849]
70571         * manual/fdl-1.1.texi: New file, verbatim from:
70572         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
70573         * manual/lgpl-2.1.texi: New file, verbatim from:
70574         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
70575         * manual/Makefile (licenses): New variable, list those new file names.
70576         (texis): Use it.
70577         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
70579         * manual/fdl.texi: File removed.
70580         * manual/lesser.texi: File removed.
70581         * manual/libc.texinfo (Copying, Documentation License):
70582         Use new @include file names, put @appendix directive before @include.
70584 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
70586         [BZ #12841]
70587         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
70588         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
70589         (mq_open): Add __NTH.
70591 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
70593         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70594         Assume Intel Core i3/i5/i7 processor if AVX is available.
70596 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
70598         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70599         typo.
70601 2011-05-31  Andreas Schwab  <schwab@redhat.com>
70603         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
70604         memory.  Use alloca_account.  Fix memory leak when retrying.
70606 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
70608         * version.h (RELEASE): Bump for 2.14 release.
70609         * include/features.h (__GLIBC_MINOR__): Bump to 14.
70611         * config.make.in (RANLIB): Remove entry.
70613 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
70615         * po/Makefile (po-sed-cmd): Add ksh to extensions.
70616         (libc.pot): Work around missing support for .ksh extension in xgettext.
70618         [BZ #12684]
70619         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
70620         if both request failed.
70621         (send_dg): In case of server errors clear resplen or *resplen2.
70623         [BZ #12454]
70624         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
70625         when there are multiple maps.
70626         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
70627         (_dl_fini): Remove test here.
70629         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
70631 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
70633         [BZ #12350]
70634         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
70635         bit from old_res_options.
70636         (gaih_inet): Likewise.
70638         [BZ #11099]
70639         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
70640         as signed.
70642         * resolv/res_init.c (res_setoptions): Make the code more compact.
70644         [BZ #11558]
70645         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
70646         set RES_USEVC.
70648         [BZ #11634]
70649         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
70651         * malloc/malloc.h: Mark malloc hook variables as deprecated.
70653         [BZ #11781]
70654         * malloc/malloc.h: Declare malloc hook variables as volatile.
70656         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
70657         in last patch.
70659         [BZ #11799]
70660         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
70661         raise in the comment.
70662         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70663         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70664         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
70666 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
70668         [BZ #12811]
70669         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
70670         grow the buffers more if it already has to be sufficient.
70671         (build_wcs_upper_buffer): Likewise.
70672         * posix/regexec.c (check_matching): Likewise.
70673         (clean_state_log_if_needed): Likewise.
70674         (extend_buffers): Don't enlarge buffers beyond size of the input
70675         buffer.
70676         Patches mostly by Emil Wojak <emil@wojak.eu>.
70677         * posix/bug-regex32.c: New file.
70678         * posix/Makefile (tests): Add bug-regex32.
70680         * locale/findlocale.c (_nl_find_locale): Return right away if
70681         _nl_explode_name failed.
70682         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
70684         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
70686         * debug/xtrace.sh: Unify messages.
70687         * malloc/memusage.sh: Likewise.
70689         [BZ #12813]
70690         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
70691         time symbol from vDSO.  Substitute with vsyscall if not available.
70692         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
70693         __vdso_time.
70695         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
70696         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
70697         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
70698         Add sendmmsg and internal_sendmmsg.
70699         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
70700         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
70701         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
70703         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
70704         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
70705         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
70707 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
70709         [BZ #12813]
70710         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
70711         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
70712         available.
70713         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
70714         __vdso_getcpu.
70716         [BZ #12814]
70717         * iconvdata/Makefile (tests): Add bug-iconv9.
70718         * iconvdata/bug-iconv9.c: New file.
70720 2011-05-27  Andreas Schwab  <schwab@redhat.com>
70722         [BZ #12814]
70723         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
70725 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
70727         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70728         (struct user_regs_struct): Change intcs field back to cs.
70730 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
70732         * po/ja.po: Update from translation team.
70734 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
70736         [BZ #12795]
70737         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
70738         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
70740 2011-05-20  Andreas Schwab  <schwab@redhat.com>
70742         * stdlib/longlong.h: Update from GCC.
70744 2011-05-23  Andreas Schwab  <schwab@redhat.com>
70746         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
70747         parameter name.
70748         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
70749         Add parameter name.
70750         (__sysconf): Pass it down.
70752 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
70754         [BZ #12671]
70755         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
70756         some situations.
70757         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
70758         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
70759         add in in __libc_use_alloca calls.  Adjust callers.
70760         (glob): Use malloc in some situations.
70762         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
70763         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
70764         pltexit.
70766 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
70768         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
70769         and CLOCK_BOOTTIME_ALARM.
70771         [BZ #12782]
70772         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
70773         is returned.
70775         * string/_strerror.c (__strerror_r): Print negative errors as signed
70776         numbers.
70778         [BZ #12777]
70779         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
70780         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
70781         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
70783         * configure.in: Fix typo in redirection and correct removal of test
70784         files in two cases.
70786         [BZ #12788]
70787         * locale/setlocale.c (new_composite_name): Fix test to check for
70788         identical name of all categories.
70790         [BZ #12792]
70791         * libio/filedoalloc.c (local_isatty): New function.
70792         (_IO_file_doallocate): Use local_isatty.
70793         * stdio-common/perror.c (perror): In case a new stream is used
70794         forward the stream error.
70795         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
70796         error flag.
70798 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
70800         [BZ #11884]
70801         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
70802         alloca.
70803         * include/alloca.h (extend_alloca_account): Define.
70805         [BZ #11857]
70806         * posix/regex.h: Fix comments with documentation of user-accessible
70807         fields after compilation and describe correct free'ing of pattern
70808         after re_compile_pattern.
70809         Patch by Reuben Thomas <rrt@sc3d.org>.
70811 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
70813         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
70814         and -mno-altivec to prevent the compiler from using Altivec and/or
70815         VSX instructions when the corresponding registers are not available.
70817 2011-05-19  Andreas Schwab  <schwab@redhat.com>
70819         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
70821 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
70823         * libio/freopen.c (freopen): Use __dup2, not dup2.
70824         * libio/freopen64.c (freopen64): Likewise.
70826 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70828         [BZ #12775]
70829         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
70830         * math/Makefile (tests): Add test-powl.
70831         (CFLAGS-test-powl.c): Define.
70832         * math/test-powl.c: New file.
70834 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70836         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
70838 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
70840         [BZ #11837]
70841         * iconvdata/gb18030.c: Update to GB18020-2005.
70843 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
70845         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
70846         RE_SYNTAX_POSIX_AWK): Update to match recent development.
70847         Patch by Aharon Robbins <arnold@skeeve.com>.
70849         [BZ #11892]
70850         * stdlib/putenv.c (putenv): Don't always create copy of the variable
70851         on the stack.
70853         [BZ #11895]
70854         * misc/pselect.c (__pselect): Handle timeout value errors hidden
70855         through underflows.
70857         [BZ #12766]
70858         * misc/error.c (error_at_line): Ensure file_name and old_file_name
70859         point to strings before performing equality test for error_one_per_line
70860         mode.
70862         [BZ #11697]
70863         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
70865         [BZ #11820]
70866         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70867         (struct user_fpregs_struct): Avoid __uint*_t types.
70869         [BZ #6420]
70870         * malloc/mtrace.c (tr_where): Add additional parameter to point to
70871         symbol info.  Use it instead of calling _dl_addr locally.
70872         (lock_and_info): New function.
70873         (tr_freehook): Call lock_and_info and pass symbol info as additional
70874         parameter to tr_where.
70875         (tr_mallochook): Likewise.
70876         (tr_reallochook): Likewise.
70877         (tr_memalignhook): Likewise.
70879         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
70880         used and couldn't be at all thread-safe.
70882 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
70884         * libio/freopen.c (freopen): Don't close old file descriptor
70885         before the new one is opened.  Instead dup the new file descriptor
70886         to the old one after the new stream is created.
70887         * libio/freopen64.c (freopen64): Likewise.
70888         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
70889         * libio/fileops.c (_IO_new_file_close_it): Handle new
70890         _IO_FLAGS2_NOCLOSE flag.
70891         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
70892         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
70893         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
70894         _IO_FLAGS2_NOCLOSE flag.
70895         * include/unistd.h: Add hidden_proto for dup3.
70896         Define __have_dup3.
70897         * io/dup3.c: Define hidden symbol.
70898         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
70900         [BZ #7101]
70901         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
70902         when an incomplete long option is used.
70903         * posix/tst-getopt_long1.c: New file.
70904         * posix/Makefile (tests): Add tst-getopt_long1.
70906         [BZ #10138]
70907         * scripts/config.guess: Update from autoconf-2.68.
70908         * scripts/config.sub: Likewise.
70910         [BZ #10157]
70911         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
70912         tests into ...
70913         (has_cpuclock): ...this.  New function.
70914         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
70915         macro here based on has_cpuclock code.
70917         [BZ #10149]
70918         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70919         First byte (not low byte) is now always NUL.
70920         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
70922         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70923         Use non-cancelable interfaces.
70925         [BZ #9809]
70926         * locale/iso-639.def: Add entry for Sorani.
70928         [BZ #11901]
70929         * include/stdlib.h: Move include protection to the right place.
70930         Define abort_msg_s.  Declare __abort_msg with it.
70931         * stdlib/abort.c (__abort_msg): Adjust type.
70932         * assert/assert.c (__assert_fail_base): New function.  Majority
70933         of code from __assert_fail.  Allocate memory for __abort_msg with
70934         mmap.
70935         (__assert_fail): Now call __assert_fail_base.
70936         * assert/assert-perr.c: Remove bulk of implementation.  Use
70937         __assert_fail_base.
70938         * include/assert.hL Declare __assert_fail_base.
70939         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
70940         mmap.
70941         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
70943 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
70945         [BZ #11952]
70946         [BZ #12453]
70947         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
70948         until all modules are registered in the DTV.
70949         * elf/Makefile: Add rules to build and run tst-tls19.
70950         * elf/tst-tls19.c: New file.
70951         * elf/tst-tls19mod1.c: New file.
70952         * elf/tst-tls19mod2.c: New file.
70953         * elf/tst-tls19mod3.c: New file.
70954         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
70956         [BZ #12083]
70957         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
70958         correctly.
70960         [BZ #12601]
70961         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
70962         two-byte sequence errors.
70963         * iconvdata/Makefile (tests): Add bug-iconv8.
70964         * iconvdata/bug-iconv8.c: New file.
70966         [BZ #12626]
70967         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
70968         buf2 definition.
70970         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
70972         [BZ #12432]
70973         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
70974         (dummy_getcfa): New function.
70975         (init): Get _Unwind_GetCFA address, use dummy if not found.
70976         (backtrace_helper): In recursion check, also check whether CFA changes.
70977         (__backtrace): Completely initialize arg.
70979         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
70980         storing incomplete byte sequence in state object.  Avoid testing for
70981         guaranteed too small input if we know there is enough data available.
70983 2011-05-11  Andreas Schwab  <schwab@redhat.com>
70985         * Makeconfig (+link-pie): Indent.
70986         * Rules (binaries-pie): Define if $(have-fpie) and
70987         $(build-shared).
70988         (binaries-shared): Also filter out $(binaries-pie).
70989         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
70990         * nscd/Makefile (others-pie): Add nscd.
70991         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
70992         ($(objpfx)nscd): Remove command override.
70993         * login/Makefile (others-pie): Add pt_chown.
70994         ($(objpfx)pt_chown): Remove command override.
70995         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
70996         remove command overrides.
70998 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
71000         * libio/tst_putwc.c: Fix error messages.
71002         [BZ #12724]
71003         * libio/fileops.c (_IO_new_file_close_it): Always flush when
71004         currently writing and seek to current position when not.
71005         * libio/Makefile (tests): Add bug-fclose1.
71006         * libio/bug-fclose1.c: New file.
71008 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
71010         [BZ #12511]
71011         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
71012         don't set DF_1_NODELETE here.
71013         (do_lookup_x): When entering new entry test for copy relocation
71014         and if necessary set DF_1_NODELETE flag.
71015         * elf/tst-unique4.cc: New file.
71016         * elf/tst-unique4.h: New file.
71017         * elf/tst-unique4lib.cc: New file.
71018         * elf/Makefile: Add rules to build and run tst-unique4.
71019         Patch by Piotr Bury <pbury@goahead.com>.
71021 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
71023         [BZ #12052]
71024         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
71026         [BZ #12625]
71027         * misc/mntent_r.c (addmntent): Flush the stream after the output
71029         [BZ #12393]
71030         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
71031         (is_trusted_path_normalize): Skip initial colon.  Append slash
71032         to empty buffer.  Duplicate is_trusted_path code but allow
71033         constructed patch to be prefix.
71034         (is_dst): Allow $ORIGIN followed by /.
71035         (_dl_dst_substitute): Correct clearing of check_for_trusted.
71036         Correct testing of result of is_trusted_path_normalize
71037         (decompose_rpath): Fix warning.
71039 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
71041         [BZ #11257]
71042         * grp/initgroups.c (internal_getgrouplist): When we found the service
71043         list through the initgroups entry in nsswitch.conf do not always
71044         continue on a successful lookup.  Don't always use the
71045         __nss_group_database value if it is set.
71046         * nss/nsswitch.conf (initgroups): Change action for successful db
71047         lookup to continue for compatibility.
71049 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
71051         [BZ #11532]
71052         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
71053         and CP774 modules.
71054         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
71055         and CP774 modules.
71056         * iconvdata/tst-tables.sh: Likewise.
71057         * iconvdata/cp770.c: New file.
71058         * iconvdata/cp771.c: New file.
71059         * iconvdata/cp772.c: New file.
71060         * iconvdata/cp773.c: New file.
71061         * iconvdata/cp774.c: New file.
71062         * iconvdata/testdata/CP770: New file.
71063         * iconvdata/testdata/CP770..UTF8: New file.
71064         * iconvdata/testdata/CP771: New file.
71065         * iconvdata/testdata/CP771..UTF8: New file.
71066         * iconvdata/testdata/CP772: New file.
71067         * iconvdata/testdata/CP772..UTF8: New file.
71068         * iconvdata/testdata/CP773: New file.
71069         * iconvdata/testdata/CP773..UTF8: New file.
71070         * iconvdata/testdata/CP774: New file.
71071         * iconvdata/testdata/CP774..UTF8: New file.
71073         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
71074         END CHARMAP line.
71075         * iconvdata/gen-8bit-gap.sh: Likewise.
71076         * iconvdata/gen-8bit.sh: Likewise.
71078         * locale/iso-639.def: Add ary entry.
71080         [BZ #11258]
71081         * locale/C-translit.h.in: Add U20A1 transliteration.
71083         [BZ #12178]
71084         * locale/iso-639.def: Add wae entry.
71085         Patch by Kevin Bortis <bortis@translate-wae.ch>.
71087         [BZ #12545]
71088         * locale/programs/localedef.c (construct_output_path): Use ssize_t
71089         for n.
71091         [BZ #12711]
71092         * locale/C-translit.h.in: Add entry for U20B9.
71093         Patch by pravin.d.s@gmail.com.
71095 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
71097         [BZ #12713]
71098         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
71099         ENAMETOOLONG use generic getcwd.
71100         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
71101         in rtld.  Use *stat64.
71102         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
71103         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
71104         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
71105         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
71106         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
71107         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
71108         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
71109         __fstatat64 macros.
71110         * include/dirent.h: Add libc_hidden_proto for rewinddir.
71111         * dirent/rewinddir.c: Add libc_hidden_def.
71112         * sysdeps/mach/hurd/rewinddir.c: Likewise.
71113         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
71115         * include/dirent.h (__alloc_dir): Add flags parameter.
71116         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
71117         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
71118         __alloc_dir.
71119         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
71120         from fdopendir if O_CLOEXEC is already set.
71122 2011-03-15  Alan Modra  <amodra@gmail.com>
71124         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
71125         l_tls_firstbyte_offset non-zero.  Save padding offset in
71126         l_tls_firstbyte_offset for later use.
71127         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
71128         freeing static tls block.
71130 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
71132         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
71133         where #ifdef was intended.  The intent is to prevent ARG_MAX from
71134         being defined by the kernel headers.
71136 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
71138         [BZ #12734]
71139         * resolv/resolv.h: Define RES_NOTLDQUERY.
71140         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
71141         no-tld-query and set RES_NOTLDQUERY.
71142         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
71143         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
71144         modern BIND to search name as TLD unless forbidden.
71146 2011-05-07  Petr Baudis  <pasky@suse.cz>
71147             Ulrich Drepper  <drepper@gmail.com>
71149         [BZ #12393]
71150         * elf/dl-load.c (fillin_rpath): Move trusted path check...
71151         (is_trusted_path): ...to here.
71152         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
71153         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
71154         using is_trusted_path_normalize() in setuid scripts.
71156 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
71158         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
71159         __BEGIN/__END_DECLS.
71161 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
71163         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
71164         NSS_STATUS_NOTFOUND if no record was found.
71166 2011-05-05  Andreas Schwab  <schwab@redhat.com>
71168         * sunrpc/Makefile (headers): Add rpc/netdb.h.
71169         (headers-not-in-tirpc): Remove rpc/netdb.h
71170         * resolv/netdb.h: Revert last change.
71172 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
71174         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
71175         circular dependency between libgcc.a and libc.a.
71177 2011-05-05  Andreas Schwab  <schwab@redhat.com>
71179         * resolv/netdb.h: Don't include <rpc/netdb.h>.
71180         * nis/Makefile: Don't install rpcsvc/*.
71181         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
71182         instead of <rpc/types.h>.
71183         (MAXHOSTNAMELEN): Define.
71185 2011-05-03  Andreas Schwab  <schwab@redhat.com>
71187         * elf/ldconfig.c (add_dir): Don't crash on empty path.
71189 2011-04-28  Maciej Babinski  <mbabinski@google.com>
71191         [BZ #12714]
71192         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
71193         gethostbyname4_r when IPv6 results are possible.
71195 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
71197         [BZ #12723]
71198         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
71199         _PC_PIPE_BUF handling.
71201 2011-04-30  Bruno Haible  <bruno@clisp.org>
71203         [BZ #12717]
71204         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
71205         * resolv/netdb.h (getnameinfo): Change type of flags parameter
71206         to 'int'.
71207         * inet/getnameinfo.c (getnameinfo): Likewise.
71209 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
71211         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
71212         to groups setting in database lookup.
71213         * nss/nsswitch.conf: Add initgroups entry.
71215 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
71217         [BZ #12685]
71218         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
71219         mode string.
71220         Patch by Eric Blake <eblake@redhat.com>.
71222 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
71224         * sunrpc/Makefile (need-export-routines): Add svc_run.
71225         (routines): Remove svc_run.
71226         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
71227         * sunrpc/clnt_perr.c (clnt_perrno): Export.
71228         * sunrpc/svc_run.c (svc_run): Likewise.
71229         * sunrpc/svc_udp.c (svcudp_create): Likewise.
71231 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
71233         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
71234         problem in reallocation in last patch.
71236 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
71238         * sunrpc/Makefile: Move inclusion of Rules.
71240 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
71242         * nss/nss_files/files-initgroups.c: New file.
71243         * nss/Makefile (libnss_files-routines): Add files-initgroups.
71244         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
71245         _nss_files_initgroups_dyn.
71247 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
71249         * elf/elf.h (R_ARM_IRELATIVE): Define.
71251 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
71253         * po/ru.po: Update from translation team.
71255 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
71257         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
71258         dependencies.
71260 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
71262         [BZ #12653]
71263         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
71264         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
71265         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71266         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
71267         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
71269 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
71271         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
71272         differing bytes.
71273         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
71274         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
71275         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71277 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
71279         [BZ #12420]
71280         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
71281         storing it.
71282         * stdlib/bug-getcontext.c: New file.
71283         * stdlib/Makefile: Add rules to build and run bug-getcontext.
71285 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71287         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
71288         instructions into .machine "z9-109".
71289         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
71290         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
71292 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71294         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
71295         between environment variables and auxiliary vector.
71297 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
71299         * Makefile: Add rules to build linkobj/libc.so.
71300         * include/libc-symbols.h: Define libc_hidden_nolink.
71301         * include/rpc/auth.h: Mark functions which are to be hidden.
71302         * include/rpc/auth_des.h: Likewise.
71303         * include/rpc/auth_unix.h: Likewise.
71304         * include/rpc/clnt.h: Likewise.
71305         * include/rpc/des_crypt.h: Likewise.
71306         * include/rpc/key_prot.h: Likewise.
71307         * include/rpc/pmap_clnt.h: Likewise.
71308         * include/rpc/pmap_prot.h: Likewise.
71309         * include/rpc/pmap_rmt.h: Likewise.
71310         * include/rpc/rpc_msg.h: Likewise.
71311         * include/rpc/svc.h: Likewise.
71312         * include/rpc/svc_auth.h: Likewise.
71313         * include/rpc/xdr.h: Likewise.
71314         * nis/Makefile: Link all DSOs against linkobj/libc.so.
71315         * nss/Makefile: Likewise.
71316         * sunrpc/Makefile: Don't install headers.  Build library with normal
71317         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
71318         * sunrpc/auth_des.c: Hide exported symbols by default, export some
71319         for the compat linking library.  Remove use of INTDEF/INTUSE.
71320         * sunrpc/auth_none.c: Likewise.
71321         * sunrpc/auth_unix.c: Likewise.
71322         * sunrpc/authdes_prot.c: Likewise.
71323         * sunrpc/authuxprot.c: Likewise.
71324         * sunrpc/clnt_gen.c: Likewise.
71325         * sunrpc/clnt_perr.c: Likewise.
71326         * sunrpc/clnt_raw.c: Likewise.
71327         * sunrpc/clnt_simp.c: Likewise.
71328         * sunrpc/clnt_tcp.c: Likewise.
71329         * sunrpc/clnt_udp.c: Likewise.
71330         * sunrpc/clnt_unix.c: Likewise.
71331         * sunrpc/des_crypt.c: Likewise.
71332         * sunrpc/des_soft.c: Likewise.
71333         * sunrpc/get_myaddr.c: Likewise.
71334         * sunrpc/key_call.c: Likewise.
71335         * sunrpc/key_prot.c: Likewise.
71336         * sunrpc/netname.c: Likewise.
71337         * sunrpc/pm_getmaps.c: Likewise.
71338         * sunrpc/pm_getport.c: Likewise.
71339         * sunrpc/pmap_clnt.c: Likewise.
71340         * sunrpc/pmap_prot.c: Likewise.
71341         * sunrpc/pmap_prot2.c: Likewise.
71342         * sunrpc/pmap_rmt.c: Likewise.
71343         * sunrpc/publickey.c: Likewise.
71344         * sunrpc/rpc_cmsg.c: Likewise.
71345         * sunrpc/rpc_common.c: Likewise.
71346         * sunrpc/rpc_dtable.c: Likewise.
71347         * sunrpc/rpc_prot.c: Likewise.
71348         * sunrpc/rpc_thread.c: Likewise.
71349         * sunrpc/rtime.c: Likewise.
71350         * sunrpc/svc.c: Likewise.
71351         * sunrpc/svc_auth.c: Likewise.
71352         * sunrpc/svc_authux.c: Likewise.
71353         * sunrpc/svc_raw.c: Likewise.
71354         * sunrpc/svc_run.c: Likewise.
71355         * sunrpc/svc_simple.c: Likewise.
71356         * sunrpc/svc_tcp.c: Likewise.
71357         * sunrpc/svc_udp.c: Likewise.
71358         * sunrpc/svc_unix.c: Likewise.
71359         * sunrpc/svcauth_des.c: Likewise.
71360         * sunrpc/xcrypt.c: Likewise.
71361         * sunrpc/xdr.c: Likewise.
71362         * sunrpc/xdr_array.c: Likewise.
71363         * sunrpc/xdr_float.c: Likewise.
71364         * sunrpc/xdr_intXX_t.c: Likewise.
71365         * sunrpc/xdr_mem.c: Likewise.
71366         * sunrpc/xdr_rec.c: Likewise.
71367         * sunrpc/xdr_ref.c: Likewise.
71368         * sunrpc/xdr_sizeof.c: Likewise.
71369         * sunrpc/xdr_stdio.c: Likewise.
71371 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
71373         [BZ #12650]
71374         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
71375         * sysdeps/ia64/dl-tls.h: Likewise.
71376         * sysdeps/powerpc/dl-tls.h: Likewise.
71377         * sysdeps/s390/dl-tls.h: Likewise.
71378         * sysdeps/sh/dl-tls.h: Likewise.
71379         * sysdeps/sparc/dl-tls.h: Likewise.
71380         * sysdeps/x86_64/dl-tls.h: Likewise.
71381         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
71383 2011-03-14  Andreas Schwab  <schwab@redhat.com>
71385         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
71386         rpath element also skip the following colon.
71387         (expand_dynamic_string_token): Add is_path parameter and pass
71388         down to DL_DST_REQUIRED and _dl_dst_substitute.
71389         (decompose_rpath): Call expand_dynamic_string_token with
71390         non-zero is_path.  Ignore empty rpaths.
71391         (_dl_map_object_from_fd): Call expand_dynamic_string_token
71392         with zero is_path.
71394 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
71396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
71397         Make cancelable.
71399 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
71401         [BZ #12655]
71402         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
71403         Patch by Filipe David Manana <fdmanana@apache.org>.
71405 2011-04-07  Andreas Schwab  <schwab@redhat.com>
71407         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
71408         Maintain aligned stack.
71409         (CHECK_RSP): Remove unused macro.
71411 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
71413         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
71414         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
71416 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
71418         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
71420         * include/features.h: Mention __USE_XOPEN2K8 in comment.
71422 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
71424         [BZ #12518]
71425         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
71426         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
71427         * sysdeps/x86_64/memmove.c: New file.
71428         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
71429         (memcpy): Renamed to ...
71430         (__new_memcpy): This.
71431         (memcpy): Provide GLIBC_2_14 memcpy.
71432         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
71433         (memcpy): Provide GLIBC_2_2_5 memcpy.
71435 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71437         [BZ #12631]
71438         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
71440 2011-03-30  Andreas Schwab  <schwab@redhat.com>
71442         * misc/syncfs.c: New file.
71443         * misc/Makefile (routines): Add syncfs.
71444         * posix/unistd.h: Declare syncfs.
71445         * sysdeps/unix/syscalls.list: Add syncfs.
71447 2011-04-01  Andreas Schwab  <schwab@redhat.com>
71449         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
71450         open_by_handle_at.
71451         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71452         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71453         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71454         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71455         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71456         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
71457         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71459 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71461         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
71462         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71463         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
71464         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71465         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71466         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71467         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71469         * io/Makefile: Compile fallocate.c, fallocate64.c, and
71470         sync_file_range.c with -fexceptions.
71471         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
71472         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
71473         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
71474         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
71475         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
71476         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
71477         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
71478         sync_file_range as cancellation point
71479         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
71480         now a wrapper around __call_sync_file_range with cancellation handling.
71481         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
71482         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
71483         function name to __call_sync_file_range.
71484         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
71485         Add call_sync_file_range.
71487 2011-04-01  Andreas Schwab  <schwab@redhat.com>
71489         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71490         bits/timex.h.
71492 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71494         * iconv/iconv.h: Fix typo in comment.
71495         * io/fcntl.h: Likewise.
71496         * libio/stdio.h: Likewise.
71497         * posix/spawn.h: Likewise.
71498         * posix/unistd.h: Likewise.
71499         * stdlib/stdlib.h: Likewise.
71500         * time/time.h: Likewise.
71501         * wcsmbs/wchar.h: Likewise.
71503         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
71504         open_by_handle): Add.
71505         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
71506         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
71507         Augment a few comments.
71508         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71509         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71510         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71511         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71512         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71513         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
71514         open_by_handle.
71516         * io/fcntl.h (AT_EMPTY_PATH): Define.
71518 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
71520         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
71521         * sysdeps/unix/sysv/linux/bits/time.h: New file.
71522         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
71523         to...
71524         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
71525         * Versions.def: Add GLIBC_2.14.
71526         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
71527         Export.
71529 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
71531         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
71532         round counter.
71533         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71535 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71537         [BZ #12597]
71538         * string/test-strncmp.c (do_page_test): New function.
71539         (check2): Likewise.
71540         (test_main): Call check2.
71541         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
71543 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
71545         [BZ #12587]
71546         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
71547         Handle cache information in CPU leaf 4.
71548         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71550 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
71552         [BZ #12583]
71553         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
71554         character representation.
71555         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
71557 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
71559         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
71560         END(__isnan) to END(__isnanf) to match function entry point/label
71561         EALIGN(__isnanf,...).
71563 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
71565         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
71567 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
71569         [BZ #12510]
71570         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
71571         copy from the symbol referenced in the relocation to initialize the
71572         used variable.
71573         Patch by Piotr Bury <pbury@goahead.com>.
71574         * elf/Makefile: Add rules to build and tst-unique3.
71575         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
71576         * elf/tst-unique3.cc: New file.
71577         * elf/tst-unique3.h: New file.
71578         * elf/tst-unique3lib.cc: New file.
71579         * elf/tst-unique3lib2.cc: New file.
71581         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
71583 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
71585         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
71586         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
71587         to _start.
71589 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
71591         * elf/dl-load.c (_dl_map_object): If we are looking for the first
71592         to-be-loaded object along a path to loader is ld.so.
71594 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
71595             Ulrich Drepper  <drepper@gmail.com>
71597         * sysdeps/x86_64/memset.S: After aligning destination, code
71598         branches to different locations depending on the value of
71599         misalignment, when multiarch is enabled. Fix this.
71601 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
71603         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
71604         Set _x86_64_preferred_memory_instruction for AMD processsors.
71605         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71606         Set bit_Prefer_SSE_for_memop for AMD processors.
71608 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
71610         * libio/fmemopen.c (fmemopen): Optimize a bit.
71612 2011-03-03  Andreas Schwab  <schwab@redhat.com>
71614         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
71616 2011-03-03  Roland McGrath  <roland@redhat.com>
71618         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
71620 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
71622         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
71623         __bzero_ultra1 instead of __memset_ultra1.
71625 2011-02-23  Andreas Schwab  <schwab@redhat.com>
71626             Ulrich Drepper  <drepper@gmail.com>
71628         [BZ #12509]
71629         * include/link.h (struct link_map): Add l_orig_initfini.
71630         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
71631         returning unsuccessfully.
71632         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
71633         close of a file loaded at startup, restore the original l_initfini
71634         list.
71635         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
71636         list, store the pointer.
71637         * elf/Makefile ($(objpfx)noload-mem): New rule.
71638         (noload-ENV): Define.
71639         (tests): Add $(objpfx)noload-mem.
71640         * elf/noload.c: Include <memcheck.h>.
71641         (main): Call mtrace.  Close all opened handles.
71643 2011-02-17  Andreas Schwab  <schwab@redhat.com>
71645         [BZ #12454]
71646         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
71647         dependencies are missing.
71649 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71651         Fix __if_freereq crash: Unlike the generic version which uses free,
71652         Hurd needs munmap.
71653         * sysdeps/mach/hurd/ifreq.h: New file.
71655 2011-01-27  Petr Baudis  <pasky@suse.cz>
71656             Ulrich Drepper  <drepper@gmail.com>
71658         [BZ 12445]#
71659         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
71660         to extend_alloca().
71661         * stdio-common/bug23.c: New file.
71662         * stdio-common/Makefile (tests): Add bug23.
71664 2010-09-28  Andreas Schwab  <schwab@redhat.com>
71665             Ulrich Drepper  <drepper@gmail.com>
71667         [BZ #12489]
71668         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
71669         before performing relro protection.  At old place add assertion
71670         to make sure nothing changed.
71672 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
71673             Glauber de Oliveira Costa  <glommer@gmail.com>
71675         * elf/elf.h: Add new ARM TLS relocs.
71677 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
71679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71680         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
71681         cast from r3.
71682         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
71683         'tests' variable.
71684         * sysdeps/wordsize-64/tst-writev.c: New file.
71686 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
71688         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
71689         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
71690         insns in _dl_start to prevent a TOC reference before relocs are
71691         resolved.
71693 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
71695         [BZ #12469]
71696         * Makeconfig: Remove RANLIB definition.
71697         * Makerules: Don't use RANLIB.
71698         * aclocal.m4: Remove ranlib test.
71699         * configure.in: No need to check for ranlib.
71700         * elf/rtld-Rules: Don't use RANLIB.
71702 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71704         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
71705         protection macro.
71706         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
71707         inclusion protection macro.
71709         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
71710         SIGRTMIN and SIGRTMAX and print information in that case only when
71711         SIGRTMIN is defined.
71713 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
71715         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
71716         arginfo fn returning -1.
71718         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
71719         and thousands string is zero terminated.
71721 2011-02-03  Andreas Schwab  <schwab@redhat.com>
71723         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
71724         sysdeps/unix/sysv/linux/bits/socket.h.
71726 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71728         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
71729         (__CPU_COUNT): Remove old macros.
71730         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
71731         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
71732         (__CPU_ALLOC, __CPU_FREE): Add macros.
71733         (__sched_cpualloc, __sched_cpufree): Add declarations.
71735 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
71737         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
71738         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
71739         * nscd/aicache.c (addhstaiX): Return timeout of added value.
71740         (readdhstai): Return value of addhstaiX call.
71741         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
71742         (addgrbyX): Return value returned by cache_addgr.
71743         (readdgrbyname): Return value returned by addgrbyX.
71744         (readdgrbygid): Likewise.
71745         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
71746         (addpwbyX): Return value returned by cache_addpw.
71747         (readdpwbyname): Return value returned by addhstbyX.
71748         (readdpwbyuid): Likewise.
71749         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
71750         (addservbyX): Return value returned by cache_addserv.
71751         (readdservbyname): Return value returned by addservbyX:
71752         (readdservbyport): Likewise.
71753         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
71754         (addhstbyX): Return value returned by cache_addhst.
71755         (readdhstbyname): Return value returned by addhstbyX.
71756         (readdhstbyaddr): Likewise.
71757         (readdhstbynamev6): Likewise.
71758         (readdhstbyaddrv6): Likewise.
71759         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
71760         (readdinitgroups): Return value returned by addinitgroupsX.
71761         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
71762         (prune_cache): Keep track of timeout value of re-added entries.
71763         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
71764         * nscd/nscd.h: Adjust prototypes of readd* functions.
71766 2011-02-04  Roland McGrath  <roland@redhat.com>
71768         * nis/nis_server.c (nis_servstate): Use the right name for 0.
71769         (nis_stats): Likewise.
71770         * nis/nis_modify.c (nis_modify): Likewise.
71771         * nis/nis_remove.c (nis_remove): Likewise.
71772         * nis/nis_add.c (nis_add): Likewise.
71774         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
71776         * posix/fnmatch_loop.c: Add some consts.
71778         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
71780 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
71782         [BZ #12460]
71783         * config.make.in (config-cflags-novzeroupper): Define.
71784         * configure.in: Substitute libc_cv_cc_novzeroupper.
71785         * elf/Makefile (AVX-CFLAGS): Define.
71786         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
71787         (CFLAGS-tst-auditmod4a.c): Likewise.
71788         (CFLAGS-tst-auditmod4b.c): Likewise.
71789         (CFLAGS-tst-auditmod6b.c): Likewise.
71790         (CFLAGS-tst-auditmod6c.c): Likewise.
71791         (CFLAGS-tst-auditmod7b.c): Likewise.
71792         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
71794 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
71796         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
71797         function to the callback.
71798         Patch partly by Jiri Olsa <jolsa@redhat.com>.
71800 2011-02-02  Andreas Schwab  <schwab@redhat.com>
71802         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
71803         of errno.
71805 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
71807         [BZ #11724]
71808         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
71809         of constructors.
71810         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
71811         of destructors.
71812         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
71814         [BZ #11724]
71815         * elf/Makefile: Add rules to build and run new test.
71816         * elf/tst-initorder.c: New file.
71817         * elf/tst-initorder.exp: New file.
71818         * elf/tst-initordera1.c: New file.
71819         * elf/tst-initordera2.c: New file.
71820         * elf/tst-initordera3.c: New file.
71821         * elf/tst-initordera4.c: New file.
71822         * elf/tst-initorderb1.c: New file.
71823         * elf/tst-initorderb2.c: New file.
71824         * elf/tst-order-a1.c: New file.
71825         * elf/tst-order-a2.c: New file.
71826         * elf/tst-order-a3.c: New file.
71827         * elf/tst-order-a4.c: New file.
71828         * elf/tst-order-b1.c: New file.
71829         * elf/tst-order-b2.c: New file.
71830         * elf/tst-order-main.c: New file.
71831         New test case by George Gensure <werkt0@gmail.com>.
71833 2010-10-01  Andreas Schwab  <schwab@redhat.com>
71835         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71836         decoding ACE if AI_CANONIDN.
71838 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
71840         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
71842 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
71844         * version.h (RELEASE): Bump for 2.13 release.
71845         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
71847         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
71849         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
71850         MADV_NOHUGEPAGE.
71851         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
71852         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
71853         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
71854         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
71855         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
71856         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71858         * posix/getconf.c: Update copyright year.
71859         * catgets/gencat.c: Likewise.
71860         * csu/version.c: Likewise.
71861         * debug/catchsegv.sh: Likewise.
71862         * debug/xtrace.sh: Likewise.
71863         * elf/ldconfig.c: Likewise.
71864         * elf/ldd.bash.in: Likewise.
71865         * elf/sprof.c (print_version): Likewise.
71866         * iconv/iconv_prog.c: Likewise.
71867         * iconv/iconvconfig.c: Likewise.
71868         * locale/programs/locale.c: Likewise.
71869         * locale/programs/localedef.c: Likewise.
71870         * malloc/memusage.sh: Likewise.
71871         * malloc/mtrace.pl: Likewise.
71872         * nscd/nscd.c (print_version): Likewise.
71873         * nss/getent.c: Likewise.
71875         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
71876         PF_CAIF, and PF_ALG.
71877         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71879 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
71881         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
71882         (modules-names): Use them.
71883         (ifunc-test-modules, ifunc-pie-tests): Define.
71884         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
71885         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
71886         (test-extras): Likewise.
71887         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
71888         $(compile-command.c).
71889         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
71890         (all-built-dso): Define.
71891         (check-textrel.out, check-execstack.out): Depend on it.
71893         * configure.in: Don't override --enable-multi-arch.
71895 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
71897         [BZ #6812]
71898         * nscd/hstcache.c (tryagain): Define.
71899         (cache_addhst): Return tryagain not notfound for temporary errors.
71900         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
71901         failed.
71903 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
71905         [BZ #10563]
71906         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
71907         to make the syscall.
71908         * sysdeps/unix/sysv/linux/setgroups.c: New file.
71910         [BZ #12378]
71911         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
71912         and fall back to matching as normal character if the string ends before
71913         the matching ']' is found.  This is what POSIX requires.
71914         * posix/testfnm.c: Adjust test result.
71915         * posix/globtest.sh: Adjust test result.  Add new test.
71916         * posix/tst-fnmatch.input: Likewise.
71917         * posix/tst-fnmatch2.c: Add new test.
71919 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
71921         * elf/Makefile (check-execstack): Revert last change.  Depend on
71922         check-execstack.h.
71923         (check-execstack.h): New target.
71924         (generated): Add check-execstack.h.
71925         * elf/check-execstack.c: Include "check-execstack.h".
71926         (main): Revert last change.
71927         (handle_file): Return zero if GNU_STACK is absent and
71928         DEFAULT_STACK_PERMS doesn't include PF_X.
71930 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
71932         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
71933         in child fails because the descriptor is already closed.
71934         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
71935         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
71936         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
71938         [BZ #12397]
71939         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
71940         syscall.
71942         [BZ #10484]
71943         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
71944         temporary buffer used to handle multi lookups locally.
71945         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
71947 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
71949         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
71950         loader is ld.so.
71952 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
71954         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
71955         alignment for SSE2.
71957 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
71959         [BZ #12394]
71960         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
71961         characters.  When rounding increased number of integer digits recompute
71962         number of groups.
71963         * stdio-common/tst-grouping.c: New file.
71964         * stdio-common/Makefile: Add rules to build and run tst-grouping.
71966 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
71968         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
71969         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
71971         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
71972         void.
71973         * bits/select.h: Likewise.
71975 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
71977         * po/ja.po: Update from translation team.
71979 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
71981         [BZ #11155]
71982         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
71983         implementation just like for lxstat, fxstatat, et al.
71985 2010-12-27  Jim Meyering  <meyering@redhat.com>
71987         [BZ #12348]
71988         * posix/regexec.c (build_trtable): Return failure indication upon
71989         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
71991 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
71993         [BZ #12201]
71994         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
71995         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
71996         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
71997         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
71999         [BZ #12207]
72000         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
72002         [BZ #12204]
72003         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
72004         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
72006 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
72008         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
72009         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
72010         script has SORT_BY_INIT_PRIORITY.
72011         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
72012         NO_CTORS_DTORS_SECTIONS is defined.
72013         * elf/soinit.c: Likewise.
72014         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
72015         NO_CTORS_DTORS_SECTIONS is defined.
72016         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
72017         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
72018         * sysdeps/sh/init-first.c: Likewise.
72019         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
72021 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
72023         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
72024         always use the slow path.
72026 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
72028         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
72029         similar rule which adds the sysdep directories to the header search in
72030         order to pick up the correct platform stackinfo.h.
72031         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
72032         perform test if it is, otherwise return successfully without testing.
72033         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
72034         DEFAULT_STACK_PERMS define in stackinfo.h.
72035         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
72036         defined in stackinfo.h.
72037         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
72038         DEFAULT_STACK_PERMS defined in stackinfo.h.
72039         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
72040         * sysdeps/ia64/stackinfo.h: Likewise.
72041         * sysdeps/s390/stackinfo.h: Likewise.
72042         * sysdeps/sh/stackinfo.h: Likewise.
72043         * sysdeps/sparc/stackinfo.h: Likewise.
72044         * sysdeps/x86_64/stackinfo.h: Likewise.
72045         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
72046         PF_X for powerpc64.  Retain PF_X for powerpc32.
72048 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
72050         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
72051         accurately.
72052         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
72053         GETDENTS_64BIT_ALIGNED.
72055 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
72057         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
72059 2010-12-10  Andreas Schwab  <schwab@redhat.com>
72061         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
72062         _GNU_SOURCE.
72064         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
72065         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
72066         Remove __restrict.
72067         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
72068         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
72070 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
72072         [BZ #11655]
72073         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
72074         are initialized.
72076 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
72078         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
72080 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
72082         * po/it.po: Update from translation team.
72084 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
72086         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
72087         unused codes.
72089 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
72091         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
72093 2010-11-24  Andreas Schwab  <schwab@redhat.com>
72095         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
72096         specially.
72097         (gaih_getanswer_slice): Likewise.
72099 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
72101         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
72103 2010-05-31  Petr Baudis  <pasky@suse.cz>
72105         [BZ #11149]
72106         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
72107         silently even in the chroot mode.
72109 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
72111         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
72112         last patch a bit.  Pretty printing
72114 2010-05-31  Petr Baudis <pasky@suse.cz>
72116         [BZ #10085]
72117         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
72118         initialization of skip_initgroups_dyn.
72120 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
72122         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
72123         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
72125 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
72127         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
72129 2010-11-11  Andreas Schwab  <schwab@redhat.com>
72131         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
72132         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
72133         (tst-fnmatch-ENV): Set MALLOC_TRACE.
72134         ($(objpfx)tst-fnmatch-mem): New rule.
72135         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
72136         * posix/tst-fnmatch.c (main): Call mtrace.
72138 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
72140         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72141         Support Intel processor model 6 and model 0x2c.
72143 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
72145         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
72146           signed comparison.
72148 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
72150         [BZ #12205]
72151         * string/test-strncasecmp.c (check_result): New function.
72152         (do_one_test): Use it.
72153         (check1): New function.
72154         (test_main): Use it.
72155         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
72156         Support strcasecmp and strncasecmp.
72158 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
72160         [BZ #12194]
72161         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
72162         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72164 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
72166         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
72167         IFUNC support.
72168         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72169         memset-x86-64.
72170         * sysdeps/x86_64/multiarch/bzero.S: New file.
72171         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
72172         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
72173         * sysdeps/x86_64/multiarch/memset.S: New file.
72174         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
72175         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72176         Set bit_Prefer_SSE_for_memop for Intel processors.
72177         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
72178         Define.
72179         (index_Prefer_SSE_for_memop): Define.
72180         (HAS_PREFER_SSE_FOR_MEMOP): Define.
72182 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
72184         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
72185         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
72187 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
72189         [BZ #12191]
72190         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72191         (__x86_64_raw_data_cache_size_half): Likewise.
72192         (__x86_64_raw_shared_cache_size): Likewise.
72193         (__x86_64_raw_shared_cache_size_half): Likewise.
72195         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72196         (__x86_64_raw_data_cache_size_half): Likewise.
72197         (__x86_64_raw_shared_cache_size): Likewise.
72198         (__x86_64_raw_shared_cache_size_half): Likewise.
72199         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
72200         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
72201         and __x86_64_raw_shared_cache_size_half.  Round
72202         __x86_64_data_cache_size_half, __x86_64_data_cache_size
72203         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
72204         to multiple of 256 bytes.
72206 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
72208         [BZ #12167]
72209         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
72210         of inacessible symlinks.  Verify result of symlink before returning it.
72211         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
72212         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
72214 2010-10-28  Erich Ritz  <erichritz@gmail.com>
72216         * math/math.h (isinf): Fix typo in comment.
72218 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
72220         * po/da.po: Update from translation team.
72222 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
72224         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
72225         is added to the list.
72227 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72228             Ulrich Drepper  <drepper@gmail.com>
72230         * elf/dl-object.c (_dl_new_object): Don't append the new object to
72231         the global list here.  Move code to...
72232         (_dl_add_to_namespace_list): ...here.  New function.
72233         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
72234         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
72235         * elf/dl-load.c (lose): Don't remove the element from the list.
72236         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
72237         (_dl_map_object): Likewise.
72239 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
72241         [BZ #12159]
72242         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
72243         into all bytes of SSE register.
72244         Patch by Richard Li <richardpku@gmail.com>.
72246 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
72248         [BZ #12140]
72249         * malloc/malloc.c (_int_free): Fill correct number of bytes when
72250         perturbing.
72252 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
72254         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
72255         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
72256         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
72257         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
72259         submachine.
72260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
72262 2010-10-22  Andreas Schwab  <schwab@redhat.com>
72264         * include/dlfcn.h (__RTLD_SECURE): Define.
72265         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
72266         mode & __RTLD_SECURE instead.
72267         (open_path): Rename preloaded parameter to secure.
72268         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
72269         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
72270         * elf/dl-deps.c (openaux): Likewise.
72271         * elf/rtld.c (struct map_args): Remove is_preloaded.
72272         (map_doit): Don't use it.
72273         (dl_main): Likewise.
72274         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
72275         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
72277 2010-09-09  Andreas Schwab  <schwab@redhat.com>
72279         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
72280         (sysd-rules-targets): Remove duplicates.
72281         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
72282         rtld-%.$o dependency.
72284 2010-10-18  Andreas Schwab  <schwab@redhat.com>
72286         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
72287         _dl_map_object do it.
72289 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
72291         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
72292         fast fma builtins, define the macros in the C99 standard.
72293         (FP_FAST_FMAF): Likewise.
72294         (FP_FAST_FMAL): Likewise.
72295         * sysdeps/x86_64/bits/mathdef.h: Likewise.
72297         * bits/mathdef.h: Update copyright year.
72298         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72300 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
72302         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
72303         builtins, define the macros in the C99 standard.
72304         (FP_FAST_FMAF): Likewise.
72305         (FP_FAST_FMAL): Likewise.
72306         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
72307         multiply/add.
72308         (FP_FAST_FMAF): Likewise.
72310 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
72312         [BZ #3268]
72313         * math/libm-test.inc (fma_test): Some new testcases.
72314         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
72315         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
72316         y and infinite z.  Do multiplication by C already in long double.
72317         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
72318         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
72319         y and infinite z.  Do bitwise or of inexact bit into u.d.
72320         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
72321         * sysdeps/i386/fpu/s_fmaf.S: Removed.
72322         * sysdeps/i386/fpu/s_fma.S: Removed.
72323         * sysdeps/i386/fpu/s_fmal.S: Removed.
72325 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
72327         [BZ #3268]
72328         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
72329         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
72330         computation is not scheduled after fetestexcept.  Fix value
72331         of minimum denormal long double.
72333 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
72335         [BZ #3268]
72336         * math/libm-test.inc (fma_test): Add some more tests.
72337         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
72338         correctly.
72340 2010-10-15  Andreas Schwab  <schwab@redhat.com>
72342         * scripts/data/localplt-s390-linux-gnu.data: New file.
72343         * scripts/data/localplt-s390x-linux-gnu.data: New file.
72345 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
72347         [BZ #3268]
72348         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
72349         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
72350         instead of dbl-64.
72351         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
72352         inlines.
72353         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
72354         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
72355         if one of x and y is very large and the other is subnormal.
72356         * sysdeps/s390/fpu/s_fmaf.c: New file.
72357         * sysdeps/s390/fpu/s_fma.c: New file.
72358         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
72359         * sysdeps/powerpc/fpu/s_fma.S: New file.
72360         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
72361         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
72362         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
72364 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
72366         [BZ #3268]
72367         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
72368         fma tests.
72369         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
72370         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
72371         * sysdeps/i386/i686/multiarch/s_fma.c: Include
72372         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
72373         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
72374         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
72375         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
72377 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
72379         [BZ #12078]
72380         * posix/regcomp.c (parse_branch): One more memory leak plugged.
72381         * posix/bug-regex31.input: Add test case.
72383 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
72385         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
72386         * posix/bug-regex31.input: New file.
72388         [BZ #12078]
72389         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
72390         (parse_sub_exp): Fix last change, use postorder.
72392         * posix/bug-regex31.c: New file.
72393         * posix/Makefile: Add rules to build and run bug-regex31.
72395         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
72397         [BZ #12078]
72398         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
72400         [BZ #12108]
72401         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
72402         to have entries in sys_siglist.
72404         [BZ #12093]
72405         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
72406         be NULL.
72408 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
72410         [BZ #3268]
72411         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
72412         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
72413         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
72414         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
72415         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72416         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
72417         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
72418         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
72419         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
72420         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
72421         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
72422         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
72423         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
72424         * math/ftestexcept.c (fetestexcept): Likewise.
72425         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
72426         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
72427         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
72428         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
72429         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
72430         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
72431         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72433 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
72435         [BZ #12107]
72436         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
72437         newline.
72439 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
72441         * string/bug-strstr1.c: New file.
72442         * string/Makefile: Add rules to build and run bug-strstr1.
72444 2010-10-05  Eric Blake  <eblake@redhat.com>
72446         [BZ #12092]
72447         * string/str-two-way.h (two_way_long_needle): Always clear memory
72448         when skipping input due to the shift table.
72450 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
72452         [BZ #12005]
72453         * malloc/mcheck.c: Handle large requests.
72455         [BZ #12077]
72456         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
72457         for strncmp and strncasecmp.
72458         * string/stratcliff.c: Add tests for strcmp and strncmp.
72459         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
72461 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72463         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
72464         __set_fpscr.
72466 2010-09-30  Andreas Jaeger  <aj@suse.de>
72468         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
72469         (CGROUP_SUPER_MAGIC): Define.
72470         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72471         Handle btrfs and cgroup file systems.
72472         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
72473         Likewise.
72475 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
72477         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
72478         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
72480 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72482         [BZ #12067]
72483         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
72484         trying to locate the ELF header.
72486 2010-09-27  Andreas Schwab  <schwab@redhat.com>
72488         [BZ #11611]
72489         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
72490         Mask out sign-bit copies when constructing f_fsid.
72492 2010-09-24  Petr Baudis <pasky@suse.cz>
72494         * debug/stack_chk_fail_local.c: Add missing licence exception.
72495         * debug/warning-nop.c: Likewise.
72497 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
72499         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
72500         implementing getdents64 using getdents syscall, set d_type if
72501         __ASSUME_GETDENTS32_D_TYPE.
72503 2010-09-16  Andreas Schwab  <schwab@redhat.com>
72505         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
72506         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
72508 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
72510         [BZ #12037]
72511         * posix/unistd.h: Undo change of feature selection for ftruncate from
72512         2010-01-11.
72514 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
72516         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
72517         detection.
72519 2010-09-20  Andreas Schwab  <schwab@redhat.com>
72521         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
72522         fanotify_mark.
72523         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72525 2010-09-14  Andreas Schwab  <schwab@redhat.com>
72527         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
72528         variables after CHECK_SP call.
72529         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
72531 2010-09-13  Andreas Schwab  <schwab@redhat.com>
72532             Ulrich Drepper  <drepper@redhat.com>
72534         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
72535         re-relocationg ld.so.
72536         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
72537         _dl_init_paths call.
72538         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
72539         here anymore.
72541 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
72543         * resolv/res_init.c (__res_vinit): Count the default server we added.
72545 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
72546             Ulrich Drepper  <drepper@redhat.com>
72548         [BZ #11968]
72549         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72550         (____longjmp_chk): Use %ebx for saving value across system call.
72551         Add unwind info.
72553 2010-09-06  Andreas Schwab  <schwab@redhat.com>
72555         * manual/Makefile: Don't mix pattern rules with normal rules.
72557 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
72559         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
72560         operation.
72561         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
72562         * libio/iofopncook.c (_IO_cookie_init): Likewise.
72563         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
72564         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
72565         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72566         Likewise.
72568 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
72570         [BZ #11979]
72571         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
72572         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
72574 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
72576         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
72577         * sysdeps/x86_64/addmul_1.S: Likewise.
72578         * sysdeps/x86_64/lshift.S: Likewise.
72579         * sysdeps/x86_64/mul_1.S: Likewise.
72580         * sysdeps/x86_64/rshift.S: Likewise.
72581         * sysdeps/x86_64/sub_n.S: Likewise.
72582         * sysdeps/x86_64/submul_1.S: Likewise.
72584 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72586         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
72587         Define __sched_param instead of SCHED_* and sched_param when
72588         <bits/sched.h> is included with __need_schedparam defined.
72589         * bits/sched.h [__need_schedparam]
72590         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
72591         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
72592         (__defined_schedparam): Define to 1.
72593         (__sched_param): New structure, identical to sched_param.
72594         (__need_schedparam): Undefine.
72596 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
72598         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
72599         (epoll_create1): Declare.
72601         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
72603 2010-08-31  Andreas Schwab  <schwab@redhat.com>
72605         [BZ #7066]
72606         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
72607         shifting retval into place.
72609 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
72611         * nis/rpcsvc/nis.h: Update copyright notice.
72612         * nis/rpcsvc/nis.x: Likewise.
72613         * nis/rpcsvc/nis_callback.h: Likewise.
72614         * nis/rpcsvc/nis_callback.x: Likewise.
72615         * nis/rpcsvc/nis_object.x: Likewise.
72616         * nis/rpcsvc/nis_tags.h: Likewise.
72617         * nis/rpcsvc/yp.h: Likewise.
72618         * nis/rpcsvc/yp.x: Likewise.
72619         * nis/rpcsvc/ypupd.h: Likewise.
72620         * nis/yp_xdr.c: Likewise.
72621         * nis/ypupdate_xdr.c: Likewise.
72623         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
72624         mainly the body of pmap_getport.  Add parameters to specify timeouts.
72625         (pmap_getport): Use __libc_rpc_getport.
72626         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
72627         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
72628         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
72630 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
72632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
72633         fanotify_mark.
72635 2010-08-27  Roland McGrath  <roland@redhat.com>
72637         * sysdeps/i386/i686/multiarch/Makefile
72638         (CFLAGS-varshift.c): New variable.
72640 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
72642         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
72643         * sysdeps/i386/i686/multiarch/varshift.c: New file.
72645         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
72647         * sysdeps/x86_64/strlen.S: Minimal code improvement.
72649 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
72651         * sysdeps/x86_64/strlen.S: Unroll the loop.
72652         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72653         strlen-sse2 strlen-sse2-bsf.
72654         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
72655         __strlen_no_bsf if bit_Slow_BSF is set.
72656         (__strlen_sse42): Removed.
72657         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
72658         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
72660 2010-08-25  Roland McGrath  <roland@redhat.com>
72662         * sysdeps/x86_64/multiarch/varshift.S: File removed.
72663         * sysdeps/x86_64/multiarch/varshift.c: New file.
72664         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
72665         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
72666         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
72667         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
72669 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
72671         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72672         strlen-sse2 strlen-sse2-bsf.
72673         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
72674         __strlen_sse2_bsf if bit_Slow_BSF is unset.
72675         (__strlen_sse2): Removed.
72676         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
72677         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
72678         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
72679         bit_Slow_BSF for Atom.
72680         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
72681         (index_Slow_BSF): Define.
72682         (HAS_SLOW_BSF): Define.
72684 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
72686         [BZ #10851]
72687         * resolv/res_init.c (__res_vinit): When no server address at all
72688         is given default to loopback.
72690 2010-08-24  Roland McGrath  <roland@redhat.com>
72692         * configure.in: Remove config-name.h generation.
72693         * configure: Regenerated.
72694         * config-name.in: File removed.
72695         * scripts/config-uname.sh: New file.
72696         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
72697         ($(objdir)config-name.h): New target.
72699         * sunrpc/rpc_parse.h: Avoid nested comment.
72701 2010-08-24  Richard Henderson  <rth@redhat.com>
72702             Ulrich Drepper  <drepper@redhat.com>
72703             H.J. Lu  <hongjiu.lu@intel.com>
72705         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
72706         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
72707         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
72708         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
72709         _mm_alignr_epi8 with _mm_loadu_si128.
72710         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
72711         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
72712         (__m128i_shift_right): Removed.
72713         * sysdeps/i386/i686/multiarch/varshift.h: New file.
72714         * sysdeps/i386/i686/multiarch/varshift.S: New file.
72715         * sysdeps/x86_64/multiarch/varshift.h: New file.
72716         * sysdeps/x86_64/multiarch/varshift.S: New file.
72718 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
72720         * configure.in: Move assembler checks to before sysdep dir checking.
72722 2010-08-20  Petr Baudis  <pasky@suse.cz>
72724         * LICENSES: Sync the sunrpc license.
72726 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
72728         * sunrpc/auth_des.c: Update copyright notice once again.
72729         * sunrpc/auth_none.c: Likewise.
72730         * sunrpc/auth_unix.c: Likewise.
72731         * sunrpc/authdes_prot.c: Likewise.
72732         * sunrpc/authuxprot.c: Likewise.
72733         * sunrpc/bindrsvprt.c: Likewise.
72734         * sunrpc/clnt_gen.c: Likewise.
72735         * sunrpc/clnt_perr.c: Likewise.
72736         * sunrpc/clnt_raw.c: Likewise.
72737         * sunrpc/clnt_simp.c: Likewise.
72738         * sunrpc/clnt_tcp.c: Likewise.
72739         * sunrpc/clnt_udp.c: Likewise.
72740         * sunrpc/clnt_unix.c: Likewise.
72741         * sunrpc/des_crypt.c: Likewise.
72742         * sunrpc/des_soft.c: Likewise.
72743         * sunrpc/get_myaddr.c: Likewise.
72744         * sunrpc/getrpcport.c: Likewise.
72745         * sunrpc/key_call.c: Likewise.
72746         * sunrpc/key_prot.c: Likewise.
72747         * sunrpc/openchild.c: Likewise.
72748         * sunrpc/pm_getmaps.c: Likewise.
72749         * sunrpc/pm_getport.c: Likewise.
72750         * sunrpc/pmap_clnt.c: Likewise.
72751         * sunrpc/pmap_prot.c: Likewise.
72752         * sunrpc/pmap_prot2.c: Likewise.
72753         * sunrpc/pmap_rmt.c: Likewise.
72754         * sunrpc/rpc/auth.h: Likewise.
72755         * sunrpc/rpc/auth_unix.h: Likewise.
72756         * sunrpc/rpc/clnt.h: Likewise.
72757         * sunrpc/rpc/des_crypt.h: Likewise.
72758         * sunrpc/rpc/key_prot.h: Likewise.
72759         * sunrpc/rpc/netdb.h: Likewise.
72760         * sunrpc/rpc/pmap_clnt.h: Likewise.
72761         * sunrpc/rpc/pmap_prot.h: Likewise.
72762         * sunrpc/rpc/pmap_rmt.h: Likewise.
72763         * sunrpc/rpc/rpc.h: Likewise.
72764         * sunrpc/rpc/rpc_des.h: Likewise.
72765         * sunrpc/rpc/rpc_msg.h: Likewise.
72766         * sunrpc/rpc/svc.h: Likewise.
72767         * sunrpc/rpc/svc_auth.h: Likewise.
72768         * sunrpc/rpc/types.h: Likewise.
72769         * sunrpc/rpc/xdr.h: Likewise.
72770         * sunrpc/rpc_clntout.c: Likewise.
72771         * sunrpc/rpc_cmsg.c: Likewise.
72772         * sunrpc/rpc_common.c: Likewise.
72773         * sunrpc/rpc_cout.c: Likewise.
72774         * sunrpc/rpc_dtable.c: Likewise.
72775         * sunrpc/rpc_hout.c: Likewise.
72776         * sunrpc/rpc_main.c: Likewise.
72777         * sunrpc/rpc_parse.c: Likewise.
72778         * sunrpc/rpc_parse.h: Likewise.
72779         * sunrpc/rpc_prot.c: Likewise.
72780         * sunrpc/rpc_sample.c: Likewise.
72781         * sunrpc/rpc_scan.c: Likewise.
72782         * sunrpc/rpc_scan.h: Likewise.
72783         * sunrpc/rpc_svcout.c: Likewise.
72784         * sunrpc/rpc_tblout.c: Likewise.
72785         * sunrpc/rpc_util.c: Likewise.
72786         * sunrpc/rpc_util.h: Likewise.
72787         * sunrpc/rpcinfo.c: Likewise.
72788         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
72789         * sunrpc/rpcsvc/key_prot.x: Likewise.
72790         * sunrpc/rpcsvc/klm_prot.x: Likewise.
72791         * sunrpc/rpcsvc/mount.x: Likewise.
72792         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
72793         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
72794         * sunrpc/rpcsvc/rex.x: Likewise.
72795         * sunrpc/rpcsvc/rstat.x: Likewise.
72796         * sunrpc/rpcsvc/rusers.x: Likewise.
72797         * sunrpc/rpcsvc/sm_inter.x: Likewise.
72798         * sunrpc/rpcsvc/spray.x: Likewise.
72799         * sunrpc/rpcsvc/yppasswd.x: Likewise.
72800         * sunrpc/rtime.c: Likewise.
72801         * sunrpc/svc.c: Likewise.
72802         * sunrpc/svc_auth.c: Likewise.
72803         * sunrpc/svc_authux.c: Likewise.
72804         * sunrpc/svc_raw.c: Likewise.
72805         * sunrpc/svc_run.c: Likewise.
72806         * sunrpc/svc_simple.c: Likewise.
72807         * sunrpc/svc_tcp.c: Likewise.
72808         * sunrpc/svc_udp.c: Likewise.
72809         * sunrpc/svc_unix.c: Likewise.
72810         * sunrpc/svcauth_des.c: Likewise.
72811         * sunrpc/xcrypt.c: Likewise.
72812         * sunrpc/xdr.c: Likewise.
72813         * sunrpc/xdr_array.c: Likewise.
72814         * sunrpc/xdr_float.c: Likewise.
72815         * sunrpc/xdr_mem.c: Likewise.
72816         * sunrpc/xdr_rec.c: Likewise.
72817         * sunrpc/xdr_ref.c: Likewise.
72818         * sunrpc/xdr_sizeof.c: Likewise.
72819         * sunrpc/xdr_stdio.c: Likewise.
72821         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
72822         handling.
72824 2010-08-19  Andreas Schwab  <schwab@redhat.com>
72826         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
72828 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
72830         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
72831         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
72832         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
72833         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
72834         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
72835         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
72836         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
72837         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
72838         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
72839         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
72840         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
72841         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
72842         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
72843         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
72845 2010-07-26  Anton Blanchard  <anton@samba.org>
72847         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
72848         * malloc/arena.c (heap_trim): Likewise.
72850 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
72852         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
72853         here.  Not...
72854         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
72855         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
72857 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
72859         * sysdeps/i386/elf/Makefile: New file.
72861 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
72863         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
72864         from fanotify_init.
72865         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
72866         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72868 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
72870         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
72871         of strncasecmp_l.
72872         * sysdeps/multiarch/strcmp.S: Likewise.
72874 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
72876         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72877         strncase_l-nonascii.
72878         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72879         Add strncase_l-ssse3.
72880         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
72881         * sysdeps/x86_64/strcmp.S: Likewise.
72882         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
72883         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
72884         * sysdeps/x86_64/strncase.S: New file.
72885         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
72886         * sysdeps/x86_64/strncase_l.S: New file.
72887         * string/Makefile (strop-tests): Add strncasecmp.
72888         * string/test-strncasecmp.c: New file.
72890         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
72891         warning.
72893         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
72894         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
72896 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
72898         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
72900 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
72902         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
72903         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
72904         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
72906 2010-05-01  Alan Modra  <amodra@gmail.com>
72908         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
72909         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
72910         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
72911         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
72912         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
72913         tidying.  Don't tail-call __sigjmp_save for static lib.
72914         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
72915         save location.
72916         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
72917         (CALL_MCOUNT): Add eh info, and nop after bl.
72918         (TAIL_CALL_SYSCALL_ERROR): New macro.
72919         (PSEUDO_RET): Use it.
72920         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
72921         Correct save location of integer regs and cr.
72922         (_dl_profile_resolve): Correct cr save location.  Delete nops
72923         after bl when SHARED.  Reduce cfi size a little by better
72924         placement of cfi directives.
72925         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
72926         make a stack frame.  Instead use parm save area as a temp.
72927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
72928         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
72929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
72930         Don't make a stack frame for parent, use parm save area.
72931         Increase child stack frame to 112 bytes.  Don't save unused reg,
72932         and adjust reg usage.  Set up cfi on error recovery and
72933         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
72934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
72935         (__makecontext): Add dummy nop after jump to exit.
72936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
72937         Use correct parm save area and cr save, reduce stack frame.
72938         Correct cfi for possible PSEUDO_RET frame setup.
72939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
72940         Branch to local label emitted by PSEUDO_RET rather than
72941         __syscall_error.
72943 2010-08-12  Andreas Schwab  <schwab@redhat.com>
72945         [BZ #11904]
72946         * locale/programs/locale.c (print_assignment): New function.
72947         (show_locale_vars): Use it.
72949 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
72951         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
72952         field.
72953         (struct statfs64): Likewise.
72954         (_STATFS_F_FLAGS): Define.
72955         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
72956         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72957         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
72958         (ST_VALID): Define locally.
72959         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
72960         __statvfs_getflags, use the provided value.
72961         * sysdeps/unix/sysv/linux/kernel-features.h: Define
72962         __ASSUME_STATFS_F_FLAGS.
72964         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
72966         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
72967         Add sys/fanotify.h.
72968         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
72969         fanotify_mask for GLIBC_2.13.
72970         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
72971         fanotify_init and fanotify_mark.
72972         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72973         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
72975         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
72976         Add prlimit.
72977         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
72978         prlimit64 for GLIBC_2.13.
72979         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
72980         prlimit64.
72981         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
72982         syscall.
72983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
72984         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72985         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
72986         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
72987         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
72988         add prlimit alias.
72989         * sysdeps/unix/sysv/linux/prlimit.c: New file.
72991         [BZ #11903]
72992         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
72993         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
72995         * nss/Makefile: Add rules to build and run tst-nss-test1.
72996         * shlib-versions: Add entry for libnss_test1.
72997         * nss/nss_test1.c: New file.
72998         * nss/tst-nss-test1.c: New file.
73000         * nss/nsswitch.c (__nss_database_custom): Define new variable.
73001         (__nss_configure_lookup): Set appropriate entry in
73002         __nss_configure_lookup to true.
73003         * nss/nsswitch.h: Define enum with indeces of databases in
73004         databases and __nss_database_custom arrays.  Declare
73005         __nss_database_custom.
73006         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
73007         to avoid using nscd when custom rules are installed.
73008         * nss/getXXbyYY_r.c: Likewise.
73009         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
73011         * nss/nss_files/files-parse.c: Whitespace fixes.
73013 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
73015         [BZ #11883]
73016         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
73017         * posix/fnmatch_loop.c: Likewise.
73019 2010-07-17  Andi Kleen  <ak@linux.intel.com>
73021         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
73022         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
73023         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
73024         * Versions.def [GLIBC_2.13]: Add.
73026 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
73028         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73029         Also fail if tpwd after pwuid call is NULL.
73031 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73033         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
73034         when converting to ms.
73036 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73038         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
73039         EOPNOTSUPP errors with ENOTTY.
73040         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
73041         EOPNOTSUPP errors with ENOTTY.
73043 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
73045         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
73046         Add strcasecmp_l-ssse3.
73047         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
73048         strcasecmp.
73049         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
73050         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
73051         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
73053 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
73055         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
73057         * string/Makefile (strop-tests): Add strcasecmp.
73058         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
73059         strcasecmp_l-nonascii.
73060         (gen-as-const-headers): Add locale-defines.sym.
73061         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
73062         * sysdeps/x86_64/strcasecmp.S: New file.
73063         * sysdeps/x86_64/strcasecmp_l.S: New file.
73064         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
73065         * sysdeps/x86_64/locale-defines.sym: New file.
73066         * string/test-strcasecmp.c: New file.
73068         * string/test-strcasestr.c: Test both ends of the range of characters.
73069         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
73071 2010-07-29  Roland McGrath  <roland@redhat.com>
73073         [BZ #11856]
73074         * manual/locale.texi (Yes-or-No Questions): Fix example code.
73076 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
73078         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
73079         for ld.so.
73081 2010-07-27  Andreas Schwab  <schwab@redhat.com>
73083         * manual/memory.texi (Malloc Tunable Parameters): Document
73084         M_PERTURB.
73086 2010-07-26  Roland McGrath  <roland@redhat.com>
73088         [BZ #11840]
73089         * configure.in (-fgnu89-inline check): Set and substitute
73090         gnu89_inline, not libc_cv_gnu89_inline.
73091         * configure: Regenerated.
73092         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
73094 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
73096         * string/test-strnlen.c: New file.
73097         * string/Makefile (strop-tests): Add strnlen.
73098         * string/tester.c (test_strnlen): Add a few more test cases.
73099         * string/tst-strlen.c: Better error reporting.
73101         * sysdeps/x86_64/strnlen.S: New file.
73103 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
73105         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
73106         lower-latency instructions.
73108 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
73110         * string/test-strcasestr.c: New file.
73111         * string/test-strstr.c: New file.
73112         * string/Makefile (strop-tests): Add strstr and strcasestr.
73113         * string/str-two-way.h: Don't undefine MAX.
73114         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
73116 2010-07-21  Andreas Schwab  <schwab@redhat.com>
73118         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73119         strcasestr-nonascii.
73120         (CFLAGS-strcasestr-nonascii.c): Define.
73121         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
73122         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
73123         Remove unused attribute.
73125 2010-07-20  Roland McGrath  <roland@redhat.com>
73127         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
73128         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
73129         ld.so.cache was broken.  With it, there is no way to disable dsocaps
73130         like LD_HWCAP_MASK can disable hwcaps.
73132 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
73134         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
73136 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
73138         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
73139         call in strcasestr.
73140         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
73141         __strcasestr_sse42_nonascii.
73142         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
73143         strcasestr-nonascii.c.
73144         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
73146 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
73148         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
73149         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
73150         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
73151         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
73153 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
73155         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
73156         fcntl.
73158 2010-07-06  Andreas Schwab  <schwab@redhat.com>
73160         [BZ #11577]
73161         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
73162         dl_signal_cerror.
73164 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
73166         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
73167         _PC_PIPE_BUF using F_GETPIPE_SZ.
73169 2010-07-05  Roland McGrath  <roland@redhat.com>
73171         * manual/arith.texi (Rounding Functions): Fix rint description
73172         implicit in round description.
73174 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
73176         * elf/Makefile: Fix linking for a few tests to make recent linker
73177         happy.
73179 2010-06-30  Andreas Schwab  <schwab@redhat.com>
73181         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73182         $(common-objpfx)libc_nonshared.a.
73184 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
73186         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
73187         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
73188         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73189         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73190         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
73191         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
73192         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73193         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
73195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
73196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
73197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
73199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
73201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
73202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
73203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
73204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
73206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
73208         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
73209         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
73210         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
73211         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
73212         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
73213         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
73214         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
73215         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
73216         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
73217         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
73218         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
73219         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
73220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
73221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
73222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
73223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
73224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
73225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
73226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
73227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
73228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
73229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
73230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
73231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
73232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
73233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
73235 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
73237         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
73238         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
73239         * string/memmove.c (memmove): Renamed to ...
73240         (MEMMOVE): ...this.  Default to memmove.
73241         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
73242         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
73243         (END_CHK): Define.
73244         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73245         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
73246         mempcpy-ssse3-back memmove-ssse3-back.
73247         * sysdeps/x86_64/multiarch/bcopy.S: New file .
73248         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
73249         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
73250         * sysdeps/x86_64/multiarch/memcpy.S: New file.
73251         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
73252         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
73253         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
73254         * sysdeps/x86_64/multiarch/memmove.c: New file.
73255         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
73256         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
73257         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
73258         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
73259         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
73260         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
73261         Define.
73262         (index_Fast_Copy_Backward): Define.
73263         (HAS_ARCH_FEATURE): Define.
73264         (HAS_FAST_REP_STRING): Define.
73265         (HAS_FAST_COPY_BACKWARD): Define.
73267 2010-06-21  Andreas Schwab  <schwab@redhat.com>
73269         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73270         Restore proper fallback handling.
73272 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
73274         [BZ #11701]
73275         * posix/group_member.c (__group_member): Correct checking loop.
73277         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
73278         OOM in getpwuid_r correctly.  Return error number when the caller
73279         should return, otherwise -1.
73280         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
73281         call returning > 0 value.
73282         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
73284 2010-06-07  Andreas Schwab  <schwab@redhat.com>
73286         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
73287         libc_nonshared.a from targets in modules-names.
73289 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
73291         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
73292         requires it.
73294 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
73296         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
73297         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
73298         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
73299         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
73301 2010-06-02  Andreas Schwab  <schwab@redhat.com>
73303         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
73305 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
73307         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
73308         and F_GETPIPE_SZ.
73309         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73310         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73311         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73312         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73313         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73314         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73316 2010-06-14  Roland McGrath  <roland@redhat.com>
73318         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
73320 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
73322         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
73323         __REDIRECT followed by __THROW.
73324         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
73325         * posix/getopt.h (getopt): Likewise.
73327 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
73329         * hurd/lookup-at.c (__file_name_lookup_at): Accept
73330         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
73331         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
73332         in AT_FLAGS.
73333         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
73334         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
73336 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
73338         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
73340 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
73342         [BZ #11640]
73343         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73344         Properly check family and model.
73346 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
73348         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
73350 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
73352         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
73354 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
73356         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
73357         symbol reference.
73359 2010-05-19  Andreas Schwab  <schwab@redhat.com>
73361         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
73362         symbol reference.
73364 2010-05-21  Andreas Schwab  <schwab@redhat.com>
73366         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
73367         and internal_recvmmsg.
73368         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
73369         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
73370         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
73371         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
73373         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
73374         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
73375         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
73377 2010-05-20  Andreas Schwab  <schwab@redhat.com>
73379         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
73381 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
73383         POWER7 optimizations.
73384         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
73385         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
73387 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
73389         * version.h: Update for 2.13 development version.
73391 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
73393         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
73394         exceptions.  Return 0.
73396 2010-05-07  Roland McGrath  <roland@redhat.com>
73398         * elf/ldconfig.c (main): Add a const.
73400 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
73402         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
73403         (args_options): Add no-idn option.
73404         (ahosts_keys_int): Add idn_flags to ai_flags.
73405         (parse_option): Handle 'i' option to clear idn_flags.
73407         * malloc/malloc.c (_int_free): Possible race in the most recently
73408         added check.  Only act on the data if no current modification
73409         happened.
73411 See ChangeLog.17 for earlier changes.