Remove powerpc64 strspn, strcspn, and strpbrk implementation
[glibc.git] / ChangeLog
blob846a41d3db2286d56b66247d8375d59cd0985273
1 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
4         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
5         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
7         * string/strpbrk.c (strpbrk): Rewrite function.
8         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
9         (__strpbrk_c2): Likewise.
10         (__strpbrk_c3): Likewise.
11         * string/string-inlines.c
12         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
13         Likewise.
14         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
15         Likewise.
17         * string/strspn.c (strcspn): Rewrite function.
18         * string/bits/string2.h (strspn): Use __builtin_strcspn.
19         (__strspn_c1): Remove inline function.
20         (__strspn_c2): Likewise.
21         (__strspn_c3): Likewise.
22         * string/string-inlines.c
23         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
24         compatibility symbol.
25         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
26         Likewise.
27         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
28         Likewise.
29         * string/string-inlines.c: Include generic version.
31 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
32             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34         * string/Version (libc): Add GLIBC_2.24.
35         * string/strcspn.c (strcspn): Rewrite function.
36         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
37         (__strcspn_c1): Remove inline function.
38         (__strcspn_c2): Likewise.
39         (__strcspn_c3): Likewise.
40         * string/string-inline.c
41         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
42         compatibility symbol.
43         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
44         Likewise.
45         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
46         Likewise.
47         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
49 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
51         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
52         Use ahi instead of aghi to adjust stack pointer.
54 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
56         [BZ #19853]
57         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
58         TEST to take significant digits as second parameter.
59         [TEST]: Redefine in terms of TEST_N taking 30
60         significant digits.
61         (do_test): Add test case to demonstrate precision
62         failure in the ldbl-128ibm printf.
63         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
64         (__mpn_extract_long_double): Carry 7 extra intermediate
65         bits of precision to aide computing difference when
66         signs differ.
68 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
70         [BZ #19881]
71         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
73         memset-avx512-unaligned-erms.
74         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
75         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
76         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
77         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
78         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
79         __memset_sse2_unaligned_erms, __memset_erms,
80         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
81         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
82         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
83         file.
84         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
85         Likewise.
86         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
87         Likewise.
88         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
89         Likewise.
91 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
93         [BZ #19776]
94         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
96         memmove-avx512-unaligned-erms.
97         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
98         (__libc_ifunc_impl_list): Test
99         __memmove_chk_avx512_unaligned_2,
100         __memmove_chk_avx512_unaligned_erms,
101         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
102         __memmove_chk_sse2_unaligned_2,
103         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
104         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
105         __memmove_avx512_unaligned_erms, __memmove_erms,
106         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
107         __memcpy_chk_avx512_unaligned_2,
108         __memcpy_chk_avx512_unaligned_erms,
109         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
110         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
111         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
112         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
113         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
114         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
115         __mempcpy_chk_avx512_unaligned_erms,
116         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
117         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
118         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
119         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
120         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
121         __mempcpy_erms.
122         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
123         file.
124         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
125         Likwise.
126         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
127         Likwise.
128         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
129         Likwise.
131 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
133         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
134         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
135         (La_s390_64_regs): Likewise.
136         (La_s390_32_retval): Append vector register lrv_v24.
137         (La_s390_64_retval): Likeweise.
138         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
139         Handle extended structs La_s390_32_regs and La_s390_32_retval.
140         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
141         Handle extended structs La_s390_64_regs and La_s390_64_retval.
143 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
145         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
146         to create a non-vector/vector version for _dl_runtime_resolve and
147         _dl_runtime_profile. Move implementation to ...
148         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
149         (_dl_runtime_resolve) Save and restore fpr/vrs.
150         (_dl_runtime_profile) Save and restore vrs and fix some issues
151         if _dl_call_pltexit is called.
152         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
153         Choose the correct resolver function if running on a machine with vx.
154         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
155         to create a non-vector/vector version for _dl_runtime_resolve and
156         _dl_runtime_profile. Move implementation to ...
157         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
158         (_dl_runtime_resolve) Save and restore fpr/vrs.
159         (_dl_runtime_profile) Save and restore vrs and fix some issues
160         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
161         Choose the correct resolver function if running on a machine with vx.
163 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
165         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
167 2016-03-31  Florian Weimer  <fweimer@redhat.com>
169         [BZ #19509]
170         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
171         skip_map != NULL.
172         * elf/tst-dlsym-error.c: New file.
173         * elf/Makefile (tests): Add tst-dlsym-error.
174         (tst-dlsym-error): Link against libdl.
176 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
178         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
179         (__ASSUME_FUTIMESAT): Remove macro.
180         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
182 2016-03-29  Florian Weimer  <fweimer@redhat.com>
184         [BZ #19879]
185         CVE-2016-3075
186         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
187         copy name.
189 2016-03-29  Florian Weimer  <fweimer@redhat.com>
191         [BZ #19837]
192         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
193         error if parse_line fails.
195 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
197         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
198         (index_cpu_ERMS): Likewise.
199         (reg_ERMS): Likewise.
201 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
203         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
204         PER_LINUX_FDPIC): Add.
206 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
208         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
209         memcpy-avx512-no-vzeroupper.
210         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
211         to ...
212         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
213         (MEMCPY): Don't define.
214         (MEMCPY_CHK): Likewise.
215         (MEMPCPY): Likewise.
216         (MEMPCPY_CHK): Likewise.
217         (MEMPCPY_CHK): Renamed to ...
218         (__mempcpy_chk_avx512_no_vzeroupper): This.
219         (MEMPCPY_CHK): Renamed to ...
220         (__mempcpy_chk_avx512_no_vzeroupper): This.
221         (MEMCPY_CHK): Renamed to ...
222         (__memmove_chk_avx512_no_vzeroupper): This.
223         (MEMCPY): Renamed to ...
224         (__memmove_avx512_no_vzeroupper): This.
225         (__memcpy_avx512_no_vzeroupper): New alias.
226         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
228 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
230         [BZ #18858]
231         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
232         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
233         and mempcpy-avx512-no-vzeroupper.
234         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
235         New.
236         (MEMPCPY): Likewise.
237         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
238         (MEMPCPY_CHK): New.
239         (MEMPCPY): Likewise.
240         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
241         (MEMPCPY): Likewise.
242         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
243         (MEMPCPY): Likewise.
244         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
245         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
246         Likewise.
247         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
248         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
250 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
251              Amit Pawar  <Amit.Pawar@amd.com>
253         [BZ #19583]
254         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
255         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
256         processors.  Set Fast_Copy_Backward for AMD Excavator
257         processors.
258         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
259         New.
260         (index_arch_Fast_Unaligned_Copy): Likewise.
261         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
262         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
264 2016-03-25  Florian Weimer  <fweimer@redhat.com>
266         [BZ #19791]
267         * resolv/res_send.c (close_and_return_error): New function.
268         (send_dg): Initialize *resplen2 after reopen failure.  Call
269         close_and_return_error for error returns.  On error paths without
270         __res_iclose, initialze *resplen2 explicitly.  Update comment for
271         successful return.
273 2016-03-25  Florian Weimer  <fweimer@redhat.com>
275         [BZ# 19860]
276         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
277         zero if the compiler does not provide the AVX512F bit.
279 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
281         [BZ #19848]
282         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
283         from 8 to 4.
284         (__ieee754_powl): Compare integer exponent against 4 not 8.
285         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
286         from 8 to 4.
287         (__ieee754_powl): Compare integer exponent against 4 not 8.
288         * math/auto-libm-test-in: Add more tests of pow.
289         * math/auto-libm-test-out: Regenerated.
290         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
293 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
295         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
296         Make code unconditional.
297         [!__NR_utimensat]: Remove conditional code.
298         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
299         Make code unconditional.
300         [!__NR_utimensat]: Remove conditional code.
301         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
302         Make code unconditional.
303         [!__NR_utimensat]: Remove conditional code.
305 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
307         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
308         Make code unconditional.
310 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
312         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
313         call-clobbered %eax on retry path.
314         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
316 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
318         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
319         Don't set %rcx twice before "rep movsb".
321 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
323         [BZ #19583]
324         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
325         inline.  Check family before setting family, model and
326         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
327         bits here.
328         (init_cpu_features): Replace HAS_CPU_FEATURE and
329         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
330         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
331         for Intel processors with usable AVX2.  Call get_common_indeces
332         for other processors with family == NULL.
333         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
334         (CPU_FEATURES_ARCH_P): Likewise.
335         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
336         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
338 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
340         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
341         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
342         $(shared-thread-library) instead of hardcoding the path to libpthread.
344 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
346         * sysdeps/unix/sysv/linux/kernel-features.h
347         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
348         * sysdeps/unix/sysv/linux/getdents.c
349         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
350         [!have_no_getdents64_defined]: Likewise.
351         (__GETDENTS): Remove __have_no_getdents64 conditional.
353 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
355         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
356         Remove macro.
357         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
358         <kernel-features.h>.
359         (signalfd) [__NR_signalfd4]: Make code unconditional.
360         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
362 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
364         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
365         style.
367 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
369         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
370         (__pthread_enable_asynccancel): Use JUMPTARGET to call
371         __pthread_unwind.
372         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
373         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
374         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
375         (__condvar_cleanup1): Likewise.
377 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
379         [BZ #19822]
380         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
381         move it to the final $@ location.
383 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
385         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
386         access where posix_spawn success and pid argument is null.
387         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
388         success case.
390 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
392         * sysdeps/mach/hurd/i386/c++-types.data: New file.
394         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
396         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
397         and __fcntl.
398         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
399         __fcntl only.
400         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
401         adding attribute_hidden to __open and __fcntl.
403         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
404         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
405         depend on libc-modules.h,
406         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
408 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
410         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
411         Remove macro.
412         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
413         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
414         entry.
416         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
417         Remove macro.
418         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
419         include <kernel-features.h>.
420         [!__ASSUME_FALLOCATE]: Remove conditional code.
421         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
423 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
425         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
426         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
427         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
428         (_ZGVdN4v_cos_avx2): Likewise.
429         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
430         (_ZGVdN4v_cos): Likewise.
431         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
432         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
433         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
434         (_ZGVdN4v_exp_avx2): Likewise.
435         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
436         (_ZGVdN4v_exp): Likewise.
437         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
438         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
439         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
440         (_ZGVdN4v_log_avx2): Likewise.
441         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
442         (_ZGVdN4v_log): Likewise.
443         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
444         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
445         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
446         (_ZGVdN4vv_pow_avx2): Likewise.
447         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
448         (_ZGVdN4vv_pow): Likewise.
449         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
450         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
451         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
452         (_ZGVdN4v_sin_avx2): Likewise.
453         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
454         (_ZGVdN4v_sin): Likewise.
455         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
456         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
457         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
458         (_ZGVdN4vvv_sincos_avx2): Likewise.
459         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
460         (_ZGVdN4vvv_sincos): Likewise.
461         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
462         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
463         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
464         (_ZGVbN4v_cosf_sse4): Likewise.
465         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
466         (_ZGVdN8v_cosf_avx2): Likewise.
467         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
468         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
469         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
470         (_ZGVbN4v_expf_sse4): Likewise.
471         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
472         (_ZGVdN8v_expf_avx2): Likewise.
473         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
474         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
475         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
476         (_ZGVbN4v_logf_sse4): Likewise.
477         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
478         (_ZGVdN8v_logf_avx2): Likewise.
479         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
480         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
481         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
482         (_ZGVbN4vv_powf_sse4): Likewise.
483         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
484         (_ZGVdN8vv_powf_avx2): Likewise.
485         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
486         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
487         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
488         (_ZGVbN4vvv_sincosf_sse4): Likewise.
489         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
490         (_ZGVdN8vvv_sincosf_avx2): Likewise.
491         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
492         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
493         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
494         (_ZGVbN4v_sinf_sse4): Likewise.
495         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
496         (_ZGVdN8v_sinf_avx2): Likewise.
497         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
498         Use JUMPTARGET to call callee.
499         (WRAPPER_IMPL_SSE2_ff): Likewise.
500         (WRAPPER_IMPL_SSE2_fFF): Likewise.
501         (WRAPPER_IMPL_AVX): Likewise.
502         (WRAPPER_IMPL_AVX_ff): Likewise.
503         (WRAPPER_IMPL_AVX_fFF): Likewise.
504         (WRAPPER_IMPL_AVX512): Likewise.
505         (WRAPPER_IMPL_AVX512_ff): Likewise.
506         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
507         Likewise.
508         (WRAPPER_IMPL_SSE2_ff): Likewise.
509         (WRAPPER_IMPL_SSE2_fFF): Likewise.
510         (WRAPPER_IMPL_AVX): Likewise.
511         (WRAPPER_IMPL_AVX_ff): Likewise.
512         (WRAPPER_IMPL_AVX_fFF): Likewise.
513         (WRAPPER_IMPL_AVX512): Likewise.
514         (WRAPPER_IMPL_AVX512_ff): Likewise.
515         (WRAPPER_IMPL_AVX512_fFF): Likewise.
517 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
519         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
520         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
521         qualifier.
522         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
523         internal_function qualifiers.
525 2016-03-15  Carlos O'Donell <carlos@redhat.com>
527         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
528         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
529         * math/atest-exp.c (exp_mpn): Mark chk unused.
530         * math/atest-exp2.c (exp_mpn): Likwise.
531         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
532         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
534 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
536         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
537         Remove macro.
538         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
539         <kernel-features.h>.
540         [__NR_ppoll]: Make code unconditional.
541         [!__ASSUME_PPOLL]: Remove conditional code.
543         * sysdeps/unix/sysv/linux/kernel-features.h
544         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
545         (__ASSUME_ACCEPT4): Likewise.
546         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
547         Define.
548         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
549         Likewise.
550         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
551         Likewise.
552         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
553         Likewise.
554         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
555         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
556         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
557         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
558         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
559         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
560         * sysdeps/unix/sysv/linux/arm/kernel-features.h
561         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
562         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
563         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
564         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
565         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
566         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
567         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
568         * sysdeps/unix/sysv/linux/i386/kernel-features.h
569         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
570         Likewise.
571         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
572         Likewise.
573         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
574         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
575         0x040300].
576         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
577         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
578         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
579         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
580         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
581         0x030300].
582         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
583         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
584         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
585         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
586         0x040300].
587         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
588         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
589         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
590         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
591         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
592         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
593         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
594         0x030300].
595         * sysdeps/unix/sysv/linux/mips/kernel-features.h
596         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
597         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
598         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
599         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
600         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
601         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
602         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
603         * sysdeps/unix/sysv/linux/s390/kernel-features.h
604         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
605         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
606         0x040300].
607         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
608         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
609         * sysdeps/unix/sysv/linux/sh/kernel-features.h
610         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
611         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
612         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
613         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
614         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
615         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
616         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
617         * sysdeps/unix/sysv/linux/tile/kernel-features.h
618         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
619         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
620         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
621         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
622         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
623         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
624         Likewise.
625         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
626         Likewise.
628 2016-03-15  Andreas Schwab  <schwab@suse.de>
630         [BZ #19257]
631         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
632         statp->_u._ext.nscount as loop count.
634 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
636         * math/test-signgam-finite-c99.c: Also #undef
637         __LIBC_INTERNAL_MATH_INLINES.
638         * math/test-signgam-main.c: Likewise.
640 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
642         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
643         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
644         (MADV_FREE): Likewise.
645         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
646         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
647         EPOLLEXCLUSIVE.
649 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
651         * timezone/README: Remove mention of checktab.awk. Mention wiki
652         SharedSourceFiles.
654 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
656         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
657         WUNTRACED.
659 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
661         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
662         order to match the type of p when calling atomic_exchange_acq().
664 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
666         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
667         cfi_offset calls.
668         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
669         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
670         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
671         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
672         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
674 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
676         * timezone/checktab.awk: Removed.
678 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
680         * manual/math.texi (Errors in Math Functions): Document relaxed
681         accuracy goals for IBM long double.
682         * math/libm-test.inc (test_exceptions): Always allow spurious
683         "underflow" and "inexact" exceptions for IBM long double.
685 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
687         [BZ #19762]
688         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
689         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
690         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
691         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
692         (bit_arch_*): This for feature array.
693         (bit_*): Renamed to ...
694         (bit_cpu_*): This for cpu array.
695         (index_*): Renamed to ...
696         (index_arch_*): This for feature array.
697         (index_*): Renamed to ...
698         (index_cpu_*): This for cpu array.
699         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
700         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
701         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
702         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
703         bit_##name with index_cpu_##name and bit_cpu_##name.
704         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
705         bit_##name with index_arch_##name and bit_arch_##name.
707 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
709         [BZ #19792]
710         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
711         Terminate FDE before return label.
713 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
715         [BZ #19790]
716         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
717         (rintl): Define as macro.
718         [USE_AS_NEARBYINTL] (__rintl): Likewise.
719         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
720         of fesetround.  Ensure results are evaluated before end of scope.
721         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
722         USE_AS_NEARBYINTL and include s_rintl.c.
723         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
724         Disable exception traps in new environment.
725         (libc_feholdsetround_ppc_ctx): Likewise.
727 2016-03-08  Roland McGrath  <roland@hack.frob.com>
729         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
730         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
731         (tst_audit10_aux) [__AVX512F__]: ... here.
733 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
735         * include/sys/auxv.h: New file.
737 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
739         [BZ #19759]
740         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
742 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
744         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
745         operand modifier.
746         (feclearexcept): Likewise.
748 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
750         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
751         to reflect the entire 32-bit HWCAP.
752         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
753         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
755 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
757         [BZ #19783]
758         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
759         $(test-via-rtld-prefix).
760         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
762 2016-03-08  Florian Weimer  <fweimer@redhat.com>
764         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
765         union wait.  Report any non-zero exit status as error.
767 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
769         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
770         configured with --enable-hardcoded-path-in-tests.
772 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
774         [BZ #19677]
775         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
776         (__ieee754_remainderl): Put zero low parts in canonical form.
777         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
778         file.  Based on
779         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
780         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
781         with wrapper round test-fmodrem-ldbl-128ibm.c.
782         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
783         file.
784         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
785         Likewise.
786         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
787         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
789 2016-03-07  Florian Weimer  <fweimer@redhat.com>
791         [BZ #19610]
792         * elf/ldconfig.c (opt_link): Update comment.
793         (options): Update help string for option -X.
794         (search_dir): Unlink stale symbolic link only if updating symbolic
795         links.
796         * elf/tst-ldconfig-X.sh: New file.
797         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
798         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
800 2016-03-07  Andreas Schwab  <schwab@suse.de>
802         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
803         needed arguments.
805 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
807         [BZ #15333]
808         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
809         to lstat64.
811 2016-03-07  Florian Weimer  <fweimer@redhat.com>
813         * libio/filedoalloc.c (isatty): Remove.
814         (local_isatty): Add comment.  Call __isatty directly.
815         (_IO_file_doallocate): Update comment.  Assume _LIBC.
816         * libio/wfiledoalloc.c (isatty): Remove.
817         (_IO_wfile_doallocate): Update comment.
819 2016-03-07  Florian Weimer  <fweimer@redhat.com>
821         [BZ #19269]
822         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
823         tst-audit4-aux.o.
824         (tst-audit10): Depend on tst-audit10-aux.o.
825         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
826         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
827         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
828         instead of inline AVX code.
829         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
830         instead of inline AVX512 code.
831         * sysdeps/x86_64/tst-audit4-aux.c: New file
832         * sysdeps/x86_64/tst-audit10-aux.c: New file
834         [BZ #19648]
835         * test-skeleton.c (main): Do not set RLIMIT_DATA.
837 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
839         [BZ #14750]
840         [BZ #10354]
841         [BZ #18433]
842         * include/sched.h (__clone): Add hidden prototype.
843         (__clone2): Likewise.
844         * include/unistd.h (__dup): Likewise.
845         * posix/Makefile (tests): Add tst-spawn2.
846         * posix/tst-spawn2.c: New file.
847         * sysdeps/posix/dup.c (__dup): Add hidden definition.
848         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
849         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
850         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
851         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
852         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
853         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
854         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
855         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
856         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
857         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
859         Likewise.
860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
861         Likewise.
862         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
863         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
864         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
865         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
866         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
867         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
868         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
869         * sysdeps/unix/sysv/linux/nptl-signals.h
870         (____nptl_is_internal_signal): New function.
871         * sysdeps/unix/sysv/linux/spawni.c: New file.
873         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
874         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
875         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
876         * posix/tst-execvp2.c (do_test): Likewise.
877         * posix/tst-execvp3.c (do_test): Likewise.
878         * posix/tst-execvp4.c (do_test): Likewise.
879         * posix/tst-execvpe1.c: New file.
880         * posix/tst-execvpe2.c: Likewise.
881         * posix/tst-execvpe3.c: Likewise.
882         * posix/tst-execvpe4.c: Likewise.
883         * posix/tst-execvpe5.c: Likewise.
884         * posix/tst-execvpe6.c: Likewise.
886         [BZ #19534]
887         * posix/execl.c (execl): Remove dynamic memory allocation.
888         * posix/execle.c (execle): Likewise.
889         * posix/execlp.c (execlp): Likewise.
891 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
893         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
894         Replace .text with .text.avx512.
895         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
896         Likewise.
898 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
900         * sysdeps/generic/libnsl.abilist: New file.
901         * sysdeps/generic/libutil.abilist: New file.
903 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
905         [BZ #19762]
906         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
907         HAS_ARCH_FEATURE with Fast_Rep_String.
908         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
909         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
910         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
911         Likewise.
912         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
913         Likewise.
914         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
915         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
916         Likewise.
917         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
918         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
919         Likewise.
921 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
923         [BZ #19745]
924         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
925         with *%rax in call.
927 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
929         [BZ #19745]
930         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
931         with *__libc_start_main@GOTPCREL(%rip) in call.
933 2016-03-04  Roland McGrath  <roland@hack.frob.com>
935         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
936         inside conditional for nonempty $(CXX).
938         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
939         nonempty.
941         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
942         to test for empty $(CXX) rather than $(CXX) of "no".
944 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
946         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
948 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
949             H.J. Lu  <hongjiu.lu@intel.com>
951         [BZ #18880]
952         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
953         instead of Slow_BSF, and also check for Fast_Copy_Backward to
954         enable __memcpy_ssse3_back.
956 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
958         [BZ #19758]
959         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
960         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
962 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
964         [BZ #19490]
965         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
966         (__fentry__): Likewise.
968 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
970         * gmon/Makefile (noprof): Add $(sysdep_noprof).
971         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
973 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
975         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
976         __mcount_internal directly.
977         (C_LABEL(__fentry__)): Likewise.
978         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
979         directly.
981 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
983         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
984         (__start_context): Call __setcontext directly.
986 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
988         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
989         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
990         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
991         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
992         * sysdeps/unix/sysv/linux/arm/kernel-features.h
993         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
994         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
995         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
996         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
997         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
998         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
999         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1000         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1001         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1002         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1003         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1004         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
1005         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1006         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1007         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
1008         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
1009         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1010         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1011         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
1012         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
1013         Remove conditional code.
1014         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1015         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
1016         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1017         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1018         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
1019         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1020         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
1021         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1022         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
1023         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1024         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1025         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
1027 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
1029         * NEWS (2.23): Fix typo in bug 19048 text.
1031 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
1033         [BZ #14259]
1034         * Makeconfig: Rename msgcatdir to localedir.
1035         Rename inst_msgcatdir to inst_localedir.
1036         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
1037         * config.make.in: Add localedir.
1038         * elf/Makefile ($(objpfx)sotruss): Use localedir.
1039         (ldd-rewrite): Likewise.
1040         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
1041         (install-others): Use inst_localedir.
1042         (CPPFLAGS): Use localedir.
1043         * locale/Makefile (locale-CPPFLAGS): Likewise.
1044         * po/Makefile (mo-installed): Use inst_localedir.
1046         [BZ #19575]
1047         * localedata/charmaps/GB18030: Update comments regarding PAU to
1048         non-PUA mappings.
1050 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
1052         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
1053         test for header.
1054         * sysdeps/unix/sysv/linux/configure: Regenerated.
1055         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
1056         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
1057         Remove conditional code.
1058         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
1060         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1061         Define to 3.2.0.
1062         (arch_minimum_kernel): Likewise.
1063         * sysdeps/unix/sysv/linux/configure: Regenerated.
1064         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
1065         Define to 2.6.32.
1066         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
1067         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
1068         (arch_minimum_kernel): Define to 2.6.32.
1069         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
1070         * README: Document Linux 3.2 requirement.
1071         * manual/install.texi (Linux): Document Linux 3.2 headers
1072         requirement.
1073         * INSTALL: Regenerated.
1075 2016-02-24  Andreas Schwab  <schwab@suse.de>
1077         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
1078         if !NO_LONG_DOUBLE.
1080 2016-02-22  Roland McGrath  <roland@hack.frob.com>
1082         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
1083         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
1085 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
1087         [BZ #19512]
1088         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
1090 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
1092         * posix/tst-dir.c: Include libc-internal.h.
1094 2016-02-20  Florian Weimer  <fweimer@redhat.com>
1096         [BZ #19056]
1097         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
1098         * manual/filesys.texi (Reading/Closing Directory): Mention
1099         deprecaion.
1100         * posix/tst-dir.c (main): Disable deprecation warning in test.
1102 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
1104         [BZ #19679]
1105         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
1106         Renamed to ...
1107         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
1108         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1109         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
1110         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1111         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1112         * sysdeps/x86_64/dl-trampoline.h
1113         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
1114         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
1116 2016-02-19  Mark Wielaard  <mjw@redhat.com>
1118         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
1120 2016-02-19  Mark Wielaard  <mjw@redhat.com>
1122         * elf/elf.h (R_386_GOT32X): New.
1123         (R_386_NUM): Update.
1124         (R_X86_64_GOTPCRELX: New.
1125         (R_X86_64_REX_GOTPCRELX): New.
1126         (R_X86_64_NUM): Update.
1128 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
1130         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
1132 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
1134         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
1135         assign attr->stackaddr to it, and adjust it down when
1136         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
1137         [_STACK_GROWS_UP]: Delete assert.
1138         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
1139         Implement stack grows up logic.
1140         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
1141         stack grows up logic.
1143 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1145         * NEWS: Update with 2.24 template.
1147 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
1149         [BZ #19678]
1150         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1151         Ensure +0.0 is returned when taking the next value below the least
1152         positive value.
1154 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1156         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
1157         available.  Do not define NO_THREADS.
1158         * malloc/malloc.c: Do not check NO_THREADS.
1159         * malloc/arena.c: Likewise.
1161 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1163         * malloc/malloc.c (__libc_mallinfo): Update comment.
1164         (struct malloc_par): Remove max_total_mem member, it was always 0.
1165         (int_mallinfo): Store 0 into usmblks (no functional change).
1166         * malloc/hooks.c (struct malloc_state): Document that
1167         max_total_mem is always 0.
1168         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
1169         always 0.
1170         * manual/memory.texi (Statistics of Malloc): Likewise.
1172 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1174         * malloc/malloc.c (sysmalloc): Do not update arena_max.
1175         * malloc/arena.c (arena_max): Remove.
1176         (heap_trim, _int_new_arena): Do not update arena_max.
1178 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1180         * resolv/res_init.c (res_ninit): Update comment.
1182 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1184         [BZ #19505]
1185         * posix/spawn_int.h: Add headers and include guard.
1186         (__spawn_valid_fd): New function.
1187         * posix/spawn_faction_addopen.c
1188         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
1189         * posix/spawn_faction_addclose.c
1190         (posix_spawn_file_actions_addclose): Likewise.
1191         * posix/spawn_faction_adddup2.c
1192         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
1193         second file descriptor.
1194         * posix/spawn_valid_fd.c: New file.
1195         * posix/tst-posix_spawn-fd.c: New file.
1196         * posix/Makefile (routines): Add spawn_valid_fd.
1197         (tests): Add tst-posix_spawn-fd.
1199 2016-02-19  Florian Weimer  <fweimer@redhat.com>
1201         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
1202         (do_test): Limit the number of arenas, so that we can use fewer
1203         outer threads.  Limit timeout to 3 seconds, in preparation for a
1204         larger TIMEOUT value.
1206 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
1208         [BZ #19674]
1209         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
1210         sign in overflowing and underflowing results when overflow or
1211         underflow is detected early.  Include sign in result before rather
1212         than after scaling.
1214         [BZ #19603]
1215         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
1216         (__ieee754_remainderl): Adjust sign of integer version of low part
1217         when taking absolute value of high part.
1218         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1219         * math/libm-test.inc (remainder_test_data): Add another test.
1220         (remquo_test_data): Likewise.
1222 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
1224         [BZ #19602]
1225         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
1226         equal high parts and both low parts zero specially.
1227         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
1228         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
1229         Add test-fmodl-ldbl-128ibm.
1231         [BZ #19595]
1232         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
1233         common logic for all cases of shifting subnormal results.  Do not
1234         insert sign bit in shifted mantissa.  Always pass -1023 as biased
1235         exponent to ldbl_insert_mantissa in subnormal case.
1237         [BZ #19594]
1238         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
1239         on high and low parts then adjust result and use
1240         ldbl_canonicalize_int if needed.
1242         [BZ #19593]
1243         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
1244         on high part and __floor or __ceil on low part then use
1245         ldbl_canonicalize_int if needed.
1247         [BZ #19592]
1248         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
1249         high and low parts then use ldbl_canonicalize_int if needed.
1251         [BZ #17899]
1252         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
1253         New function.
1254         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
1255         on high and low parts then use ldbl_canonicalize_int if needed.
1257 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1259         * configure: Regenerated.
1261         * po/libc.pot: Regenerated.
1263         * po/be.po: Updated translation.
1264         * po/bg.po: Likewise.
1265         * po/ca.po: Likewise.
1266         * po/cs.po: Likewise.
1267         * po/da.po: Likewise.
1268         * po/el.po: Likewise.
1269         * po/eo.po: Likewise.
1270         * po/es.po: Likewise.
1271         * po/fi.po: Likewise.
1272         * po/fr.po: Likewise.
1273         * po/gl.po: Likewise.
1274         * po/hr.po: Likewise.
1275         * po/hu.po: Likewise.
1276         * po/ia.po: Likewise.
1277         * po/id.po: Likewise.
1278         * po/it.po: Likewise.
1279         * po/ja.po: Likewise.
1280         * po/lt.po: Likewise.
1281         * po/nb.po: Likewise.
1282         * po/nl.po: Likewise.
1283         * po/pt_BR.po: Likewise.
1284         * po/rw.po: Likewise.
1285         * po/sk.po: Likewise.
1286         * po/sl.po: Likewise.
1287         * po/sv.po: Likewise.
1288         * po/tr.po: Likewise.
1289         * po/zh_CN.po: Likewise.
1290         * po/zh_TW.po: Likewise.
1292         * version.h (RELEAES): Set to "development".
1293         (VERSION): Set to 2.23.90.
1295         * version.h (RELEASE): Set to "stable".
1296         (VERSION): Set to 2.23.
1297         * include/feature.h (__GLIBC_MINOR__): Set to 23.
1299         * NEWS: Updated fixed bugs.
1301 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
1302             Wilco Dijkstra  <wdijkstr@arm.com>
1304         [BZ #19462]
1305         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
1306         (_STRING_INLINE_unaligned): This.
1307         * include/string.h: Include <string_private.h>.
1308         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
1309         _STRING_INLINE_unaligned.
1310         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
1311         (_STRING_INLINE_unaligned): New.
1312         * sysdeps/aarch64/string_private.h: New file.
1313         * sysdeps/generic/string_private.h: Likewise.
1314         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
1315         * sysdeps/s390/string_private.h: Likewise.
1316         * sysdeps/x86/string_private.h: Likewise.
1317         * sysdeps/m68k/m680x0/m68020/bits/string.h
1318         (_STRING_ARCH_unaligned): Renamed to ...
1319         (_STRING_INLINE_unaligned): This.
1320         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
1321         to ...
1322         (_STRING_INLINE_unaligned): This.
1323         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
1324         to ...
1325         (_STRING_INLINE_unaligned): This.
1326         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
1327         to ...
1328         (_STRING_INLINE_unaligned): This.
1330 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
1331             H.J. Lu  <hongjiu.lu@intel.com>
1333         [BZ #19590]
1334         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
1335         relocation.
1337 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
1339         [BZ #18665]
1340         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
1341         *herrno_p.
1342         (gaih_getanswer): Document functional behviour. Return tryagain
1343         if any result is tryagain.
1344         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
1345         when freed.
1346         * resolv/res_send.c: Add copyright text.
1347         (__libc_res_nsend): Document that MAXPACKET is expected.
1348         (send_vc): Document. Remove buffer reuse.
1349         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
1350         size of the buffer. Add Dprint for truncated UDP buffer.
1352 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
1354         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
1355         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
1356         * INSTALL: Regenerate.
1358 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
1359             Jonathan Wakely  <jwakely@redhat.com>
1360             Carlos O'Donell  <carlos@redhat.com>
1362         [BZ 19439]
1363         * math/Makefile (tests): Add test-math-isinff.
1364         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
1365         * math/bits/mathcalls.h [__USE_MISC]: Use
1366         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
1367         functions not in C++11 and which don't conflict e.g. isinff,
1368         isinfl etc.
1369         * math/test-math-isinff.cc: New file.
1371 2016-02-12  Florian Weimer  <fweimer@redhat.com>
1373         * misc/bug18240.c (do_test): Set RLIMIT_AS.
1375 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1377         [BZ #19529]
1378         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
1380 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1382         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1384 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
1386         [BZ #19550]
1387         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
1388         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
1389         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
1390         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
1391         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
1392         New syscall entry.
1393         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
1394         New syscall entry.
1395         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
1396         syscall entry.
1398 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
1400         [BZ #18240]
1401         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
1402         unsigned int wraparound.
1404 2016-01-27  Florian Weimer  <fweimer@redhat.com>
1406         [BZ #18240]
1407         * misc/bug18240.c: New test.
1408         * misc/Makefile (tests): Add it.
1410 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
1411             Joseph Myers  <joseph@codesourcery.com>
1413         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
1414         load in branch delay slot when less than a word of input left.
1416 2016-01-27  Andreas Schwab  <schwab@suse.de>
1418         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
1419         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
1420         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
1421         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
1423 2016-01-26  David S. Miller  <davem@davemloft.net>
1425         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
1427 2016-01-25  David S. Miller  <davem@davemloft.net>
1429         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
1430         __sqrtl_finite.
1431         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
1432         instead using versioned_symbol.
1433         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
1434         of entries.
1436         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
1437         __sqrtl_finite to GLIBC_2.23
1439 2016-01-25  Ricchard Henderson  <rth@redhat.com>
1441         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1443 2016-01-25  Andreas Schwab  <schwab@suse.de>
1445         [BZ #17514]
1446         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
1447         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
1448         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
1449         * nptl/tst-mutex-errorcheck.c: New file.
1451 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1453         [BZ #18560]
1454         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
1455         (IPCOP_semop): Likewise.
1456         (IPCOP_semget): Likewise.
1457         (IPCOP_semctl): Likewise.
1458         (IPCOP_msgsnd): Likewise.
1459         (IPCOP_msgrcv): Likewise.
1460         (IPCOP_msgget): Likewise.
1461         (IPCOP_msgctl): Likewise.
1462         (IPCOP_shmat): Likewise.
1463         (IPCOP_shmdt): Likewise.
1464         (IPCOP_shmget): Likewise.
1465         (IPCOP_shmctl): Likewise.
1467 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
1469         * string/tst-endian.c: Include <libc-internal.h>.
1470         (do_test): Ignore tautological-compare warnings around
1471         "htobeXX (beXXtoh (i)) != i" and
1472         "htoleXX (leXXtoh (i)) != i" if-statements.
1474 2016-01-24  David S. Miller  <davem@davemloft.net>
1476         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
1477         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
1478         alias.
1479         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
1480         __sqrtl_finite.
1482         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1484 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
1486         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
1487         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
1488         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1490 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1492         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
1493         (thread_func): Use new function to simplify barrier check.
1494         (do_test): Use new function to simplify checking barrier exit
1495         code, and actually join the child thread.
1497 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1499         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
1500         semicolon.
1501         (__libc_tend): Likewise.
1502         (__libc_tabort): Likewise.
1504 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
1506         * sysdeps/nios2/libm-test-ulps: Update.
1507         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
1508         (__gtsf2): Likewise.
1509         (__unorddf2): Likewise.
1510         (__unordsf2): Likewise.
1511         (__ledf2): Likewise.
1513 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
1515         * nis/nis_table.c (__follow_path): Disable diagnostic for
1516         uninitialized variable that is a false positive for gcc 4.7.
1517         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
1519 2016-01-20  Roland McGrath  <roland@hack.frob.com>
1521         * sysdeps/nacl/lowlevellock-futex.h
1522         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
1523         Always evaluate PRIVATE argument.
1525 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
1527         [BZ #19490]
1528         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
1529         (pthread_cond_broadcast): Use ENTRY/END
1530         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
1531         (pthread_cond_signal): Likewise.
1532         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
1533         Likewise.
1534         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
1535         Likewise.
1536         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
1537         Likewise.
1539 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
1541         * sysdeps/ieee754/dbl-64/s_finite.c
1542         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
1543         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
1544         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
1545         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
1546         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
1548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
1549         (__gtsf2): Add as optional for libc.so.
1550         (__unordsf2): Likewise.
1551         (__signbit): Remove for libc.so.
1552         (__signbitl): Likewise.
1554 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1556         * iconvdata/bug-iconv11.c (test_ibm93x):
1557         Use %zu printf format specifier for size_t argument.
1559 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
1561         * math/gen-libm-test.pl (parse_ulps): Do not reduce
1562         already-recorded ulps.
1563         * sysdeps/arm/libm-test-ulps: Regenerated.
1564         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1565         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1566         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1568 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1569             Paul Pluzhnikov  <ppluzhnikov@google.com>
1571         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
1572         assembler not supporting AVX-512.
1574 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1576         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1578 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
1580         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1581         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1583         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1585         * sysdeps/arm/libm-test-ulps: Regenerated.
1587 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
1589         [BZ #19451]
1590         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
1592 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
1594         [BZ #19486]
1595         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
1596         * sysdeps/generic/fix-fp-int-convert-overflow.h
1597         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
1598         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
1599         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
1600         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
1601         Likewise.
1602         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
1603         Avoid conversions to long int where inexact exceptions
1604         could be raised.
1605         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
1606         Likewise.
1607         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
1608         Avoid conversions to long long int where inexact exceptions
1609         could be raised.
1610         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
1611         Likewise.
1613 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
1615         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
1616         * configure: Regenerated.
1618 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
1620         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
1622 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
1624         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
1625         outside of comment.
1627 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1629         * nptl/tst-barrier1.c: Add description on first line.
1630         * nptl/tst-barrier2.c: Likewise.
1631         * nptl/tst-barrier3.c: Likewise.
1632         * nptl/tst-barrier4.c: Likewise.
1633         * nptl/tst-barrier5.c: Likewise.
1635 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1637         [BZ #18868]
1638         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
1640 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
1642         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
1643         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
1644         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
1645         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
1646         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
1647         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
1648         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1649         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1650         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1651         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1652         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1654 2016-01-15  Torvald Riegel  <triegel@redhat.com>
1656         [BZ #13065]
1657         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
1658         new implementation.
1659         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
1660         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
1661         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
1662         (BARRIER_IN_THRESHOLD): New macro.
1663         * nptl/pthread_barrierattr_setpshared.c
1664         (pthread_barrierattr_setpshared): Clean up.
1665         * nptl/tst-barrier4.c: Correct comment.
1666         * nptl/tst-barrier5.c: New file.
1667         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
1668         (gen-as-const-headers): Remove lowlevelbarrier.sym.
1669         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
1670         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
1671         * nptl/lowlevelbarrier.sym: Remove.
1672         * nptl/DESIGN-barrier.txt: Remove.
1673         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
1674         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
1675         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
1676         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
1677         error.
1678         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
1679         implementation.
1681 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1683         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
1684         (do_child): Mask SIGRTMIN while thr is running.
1686 2016-01-15  Martin Sebor  <msebor@redhat.com>
1688         [BZ #19432]
1689         * iconvdata/Makefile: Add bug-iconv11.
1690         * iconvdata/bug-iconv11.c: New test.
1691         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
1692         * iconvdata/ibm933.c: Same.
1693         * iconvdata/ibm935.c: Same.
1694         * iconvdata/ibm937.c: Same.
1695         * iconvdata/ibm939.c: Same.
1697 2016-01-15  Martin Sebor  <msebor@redhat.com>
1699         [BZ #19443]
1700         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
1701         [DEBUG] (_ufc_set_bits): Declare used.
1702         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
1703         [DEBUG] (print_all): Declare used.
1704         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
1705         operands of the ternary ?: expression to target type.
1706         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
1707         calling the undeclared abort.
1708         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
1710 2016-01-15  Martin Sebor  <msebor@redhat.com>
1712         [BZ #18755]
1713         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
1714         warnings.
1715         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
1716         (__gai_create_helper_thread): Same.
1717         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
1718         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
1719         to suppress -Wmaybe-uninitialized warnings.
1721 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
1723         [BZ #19465]
1724         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
1725         inside if.
1726         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1727         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1728         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1730 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
1732         [BZ #19466]
1733         * time/tst-mktime2.c (time_t_max): Removed.
1734         (time_t_min): Likewise.
1735         (TYPE_SIGNED): New.
1736         (TYPE_MINIMUM): Likewise.
1737         (TYPE_MAXIMUM): Likewise.
1738         (TIME_T_MIN): Likewise.
1739         (TIME_T_MAX): Likewise.
1740         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
1741         and TIME_T_MIN.
1742         (do_test): Likewise.
1744 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
1746         [BZ #19467]
1747         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
1748         index_Fast_Unaligned_Load flag for Excavator family CPUs.
1750 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
1752         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
1754 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
1756         * benchtests/Makefile (PYTHON): Define.
1757         (bench-func): Use $(PYTHON) to run python scripts.
1758         ($(objpfx)bench-%.c): Likewise.
1760 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
1762         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
1763         leading slash when `file_name' is "/".
1765 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
1767         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
1768         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
1769         Likewise.
1770         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
1771         Likewise.
1772         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
1773         Likewise.
1774         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
1775         enum constant and macro.
1776         (PTRACE_SETSIGMASK): Likewise.
1777         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1778         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
1779         (PTRACE_GETSIGMASK): Likewise.
1780         (PTRACE_SETSIGMASK): Likewise.
1781         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1782         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
1783         Likewise.
1784         (PTRACE_SETSIGMASK): Likewise.
1785         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1786         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
1787         (PTRACE_GETSIGMASK): Likewise.
1788         (PTRACE_SETSIGMASK): Likewise.
1789         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1790         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
1791         Likewise.
1792         (PTRACE_SETSIGMASK): Likewise.
1793         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1794         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
1795         Likewise.
1796         (PTRACE_SETSIGMASK): Likewise.
1797         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1798         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
1799         Likewise.
1800         (PTRACE_SETSIGMASK): Likewise.
1801         (PTRACE_SECCOMP_GET_FILTER): Likewise.
1803 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
1804             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1806         [BZ #19439]
1807         * math/bits/mathcalls.h
1808         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
1809         prototype.
1810         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
1812 2016-01-11  Andreas Schwab  <schwab@suse.de>
1814         [BZ #19253]
1815         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
1816         cache when TZDEFRULES was used.
1817         * time/tst-tzname.c: New file.
1818         * time/Makefile (test): Add tst-tzname.
1819         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
1820         * timezone/Makefile (test-zones): Add $(posixrules-file).
1821         ($(testdata)/$(posixrules-file)): New rule.
1823 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
1825         Fix doc quoting problems with Texinfo 5
1826         Without this change, in the info file output, Texinfo 5 quotes code
1827         in text with undirected single quotes 'like this' and generates
1828         code examples that with many PDF readers cannot be cut out of PDFs
1829         and pasted into code.
1830         * manual/libc.texinfo: Configure the libc manual like the GNU
1831         Emacs manual, by using @documentencoding and setting
1832         txicodequoteundirected and txicodequotebacktick.  This way,
1833         Texinfo 5 quotes code in text with directed single quotes ‘like
1834         this’ and produces examples that can be cut out of PDFs.  This
1835         change causes Texinfo 5 to generate info files that contain UTF-8
1836         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
1837         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
1839 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1841         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
1842         __libc_tabort, __libc_tend): New wrappers that enforce compiler
1843         barriers to their respective compiler built-ins.
1844         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
1845         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
1846         * sysdeps/powerpc/sysdep.h: Likewise.
1847         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
1848         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
1849         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
1851 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
1853         * scripts/config.guess: Revert previous shebang change.
1854         * scripts/config.sub: Likewise.
1855         * scripts/mkinstalldirs: Likewise.
1857 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1859         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
1860         PPC_FEATURE2_HAS_IEEE128.
1861         * sysdeps/powerpc/dl-procinfo.c:
1862         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
1864 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
1866         [BZ #19415]
1867         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
1868         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
1869         (_dl_lookup_address): Rewrite using function resolver trampoline.
1870         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
1871         two bits in address.
1873 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
1875         * longlong.h: Change !__SHMEDIA__ to
1876         (!defined (__SHMEDIA__) || !__SHMEDIA__).
1877         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
1879 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
1880             Joseph Myers  <joseph@codesourcery.com>
1881             Mark Shinwell  <shinwell@codesourcery.com>
1882             Andrew Stubbs  <ams@codesourcery.com>
1883             Rich Felker <dalias@libc.org>
1885         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
1887 2016-01-07  Richard Henderson  <rth@redhat.com>
1889         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
1891 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
1893         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
1894         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
1895         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
1896         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
1897         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
1899 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
1900             Joseph Myers  <joseph@codesourcery.com>
1902         * timezone/private.h: Update from tzcode 2015g.
1903         * timezone/tzfile.h: Likewise.
1904         * timezone/tzselect.ksh: Likewise.
1905         * timezone/zdump.c: Likewise.
1906         * timezone/zic.c: Likewise.
1907         * timezone/ialloc.c: Remove file.
1908         * timezone/scheck.c: Likewise.
1909         * timezone/Makefile (extra-objs): Remove variable.
1910         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
1911         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
1912         -Wno-maybe-uninitialized.
1913         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
1914         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
1915         (CFLAGS-ialloc.c): Remove variable.
1916         (CFLAGS-scheck.c): Likewise.
1917         * timezone/README: Update list of files from tzcode.
1919 2016-01-07  Khem Raj  <raj.khem@gmail.com>
1921         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
1922         instead of __fxprintf when _LIBC is undefined.
1924 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
1926         * catgets/test-gencat.sh: Remove space after shebang.
1927         * conform/GlibcConform.pm: Likewise.
1928         * conform/check-header-lists.sh: Likewise.
1929         * conform/conformtest.pl: Likewise.
1930         * conform/linknamespace.pl: Likewise.
1931         * conform/list-header-symbols.pl: Likewise.
1932         * debug/catchsegv.sh: Likewise.
1933         * elf/genrtldtbl.awk: Likewise.
1934         * elf/tst-pathopt.sh: Likewise.
1935         * elf/tst-rtld-load-self.sh: Likewise.
1936         * grp/tst_fgetgrent.sh: Likewise.
1937         * iconvdata/gen-8bit-gap-1.sh: Likewise.
1938         * iconvdata/gen-8bit-gap.sh: Likewise.
1939         * iconvdata/gen-8bit.sh: Likewise.
1940         * iconvdata/run-iconv-test.sh: Likewise.
1941         * intl/tst-gettext.sh: Likewise.
1942         * intl/tst-gettext2.sh: Likewise.
1943         * intl/tst-gettext4.sh: Likewise.
1944         * intl/tst-gettext6.sh: Likewise.
1945         * intl/tst-translit.sh: Likewise.
1946         * io/ftwtest-sh: Likewise.
1947         * libio/test-freopen.sh: Likewise.
1948         * locale/gen-translit.pl: Likewise.
1949         * malloc/tst-mtrace.sh: Likewise.
1950         * manual/check-safety.sh: Likewise.
1951         * manual/libc-texinfo.sh: Likewise.
1952         * manual/tsort.awk: Likewise.
1953         * manual/xtract-typefun.awk: Likewise.
1954         * nptl/tst-cancel-wrappers.sh: Likewise.
1955         * nptl/tst-tls6.sh: Likewise.
1956         * posix/globtest.sh: Likewise.
1957         * posix/tst-getconf.sh: Likewise.
1958         * posix/wordexp-tst.sh: Likewise.
1959         * scripts/check-c++-types.sh: Likewise.
1960         * scripts/check-local-headers.sh: Likewise.
1961         * scripts/config.guess: Likewise.
1962         * scripts/config.sub: Likewise.
1963         * scripts/cpp: Likewise.
1964         * scripts/cross-test-ssh.sh: Likewise.
1965         * scripts/documented.sh: Likewise.
1966         * scripts/evaluate-test.sh: Likewise.
1967         * scripts/gen-libc-abis: Likewise.
1968         * scripts/gen-sorted.awk: Likewise.
1969         * scripts/list-fixed-bugs.py: Likewise.
1970         * scripts/merge-test-results.sh: Likewise.
1971         * scripts/mkinstalldirs: Likewise.
1972         * scripts/rellns-sh: Likewise.
1973         * scripts/test-installation.pl: Likewise.
1974         * scripts/update-copyrights: Likewise.
1975         * stdio-common/tst-printf.sh: Likewise.
1976         * stdio-common/tst-unbputc.sh: Likewise.
1977         * stdlib/tst-fmtmsg.sh: Likewise.
1978         * stdlib/tst-setcontext3.sh: Likewise.
1979         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
1980         * sysdeps/unix/make-syscalls.sh: Likewise.
1982 2016-01-06  John David Anglin  <dave.anglin@bell.net>
1984         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
1985         asm stw with atomic_exchange_rel.  Add explanatory comment.
1986         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
1987         Likewise.
1989 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1991         [BZ #19122]
1992         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
1993         * sysdeps/generic/dl-unistd.h: New file.
1994         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
1996 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1998          [BZ #19122]
1999          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
2000          * sysdeps/generic/dl-mman.h: New file.
2001          * sysdeps/mach/hurd/dl-mman.h: Likewise.
2003 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
2005         * manual/texinfo.tex: Update to version 2016-01-04.21 with
2006         trailing whitespace removed.
2007         * scripts/config.guess: Update to version 2016-01-01.
2008         * scripts/config.sub: Update to version 2016-01-01.
2009         * scripts/move-if-change: Update from gnulib.
2011 2016-01-04  Anton Blanchard  <anton@samba.org>
2013         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
2014         for array indices.
2015         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
2017 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
2019         * NEWS: Update copyright dates.
2020         * catgets/gencat.c (print_version): Likewise.
2021         * csu/version.c (banner): Likewise.
2022         * debug/catchsegv.sh: Likewise.
2023         * debug/pcprofiledump.c (print_version): Likewise.
2024         * debug/xtrace.sh (do_version): Likewise.
2025         * elf/ldconfig.c (print_version): Likewise.
2026         * elf/ldd.bash.in: Likewise.
2027         * elf/pldd.c (print_version): Likewise.
2028         * elf/sotruss.sh: Likewise.
2029         * elf/sprof.c (print_version): Likewise.
2030         * iconv/iconv_prog.c (print_version): Likewise.
2031         * iconv/iconvconfig.c (print_version): Likewise.
2032         * locale/programs/locale.c (print_version): Likewise.
2033         * locale/programs/localedef.c (print_version): Likewise.
2034         * login/programs/pt_chown.c (print_version): Likewise.
2035         * malloc/memusage.sh (do_version): Likewise.
2036         * malloc/memusagestat.c (print_version): Likewise.
2037         * malloc/mtrace.pl: Likewise.
2038         * manual/libc.texinfo: Likewise.
2039         * nptl/version.c (banner): Likewise.
2040         * nscd/nscd.c (print_version): Likewise.
2041         * nss/getent.c (print_version): Likewise.
2042         * nss/makedb.c (print_version): Likewise.
2043         * posix/getconf.c (main): Likewise.
2044         * scripts/test-installation.pl: Likewise.
2045         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2047         * All files with FSF copyright notices: Update copyright dates
2048         using scripts/update-copyrights.
2049         * intl/plural.c: Regenerated.
2050         * locale/programs/charmap-kw.h: Likewise.
2051         * locale/programs/locfile-kw.h: Likewise.
2053 2016-01-02  Helge Deller  <deller@gmx.de>
2055         [BZ #19285]
2056         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
2057         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
2058         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
2059         (MADV_xxK_PAGES): Remove.
2061 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
2063         [BZ #15421]
2064         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
2065         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
2066         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
2067         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
2069 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
2071         [BZ #19408]
2072         * sysdeps/unix/sysv/linux/personality.c: New file.
2073         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
2074         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
2075         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
2076         (sysdep_routines): Add personality.
2077         (tests): Add tst-personality.
2078         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
2079         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
2080         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
2081         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
2082         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
2083         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
2084         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
2085         Likewise.
2086         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
2087         Likewise.
2088         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
2089         Likewise.
2090         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
2091         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
2092         Likewise.
2094 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
2096         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
2097         (PATH_ARM_SYSTYPE): Remove.
2098         (PATH_CPUINFO): Likewise.
2099         (IO_BASE_FOOTBRIDGE): Likewise.
2100         (IO_SHIFT_FOOTBRIDGE): Likewise.
2101         (struct platform): Likewise.
2102         (init_iosys): Remove compatibility code for 2.4 kernels.
2103         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
2105 2015-12-29  Florian Weimer  <fweimer@redhat.com>
2107         * malloc/tst-malloc-thread-fail.c: New file.
2108         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
2109         (tst-malloc-thread-fail): Link against libpthread.
2111 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
2113         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
2114         (get_parser): New function.
2115         (main): New function.
2117 2015-12-29  Rob Wu  <rob@robwu.nl>
2119         [BZ #19369]
2120         * resolv/res_init.c (__res_vinit): Reset defdname before use.
2122 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
2124         [BZ #19270]
2125         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2127 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
2129         [BZ #15421]
2130         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
2132 2015-12-23  Torvald Riegel  <triegel@redhat.com>
2134         [BZ #13690]
2135         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
2136         after releasing it.
2137         (__lll_robust_unlock): Likewise.
2138         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2139         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
2140         (lll_robust_unlock): Likewise.
2141         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
2142         Prevent warnings in callers.
2144 2015-12-23  Florian Weimer  <fweimer@redhat.com>
2146         * malloc/arena.c (list_lock): Update comment.
2148 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2150         * sysdeps/powerpc/hwcapinfo.c: Export symbol
2151         __parse_hwcap_and_convert_at_platform to libc.a.
2153 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2155         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
2156         platform and feature support for POWER9.
2157         * sysdeps/powerpc/dl-procinfo.h: Likewise.
2158         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
2159         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
2160         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
2161         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
2162         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
2163         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
2164         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
2166 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2168         Harmonize generic stdio-lock support with nptl
2170         This fixes build when _IO_funlockfile is a macro, fixes build where
2171         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
2172         stack unwind.
2174         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
2175         _IO_release_lock ): Use cleanup attribute on new
2176         _IO_acquire_lock_file variable instead of assuming that
2177         _IO_release_lock will be called.
2178         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
2179         _IO_acquire_lock_needs_exceptions_enabled.
2180         (_IO_acquire_lock_clear_flags2): New macro.
2182 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2184         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2186 2015-12-21  Florian Weimer  <fweimer@redhat.com>
2188         [BZ #19182]
2189         * malloc/arena.c (list_lock): Document lock ordering requirements.
2190         (free_list_lock): New lock.
2191         (ptmalloc_lock_all): Comment on free_list_lock.
2192         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
2193         (detach_arena): Update comment.  free_list_lock is now needed.
2194         (_int_new_arena): Use free_list_lock around detach_arena call.
2195         Acquire arena lock after list_lock.  Add comment, including FIXME
2196         about incorrect synchronization.
2197         (get_free_list): Switch to free_list_lock.
2198         (reused_arena): Acquire free_list_lock around detach_arena call
2199         and attached threads counter update.  Add two FIXMEs about
2200         incorrect synchronization.
2201         (arena_thread_freeres): Switch to free_list_lock.
2202         * malloc/malloc.c (struct malloc_state): Update comments to
2203         mention free_list_lock.
2205 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
2207         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
2208         Remove functions.
2209         (sloww, sloww1): Accept argument to offset quadrant.
2210         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
2211         quadrant.
2212         (__sin, __cos): Consolidate common code into new functions.
2213         (reduce_sincos_1, do_sincos_1): New functions.
2214         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2216         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
2217         code to new functions.
2218         (reduce_sincos_2, do_sincos_2): New functions.
2219         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
2221         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
2222         common code for sincos.
2223         (__cos) [!IN_SINCOS]: Likewise.
2224         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
2225         New function.
2226         (__sincos): Use it.
2228 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
2230         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
2231         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
2232         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
2234 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2236         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
2237         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
2238         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
2239         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
2240         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2241         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
2242         index_Prefer_No_VZEROUPPER): New feature.
2243         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
2244         Prefer_No_VZEROUPPER for Knights Landing.
2246 015-12-18  Torvald Riegel  <triegel@redhat.com>
2248         * math/atest-exp2.c (mp_exp_m1): Remove.
2250 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2252         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
2253         syscalls.
2254         (__SYSCALL0): New macro.
2255         (__SYSCALL1): Likewise.
2256         (__SYSCALL2): Likewise.
2257         (__SYSCALL3): Likewise.
2258         (__SYSCALL4): Likewise.
2259         (__SYSCALL5): Likewise.
2260         (__SYSCALL6): Likewise.
2261         (__SYSCALL_CONCAT_X): Likewise.
2262         (__SYSCALL_CONCAT): Likewise.
2263         (__SYSCALL_DIST): Likewise.
2264         (__SYSCALL_CALL): Likewise.
2266 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
2268         [BZ #19363]
2269         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
2271 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2273         [BZ #19375]
2274         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
2275         negative subnormals.
2277 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
2279         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
2280         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
2281         (INTERNAL_SYSCALL_NCS): Use it.
2282         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2284 2015-12-16  Florian Weimer  <fweimer@redhat.com>
2286         [BZ #19243]
2287         * malloc/arena.c (get_free_list): Remove assert and adjust
2288         reference count handling.  Add comment about reused_arena
2289         interaction.
2290         (reused_arena): Add comments abount get_free_list interaction.
2291         * malloc/tst-malloc-thread-exit.c: New file.
2292         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
2293         (tst-malloc-thread-exit): Link against libpthread.
2295 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
2297         [BZ #19367]
2298         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
2299         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
2300         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
2301         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
2302         (index_Prefer_MAP_32BIT_EXEC): Likewise.
2304 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
2306         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
2307         Silvermont optimizations for Knights Landing.
2309 2015-12-15  Andreas Schwab  <schwab@suse.de>
2311         [BZ #17197]
2312         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
2313         immediately after emitting SI.
2314         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
2315         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
2316         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
2317         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
2318         * iconvdata/bug-iconv10.c: New file.
2319         * iconvdata/Makefile (tests): Add bug-iconv10.
2320         ($(objpfx)bug-iconv10.out): New rule.
2322 2015-12-15  Florian Weimer  <fweimer@redhat.com>
2324         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
2325         aliasing violation.
2327 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
2329         [BZ #18472]
2330         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
2331         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
2332         conditionals for them.
2333         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
2334         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
2335         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2336         sys/kdaemon.h.
2337         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
2338         compat-only syscall, obsoleted in glibc 2.23.
2339         (create_module): Likewise.
2340         (get_kernel_syms): Likewise.
2341         (query_module): Likewise.
2342         (uselib): Likewise.
2343         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
2345 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
2347         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
2348         <linux/version.h>.
2349         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
2350         conditional code.
2351         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
2352         and ioshift_name initialization.
2354 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2356         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
2357         Fix indentation.
2359 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2361         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
2363 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
2365         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
2367 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
2368             Jakub Wilk  <jwilk@debian.org>
2370         [BZ #19347]
2371         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
2372         to change the group of the device to the tty group.
2374 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
2376         Split large string section; add truncation advice
2377         * manual/examples/strncat.c: Remove.
2378         This example was misleading, as the code would have undefined
2379         behavior if "hello" was longer than SIZE.  Anyway, the manual
2380         shouldn't encourage strncpy+strncat for this sort of thing.
2381         * manual/string.texi (Copying Strings and Arrays): Split into
2382         three sections Copying Strings and Arrays, Concatenating Strings,
2383         and Truncating Strings, as this section was way too long.  All
2384         cross-referenced changed.  Add advice about string-truncation
2385         functions.  Remove misleading strncat example.
2387 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
2389         * manual/nss.texi (NSS Modules Interface): Document
2390         NSS_STATUS_NOTFOUND and SUCCESS.
2392 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
2394         [BZ 18568]
2395         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
2396         201505L, for Unicode 8.
2398 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
2400         * locale/C-translit.h: Regenerate.
2402 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
2404         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
2405         and U+0153.
2407 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
2409         [BZ #19351]
2410         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
2411         expanding log(1+z), compare z rather than its square with epsilon
2412         to determine when to avoid evaluating the expansion.
2414         [BZ #19350]
2415         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
2416         Increase overflow threshold.
2418         [BZ #19349]
2419         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
2420         when small.
2422         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2423         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2424         New macro.
2425         [__LINUX_KERNEL_VERSION >= 0x040300]
2426         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2427         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2428         Likewise.
2429         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2430         Likewise.
2431         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2432         Likewise.
2433         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2434         Likewise.
2435         [__LINUX_KERNEL_VERSION >= 0x040300]
2436         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2437         [__LINUX_KERNEL_VERSION >= 0x040300]
2438         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2439         [__LINUX_KERNEL_VERSION >= 0x040300]
2440         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2441         [__LINUX_KERNEL_VERSION >= 0x040300]
2442         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2443         [__LINUX_KERNEL_VERSION >= 0x040300]
2444         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2445         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2446         Likewise.
2447         [__LINUX_KERNEL_VERSION >= 0x040300]
2448         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2449         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2450         Likewise.
2451         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2452         Likewise.
2453         [__LINUX_KERNEL_VERSION >= 0x040300]
2454         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2455         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2456         Likewise.
2457         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2458         Likewise.
2459         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2460         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
2461         Likewise.
2462         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
2463         Likewise.
2464         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
2465         Likewise.
2466         [__LINUX_KERNEL_VERSION >= 0x040300]
2467         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2468         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
2469         Likewise.
2470         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
2471         Likewise.
2472         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
2473         Likewise.
2474         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
2475         Likewise.
2476         [__LINUX_KERNEL_VERSION >= 0x040300]
2477         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
2478         [__LINUX_KERNEL_VERSION >= 0x040300]
2479         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2480         [__LINUX_KERNEL_VERSION >= 0x040300]
2481         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2482         [__LINUX_KERNEL_VERSION >= 0x040300]
2483         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2484         [__LINUX_KERNEL_VERSION >= 0x040300]
2485         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2486         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
2487         Likewise.
2488         [__LINUX_KERNEL_VERSION >= 0x040300]
2489         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
2490         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
2491         Likewise.
2492         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
2493         Likewise.
2494         [__LINUX_KERNEL_VERSION >= 0x040300]
2495         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
2496         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
2497         Likewise.
2498         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
2499         Likewise.
2500         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2501         (__ASSUME_SOCKET_SYSCALL): Likewise.
2502         (__ASSUME_BIND_SYSCALL): Likewise.
2503         (__ASSUME_CONNECT_SYSCALL): Likewise.
2504         (__ASSUME_LISTEN_SYSCALL): Likewise.
2505         (__ASSUME_ACCEPT_SYSCALL): Likewise.
2506         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2507         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2508         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2509         (__ASSUME_SEND_SYSCALL): Likewise.
2510         (__ASSUME_SENDTO_SYSCALL): Likewise.
2511         (__ASSUME_RECV_SYSCALL): Likewise.
2512         (__ASSUME_RECVFROM_SYSCALL): Likewise.
2513         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
2514         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2515         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2516         (__ASSUME_SENDMSG_SYSCALL): Likewise.
2517         (__ASSUME_RECVMSG_SYSCALL): Likewise.
2518         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2519         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
2520         Likewise.
2521         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
2522         Likewise.
2523         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
2524         Likewise.
2525         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
2526         Likewise.
2527         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
2528         Likewise.
2529         [__LINUX_KERNEL_VERSION >= 0x020625]
2530         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
2531         [__LINUX_KERNEL_VERSION >= 0x020625]
2532         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
2533         [__LINUX_KERNEL_VERSION >= 0x020625]
2534         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
2535         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
2536         Likewise.
2537         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
2538         Likewise.
2539         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
2540         Likewise.
2541         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
2542         Likewise.
2543         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
2544         Likewise.
2545         [__LINUX_KERNEL_VERSION >= 0x020625]
2546         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
2547         [__LINUX_KERNEL_VERSION >= 0x020625]
2548         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
2549         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
2550         Likewise.
2551         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
2552         Likewise.
2554 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
2556         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
2557         record the current if the current ABI and CPU support the FP64
2558         extension.
2559         (has-modd-spreg): Define to record the current if the current ABI and
2560         CPU support 32-bit floating point values in odd FPU registers.
2561         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2562         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
2563         $(has-modd-spreg) equals yes.
2564         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
2565         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
2566         $(has-modd-spreg) equal yes.
2568 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
2570         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
2571         basename.
2573 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
2575         * benchtests/Makefile (bench-math): Move ffs and ffsll...
2576         (bench-string): ... here.
2577         (bench): Add bench-string.
2578         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
2579         to *-benchset to reflect what they are.
2580         (benchset): Adjust.
2582         * benchtests/sincos-inputs: Add inputs from sin-inputs and
2583         cos-inputs.
2585 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
2587         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
2588         __attribute__ ((__simd__)) for vector math function declarations.
2590 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2592         Fix typo in strncat, wcsncat manual entries
2593         * manual/string.texi (Copying and Concatenation): Fix typos in
2594         sample implementations of strncat and wcsncat, by having them use
2595         the old value of the destination length, not the new one.
2597 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
2599         [BZ #16961]
2600         [BZ #16962]
2601         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
2602         string on the stack for strtod.
2603         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
2604         a string on the stack for strtof.
2605         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
2606         constructing a string on the stack for strtold.
2607         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
2608         __strtold_nan to GLIBC_PRIVATE.
2609         * math/test-nan-overflow.c: New file.
2610         * math/test-nan-payload.c: Likewise.
2611         * math/Makefile (tests): Add test-nan-overflow and
2612         test-nan-payload.
2614 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
2616         Consistency about byte vs character in string.texi
2617         * manual/string.texi (String and Array Utilities):
2618         Distinguish more carefully among bytes, multibyte characters,
2619         and wide characters.  Use "byte" when talking about C 'char',
2620         to distinguish it more clearly from multibyte characters.
2621         Say "wide character" or "multibyte character" instead of
2622         "character", when a wide or multibyte character is intended.
2623         Similarly for "multibyte string" versus "string".
2624         Define these terms more carefully.
2626 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
2628         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
2629         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
2630         Likewise.
2631         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2632         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
2633         * sysdeps/sh/math_private.h: New file.
2634         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
2635         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
2636         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
2637         long double function name.
2638         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2639         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2640         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2641         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
2642         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
2644         Remove __finitel, __isinfl, and __isnanl.
2645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2646         Likewise.
2647         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2649         Remove __finitel.
2650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2651         Likewise.
2652         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2654 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
2656         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
2657         installed libmvec_nonshared.a.
2659 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
2661         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
2662         (sysdep_routines): Likewise.
2663         (sysdep-rtld-routines): Likewise.
2664         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
2665         [$(subdir) = nptl](tests-static): test-get_hwcap-static
2666         * sysdeps/powerpc/Versions: Added new
2667         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
2668         * sysdeps/powerpc/hwcapinfo.c: New file.
2669         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
2670         and parse hwcap, hwcap2 and platform number information.
2671         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
2672         to store HWCAP+HWCAP2 and platform number.
2673         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
2674         for HWCAP+HWCAP2 and platform number in the TCB.
2675         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
2676         the HWCAP, HWCAP2 and platform number in the TCB.
2677         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
2678         (TLS_INIT_TP): Included calls to add the hwcap and
2679         at_platform values in the TCB in TP initialization.
2680         (TLS_DEFINE_INIT_TP): Likewise.
2681         (THREAD_GET_HWCAP): New macro.
2682         (THREAD_SET_HWCAP): Likewise.
2683         (THREAD_GET_AT_PLATFORM): Likewise.
2684         (THREAD_SET_AT_PLATFORM): Likewise.
2685         * sysdeps/powerpc/powerpc32/dl-machine.h:
2686         (dl_platform_init): New function that calls
2687         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
2688         powerpc32.
2689         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
2690         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
2691         this functionality, static linking case.
2692         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
2693         linking case.
2694         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
2695         __parse_hwcap_and_convert_at_platform for the static linking case.
2696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
2697         Included the new __parse_hwcap_and_convert_at_platform symbol in the
2698         ABI list for GLIBC 2.23.
2699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
2700         Likewise.
2701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
2702         Likewise.
2704 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
2706         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
2707         * configure: Regenerate.
2708         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
2709         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
2711 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
2713         * iconvdata/ibm930.c: Add comment explaining encoding uses.
2714         * iconvdata/ibm933.c: Likewise.
2715         * iconvdata/ibm935.c: Likewise.
2716         * iconvdata/ibm937.c: Likewise.
2717         * iconvdata/ibm939.c: Likewise.
2719 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2721         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
2722         pthread_join.
2723         * nptl/tst-cancel21.c (tf): Likewise.
2725 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
2727         [BZ #19313]
2728         * bits/typesizes.h (__CPU_MASK_TYPE): New.
2729         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2730         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
2731         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
2732         Likewise.
2733         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
2734         Likewise.
2735         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
2736         Likewise.
2737         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
2738         Likewise.
2739         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
2740         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
2741         unsigned long int with __CPU_MASK_TYPE.
2743 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2745         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2747 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
2749         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
2750         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
2751         t512.x.
2752         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
2754 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
2756         [BZ #19214]
2757         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
2758         argument to return extended model.  Update family and model
2759         with extended family and model when family == 0x0f.
2760         (init_cpu_features): Updated.
2762 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2764         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
2765         signed off_t, so 32bit bigger than 2GiB values are fine actually.
2767         * sysdeps/mach/hurd/mmap64.c: New file.
2769 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
2771         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
2772         rights for its main user thread in NEWTASK.
2774 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
2776         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
2777         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
2779 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
2781         [BZ #14259]
2782         * Makeconfig: Rename localedir to complocaledir.
2783         Rename inst_localedir to inst_complocaledir.
2784         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
2785         * config.make.in: Use complocaledir and libc_cv_complocaledir.
2786         * configure.ac: Use libc_cv_complocaledir.
2787         * configure: Regenerate.
2788         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
2789         -DCOMPLOCALEDIR.
2790         * locale/findlocale.c: Use COMPLOCALEDIR.
2791         * locale/loadarchive.c: Likewise.
2792         * locale/programs/locale.c: Likewise.
2793         * locale/programs/localedef.c: Likewise.
2794         * locale/programs/locarchive.c: Likewise.
2795         * localedata/Makefile: Use inst_complocaledir.
2796         * sysdeps/gnu/configure: Regenerate.
2797         * sysdeps/hppa/configure: Regenerate.
2798         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
2799         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2801         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
2802         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
2803         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
2804         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
2806 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
2808         [BZ #19058]
2809         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
2810         AS_NEEDED.
2811         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
2812         workaround.
2813         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
2814         libmvec-static-only-routines): Added new file.
2815         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
2817 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2819         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
2820         of interrupted RPC instead of restoring it.
2822         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
2823         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
2824         libc_hidden_def.
2825         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
2826         into initialized data instead of common. Define rtld_hidden_data_def.
2827         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
2828         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
2829         libc_hidden_def.
2830         (if_freenameindex): Add libc_hidden_weak.
2831         (if_nameindex): Add libc_hidden_weak.
2832         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
2833         __open64.
2834         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
2835         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
2836         * sysdeps/mach/nanosleep.c: Include <time.h>
2837         (__nanosleep): Rename to __libc_nanosleep.
2838         (__nanosleep): Add weak_alias.
2839         (nanosleep): Update alias.
2841 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
2843         * stdlib/strtod_nan.c: New file.
2844         * stdlib/strtod_nan_double.h: Likewise.
2845         * stdlib/strtod_nan_float.h: Likewise.
2846         * stdlib/strtod_nan_main.c: Likewise.
2847         * stdlib/strtod_nan_narrow.h: Likewise.
2848         * stdlib/strtod_nan_wide.h: Likewise.
2849         * stdlib/strtof_nan.c: Likewise.
2850         * stdlib/strtold_nan.c: Likewise.
2851         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
2852         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
2853         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
2854         * wcsmbs/wcstod_nan.c: Likewise.
2855         * wcsmbs/wcstof_nan.c: Likewise.
2856         * wcsmbs/wcstold_nan.c: Likewise.
2857         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
2858         strtold_nan.
2859         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
2860         wcstof_nan.
2861         * include/stdlib.h (__strtof_nan): Declare and use
2862         libc_hidden_proto.
2863         (__strtod_nan): Likewise.
2864         (__strtold_nan): Likewise.
2865         (__wcstof_nan): Likewise.
2866         (__wcstod_nan): Likewise.
2867         (__wcstold_nan): Likewise.
2868         * include/wchar.h (____wcstoull_l_internal): Declare.
2869         * stdlib/strtod_l.c: Do not include <ieee754.h>.
2870         (____strtoull_l_internal): Remove declaration.
2871         (STRTOF_NAN): Define macro.
2872         (SET_MANTISSA): Remove macro.
2873         (STRTOULL): Likewise.
2874         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
2875         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
2876         (STRTOF_NAN): Define macro.
2877         (SET_MANTISSA): Remove macro.
2878         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
2879         (SET_MANTISSA): Remove macro.
2880         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
2881         macro.
2882         (SET_MANTISSA): Remove macro.
2883         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
2884         macro.
2885         (SET_MANTISSA): Remove macro.
2886         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
2887         (SET_MANTISSA): Remove macro.
2888         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
2889         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
2890         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
2892         [BZ #19266]
2893         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
2894         upper case and lower case letters inside NAN(), not using TOLOWER.
2895         * stdlib/tst-strtod-nan-locale-main.c: New file.
2896         * stdlib/tst-strtod-nan-locale.c: Likewise.
2897         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
2898         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
2899         Depend on $(gen-locales).
2900         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
2901         * wcsmbs/tst-wcstod-nan-locale.c: New file.
2902         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
2903         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
2904         Depend on $(gen-locales).
2905         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
2907 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
2909         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
2911         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
2912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
2913         __finitel, __isinfl, and __isnanl.
2914         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
2915         Likewise.
2916         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
2918         __finitel.
2919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2920         Likewise.
2921         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2923 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
2925         * malloc/memusage.c (me): Remove redundant getenv call.
2927 2015-10-24  Florian Weimer  <fweimer@redhat.com>
2929         [BZ #19143]
2930         [BZ #19164]
2931         * nptl/check-cpuset.h: Remove.
2932         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
2933         Remove CPU set size check.
2934         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
2935         Likewise.
2936         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
2937         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2938         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
2939         (__pthread_setaffinity_new): Remove CPU set size check.
2940         * sysdeps/unix/sysv/linux/sched_setaffinity.c
2941         (__kernel_cpumask_size): Remove.
2942         (__sched_setaffinity_new): Remove CPU set size check.
2943         * manual/threads.texi (Default Thread Attributes): Remove stale
2944         reference to check_cpuset_attr, determine_cpumask_size in comment.
2945         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
2946         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
2947         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
2948         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
2949         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
2950         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
2951         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
2952         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
2953         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
2954         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
2955         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
2956         skeleton test file.
2957         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
2958         tst-affinity-pid.
2960 2015-11-24  Florian Weimer  <fweimer@redhat.com>
2962         * scripts/update-abilist.sh: New file.
2963         * Makefile (+subdir_targets): Add subdir_update-all-abi.
2964         * Makerules (update-all-abi-%, update-all-abi)
2965         (subdir_update-all-abi): New targets.
2966         * elf/Makefile (update-all-abi): New target.
2968 2015-11-24  Florian Weimer  <fweimer@redhat.com>
2970         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
2971         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
2972         (__libc_lock_define_initialized): Use it.
2973         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
2974         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
2975         * malloc/malloc.c (main_arena): Likewise.
2976         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2977         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
2979 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
2981         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
2982         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
2983         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2984         (PTRACE_O_MASK): Update value.
2985         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
2986         New value in enum __ptrace_setoptions.
2987         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
2988         (PTRACE_O_MASK): Update value.
2989         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
2990         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2991         (PTRACE_O_MASK): Update value.
2992         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2993         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2994         (PTRACE_O_MASK): Update value.
2995         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
2996         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
2997         (PTRACE_O_MASK): Update value.
2998         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
2999         New value in enum __ptrace_setoptions.
3000         (PTRACE_O_MASK): Update value.
3001         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
3002         New value in enum __ptrace_setoptions.
3003         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
3004         (PTRACE_O_MASK): Update value.
3006         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
3007         New macro.
3008         (PACKET_AUXDATA): Likewise.
3009         (PACKET_ORIGDEV): Likewise.
3010         (PACKET_VERSION): Likewise.
3011         (PACKET_HDRLEN): Likewise.
3012         (PACKET_RESERVE): Likewise.
3013         (PACKET_TX_RING): Likewise.
3014         (PACKET_LOSS): Likewise.
3015         (PACKET_VNET_HDR): Likewise.
3016         (PACKET_TX_TIMESTAMP): Likewise.
3017         (PACKET_TIMESTAMP): Likewise.
3018         (PACKET_FANOUT): Likewise.
3019         (PACKET_TX_HAS_OFF): Likewise.
3020         (PACKET_QDISC_BYPASS): Likewise.
3021         (PACKET_ROLLOVER_STATS): Likewise.
3022         (PACKET_FANOUT_DATA): Likewise.
3023         (PACKET_MR_UNICAST): Likewise.
3025         [BZ #19242]
3026         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
3027         (TOUPPER): Likewise.
3028         * stdlib/tst-strtol-locale-main.c: New file.
3029         * stdlib/tst-strtol-locale.c: Likewise.
3030         * stdlib/Makefile (tests): Add tst-strtol-locale.
3031         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
3032         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
3033         Depend on $(gen-locales).
3034         * wcsmbs/tst-wcstol-locale.c: New file.
3035         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
3036         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
3037         tr_TR.ISO-8859-9.
3038         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
3039         Depend on $(gen-locales).
3041 2015-11-20  Roland McGrath  <roland@hack.frob.com>
3043         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
3044         __glibc_likely instead of __builtin_expect.  After falling back to
3045         dyncode_create in a non-ET_DYN case, use the allocate_code_data
3046         system interface to register the code pages as occupied.
3048 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
3050         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3051         [!ARM_MATH_PRIVATE_H].
3052         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
3053         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3054         [!HPPA_MATH_PRIVATE_H].
3055         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
3056         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
3057         to [!I386_MATH_PRIVATE_H].
3058         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
3059         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
3060         Change guard to [!M68K_MATH_PRIVATE_H].
3061         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
3062         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
3063         guard to [!MICROBLAZE_MATH_PRIVATE_H].
3064         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
3065         macro.
3066         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3067         [!MIPS_MATH_PRIVATE_H].
3068         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
3069         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3070         [!NIO2_MATH_PRIVATE_H].
3071         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
3072         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
3073         [!TILE_MATH_PRIVATE_H].
3074         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
3076         [BZ #15421]
3077         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
3078         initialize with 0 and define as weak alias of __signgam.
3079         * include/math.h [!_ISOMAC] (__signgam): Declare.
3080         * math/Makefile (libm-calls): Add w_lgamma_compat.
3081         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
3082         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
3083         test-signgam-ullong-init.
3084         (tests-static): Add test-signgam-uchar-static,
3085         test-signgam-uchar-init-static, test-signgam-uint-static,
3086         test-signgam-uint-init-static, test-signgam-ullong-static and
3087         test-signgam-ullong-init-static.
3088         (CFLAGS-test-signgam-uchar.c): New variable.
3089         (CFLAGS-test-signgam-uchar-init.c): Likewise.
3090         (CFLAGS-test-signgam-uchar-static.c): Likewise.
3091         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
3092         (CFLAGS-test-signgam-uint.c): Likewise.
3093         (CFLAGS-test-signgam-uint-init.c): Likewise.
3094         (CFLAGS-test-signgam-uint-static.c): Likewise.
3095         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
3096         (CFLAGS-test-signgam-ullong.c): Likewise.
3097         (CFLAGS-test-signgam-ullong-init.c): Likewise.
3098         (CFLAGS-test-signgam-ullong-static.c): Likewise.
3099         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
3100         * math/Versions (libm): Add GLIBC_2.23.
3101         * math/lgamma-compat.h: New file.
3102         * math/test-signgam-main.c: Likewise.
3103         * math/test-signgam-uchar-init-static.c: Likewise.
3104         * math/test-signgam-uchar-init.c: Likewise.
3105         * math/test-signgam-uchar-static.c: Likewise.
3106         * math/test-signgam-uchar.c: Likewise.
3107         * math/test-signgam-uint-init-static.c: Likewise.
3108         * math/test-signgam-uint-init.c: Likewise.
3109         * math/test-signgam-uint-static.c: Likewise.
3110         * math/test-signgam-uint.c: Likewise.
3111         * math/test-signgam-ullong-init-static.c: Likewise.
3112         * math/test-signgam-ullong-init.c: Likewise.
3113         * math/test-signgam-ullong-static.c: Likewise.
3114         * math/test-signgam-ullong.c: Likewise.
3115         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
3116         wrapper of w_lgamma_main.c.
3117         * math/w_lgamma_compat.c: New file.
3118         * math/w_lgamma_compatf.c: Likewise.
3119         * math/w_lgamma_compatl.c: Likewise.
3120         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
3121         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3122         defining compatibility symbols.
3123         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
3124         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
3125         wrapper of w_lgammaf_main.c.
3126         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
3127         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3128         defining compatibility symbols.
3129         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
3130         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
3131         wrapper of w_lgammal_main.c.
3132         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
3133         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
3134         defining compatibility symbols.
3135         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
3136         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
3137         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
3138         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
3139         <lgamma-compat.h>.
3140         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
3141         (__ieee754_gamma): Define as alias.
3142         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
3143         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
3144         <lgamma-compat.h>.
3145         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
3146         (__ieee754_gammaf): Define as alias.
3147         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
3148         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
3149         <lgamma-compat.h>.
3150         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
3151         (__ieee754_gammal): Define as alias.
3152         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
3153         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
3154         <math/w_lgamma_compat.c>.
3155         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
3156         Define as alias of __lgamma_compat and use in defining lgammal.
3157         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
3158         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
3159         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
3160         (USE_AS_COMPAT): New macro.
3161         (LGAMMA_OLD_VER): Undefine and redefine.
3162         (lgammal): Do not define here.
3163         (gammal): Only define here if [GAMMA_ALIAS].
3164         * conform/linknamespace.pl (@whitelist): Remove signgam.
3165         * sysdeps/nacl/libm.abilist: Update.
3166         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3167         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3168         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3169         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3170         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3171         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3172         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3173         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3174         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3175         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3176         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3177         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3179         Likewise.
3180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3181         Likewise.
3182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3183         Likewise.
3184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3185         Likewise.
3186         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3187         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3188         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3189         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3190         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3192         Likewise.
3193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3194         Likewise.
3195         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3196         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3197         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3199 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3201         [BZ #16364]
3202         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
3203         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
3205 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3207         * sysdeps/s390/fpu/bits/mathinline.h:
3208         Use __asm__ [__volatile__] instead of asm [volatile].
3209         * sysdeps/s390/abort-instr.h: Likewise.
3210         * sysdeps/s390/atomic-machine.h: Likewise.
3211         * sysdeps/s390/bits/string.h: Likewise.
3212         * sysdeps/s390/dl-tls.h: Likewise.
3213         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
3214         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
3215         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
3216         * sysdeps/s390/fpu/fesetround.c: Likewise.
3217         * sysdeps/s390/fpu/fpu_control.h: Likewise.
3218         * sysdeps/s390/fpu/s_fma.c: Likewise.
3219         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
3220         * sysdeps/s390/memusage.h: Likewise.
3221         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
3222         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3223         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3224         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3225         * sysdeps/s390/nptl/tls.h: Likewise.
3226         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
3227         * sysdeps/s390/s390-32/backtrace.c: Likewise.
3228         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
3229         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
3230         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3231         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
3232         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
3233         * sysdeps/s390/s390-64/backtrace.c: Likewise.
3234         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
3235         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
3236         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
3237         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3238         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
3239         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
3240         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
3241         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
3242         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
3243         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3244         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
3245         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3246         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
3247         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3248         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
3250 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3251             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3253         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
3254         Add lwarx hint, and use macro for acquire instruction.
3255         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3256         Likewise.
3257         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
3258         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
3259         update to use new atomic macros.
3261 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3263         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
3264         (__lll_trylock_elision): Fix setting of adapt_count.
3265         * sysdeps/unix/sysv/linux/powerpc/htm.h
3266         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
3267         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
3268         (_ABORT_SYSCALL): Renumber, and clarify definition.
3269         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
3271 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3273         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
3274         after system headers to prevent MIN/MAX redefinition.  Define
3275         HAVE_ALLOCA to preserve builtin alloca usage.
3277 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
3279         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
3280         static and don't set or restore rounding.
3281         (__cos)[IN_SINCOS]: Likewise.
3282         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
3283         (__sincos): Set and restore rounding mode.  Remove check for infinite
3284         or NaN input.
3286         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
3288         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
3289         as used.
3291 2015-11-16  Florian Weimer  <fweimer@redhat.com>
3293         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
3295 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
3297         * config.make.in (have-glob-dat-reloc): New.
3298         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
3299         target supports GLOB_DAT relocaton. AC_SUBST.
3300         * configure: Regenerated.
3301         * elf/Makefile (tests): Add tst-prelink.
3302         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3303         (tst-prelink-ENV): New.
3304         ($(objpfx)tst-prelink-conflict.out): Likewise.
3305         ($(objpfx)tst-prelink-cmp.out): Likewise.
3306         * sysdeps/x86/tst-prelink.c: Moved to ...
3307         * elf/tst-prelink.c: Here.
3308         * sysdeps/x86/tst-prelink.exp: Moved to ...
3309         * elf/tst-prelink.exp: Here.
3310         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
3311         (tst-prelink-ENV): Removed.
3312         ($(objpfx)tst-prelink-conflict.out): Likewise.
3313         ($(objpfx)tst-prelink-cmp.out): Likewise.
3314         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
3316 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
3318         [BZ #14551]
3319         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
3320         (__mpn_construct_long_double): If high part overflows to infinity,
3321         set errno and recompute overflowed result of the correct sign.
3322         * sysdeps/ieee754/ldbl-128ibm/Makefile
3323         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
3324         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
3325         $(libm).
3326         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
3328 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
3330         [BZ #15479]
3331         [BZ #19238]
3332         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
3333         floating-point state after first operation on input.  Restore full
3334         state rather than just rounding mode.
3335         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3336         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3337         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3339         [BZ #19235]
3340         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
3341         add 0.5 to integer arguments.
3342         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
3343         Likewise.
3344         (.LC2): New object.
3346 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
3348         * scripts/pylintrc (reports): Set to no.
3350 2015-11-10  Roland McGrath  <roland@hack.frob.com>
3352         * elf/dl-load.c (open_verify): Take new argument FD.
3353         Skip __open call if passed FD is not -1.
3354         (_dl_map_object, open_path): Update callers.
3355         * elf/dl-sysdep-open.h: New file.
3356         * elf/dl-load.c: Include it.
3357         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
3358         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
3359         * sysdeps/nacl/dl-sysdep-open.h: New file.
3360         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
3361         from libc to rtld.
3363 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
3365         [BZ #19228]
3366         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
3367         and restore full floating-point state.
3368         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3369         Likewise.
3370         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3371         Likewise.
3372         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3373         Likewise.
3374         * math/test-nearbyint-except-2.c: New file.
3375         * math/Makefile (tests): Add test-nearbyint-except-2.
3377 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
3379         [BZ #19178]
3380         * sysdeps/x86/Makefile (tests): Add tst-prelink.
3381         (tst-prelink-ENV): New.
3382         ($(objpfx)tst-prelink-conflict.out): Likewise.
3383         ($(objpfx)tst-prelink-cmp.out): Likewise.
3384         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
3385         * sysdeps/x86/tst-prelink.c: New file.
3386         * sysdeps/x86/tst-prelink.exp: Likewise.
3388 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
3390         * math/auto-libm-test-in: Add another test of pow.
3391         * math/auto-libm-test-out: Regenerated.
3392         * math/libm-test.inc (pow_test_data): Add another test.
3394 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3396         [BZ #19219]
3397         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
3398         weak_alias to nearbyintl.
3400 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
3402         * sysdeps/aarch64/bits/string.h: New file.
3403         (_STRING_ARCH_unaligned): Define.
3405 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
3407         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
3408         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3409         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3410         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
3411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
3413 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
3415         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
3416         for original name of the DSO.  Add it to the name list of the DSO
3417         if it is actually given.
3418         (_dl_map_object): Keep track of whether an audit module rewrote
3419         the file name.  If yes, pass the original name to
3420         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
3421         debugging is enabled, log the change of the file name.
3422         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
3423         _dl_map_object_from_fd.
3424         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
3425         * elf/tst-audit11.c: New file
3426         * elf/tst-auditmod11.c: New file.
3427         * elf/tst-audit11mod1.c: New file.
3428         * elf/tst-audit11mod2.c: New file.
3429         * elf/tst-audit11mod2.map: New file.
3430         * elf/tst-audit12.c: New file
3431         * elf/tst-auditmod12.c: New file.
3432         * elf/tst-audit12mod1.c: New file.
3433         * elf/tst-audit12mod2.c: New file.
3434         * elf/tst-audit12mod2.map: New file.
3435         * elf/tst-audit12mod3.c: New file.
3437 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3439         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
3440         Don't create weak aliases,
3441         because versioned symbols are created later.
3442         * sysdeps/s390/s390-32/setjmp.S
3443         (setjmp, _setjmp): Remove weak and rename to an unique name
3444         in SHARED case due to existing versioned symbols.
3445         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3446         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
3447         (getcontext): Create weak alias only in non SHARED case.
3448         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
3450 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
3452         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
3453         (__ASSUME_*_SYSCALL) Define new macros.
3454         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
3455         Remove socketcall syscalls.
3456         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
3457         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
3458         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
3459         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
3460         * sysdeps/unix/sysv/linux/send.c (__libc_send):
3461         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
3463 2015-11-09  Florian Weimer  <fweimer@redhat.com>
3465         [BZ #12926]
3466         Terminate process on invalid netlink response.
3467         * sysdeps/unix/sysv/linux/netlinkaccess.h
3468         (__netlink_assert_response): Declare.
3469         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
3470         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
3471         (sysdep_routines): Add netlink_assert_response.
3472         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
3473         __netlink_assert_response.
3474         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3475         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3476         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
3477         __netlink_assert_response.
3479 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
3481         [BZ #19178]
3482         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
3483         (RTYPE_CLASS_PLT): Likewise.
3484         (RTYPE_CLASS_COPY): Likewise.
3485         (RTYPE_CLASS_TLS): Likewise.
3486         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
3487         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
3488         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
3489         DL_DEBUG_PRELINK.
3491 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
3493         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
3494         calls with argument -0.5.
3495         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
3497         * configure.ac (libc_cv_z_nodelete): Remove configure test.
3498         (libc_cv_z_nodlopen): Likewise.
3499         (libc_cv_z_initfirst): Likewise.
3500         * configure: Regenerated.
3502 2015-11-06  Florian Weimer  <fweimer@redhat.com>
3504         Simplify abilist format to be line-based.
3505         * scripts/abilist.awk: Collect descriptors in the descs variable.
3506         (emit): Write descs variable and sort it
3507         externally, with sort.
3508         * sysdeps/**/*.abilist: Convert to new format.
3510 2015-11-06  Mark Wielaard  <mjw@redhat.com>
3512         [BZ #11460]
3513         * io/Makefile (routines): Add fts64.
3514         (tests): Add tst-fts and tst-fts-lfs.
3515         (CFLAGS-fts64.c): New.
3516         * io/Versions (GLIBC_2.23): New.
3517         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
3518         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
3519         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
3520         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
3521         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
3522         (FTSENT64): Likewise.
3523         (fts64_children): Likewise.
3524         (fts64_close): Likewise.
3525         (fts64_open): Likewise.
3526         (fts64_read): Likewise.
3527         (fts64_set): Likewise.
3528         * io/fts64.c: New file.
3529         * io/tst-fts.c: New test.
3530         * io/tst-fts-lfs.c: Likewise.
3531         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
3532         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
3533         fts64_set.
3534         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3535         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3536         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3537         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3538         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3539         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3540         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3541         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3542         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3543         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3544         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3545         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3546         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3548         Likewise.
3549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3550         Likewise.
3551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3553         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3554         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3555         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3556         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3557         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3560         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3561         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3562         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3563         * sysdeps/wordsize-64/fts.c: New file.
3564         * sysdeps/wordsize-64/fts64.c: Likewise.
3565         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
3566         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
3567         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
3568         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
3570 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
3572         * math/libm-test.inc (NON_FINITE): New macro.
3573         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
3574         * math/gen-libm-test.pl (show_exceptions): Add argument
3575         $non_finite.
3576         (parse_args): Update call to show_exceptions.
3577         * math/test-math-finite.h: New file.
3578         * math/test-math-no-finite.h: Likewise.
3579         * math/test-double-finite.c: Likewise.
3580         * math/test-float-finite.c: Likewise.
3581         * math/test-ldouble-finite.c: Likewise.
3582         * math/test-double.c: Include "test-math-no-finite.h".
3583         * math/test-float.c: Include "test-math-no-finite.h".
3584         * math/test-ldouble.c: Include "test-math-no-finite.h".
3585         * math/test-math-inline.h (TEST_FINITE): New macro.
3586         * math/test-math-vector.h (TEST_FINITE): Likewise.
3587         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
3588         (libm-tests): Add test-float-finite and test-double-finite.
3589         ($(objpfx)test-float-finite.o): New dependency on
3590         $(objpfx)libm-test.stmp.
3591         ($(objpfx)test-double-finite.o): Likewise.
3592         ($(objpfx)test-ldouble-finite.o): Likewise.
3593         (libm-test-no-inline-cflags): New variable.
3594         (libm-test-finite-cflags): Likewise.
3595         (CFLAGS-test-float-finite.c): Likewise.
3596         (CFLAGS-test-double-finite.c): Likewise.
3597         (CFLAGS-test-ldouble-finite.c): Likewise.
3598         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
3599         (CFLAGS-test-double.c): Likewise.
3600         (CFLAGS-test-ldouble.c): Likewise.
3602 2015-11-05  Roland McGrath  <roland@hack.frob.com>
3604         * io/fcntl.c (__fcntl): Add ... to prototype.
3605         * misc/ioctl.c (__ioctl): Likewise.
3606         * misc/syscall.c (syscall): Likewise.
3608 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
3610         * scripts/list-fixed-bugs.py: New file.
3612         [BZ #19213]
3613         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
3614         returned for argument 1.
3615         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
3616         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
3617         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
3618         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
3619         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
3620         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
3622         [BZ #19211]
3623         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
3624         __USE_XOPEN], not if [!__USE_ISOC99].
3625         (lgammaf): Likewise.
3626         (lgammal): Likewise.
3627         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
3628         (gammaf): Likewise.
3629         (gammal): Likewise.
3630         * math/test-signgam-finite-c11.c: New file.
3631         * math/test-signgam-finite-c99.c: Likewise.
3632         * math/test-signgam-finite.c: Likewise.
3633         * math/Makefile (tests): Add test-signgam-finite,
3634         test-signgam-finite-c99 and test-signgam-finite-c11.
3635         (CFLAGS-test-signgam-finite.c): New variable.
3636         (CFLAGS-test-signgam-finite-c99.c): Likewise.
3637         (CFLAGS-test-signgam-finite-c11.c): Likewise.
3639         [BZ #19212]
3640         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
3641         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
3642         500].
3643         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
3644         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
3645         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
3646         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
3647         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
3648         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
3649         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
3650         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
3651         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
3652         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
3654         [BZ #19209]
3655         * math/bits/math-finite.h (ldexp): Remove declaration.
3656         (ldexpf): Likewise.
3657         (ldexpl): Likewise.
3659         [BZ #19205]
3660         * math/bits/math-finite.h (acosf): Condition declaration on
3661         [__USE_ISOC99].
3662         (acosl): Likewise.
3663         (acoshf): Likewise.
3664         (acoshl): Likewise.
3665         (asinf): Likewise.
3666         (asinl): Likewise.
3667         (atan2f): Likewise.
3668         (atan2l): Likewise.
3669         (atanhf): Likewise.
3670         (atanhl): Likewise.
3671         (coshf): Likewise.
3672         (coshl): Likewise.
3673         (expf): Likewise.
3674         (expl): Likewise.
3675         (fmodf): Likewise.
3676         (fmodl): Likewise.
3677         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
3678         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
3679         (j0l): Likewise.
3680         (y0f): Likewise.
3681         (y0l): Likewise.
3682         (j1f): Likewise.
3683         (j1l): Likewise.
3684         (y1f): Likewise.
3685         (y1l): Likewise.
3686         (jnf): Likewise.
3687         (jnl): Likewise.
3688         (ynf): Likewise.
3689         (ynl): Likewise.
3690         (lgammaf_r): Condition declaration on [__USE_ISOC99].
3691         (lgammal_r): Likewise.
3692         (__lgamma_r_finite): New declaration.
3693         (__lgammaf_r_finite): Likewise.
3694         (__lgammal_r_finite): Likewise.
3695         (lgamma): Use __lgamma_r_finite.
3696         (lgammaf): Condition definition on [__USE_ISOC99].  Use
3697         __lgammaf_r_finite.
3698         (lgammal): Condition definition on [__USE_ISOC99].  Use
3699         __lgammal_r_finite.
3700         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
3701         __lgamma_r_finite.
3702         (gammaf): Condition definition on [__USE_ISOC99].  Use
3703         __lgammaf_r_finite.
3704         (gammal): Condition definition on [__USE_ISOC99].  Use
3705         __lgammal_r_finite.
3706         (logf): Condition declaration on [__USE_ISOC99].
3707         (logl): Likewise.
3708         (log10f): Likewise.
3709         (log10l): Likewise.
3710         (ldexpf): Likewise.
3711         (ldexpl): Likewise.
3712         (powf): Likewise.
3713         (powl): Likewise.
3714         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
3715         __USE_ISOC99].
3716         (remainderf): Condition declaration on [__USE_ISOC99].
3717         (remainderl): Likewise.
3718         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
3719         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
3720         (scalbl): Likewise.
3721         (sinhf): Condition declaration on [__USE_ISOC99].
3722         (sinhl): Likewise.
3723         (sqrtf): Likewise.
3724         (sqrtl): Likewise.
3726 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
3728         * sysdeps/arm/atomic-machine.h
3729         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3730         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3731         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
3732         Remove conditional code.
3733         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
3734         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
3735         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
3736         Change conditional to [__ASSEMBLER__].
3737         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
3738         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
3739         [!__ASSEMBLER__].
3740         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
3741         code.
3742         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
3743         conditional macro definitions.
3744         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
3745         (__arch_compare_and_exchange_val_16_acq): Likewise.
3746         (__arch_compare_and_exchange_val_32_acq): Likewise.
3747         (atomic_exchange_and_add): Likewise.
3748         (atomic_add): Likewise.
3749         (atomic_add_negative): Likewise.
3750         (atomic_add_zero): Likewise.
3751         (atomic_bit_set): Likewise.
3752         (atomic_bit_test_set): Likewise.
3753         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
3754         code unconditional.
3755         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
3757         * math/test-math-errno.h: New file.
3758         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
3759         empty.
3760         (TEST_ERRNO): New macro.
3761         (TEST_EXCEPTIONS): Likewise.
3762         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
3763         (TEST_EXCEPTIONS): Likewise.
3764         * math/test-math-vector.h (TEST_ERRNO): Likewise.
3765         * math/test-double.c: Include "test-math-errno.h".
3766         * math/test-float.c: Likewise.
3767         * math/test-ldouble.c: Likewise.
3768         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
3769         code unconditional.
3770         (test_exceptions): Only run code if TEST_EXCEPTIONS.
3771         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
3772         unconditional.
3773         (test_errno): Only run code if TEST_ERRNO.
3774         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
3776 2015-11-04  Florian Weimer  <fweimer@redhat.com>
3778         * nptl/tst-once5.cc: Remove attribution.
3780 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
3782         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
3783         sqrt, tan, tanh, y0, y1 and yn.
3784         * math/auto-libm-test-out: Regenerated.
3785         * math/libm-test.inc (scalb_test_data): Add more tests.
3786         (scalbn_test_data): Likewise.
3787         (scalbln_test_data): Likewise.
3788         (signbit_test_data): Likewise.
3789         (sin_test_data): Likewise.
3790         (sincos_test_data): Likewise.
3791         (sinh_test_data): Likewise.
3792         (sqrt_test_data): Likewise.
3793         (tan_test_data): Likewise.
3794         (tanh_test_data): Likewise.
3795         (tgamma_test_data): Likewise.
3796         (y0_test_data): Likewise.
3797         (y1_test_data): Likewise.
3798         (yn_test_data): Likewise.
3799         (significand_test_data): Likewise.
3800         * sysdeps/i386/fpu/libm-test-ulps: Update.
3802 2015-11-03  David Kastrup  <dak@gnu.org>
3804         [BZ #18604]
3805         * assert/assert.h (assert): Don't macro-expand failed assertion
3806         expression in error message.
3807         * malloc/malloc.c (assert): Likewise.
3809 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
3811         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
3812         test.
3813         * configure: Regenerated.
3815 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
3817         * math/libm-test.inc (modf_test_data): Add more tests.
3818         (nearbyint_test_data): Likewise.
3819         (nextafter_test_data): Likewise.
3820         (nexttoward_test_data): Likewise.
3821         (pow_test_data): Likewise.
3822         (remainder_test_data): Likewise.
3823         (remquo_test_data): Likewise.
3824         (rint_test_data): Likewise.
3826         [BZ #19201]
3827         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3828         Check for zero remainder in case of large exponents and ensure
3829         correct sign of result in that case.
3830         * math/libm-test.inc (remainder_test_data): Add more tests.
3832         [BZ #6799]
3833         * math/s_nextafter.c: Include <errno.h>.
3834         (__nextafter): Set errno on overflow and underflow.
3835         * math/s_nexttowardf.c: Include <errno.h>.
3836         (__nexttowardf): Set errno on overflow and underflow.
3837         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
3838         (__nextafterl): Set errno on overflow and underflow.
3839         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
3840         (__nexttoward): Set errno on overflow and underflow.
3841         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
3842         (__nexttowardf): Set errno on overflow and underflow.
3843         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
3844         (__nextafterf): Set errno on overflow and underflow.
3845         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
3846         (__nextafterl): Set errno on overflow and underflow.
3847         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
3848         (__nexttoward): Set errno on overflow and underflow.
3849         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
3850         (__nexttowardf): Set errno on overflow and underflow.
3851         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
3852         (__nextafterl): Set errno on overflow and underflow.
3853         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
3854         (__nexttoward): Set errno on overflow and underflow.
3855         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
3856         (__nexttowardf): Set errno on overflow and underflow.
3857         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
3858         (__nexttoward): Set errno on overflow and underflow.
3859         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
3860         (__nexttowardf): Set errno on overflow and underflow.
3861         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
3862         (__nldbl_nexttowardf): Set errno on overflow and underflow.
3863         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
3864         (__nextafterl): Set errno on overflow and underflow.
3865         * math/libm-test.inc (nextafter_test_data): Do not allow errno
3866         setting to be missing on overflow.  Add more tests.
3867         (nexttoward_test_data): Likewise.
3869         * configure.ac (libc_cv_initfini_array): Remove configure test.
3870         * configure: Regenerated.
3872 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
3874         [BZ #19189]
3875         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
3876         non-finite argument handle arguments with negative sign.
3878         * math/libm-test.inc (j0_test_data): Do not test sign of zero
3879         result from infinite argument.
3880         (j1_test_data): Likewise.
3881         (jn_test_data): Likewise.
3882         (y0_test_data): Likewise.
3883         (y1_test_data): Likewise.
3884         (yn_test_data): Likewise.
3886         [BZ #16171]
3887         * math/w_remainder.c (drem): Define as weak alias of __remainder.
3888         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
3889         * math/w_remainderf.c (dremf): Define as weak alias of
3890         __remainderf.
3891         * math/w_remainderl.c (dreml): Define as weak alias of
3892         __remainderl.
3893         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
3894         __remainder.
3895         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
3896         __remainderf.
3897         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
3898         __remainderl.
3899         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
3900         weak alias of remainderl.
3901         * sysdeps/ieee754/ldbl-opt/w_remainder.c
3902         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
3903         alias of __remainder.
3904         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
3905         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
3906         strong alias of __remainderl.
3907         (dreml): Use long_double_symbol.
3908         * math/Makefile (libm-calls): Remove w_drem.
3909         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
3910         (CFLAGS-nldbl-drem.c): Remove variable.
3911         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
3912         * math/w_drem.c: Remove file.
3913         * math/w_dremf.c: Likewise.
3914         * math/w_dreml.c: Likewise.
3915         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
3916         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
3917         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
3919         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
3920         * sysdeps/i386/configure: Regenerated.
3921         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
3922         * sysdeps/x86_64/configure: Regenerated.
3924         * configure.ac (libc_cv_asm_protected_directive): Remove configure
3925         test.
3926         (libc_cv_visibility_attribute): Likewise.
3927         (libc_cv_protected_data): Test unconditionally.
3928         (libc_cv_broken_visibility_attribute): Remove configure test.
3929         (libc_cv_have_sdata_section): Test unconditionally.
3930         * configure: Regenerated.
3932         * include/libc-internal.h (libc_max_align_t): Remove typedef.
3933         * include/scratch_buffer.h: Include <stddef.h> instead of
3934         <libc-internal.h>.
3935         (struct scratch_buffer): Use max_align_t instead of
3936         libc_max_align_t.
3938 2015-10-29  Florian Weimer  <fweimer@redhat.com>
3940         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
3941         instead of extend_alloca.  Change control flow to avoid a goto.
3942         Remove assert which is trivially always true.
3944 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
3946         [BZ #16068]
3947         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
3948         (FE_ALL_EXCEPT_X86): New macro.
3949         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
3950         FE_ALL_EXCEPT.  Ensure precision control is included in
3951         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
3952         handle "denormal operand exception" and clear FZ and DAZ bits.
3953         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
3954         (FE_ALL_EXCEPT_X86): New macro.
3955         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
3956         FE_ALL_EXCEPT.  Ensure precision control is included in
3957         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
3958         handle "denormal operand exception" and clear FZ and DAZ bits.
3959         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
3960         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
3961         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3962         test-fenv-x87 and test-fenv-sse-2.
3963         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
3965         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
3966         * math/test-double.h (BUILD_COMPLEX): New macro.
3967         * math/test-float.h (BUILD_COMPLEX): Likewise.
3968         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
3970         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
3971         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
3972         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
3973         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
3974         instead of DBL_DENORM_MIN in comment.
3975         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
3976         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3977         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
3978         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
3979         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
3980         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
3982 2015-10-28  Florian Weimer  <fweimer@redhat.com>
3984         [BZ# 19048]
3985         * malloc/malloc.c (struct malloc_state): Update comment.  Add
3986         attached_threads member.
3987         (main_arena): Initialize attached_threads.
3988         * malloc/arena.c (list_lock): Update comment.
3989         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
3990         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
3991         (deattach_arena): New function.
3992         (_int_new_arena): Initialize arena reference count and deattach
3993         replaced arena.
3994         (get_free_list, reused_arena): Update reference count and deattach
3995         replaced arena.
3996         (arena_thread_freeres): Update arena reference count and only put
3997         unreferenced arenas on the free list.
3999 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4001         [BZ #19181]
4002         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
4003         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
4004         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
4005         * math/test-fenv-clear-main.c: New file.
4006         * math/test-fenv-clear.c: Likewise.
4007         * math/Makefile (tests): Add test-fenv-clear.
4008         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
4009         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4010         test-fenv-clear-sse.
4011         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
4013         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
4014         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
4015         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
4017 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4019         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
4020         static libc.
4022 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
4024         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
4025         test.
4026         * sysdeps/i386/configure: Regenerated.
4027         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
4028         test.
4029         * sysdeps/x86_64/configure: Regenerated.
4030         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
4031         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4032         memset-avx2 unconditionally instead of conditionally on
4033         [$(config-cflags-avx2) = yes].
4034         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4035         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
4036         unconditional.
4037         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
4038         * sysdeps/x86_64/multiarch/memset_chk.S
4039         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
4040         to [IS_IN (libc) && SHARED].
4042 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4044         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
4045         configure test.
4046         * sysdeps/arm/configure: Regenerated.
4047         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
4048         Define variable if not already defined.
4050         [BZ #17404]
4051         * sysdeps/mips/atomic-machine.h
4052         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
4053         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
4054         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
4056         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
4057         unconditional.
4058         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
4059         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4060         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
4061         unconditional.
4062         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4063         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
4064         unconditional.
4065         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4066         * stdlib/setenv.c
4067         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
4068         code unconditional.
4069         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
4070         Remove conditional code.
4071         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
4072         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
4073         unconditional.
4074         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4075         code.
4076         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
4077         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
4078         unconditional.
4079         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4080         code.
4081         * sysdeps/ieee754/ldbl-128/k_tanl.c
4082         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4083         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4084         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
4085         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4086         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4087         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
4088         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
4089         unconditional.
4090         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
4091         code.
4092         * sysdeps/ieee754/ldbl-96/k_tanl.c
4093         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
4094         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
4096         * nptl/tst-initializers1-c11.c: New file.
4097         * nptl/tst-initializers1-gnu11.c: Likewise.
4098         * nptl/Makefile (tests): Add these new tests.
4099         (CFLAGS-tst-initializers1-c11.c): New variable.
4100         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
4102         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
4103         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
4104         instead of -std=gnu99.
4105         * configure.ac (systemtap): Test with -std=gnu11 instead of
4106         -std=gnu99.
4107         * configure: Regenerated.
4108         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
4109         in compilation command in comment.
4111         * sysdeps/nptl/configure.ac: Remove file.
4112         * sysdeps/nptl/configure: Remove generated file.
4113         * configure.ac (libc_cv_forced_unwind): Do not substitute.
4114         * configure: Regenerated.
4115         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
4116         * config.make.in (have-forced-unwind): Remove variable.
4117         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4118         unconditional.
4119         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
4120         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
4121         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
4122         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
4123         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
4124         unconditional.
4126 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4128         [BZ #19174]
4129         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
4130         .skip_lock_out_of_tbegin_retries.
4131         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
4132         (__lll_lock_elision): Likewise, and respect a value of
4133         try_tbegin <= 0.
4135 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4137         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
4138         statement.
4140 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4142         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
4143         variable.
4144         (test-xfail-ISO11/stdalign.h/conform): Likewise.
4145         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
4147         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
4148         of -std=c1x -D_ISOC11_SOURCE.
4150         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
4151         * configure: Regenerated.
4152         * manual/install.texi (Tools for Compilation): Document
4153         requirement for GCC 4.7 or later.
4154         * INSTALL: Regenerated.
4156 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
4158         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
4159         on CNT to a conditional jump to 'puntdata'.
4161 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
4163         * configure.ac (libc_cv_gcc___thread): Remove configure test.
4164         (libc_cv_gcc_tls_model_attr): Likewise.
4165         * configure: Regenerated.
4167         * configure.ac (libc_cv_need_minus_P): Remove configure test.
4168         * configure: Regenerated.
4169         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
4171 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
4173         * configure.ac (old_glibc_headers): Remove configure test.
4174         * configure: Regenerated.
4175         * config.make.in (old-glibc-headers): Remove variable.
4176         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
4177         (install): Remove dependency on remove-old-headers.
4178         (headers2_0): Remove variable.
4179         (remove-old-headers): Remove rule.
4181         * configure.ac (libc_cv_dot_text): Remove configure test.
4182         (libc_cv_asm_set_directive): Use .text instead of
4183         ${libc_cv_dot_text} in configure test.
4184         * configure: Regenerated.
4186 2015-10-26  Florian Weimer  <fweimer@redhat.com>
4188         [BZ #19168]
4189         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4191 2015-10-26  Florian Weimer  <fweimer@redhat.com>
4193         * configure.ac (CXX): Clear the variable if the C++ toolchain does
4194         not support static linking.
4195         * configure: Regenerate.
4197 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
4199         * math/libm-test.inc (check_float_internal): Do not special-case
4200         errors up to 0.5 ulp.
4202         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4203         log2.
4204         * math/auto-libm-test-out: Regenerated.
4205         * math/libm-test.inc (MAX_EXP): New macro.
4206         (ilogb_test_data): Add more tests.
4207         (isfinite_test_data): Likewise.
4208         (isgreater_test_data): Likewise.
4209         (isgreaterequal_test_data): Likewise.
4210         (isinf_test_data): Likewise.
4211         (isless_test_data): Likewise.
4212         (islessequal_test_data): Likewise.
4213         (islessgreater_test_data): Likewise.
4214         (isnan_test_data): Likewise.
4215         (isnormal_test_data): Likewise.
4216         (issignaling_test_data): Likewise.
4217         (isunordered_test_data): Likewise.
4218         (j0_test_data): Likewise.
4219         (j1_test_data): Likewise.
4220         (jn_test_data): Likewise.
4221         (lgamma_test_data): Likewise.
4222         (log_test_data): Likewise.
4223         (log10_test_data): Likewise.
4224         (log1p_test_data): Likewise.
4225         (log2_test_data): Likewise.
4226         (logb_test_data): Likewise.
4227         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4229         [BZ #18611]
4230         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
4231         avoid excess range and precision on underflow.
4232         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
4233         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
4234         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
4235         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
4236         underflow.
4237         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4238         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4239         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4240         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4241         * math/auto-libm-test-in: Do not allow missing errno setting for
4242         tests of j1 and jn.
4243         * math/auto-libm-test-out: Regenerated.
4245 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
4247         [BZ #15491]
4248         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
4249         floating-point environment instead of clearing all exceptions.
4250         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4251         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
4252         merging in "invalid" exceptions from frndint.
4253         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4254         * math/test-nearbyint-except.c: New file.
4255         * math/Makefile (tests): Add test-nearbyint-except.
4257 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
4259         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
4261         * sysdeps/tile/libm-test-ulps: Regenerated.
4263 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
4266         (__NR_sync_file_range2): Assume it is always defined.
4267         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
4268         (__NR_sync_file_range): Assume it is always defined.
4270 2015-10-22  Andreas Schwab  <schwab@suse.de>
4272         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
4273         INTERNAL_SYSCALL_ERRNO.
4274         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4275         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
4276         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
4277         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
4278         Likewise.
4279         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
4281 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4283         * io/tst-fcntl.c (fd): New static variable.
4284         (do_prepare): Open temporary file here....
4285         (do_test): ...not here.
4287         * io/ftwtest-sh: Also trap on exit to remove temporary files.
4289 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
4291         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
4292         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4293         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4294         Moved before "#ifdef __ASSEMBLER__".
4296 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4298         [BZ #19156]
4299         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
4300         arguments very close to 0.
4302 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
4304         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
4305         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
4307 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
4309         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
4310         New.  Defined for GCC 5 and above when not compiling for
4311         profiling.
4312         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
4314         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
4315         Renamed to ...
4316         (CFLAGS-epoll_pwait.o): This.
4317         (CFLAGS-mmap.c): Renamed to ...
4318         (CFLAGS-mmap.o): This.
4319         (CFLAGS-mmap64.c): Renamed to ...
4320         (CFLAGS-mmap64.o): This.
4321         (CFLAGS-epoll_pwait.os): New.
4322         (CFLAGS-mmap.os): Likewise.
4323         (CFLAGS-mmap64.os): Likewise.
4324         (CFLAGS-semtimedop.os): Likewise.
4325         (CFLAGS-semtimedop.c): Renamed to ...
4326         (CFLAGS-semtimedop.o): This.
4328 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4330         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
4331         warning message.
4333 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
4335         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
4336         * Makefile ($(objpfx)c++-types-check.out): Filter out
4337         $(+gccwarn-c) instead of -Wstrict-prototypes.
4339         * io/fts.c (fts_open): Convert to prototype-style function
4340         definition.
4341         * malloc/mcheck.c (mcheck): Likewise.
4342         (mcheck_pedantic): Likewise.
4343         * posix/regexec.c (re_search_2_stub): Likewise.  Use
4344         internal_function.
4345         (re_search_internal): Likewise.
4346         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
4347         prototype-style function definition.
4348         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4349         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
4350         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
4351         (xdr_utmpptr): Likewise.
4352         (xdr_utmparr): Likewise.
4353         (xdr_utmpidle): Likewise.
4354         (xdr_utmpidleptr): Likewise.
4355         (xdr_utmpidlearr): Likewise.
4357         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
4358         log, log10 and log2.
4359         * math/auto-libm-test-out: Regenerated.
4360         * math/libm-test.inc (fmod_test_data): Add more tests.
4361         (fpclassify_test_data): Likewise.
4362         (frexp_test_data): Likewise.
4363         (hypot_test_data): Likewise.
4364         (ilogb_test_data): Likewise.
4366 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
4368         * debug/fortify_fail.c (__fortify_fail): Convert to
4369         prototype-style function definition.  Use internal_function.
4370         * libio/genops.c (save_for_backup): Convert to prototype-style
4371         function definition.
4372         * libio/wgenops.c (save_for_wbackup): Likewise.
4373         * login/grantpt.c (grantpt): Likewise.
4374         * login/ptsname.c (ptsname): Likewise.
4375         (__ptsname_r): Likewise.
4376         * login/unlockpt.c (unlockpt): Likewise.
4377         * mach/msgserver.c (__mach_msg_server): Likewise.
4378         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
4379         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
4380         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
4381         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
4382         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
4383         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
4384         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
4385         Likewise.
4386         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
4387         internal_function.
4388         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
4389         prototype-style function definition.
4390         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
4391         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
4392         (__pthread_create_2_0): Likewise.
4393         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
4394         * nptl/register-atfork.c (__register_atfork): Likewise.
4395         * posix/glob.c (glob): Likewise.
4396         * posix/regcomp.c (re_comp): Likewise.
4397         * posix/regexec.c (re_exec): Likewise.
4398         * stdlib/add_n.c [__STDC__]: Make code unconditional.
4399         [!__STDC__]: Remove conditional code.
4400         * stdlib/cmp.c [__STDC__]: Make code unconditional.
4401         [!__STDC__]: Remove conditional code.
4402         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
4403         [!__STDC__]: Remove conditional code.
4404         * stdlib/divrem.c [__STDC__]: Make code unconditional.
4405         [!__STDC__]: Remove conditional code.
4406         * stdlib/lshift.c [__STDC__]: Make code unconditional.
4407         [!__STDC__]: Remove conditional code.
4408         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
4409         [!__STDC__]: Remove conditional code.
4410         * stdlib/mul.c [__STDC__]: Make code unconditional.
4411         [!__STDC__]: Remove conditional code.
4412         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
4413         [!__STDC__]: Remove conditional code.
4414         * stdlib/rshift.c [__STDC__]: Make code unconditional.
4415         [!__STDC__]: Remove conditional code.
4416         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
4417         function definition.
4418         (STRTOF): Likewise.
4419         * stdlib/strtod_l.c (__STRTOF): Likewise.
4420         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
4421         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
4422         (__strtol_l): Likewise.
4423         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
4424         [!__STDC__]: Remove conditional code.
4425         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
4426         definition.
4427         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4428         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4429         type.
4430         (__strcasecmp): Convert to prototype-style function definition.
4431         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
4432         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4433         type.
4434         (__strncasecmp): Convert to prototype-style function definition.
4435         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
4436         * sunrpc/xdr.c (xdr_union): Likewise.
4437         * sunrpc/xdr_array.c (xdr_array): Likewise.
4438         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
4439         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
4440         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
4441         Likewise.
4442         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
4443         Likewise.
4444         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
4445         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
4446         Likewise.
4447         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
4448         (LOCALE_PARAM_PROTO): Likewise.
4449         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
4450         argument type.
4451         (ut_argument_spec): Remove macro.
4452         (ut_argument_spec_iso): Rename to ut_argument_spec.
4453         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
4454         prototype-style function definition.
4455         (memcpy_uppcase): Likewise.
4456         (__strftime_internal): Likewise.
4457         (my_strftime): Likewise.
4458         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
4459         (LOCALE_PARAM_DECL): Likewise.
4460         [_LIBC] (LOCALE_PARAM): Include argument type.
4461         (__strptime_internal): Convert to prototype-style function
4462         definition.
4463         (strptime): Likewise.
4464         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
4465         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4466         type.
4467         (__wcscasecmp): Convert to prototype-style function definition.
4468         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
4469         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
4470         type.
4471         (__wcsncasecmp): Convert to prototype-style function definition.
4473         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
4474         function definition.
4475         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
4476         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4477         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
4478         * elf/dl-minimal.c (_itoa): Likewise.
4479         * hurd/hurdmalloc.c (malloc): Likewise.
4480         (free): Likewise.
4481         (realloc): Likewise.
4482         * inet/inet6_option.c (inet6_option_space): Likewise.
4483         (inet6_option_init): Likewise.
4484         (inet6_option_append): Likewise.
4485         (inet6_option_alloc): Likewise.
4486         (inet6_option_next): Likewise.
4487         (inet6_option_find): Likewise.
4488         * io/ftw.c (FTW_NAME): Likewise.
4489         (NFTW_NAME): Likewise.
4490         (NFTW_NEW_NAME): Likewise.
4491         (NFTW_OLD_NAME): Likewise.
4492         * libio/iofwide.c (_IO_fwide): Likewise.
4493         * libio/strops.c (_IO_str_init_static_internal): Likewise.
4494         (_IO_str_init_static): Likewise.
4495         (_IO_str_init_readonly): Likewise.
4496         (_IO_str_overflow): Likewise.
4497         (_IO_str_underflow): Likewise.
4498         (_IO_str_count): Likewise.
4499         (_IO_str_seekoff): Likewise.
4500         (_IO_str_pbackfail): Likewise.
4501         (_IO_str_finish): Likewise.
4502         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
4503         (_IO_wstr_overflow): Likewise.
4504         (_IO_wstr_underflow): Likewise.
4505         (_IO_wstr_count): Likewise.
4506         (_IO_wstr_seekoff): Likewise.
4507         (_IO_wstr_pbackfail): Likewise.
4508         (_IO_wstr_finish): Likewise.
4509         * locale/programs/localedef.c (normalize_codeset): Likewise.
4510         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
4511         (add_locales_to_archive): Likewise.
4512         (delete_locales_from_archive): Likewise.
4513         * malloc/malloc.c (__libc_mallinfo): Likewise.
4514         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
4515         * misc/tsearch.c (__tfind): Likewise.
4516         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
4517         * nptl/pthread_attr_getdetachstate.c
4518         (__pthread_attr_getdetachstate): Likewise.
4519         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
4520         Likewise.
4521         * nptl/pthread_attr_getinheritsched.c
4522         (__pthread_attr_getinheritsched): Likewise.
4523         * nptl/pthread_attr_getschedparam.c
4524         (__pthread_attr_getschedparam): Likewise.
4525         * nptl/pthread_attr_getschedpolicy.c
4526         (__pthread_attr_getschedpolicy): Likewise.
4527         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
4528         Likewise.
4529         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
4530         Likewise.
4531         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
4532         Likewise.
4533         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
4534         Likewise.
4535         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
4536         (__pthread_attr_init_2_0): Likewise.
4537         * nptl/pthread_attr_setdetachstate.c
4538         (__pthread_attr_setdetachstate): Likewise.
4539         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
4540         Likewise.
4541         * nptl/pthread_attr_setinheritsched.c
4542         (__pthread_attr_setinheritsched): Likewise.
4543         * nptl/pthread_attr_setschedparam.c
4544         (__pthread_attr_setschedparam): Likewise.
4545         * nptl/pthread_attr_setschedpolicy.c
4546         (__pthread_attr_setschedpolicy): Likewise.
4547         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
4548         Likewise.
4549         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
4550         Likewise.
4551         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
4552         Likewise.
4553         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
4554         Likewise.
4555         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
4556         Likewise.
4557         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
4558         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
4559         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
4560         use internal_function.
4561         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
4562         prototype-style function definition.
4563         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
4564         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
4565         internal_function.
4566         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
4567         Convert to prototype-style function definition.
4568         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4569         Likewise.
4570         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
4571         Likewise.
4572         (__pthread_mutex_unlock): Likewise.
4573         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
4574         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
4575         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
4576         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
4577         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
4578         * nss/makedb.c (process_input): Likewise.
4579         * posix/fnmatch.c (__strchrnul): Likewise.
4580         (__wcschrnul): Likewise.
4581         (fnmatch): Likewise.
4582         * posix/fnmatch_loop.c (FCT): Likewise.
4583         * posix/glob.c (globfree): Likewise.
4584         (__glob_pattern_type): Likewise.
4585         (__glob_pattern_p): Likewise.
4586         * posix/regcomp.c (re_compile_pattern): Likewise.
4587         (re_set_syntax): Likewise.
4588         (re_compile_fastmap): Likewise.
4589         (regcomp): Likewise.
4590         (regerror): Likewise.
4591         (regfree): Likewise.
4592         * posix/regexec.c (regexec): Likewise.
4593         (re_match): Likewise.
4594         (re_search): Likewise.
4595         (re_match_2): Likewise.
4596         (re_search_2): Likewise.
4597         (re_search_stub): Likewise.  Use internal_function
4598         (re_copy_regs): Likewise.
4599         (re_set_registers): Convert to prototype-style function
4600         definition.
4601         (prune_impossible_nodes): Likewise.  Use internal_function.
4602         * resolv/inet_net_pton.c (inet_net_pton): Convert to
4603         prototype-style function definition.
4604         (inet_net_pton_ipv4): Likewise.
4605         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4606         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
4607         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
4608         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
4609         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
4610         Make variadic.
4611         * time/strptime_l.c (localtime_r): Convert to prototype-style
4612         function definition.
4613         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4614         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4615         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4616         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4618         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
4619         definition.
4620         (_ufc_doit_r): Likewise.
4621         * crypt/crypt_util.c (_ufc_copymem): Likewise.
4622         (_ufc_output_conversion_r): Likewise.
4623         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
4624         * inet/rcmd.c (rcmd_af): Likewise.
4625         (rcmd): Likewise.
4626         (ruserok_af): Likewise.
4627         (ruserok): Likewise.
4628         (ruserok2_sa): Likewise.
4629         (ruserok_sa): Likewise.
4630         (iruserok_af): Likewise.
4631         (iruserok): Likewise.
4632         (__ivaliduser): Likewise.
4633         (__validuser2_sa): Likewise.
4634         * inet/rexec.c (rexec_af): Likewise.
4635         (rexec): Likewise.
4636         * inet/ruserpass.c (ruserpass): Likewise.
4637         * locale/programs/xmalloc.c (xcalloc): Likewise.
4638         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
4639         * math/w_drem.c (__drem): Likewise.
4640         * math/w_dremf.c (__dremf): Likewise.
4641         * math/w_dreml.c (__dreml): Likewise.
4642         * misc/daemon.c (daemon): Likewise.
4643         * resolv/res_debug.c (p_fqnname): Likewise.
4644         * stdlib/div.c (div): Likewise.
4645         * string/memcmp.c (memcmp_bytes): Likewise.
4646         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
4647         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
4649         * crypt/cert.c (main): Convert to prototype-style function
4650         definition.
4651         * io/pipe.c (__pipe): Likewise.
4652         * io/pipe2.c (__pipe2): Likewise.
4653         * misc/futimesat.c (futimesat): Likewise.
4654         * misc/utimes.c (__utimes): Likewise.
4655         * posix/execve.c (__execve): Likewise.
4656         * posix/execvp.c (execvp): Likewise.
4657         * posix/execvpe.c (__execvpe): Likewise.
4658         * posix/fexecve.c (fexecve): Likewise.
4659         * socket/socketpair.c (socketpair): Likewise.
4660         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4661         * stdlib/erand48.c (erand48): Likewise.
4662         * stdlib/erand48_r.c (__erand48_r): Likewise.
4663         * stdlib/jrand48.c (jrand48): Likewise.
4664         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
4665         * stdlib/lcong48.c (lcong48): Likewise.
4666         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
4667         * stdlib/nrand48.c (nrand48): Likewise.
4668         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
4669         * stdlib/seed48.c (seed48): Likewise.
4670         * stdlib/seed48_r.c (__seed48_r): Likewise.
4671         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
4672         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
4673         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
4675 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
4677         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
4678         * configure: Regenerated.
4679         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
4680         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
4681         unconditional.
4682         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4683         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4684         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4685         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
4686         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
4687         unconditional.
4688         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
4690         * posix/Makefile (CFLAGS-regex.c): Remove variable.
4691         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
4693         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
4694         function definition.
4695         * crypt/crypt_util.c (__encrypt_r): Likewise.
4696         * libio/genops.c (_IO_no_init): Likewise.
4697         * libio/iofopncook.c (_IO_fopencookie): Likewise.
4698         (_IO_old_fopencookie): Likewise.
4699         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4700         * libio/iogetline.c (_IO_getline): Likewise.
4701         (_IO_getline_info): Likewise.
4702         * libio/iogetwline.c (_IO_getwline): Likewise.
4703         (_IO_getwline_info): Likewise.
4704         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
4705         * libio/vswprintf.c (_IO_vswprintf): Likewise.
4706         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
4707         (find_entry): Likewise.
4708         (iterate_table): Likewise.
4709         (lookup): Likewise.
4710         * login/forkpty.c (forkpty): Likewise.
4711         * misc/hsearch_r.c (__hsearch_r): Likewise.
4712         * misc/select.c (__select): Likewise.
4713         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
4714         Likewise.
4715         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
4716         Likewise.
4717         * nptl/old_pthread_cond_timedwait.c
4718         (__pthread_cond_timedwait_2_0): Likewise.
4719         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
4720         * nptl/pthread_barrierattr_getpshared.c
4721         (pthread_barrierattr_getpshared): Likewise.
4722         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
4723         Likewise.
4724         * nptl/pthread_mutex_setprioceiling.c
4725         (pthread_mutex_setprioceiling): Likewise.
4726         * nptl/pthread_mutexattr_getprioceiling.c
4727         (pthread_mutexattr_getprioceiling): Likewise.
4728         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
4729         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4730         Likewise.
4731         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4732         Likewise.
4733         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
4734         Likewise.
4735         * socket/recvfrom.c (__recvfrom): Likewise.
4736         * socket/sendto.c (__sendto): Likewise.
4737         * socket/setsockopt.c (__setsockopt): Likewise.
4738         * stdio-common/_itoa.c (_itoa): Likewise.
4739         * stdio-common/_itowa.c (_itowa): Likewise.
4740         * stdio-common/reg-printf.c (__register_printf_specifier):
4741         Likewise.
4742         (__register_printf_function): Likewise.
4743         * stdio-common/tempname.c (__path_search): Likewise.
4744         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
4745         * stdlib/mul_1.c (mpn_mul_1): Likewise.
4746         * stdlib/random_r.c (__initstate_r): Likewise.
4747         * stdlib/setenv.c (__add_to_environ): Likewise.
4748         * stdlib/submul_1.c (mpn_submul_1): Likewise.
4749         * streams/getpmsg.c (getpmsg): Likewise.
4750         * streams/putmsg.c (putmsg): Likewise.
4751         * streams/putpmsg.c (putpmsg): Likewise.
4752         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
4753         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
4754         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
4755         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
4756         * sunrpc/pm_getport.c (pmap_getport): Likewise.
4757         * sunrpc/svc_udp.c (cache_get): Likewise.
4758         * sunrpc/xdr_array.c (xdr_vector): Likewise.
4759         * sysdeps/mach/hurd/getcwd.c
4760         (__canonicalize_directory_name_internal): Likewise.
4761         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
4762         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
4763         * sysdeps/mach/hurd/select.c (__select): Likewise.
4764         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
4765         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
4766         * sysdeps/sparc/nptl/pthread_barrier_init.c
4767         (__pthread_barrier_init): Likewise.
4768         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
4769         (__pthread_cond_timedwait): Likewise.
4770         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
4771         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
4772         Likewise.
4773         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
4774         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
4775         Likewise.
4776         * sysvipc/semtimedop.c (semtimedop): Likewise.
4777         * time/setitimer.c (__setitimer): Likewise.
4778         * time/strftime_l.c (emacs_strftime): Likewise.
4780 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
4782         * config.make.in (have-ssp): Delete.
4783         (stack-protector): New variable.
4784         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
4785         cache test for -fstack-protector-strong.  Export stack_protector to
4786         the best ssp flag.
4787         * configure: Regenerated.
4788         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
4789         * nscd/Makefile (CFLAGS-nscd): Likewise.
4790         * resolv/Makefile (CFLAGS-libresolv): Likewise.
4792 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
4794         [BZ #19122]
4795         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
4796         attribute_hidden.
4798 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4800         [BZ #18743]
4801         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
4802         code to...
4803         (ELIDE_LOCK): ...here.
4804         (__get_new_count): New function with part of the code from
4805         __elide_lock that updates the value of adapt_count after a
4806         transaction abort.
4807         (__elided_trylock): Moved this code to...
4808         (ELIDE_TRYLOCK): ...here.
4810 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
4812         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
4813         * configure: Regenerate.
4814         * INSTALL: Regenerate.
4815         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
4816         and tweak grammar.
4818 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
4820         * login/programs/pt_chown.c: Include signal.h
4821         (main): Clear any signal mask from the parent process.
4823 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
4825         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
4826         * configure: Regenerated.
4827         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
4828         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
4829         $(gnu89-inline-CFLAGS).
4831         * configure.ac (libc_cv_asm_weak_directive): Remove configure
4832         test.
4833         (libc_cv_asm_weakext_directive): Likewise.
4834         * configure: Regenerated.
4835         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
4836         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
4837         * include/libc-symbols.h
4838         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
4839         #error.
4840         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
4841         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
4843         * sysdeps/arm/backtrace.c (__backtrace): Convert to
4844         prototype-style function definition.
4845         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
4846         * sysdeps/i386/ffs.c (__ffs): Likewise.
4847         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
4848         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
4849         Likewise.
4850         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4851         Likewise.
4852         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
4853         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4854         Likewise.
4855         * sysdeps/m68k/ffs.c (__ffs): Likewise.
4856         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
4857         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
4858         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
4859         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
4860         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
4861         * sysdeps/mach/hurd/access.c (__access): Likewise.
4862         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
4863         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
4864         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
4865         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
4866         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
4867         (cthread_getspecific): Likewise.
4868         (cthread_setspecific): Likewise.
4869         (__libc_getspecific): Likewise.
4870         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
4871         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
4872         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
4873         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
4874         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
4875         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
4876         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
4877         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
4878         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
4879         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
4880         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
4881         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
4882         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
4883         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
4884         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
4885         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
4886         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
4887         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
4888         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
4889         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
4890         * sysdeps/mach/hurd/link.c (__link): Likewise.
4891         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
4892         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
4893         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
4894         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
4895         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
4896         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
4897         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
4898         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
4899         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4900         * sysdeps/mach/hurd/rename.c (rename): Likewise.
4901         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
4902         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
4903         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
4904         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
4905         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
4906         * sysdeps/mach/hurd/send.c (__send): Likewise.
4907         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
4908         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
4909         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
4910         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
4911         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
4912         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
4913         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
4914         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
4915         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
4916         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
4917         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
4918         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
4919         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
4920         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
4921         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
4922         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
4923         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
4924         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
4925         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
4926         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4927         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
4928         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
4929         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
4930         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
4931         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
4932         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
4933         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
4934         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
4935         * sysdeps/posix/alarm.c (alarm): Likewise.
4936         * sysdeps/posix/cuserid.c (cuserid): Likewise.
4937         * sysdeps/posix/dirfd.c (dirfd): Likewise.
4938         * sysdeps/posix/dup.c (__dup): Likewise.
4939         * sysdeps/posix/dup2.c (__dup2): Likewise.
4940         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
4941         (main): Likewise.
4942         * sysdeps/posix/flock.c (__flock): Likewise.
4943         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
4944         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
4945         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
4946         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
4947         * sysdeps/posix/isatty.c (__isatty): Likewise.
4948         * sysdeps/posix/killpg.c (killpg): Likewise.
4949         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
4950         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
4951         * sysdeps/posix/raise.c (raise): Likewise.
4952         * sysdeps/posix/remove.c (remove): Likewise.
4953         * sysdeps/posix/rename.c (rename): Likewise.
4954         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
4955         * sysdeps/posix/seekdir.c (seekdir): Likewise.
4956         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
4957         * sysdeps/posix/sigignore.c (sigignore): Likewise.
4958         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
4959         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
4960         * sysdeps/posix/sigset.c (sigset): Likewise.
4961         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
4962         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4963         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
4964         * sysdeps/posix/time.c (time): Likewise.
4965         * sysdeps/posix/ttyname.c (getttyname): Likewise.
4966         (ttyname): Likewise.
4967         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
4968         * sysdeps/posix/utime.c (utime): Likewise.
4969         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
4970         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
4971         Likewise.
4972         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
4973         (pthread_spin_trylock): Likewise.
4974         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
4975         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
4976         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
4977         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
4978         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
4979         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
4980         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
4981         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
4982         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
4983         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
4984         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
4985         * sysdeps/s390/ffs.c (__ffs): Likewise.
4986         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
4987         Likewise.
4988         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
4989         Likewise.
4990         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
4991         Likewise.
4992         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
4993         (pthread_barrier_destroy): Likewise.
4994         * sysdeps/sparc/nptl/pthread_barrier_wait.c
4995         (__pthread_barrier_wait): Likewise.
4996         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
4997         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4998         (__pthread_barrier_wait): Likewise.
4999         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
5000         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
5001         (memcmp_not_common_alignment): Likewise.
5002         (MEMCMP): Likewise.
5003         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
5004         (_wordcopy_fwd_dest_aligned): Likewise.
5005         (_wordcopy_bwd_aligned): Likewise.
5006         (_wordcopy_bwd_dest_aligned): Likewise.
5007         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
5008         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
5009         * sysdeps/unix/bsd/stty.c (stty): Likewise.
5010         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
5011         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
5012         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
5013         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
5014         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
5015         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
5016         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
5017         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
5018         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5019         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
5020         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
5021         * sysdeps/unix/stime.c (stime): Likewise.
5022         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
5023         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
5024         Likewise.  Use internal_function.
5025         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
5026         Convert to prototype-style function definition.
5027         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5028         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5029         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
5030         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
5031         Likewise.  Use internal_function.
5032         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
5033         prototype-style function definition
5034         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
5035         Likewise.
5036         (__getlogin_r): Likewise.
5037         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
5038         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
5039         (__pthread_cond_broadcast): Likewise.
5040         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
5041         (__pthread_cond_destroy): Likewise.
5042         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
5043         (__pthread_cond_init): Likewise.
5044         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
5045         (__pthread_cond_signal): Likewise.
5046         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
5047         (__pthread_cond_wait): Likewise.
5048         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
5049         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
5050         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
5051         Likewise.
5052         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
5053         Likewise.
5054         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
5055         Likewise.
5056         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
5057         Likewise.
5058         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
5059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
5060         (__ftruncate64): Likewise.
5061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
5062         (truncate64): Likewise.
5063         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
5064         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
5065         (pthread_getcpuclockid): Likewise.
5066         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
5067         Likewise.
5068         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
5069         Likewise.
5070         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
5071         Likewise.
5072         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
5073         Likewise.
5074         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
5075         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
5076         (__libc_sigaction): Likewise.
5077         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
5078         Likewise.
5079         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
5080         (__sigprocmask): Likewise.
5081         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
5082         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
5083         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
5084         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
5085         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
5086         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
5087         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
5088         Likewise.
5089         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
5090         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
5091         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
5092         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
5093         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
5094         Likewise.
5095         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
5096         (__sigprocmask): Likewise.
5097         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
5098         (cfgetispeed): Likewise.
5099         (cfsetospeed): Likewise.
5100         (cfsetispeed): Likewise.
5101         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
5102         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
5103         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5104         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
5105         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
5106         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
5107         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
5108         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
5109         Likewise.
5110         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
5111         Likewise.
5112         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
5113         Likewise.
5114         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
5115         Likewise.
5116         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
5118 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5120         sunrpc: Rewrite with explicit TLS access using __thread.
5121         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
5122         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
5123         directly.
5124         (__rpc_thread_variables): Access thread_rpc_vars directly.
5125         Eliminate redundant assignment of the tvp variable.
5127 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5129         malloc: Rewrite with explicit TLS access using __thread.
5130         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
5131         (tsd_setspecific, tsd_getspecific): Remove.
5132         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
5133         (tsd_setspecific, tsd_getspecific): Likewise.
5134         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
5135         (tsd_setspecific, tsd_getspecific): Likewise.
5136         * malloc/arena.c (thread_arena): New TLS variable.
5137         (arena_key): Remove variable.
5138         (arena_get): Use thread_arena.
5139         (arena_lookup): Remove macro.
5140         (malloc_atfork, free_atfork, ptmalloc_lock_all)
5141         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
5142         (_int_new_arena, get_free_list, reused_arena)
5143         (arena_thread_freeres): Use thread_arena.
5144         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
5145         tsd_getspecific, tsd_setspecific from safety annotations.
5146         (Allocating Cleared Space): Remove arena_lookup from safety
5147         annotations.
5149 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5151         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
5152         struct scratch_buffer instead of extend_alloca.
5154 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5156         * sysdeps/unix/sysv/linux/kernel-features.h
5157         (__ASSUME_SOCK_CLOEXEC): Remove.
5158         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
5159         (__have_paccept): Remove unused macro.
5160         * include/unistd.h (__have_sock_cloexec): Remove declaration.
5161         * misc/syslog.c (openlog_internal): Remove fallback code for
5162         !__ASSUME_SOCK_CLOEXEC.
5163         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
5164         missing SOCK_CLOEXEC.
5165         * nscd/connections.c (have_sock_cloexec): Remove definition.
5166         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5167         * nscd/nscd_helper.c (open_socket): Remove fallback code for
5168         !__ASSUME_SOCK_CLOEXEC.
5169         * resolv/res_send.c (__have_o_nonblock): Remove definition.
5170         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
5171         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
5172         definition.
5173         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
5174         code for !__ASSUME_SOCK_CLOEXEC.
5176 2015-10-17  Florian Weimer  <fweimer@redhat.com>
5178         [BZ #18982]
5179         * manual/stdio.texi (Variable Arguments Output): Add portability
5180         note, explaining that vfprintf clobbers the va_list pointer.
5182 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
5184         * math/libm-test.inc (fabs_test_data): Add more tests.
5185         (fdim_test_data): Likewise.
5186         (fma_test_data): Likewise.
5187         (fmax_test_data): Likewise.
5188         (fmin_test_data): Likewise.
5189         (fmod_test_data): Likewise.
5191 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
5193         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
5194         data.
5196 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
5198         * math/libm-test.inc (ceil_test_data): Add more tests and more
5199         expectations for "inexact".
5200         (floor_test_data): Add more tests.
5201         (round_test_data): Likewise.
5202         (trunc_test_data): Likewise.
5204         * crypt/cert.c (good_bye): Convert to prototype-style function
5205         definition.
5206         (get8): Likewise.
5207         (put8): Likewise.
5208         * crypt/crypt-entry.c (crypt): Likewise.
5209         (__fcrypt): Likewise.
5210         * crypt/crypt_util.c (_ufc_prbits): Likewise.
5211         (_ufc_set_bits): Likewise.
5212         (_ufc_clearmem): Likewise.
5213         (__init_des_r): Likewise.
5214         (shuffle_sb): Likewise.
5215         (shuffle_sb): Likewise.
5216         (_ufc_setup_salt_r): Likewise.
5217         (_ufc_mk_keytab_r): Likewise.
5218         (_ufc_dofinalperm_r): Likewise.
5219         (encrypt): Likewise.
5220         (__setkey_r): Likewise.
5221         (setkey): Likewise.
5222         * crypt/md5.c (md5_init_ctx): Likewise.
5223         (md5_read_ctx): Likewise.
5224         (md5_finish_ctx): Likewise.
5225         (md5_stream): Likewise.
5226         (md5_buffer): Likewise.
5227         (md5_process_bytes): Likewise.
5228         * crypt/sha256.c (__sha256_init_ctx): Likewise.
5229         (__sha256_finish_ctx): Likewise.
5230         (__sha256_process_bytes): Likewise.
5231         * crypt/sha512.c (__sha512_init_ctx): Likewise.
5232         (__sha512_finish_ctx): Likewise.
5233         (__sha512_process_bytes): Likewise.
5234         * ctype/isctype.c (__isctype): Likewise.
5235         * debug/backtrace.c (__backtrace): Likewise.
5236         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
5237         * debug/fgets_chk.c (__fgets_chk): Likewise.
5238         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
5239         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
5240         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
5241         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
5242         * debug/memset_chk.c (__memset_chk): Likewise.
5243         * debug/strcat_chk.c (__strcat_chk): Likewise.
5244         * debug/strncat_chk.c (__strncat_chk): Likewise.
5245         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
5246         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
5247         * dirent/dirfd.c (dirfd): Likewise.
5248         * dirent/getdents.c (__getdirentries): Likewise.
5249         * dirent/getdents64.c (getdirentries64): Likewise.
5250         * dirent/rewinddir.c (__rewinddir): Likewise.
5251         * dirent/seekdir.c (seekdir): Likewise.
5252         * dirent/telldir.c (telldir): Likewise.
5253         * elf/sln.c (makesymlinks): Likewise.
5254         (makesymlink): Likewise.
5255         * gmon/gmon.c (__moncontrol): Likewise.
5256         (__monstartup): Likewise.
5257         (write_hist): Likewise.
5258         (write_call_graph): Likewise.
5259         (write_bb_counts): Likewise.
5260         * grp/setgroups.c (setgroups): Likewise.
5261         * inet/inet_lnaof.c (inet_lnaof): Likewise.
5262         * inet/inet_net.c (inet_network): Likewise.
5263         * inet/inet_netof.c (inet_netof): Likewise.
5264         * inet/rcmd.c (rresvport_af): Likewise.
5265         (rresvport): Likewise.
5266         * io/access.c (__access): Likewise.
5267         * io/chdir.c (__chdir): Likewise.
5268         * io/chmod.c (__chmod): Likewise.
5269         * io/chown.c (__chown): Likewise.
5270         * io/close.c (__close): Likewise.
5271         * io/creat.c (creat): Likewise.
5272         * io/creat64.c (creat64): Likewise.
5273         * io/dup.c (__dup): Likewise.
5274         * io/dup2.c (__dup2): Likewise.
5275         * io/dup3.c (__dup3): Likewise.
5276         * io/euidaccess.c (__euidaccess): Likewise.
5277         * io/faccessat.c (faccessat): Likewise.
5278         * io/fchmod.c (__fchmod): Likewise.
5279         * io/fchmodat.c (fchmodat): Likewise.
5280         * io/fchown.c (__fchown): Likewise.
5281         * io/fchownat.c (fchownat): Likewise.
5282         * io/fcntl.c (__fcntl): Likewise.
5283         * io/flock.c (__flock): Likewise.
5284         * io/fts.c (fts_load): Likewise.
5285         (fts_close): Likewise.
5286         (fts_read): Likewise.
5287         (fts_set): Likewise.
5288         (fts_children): Likewise.
5289         (fts_build): Likewise.
5290         (fts_stat): Likewise.
5291         (fts_sort): Likewise.
5292         (fts_alloc): Likewise.
5293         (fts_lfree): Likewise.
5294         (fts_palloc): Likewise.
5295         (fts_padjust): Likewise.
5296         (fts_maxarglen): Likewise.
5297         (fts_safe_changedir): Likewise.
5298         * io/getwd.c (getwd): Likewise.
5299         * io/isatty.c (__isatty): Likewise.
5300         * io/lchown.c (__lchown): Likewise.
5301         * io/link.c (__link): Likewise.
5302         * io/linkat.c (linkat): Likewise.
5303         * io/lseek.c (__libc_lseek): Likewise.
5304         * io/mkdir.c (__mkdir): Likewise.
5305         * io/mkdirat.c (mkdirat): Likewise.
5306         * io/mkfifo.c (mkfifo): Likewise.
5307         * io/mkfifoat.c (mkfifoat): Likewise.
5308         * io/open.c (__libc_open): Likewise.
5309         * io/open64.c (__libc_open64): Likewise.
5310         * io/readlink.c (__readlink): Likewise.
5311         * io/readlinkat.c (readlinkat): Likewise.
5312         * io/rmdir.c (__rmdir): Likewise.
5313         * io/symlink.c (__symlink): Likewise.
5314         * io/symlinkat.c (symlinkat): Likewise.
5315         * io/ttyname.c (ttyname): Likewise.
5316         * io/ttyname_r.c (__ttyname_r): Likewise.
5317         * io/umask.c (__umask): Likewise.
5318         * io/unlink.c (__unlink): Likewise.
5319         * io/unlinkat.c (unlinkat): Likewise.
5320         * io/utime.c (utime): Likewise.
5321         * libio/clearerr.c (clearerr): Likewise.
5322         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
5323         * libio/feof.c (_IO_feof): Likewise.
5324         * libio/feof_u.c (feof_unlocked): Likewise.
5325         * libio/ferror.c (_IO_ferror): Likewise.
5326         * libio/ferror_u.c (ferror_unlocked): Likewise.
5327         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5328         * libio/fileno.c (__fileno): Likewise.
5329         * libio/fputc.c (fputc): Likewise.
5330         * libio/fputc_u.c (fputc_unlocked): Likewise.
5331         * libio/fputwc.c (fputwc): Likewise.
5332         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
5333         * libio/freopen.c (freopen): Likewise.
5334         * libio/freopen64.c (freopen64): Likewise.
5335         * libio/fseek.c (fseek): Likewise.
5336         * libio/fseeko.c (fseeko): Likewise.
5337         * libio/fseeko64.c (fseeko64): Likewise.
5338         * libio/ftello.c (__ftello): Likewise.
5339         * libio/ftello64.c (ftello64): Likewise.
5340         * libio/fwide.c (fwide): Likewise.
5341         * libio/genops.c (_IO_un_link): Likewise.
5342         (_IO_link_in): Likewise.
5343         (_IO_least_marker): Likewise.
5344         (_IO_switch_to_main_get_area): Likewise.
5345         (_IO_switch_to_backup_area): Likewise.
5346         (_IO_switch_to_get_mode): Likewise.
5347         (_IO_free_backup_area): Likewise.
5348         (_IO_switch_to_put_mode): Likewise.
5349         (__overflow): Likewise.
5350         (__underflow): Likewise.
5351         (__uflow): Likewise.
5352         (_IO_setb): Likewise.
5353         (_IO_doallocbuf): Likewise.
5354         (_IO_default_underflow): Likewise.
5355         (_IO_default_uflow): Likewise.
5356         (_IO_default_xsputn): Likewise.
5357         (_IO_sgetn): Likewise.
5358         (_IO_default_xsgetn): Likewise.
5359         (_IO_sync): Likewise.
5360         (_IO_default_setbuf): Likewise.
5361         (_IO_default_seekpos): Likewise.
5362         (_IO_default_doallocate): Likewise.
5363         (_IO_init): Likewise.
5364         (_IO_old_init): Likewise.
5365         (_IO_default_sync): Likewise.
5366         (_IO_default_finish): Likewise.
5367         (_IO_default_seekoff): Likewise.
5368         (_IO_sputbackc): Likewise.
5369         (_IO_sungetc): Likewise.
5370         (_IO_set_column): Likewise.
5371         (_IO_set_column): Likewise.
5372         (_IO_adjust_column): Likewise.
5373         (_IO_get_column): Likewise.
5374         (_IO_init_marker): Likewise.
5375         (_IO_remove_marker): Likewise.
5376         (_IO_marker_difference): Likewise.
5377         (_IO_marker_delta): Likewise.
5378         (_IO_seekmark): Likewise.
5379         (_IO_unsave_markers): Likewise.
5380         (_IO_nobackup_pbackfail): Likewise.
5381         (_IO_default_pbackfail): Likewise.
5382         (_IO_default_seek): Likewise.
5383         (_IO_default_stat): Likewise.
5384         (_IO_default_read): Likewise.
5385         (_IO_default_write): Likewise.
5386         (_IO_default_showmanyc): Likewise.
5387         (_IO_default_imbue): Likewise.
5388         (_IO_iter_next): Likewise.
5389         (_IO_iter_file): Likewise.
5390         * libio/getc.c (_IO_getc): Likewise.
5391         * libio/getwc.c (_IO_getwc): Likewise.
5392         * libio/iofclose.c (_IO_new_fclose): Likewise.
5393         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
5394         * libio/iofflush.c (_IO_fflush): Likewise.
5395         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
5396         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
5397         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
5398         * libio/iofgets.c (_IO_fgets): Likewise.
5399         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
5400         * libio/iofgetws.c (fgetws): Likewise.
5401         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5402         * libio/iofopen64.c (_IO_fopen64): Likewise.
5403         * libio/iofopncook.c (_IO_cookie_read): Likewise.
5404         (_IO_cookie_write): Likewise.
5405         (_IO_cookie_seek): Likewise.
5406         (_IO_cookie_close): Likewise.
5407         (_IO_cookie_seekoff): Likewise.
5408         (_IO_old_cookie_seek): Likewise.
5409         * libio/iofputs.c (_IO_fputs): Likewise.
5410         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
5411         * libio/iofputws.c (fputws): Likewise.
5412         * libio/iofputws_u.c (fputws_unlocked): Likewise.
5413         * libio/iofread.c (_IO_fread): Likewise.
5414         * libio/iofread_u.c (__fread_unlocked): Likewise.
5415         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
5416         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
5417         * libio/ioftell.c (_IO_ftell): Likewise.
5418         * libio/iofwrite.c (_IO_fwrite): Likewise.
5419         * libio/iogetdelim.c (_IO_getdelim): Likewise.
5420         * libio/iogets.c (_IO_gets): Likewise.
5421         * libio/iopadn.c (_IO_padn): Likewise.
5422         * libio/iopopen.c (_IO_new_proc_open): Likewise.
5423         (_IO_new_popen): Likewise.
5424         (_IO_new_proc_close): Likewise.
5425         * libio/ioputs.c (_IO_puts): Likewise.
5426         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
5427         (_IO_seekoff): Likewise.
5428         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
5429         (_IO_seekpos): Likewise.
5430         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
5431         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
5432         * libio/ioungetc.c (_IO_ungetc): Likewise.
5433         * libio/ioungetwc.c (ungetwc): Likewise.
5434         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
5435         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
5436         * libio/iowpadn.c (_IO_wpadn): Likewise.
5437         * libio/libc_fatal.c (__libc_fatal): Likewise.
5438         * libio/memstream.c (__open_memstream): Likewise.
5439         (_IO_mem_sync): Likewise.
5440         (_IO_mem_finish): Likewise.
5441         * libio/oldfileops.c (_IO_old_file_init): Likewise.
5442         (_IO_old_file_close_it): Likewise.
5443         (_IO_old_file_finish): Likewise.
5444         (_IO_old_file_fopen): Likewise.
5445         (_IO_old_file_attach): Likewise.
5446         (_IO_old_file_setbuf): Likewise.
5447         (_IO_old_do_write): Likewise.
5448         (old_do_write): Likewise.
5449         (_IO_old_file_underflow): Likewise.
5450         (_IO_old_file_overflow): Likewise.
5451         (_IO_old_file_sync): Likewise.
5452         (_IO_old_file_seekoff): Likewise.
5453         (_IO_old_file_write): Likewise.
5454         (_IO_old_file_xsputn): Likewise.
5455         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
5456         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
5457         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
5458         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
5459         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
5460         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
5461         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
5462         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
5463         (_IO_old_popen): Likewise.
5464         (_IO_old_proc_close): Likewise.
5465         * libio/oldpclose.c (__old_pclose): Likewise.
5466         * libio/pclose.c (__new_pclose): Likewise.
5467         * libio/peekc.c (_IO_peekc_locked): Likewise.
5468         * libio/putc.c (_IO_putc): Likewise.
5469         * libio/putc_u.c (putc_unlocked): Likewise.
5470         * libio/putchar.c (putchar): Likewise.
5471         * libio/putchar_u.c (putchar_unlocked): Likewise.
5472         * libio/putwc.c (putwc): Likewise.
5473         * libio/putwc_u.c (putwc_unlocked): Likewise.
5474         * libio/putwchar.c (putwchar): Likewise.
5475         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
5476         * libio/rewind.c (rewind): Likewise.
5477         * libio/setbuf.c (setbuf): Likewise.
5478         * libio/setlinebuf.c (setlinebuf): Likewise.
5479         * libio/vasprintf.c (_IO_vasprintf): Likewise.
5480         * libio/vscanf.c (_IO_vscanf): Likewise.
5481         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
5482         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
5483         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
5484         * libio/wgenops.c (_IO_least_wmarker): Likewise.
5485         (_IO_switch_to_main_wget_area): Likewise.
5486         (_IO_switch_to_wbackup_area): Likewise.
5487         (_IO_wsetb): Likewise.
5488         (_IO_wdefault_pbackfail): Likewise.
5489         (_IO_wdefault_finish): Likewise.
5490         (_IO_wdefault_uflow): Likewise.
5491         (__woverflow): Likewise.
5492         (__wuflow): Likewise.
5493         (__wunderflow): Likewise.
5494         (_IO_wdefault_xsputn): Likewise.
5495         (_IO_wdefault_xsgetn): Likewise.
5496         (_IO_wdoallocbuf): Likewise.
5497         (_IO_wdefault_doallocate): Likewise.
5498         (_IO_switch_to_wget_mode): Likewise.
5499         (_IO_free_wbackup_area): Likewise.
5500         (_IO_switch_to_wput_mode): Likewise.
5501         (_IO_sputbackwc): Likewise.
5502         (_IO_sungetwc): Likewise.
5503         (_IO_adjust_wcolumn): Likewise.
5504         (_IO_init_wmarker): Likewise.
5505         (_IO_wmarker_delta): Likewise.
5506         (_IO_seekwmark): Likewise.
5507         (_IO_unsave_wmarkers): Likewise.
5508         * libio/wmemstream.c (open_wmemstream): Likewise.
5509         (_IO_wmem_sync): Likewise.
5510         (_IO_wmem_finish): Likewise.
5511         * locale/nl_langinfo.c (nl_langinfo): Likewise.
5512         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
5513         * locale/programs/simple-hash.c (init_hash): Likewise.
5514         (delete_hash): Likewise.
5515         (insert_entry): Likewise.
5516         (set_entry): Likewise.
5517         (next_prime): Likewise.
5518         (is_prime): Likewise.
5519         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
5520         (xmalloc): Likewise.
5521         (xrealloc): Likewise.
5522         * locale/programs/xstrdup.c (xstrdup): Likewise.
5523         * localedata/collate-test.c (xstrcoll): Likewise.
5524         * localedata/xfrm-test.c (xstrcmp): Likewise.
5525         * login/getlogin_r.c (__getlogin_r): Likewise.
5526         * login/getpt.c (__posix_openpt): Likewise.
5527         * login/login_tty.c (login_tty): Likewise.
5528         * login/setlogin.c (setlogin): Likewise.
5529         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
5530         (mach_msg_destroy_port): Likewise.
5531         (mach_msg_destroy_memory): Likewise.
5532         * malloc/mcheck.c (flood): Likewise.
5533         * misc/acct.c (acct): Likewise.
5534         * misc/brk.c (__brk): Likewise.
5535         * misc/chflags.c (chflags): Likewise.
5536         * misc/chroot.c (chroot): Likewise.
5537         * misc/fchflags.c (fchflags): Likewise.
5538         * misc/fstab.c (getfsspec): Likewise.
5539         (getfsfile): Likewise.
5540         * misc/fsync.c (fsync): Likewise.
5541         * misc/ftruncate.c (__ftruncate): Likewise.
5542         * misc/ftruncate64.c (__ftruncate64): Likewise.
5543         * misc/getdomain.c (getdomainname): Likewise.
5544         (getdomainname): Likewise.
5545         * misc/gethostname.c (__gethostname): Likewise.
5546         * misc/getpass.c (getpass): Likewise.
5547         * misc/getttyent.c (skip): Likewise.
5548         (value): Likewise.
5549         * misc/gtty.c (gtty): Likewise.
5550         * misc/hsearch.c (hsearch): Likewise.
5551         (hcreate): Likewise.
5552         * misc/hsearch_r.c (__hcreate_r): Likewise.
5553         (__hdestroy_r): Likewise.
5554         * misc/ioctl.c (__ioctl): Likewise.
5555         * misc/mkdtemp.c (mkdtemp): Likewise.
5556         * misc/mkostemp.c (mkostemp): Likewise.
5557         * misc/mkostemp64.c (mkostemp64): Likewise.
5558         * misc/mkostemps.c (mkostemps): Likewise.
5559         * misc/mkostemps64.c (mkostemps64): Likewise.
5560         * misc/mkstemp.c (mkstemp): Likewise.
5561         * misc/mkstemp64.c (mkstemp64): Likewise.
5562         * misc/mkstemps.c (mkstemps): Likewise.
5563         * misc/mkstemps64.c (mkstemps64): Likewise.
5564         * misc/mktemp.c (__mktemp): Likewise.
5565         * misc/preadv.c (preadv): Likewise.
5566         * misc/preadv64.c (preadv64): Likewise.
5567         * misc/pwritev.c (pwritev): Likewise.
5568         * misc/pwritev64.c (pwritev64): Likewise.
5569         * misc/readv.c (__readv): Likewise.
5570         * misc/revoke.c (revoke): Likewise.
5571         * misc/setdomain.c (setdomainname): Likewise.
5572         * misc/setegid.c (setegid): Likewise.
5573         * misc/seteuid.c (seteuid): Likewise.
5574         * misc/sethostid.c (sethostid): Likewise.
5575         * misc/sethostname.c (sethostname): Likewise.
5576         * misc/setregid.c (__setregid): Likewise.
5577         * misc/setreuid.c (__setreuid): Likewise.
5578         * misc/sstk.c (sstk): Likewise.
5579         * misc/stty.c (stty): Likewise.
5580         * misc/syscall.c (syscall): Likewise.
5581         * misc/syslog.c (setlogmask): Likewise.
5582         * misc/truncate.c (__truncate): Likewise.
5583         * misc/truncate64.c (truncate64): Likewise.
5584         * misc/ualarm.c (ualarm): Likewise.
5585         * misc/usleep.c (usleep): Likewise.
5586         * misc/ustat.c (ustat): Likewise.
5587         * misc/writev.c (__writev): Likewise.
5588         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
5589         * nptl/old_pthread_cond_broadcast.c
5590         (__pthread_cond_broadcast_2_0): Likewise.
5591         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
5592         Likewise.
5593         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
5594         Likewise.
5595         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
5596         Likewise.
5597         * nptl/pt-raise.c (raise): Likewise.
5598         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
5599         Likewise.
5600         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
5601         * nptl/pthread_barrierattr_destroy.c
5602         (pthread_barrierattr_destroy): Likewise.
5603         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
5604         Likewise.
5605         * nptl/pthread_barrierattr_setpshared.c
5606         (pthread_barrierattr_setpshared): Likewise.
5607         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
5608         Likewise.
5609         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
5610         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
5611         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
5612         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
5613         Likewise.
5614         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
5615         Likewise.
5616         * nptl/pthread_condattr_getpshared.c
5617         (pthread_condattr_getpshared): Likewise.
5618         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
5619         Likewise.
5620         * nptl/pthread_condattr_setpshared.c
5621         (pthread_condattr_setpshared): Likewise.
5622         * nptl/pthread_detach.c (pthread_detach): Likewise.
5623         * nptl/pthread_equal.c (__pthread_equal): Likewise.
5624         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
5625         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
5626         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
5627         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
5628         Likewise.
5629         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
5630         Likewise.
5631         * nptl/pthread_mutex_getprioceiling.c
5632         (pthread_mutex_getprioceiling): Likewise.
5633         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
5634         Likewise.
5635         * nptl/pthread_mutexattr_getprotocol.c
5636         (pthread_mutexattr_getprotocol): Likewise.
5637         * nptl/pthread_mutexattr_getpshared.c
5638         (pthread_mutexattr_getpshared): Likewise.
5639         * nptl/pthread_mutexattr_getrobust.c
5640         (pthread_mutexattr_getrobust): Likewise.
5641         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
5642         Likewise.
5643         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
5644         Likewise.
5645         * nptl/pthread_mutexattr_setprioceiling.c
5646         (pthread_mutexattr_setprioceiling): Likewise.
5647         * nptl/pthread_mutexattr_setprotocol.c
5648         (pthread_mutexattr_setprotocol): Likewise.
5649         * nptl/pthread_mutexattr_setpshared.c
5650         (pthread_mutexattr_setpshared): Likewise.
5651         * nptl/pthread_mutexattr_setrobust.c
5652         (pthread_mutexattr_setrobust): Likewise.
5653         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
5654         Likewise.
5655         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
5656         Likewise.
5657         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
5658         Likewise.
5659         * nptl/pthread_rwlockattr_getkind_np.c
5660         (pthread_rwlockattr_getkind_np): Likewise.
5661         * nptl/pthread_rwlockattr_getpshared.c
5662         (pthread_rwlockattr_getpshared): Likewise.
5663         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
5664         Likewise.
5665         * nptl/pthread_rwlockattr_setkind_np.c
5666         (pthread_rwlockattr_setkind_np): Likewise.
5667         * nptl/pthread_rwlockattr_setpshared.c
5668         (pthread_rwlockattr_setpshared): Likewise.
5669         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
5670         Likewise.
5671         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
5672         Likewise.
5673         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
5674         Likewise.
5675         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
5676         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
5677         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
5678         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
5679         * nptl/sem_close.c (sem_close): Likewise.
5680         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
5681         * nptl/sem_init.c (__old_sem_init): Likewise.
5682         * nptl/sigaction.c (__sigaction): Likewise.
5683         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
5684         * posix/_exit.c (_exit): Likewise.
5685         * posix/alarm.c (alarm): Likewise.
5686         * posix/confstr.c (confstr): Likewise.
5687         * posix/fpathconf.c (__fpathconf): Likewise.
5688         * posix/getgroups.c (__getgroups): Likewise.
5689         * posix/getpgid.c (__getpgid): Likewise.
5690         * posix/group_member.c (__group_member): Likewise.
5691         * posix/pathconf.c (__pathconf): Likewise.
5692         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
5693         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
5694         * posix/setgid.c (__setgid): Likewise.
5695         * posix/setpgid.c (__setpgid): Likewise.
5696         * posix/setuid.c (__setuid): Likewise.
5697         * posix/sleep.c (__sleep): Likewise.
5698         * posix/sysconf.c (__sysconf): Likewise.
5699         * posix/times.c (__times): Likewise.
5700         * posix/uname.c (__uname): Likewise.
5701         * posix/waitid.c (__waitid): Likewise.
5702         * pwd/getpw.c (__getpw): Likewise.
5703         * resolv/base64.c (b64_pton): Likewise.
5704         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
5705         * resolv/gethnamaddr.c (Dprintf): Likewise.
5706         (gethostbyname): Likewise.
5707         (gethostbyname2): Likewise.
5708         (gethostbyaddr): Likewise.
5709         (_sethtent): Likewise.
5710         (_gethtbyname): Likewise.
5711         (_gethtbyname2): Likewise.
5712         (_gethtbyaddr): Likewise.
5713         (map_v4v6_address): Likewise.
5714         (map_v4v6_hostent): Likewise.
5715         (addrsort): Likewise.
5716         (ht_sethostent): Likewise.
5717         (ht_gethostbyname): Likewise.
5718         (ht_gethostbyaddr): Likewise.
5719         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
5720         (inet_net_ntop_ipv4): Likewise.
5721         * resolv/inet_neta.c (inet_neta): Likewise.
5722         * resolv/inet_ntop.c (inet_ntop): Likewise.
5723         (inet_ntop4): Likewise.
5724         (inet_ntop6): Likewise.
5725         * resolv/inet_pton.c (__inet_pton): Likewise.
5726         (inet_pton4): Likewise.
5727         (inet_pton6): Likewise.
5728         * resolv/res_debug.c (loc_aton): Likewise.
5729         (loc_ntoa): Likewise.
5730         * resource/getpriority.c (__getpriority): Likewise.
5731         * resource/getrusage.c (__getrusage): Likewise.
5732         * resource/nice.c (nice): Likewise.
5733         * resource/setpriority.c (__setpriority): Likewise.
5734         * resource/setrlimit64.c (setrlimit64): Likewise.
5735         * resource/vlimit.c (vlimit): Likewise.
5736         * resource/vtimes.c (vtimes): Likewise.
5737         * rt/aio_error.c (aio_error): Likewise.
5738         * rt/aio_return.c (aio_return): Likewise.
5739         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
5740         * signal/kill.c (__kill): Likewise.
5741         * signal/killpg.c (killpg): Likewise.
5742         * signal/raise.c (raise): Likewise.
5743         * signal/sigaction.c (__sigaction): Likewise.
5744         * signal/sigaddset.c (sigaddset): Likewise.
5745         * signal/sigaltstack.c (sigaltstack): Likewise.
5746         * signal/sigandset.c (sigandset): Likewise.
5747         * signal/sigblock.c (__sigblock): Likewise.
5748         * signal/sigdelset.c (sigdelset): Likewise.
5749         * signal/sigempty.c (sigemptyset): Likewise.
5750         * signal/sigfillset.c (sigfillset): Likewise.
5751         * signal/sighold.c (sighold): Likewise.
5752         * signal/sigignore.c (sigignore): Likewise.
5753         * signal/sigintr.c (siginterrupt): Likewise.
5754         * signal/sigisempty.c (sigisemptyset): Likewise.
5755         * signal/sigismem.c (sigismember): Likewise.
5756         * signal/signal.c (signal): Likewise.
5757         * signal/sigorset.c (sigorset): Likewise.
5758         * signal/sigpause.c (__sigpause): Likewise.
5759         * signal/sigpending.c (sigpending): Likewise.
5760         * signal/sigprocmask.c (__sigprocmask): Likewise.
5761         * signal/sigrelse.c (sigrelse): Likewise.
5762         * signal/sigreturn.c (__sigreturn): Likewise.
5763         * signal/sigset.c (sigset): Likewise.
5764         * signal/sigsetmask.c (__sigsetmask): Likewise.
5765         * signal/sigstack.c (sigstack): Likewise.
5766         * signal/sigsuspend.c (__sigsuspend): Likewise.
5767         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
5768         * signal/sysv_signal.c (__sysv_signal): Likewise.
5769         * socket/accept.c (accept): Likewise.
5770         * socket/accept4.c (__libc_accept4): Likewise.
5771         * socket/bind.c (__bind): Likewise.
5772         * socket/connect.c (__connect): Likewise.
5773         * socket/getpeername.c (getpeername): Likewise.
5774         * socket/getsockname.c (__getsockname): Likewise.
5775         * socket/getsockopt.c (getsockopt): Likewise.
5776         * socket/listen.c (__listen): Likewise.
5777         * socket/recv.c (__recv): Likewise.
5778         * socket/recvmsg.c (__recvmsg): Likewise.
5779         * socket/send.c (__send): Likewise.
5780         * socket/sendmsg.c (__sendmsg): Likewise.
5781         * socket/shutdown.c (shutdown): Likewise.
5782         * socket/sockatmark.c (sockatmark): Likewise.
5783         * socket/socket.c (__socket): Likewise.
5784         * stdio-common/ctermid.c (ctermid): Likewise.
5785         * stdio-common/cuserid.c (cuserid): Likewise.
5786         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
5787         * stdio-common/remove.c (remove): Likewise.
5788         * stdio-common/rename.c (rename): Likewise.
5789         * stdio-common/renameat.c (renameat): Likewise.
5790         * stdio-common/tempname.c (__gen_tempname): Likewise.
5791         * stdio-common/xbug.c (InitBuffer): Likewise.
5792         (AppendToBuffer): Likewise.
5793         (ReadFile): Likewise.
5794         * stdlib/a64l.c (a64l): Likewise.
5795         * stdlib/drand48_r.c (drand48_r): Likewise.
5796         * stdlib/getcontext.c (getcontext): Likewise.
5797         * stdlib/getenv.c (getenv): Likewise.
5798         * stdlib/l64a.c (l64a): Likewise.
5799         * stdlib/llabs.c (llabs): Likewise.
5800         * stdlib/lldiv.c (lldiv): Likewise.
5801         * stdlib/lrand48_r.c (lrand48_r): Likewise.
5802         * stdlib/mrand48_r.c (mrand48_r): Likewise.
5803         * stdlib/putenv.c (putenv): Likewise.
5804         * stdlib/random.c (__srandom): Likewise.
5805         (__initstate): Likewise.
5806         (__setstate): Likewise.
5807         * stdlib/random_r.c (__srandom_r): Likewise.
5808         (__setstate_r): Likewise.
5809         (__random_r): Likewise.
5810         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
5811         * stdlib/setcontext.c (setcontext): Likewise.
5812         * stdlib/setenv.c (setenv): Likewise.
5813         (unsetenv): Likewise.
5814         * stdlib/srand48.c (srand48): Likewise.
5815         * stdlib/srand48_r.c (__srand48_r): Likewise.
5816         * stdlib/swapcontext.c (swapcontext): Likewise.
5817         * stdlib/system.c (__libc_system): Likewise.
5818         * stdlib/tst-strtod.c (expand): Likewise.
5819         * stdlib/tst-strtol.c (expand): Likewise.
5820         * stdlib/tst-strtoll.c (expand): Likewise.
5821         * streams/fattach.c (fattach): Likewise.
5822         * streams/fdetach.c (fdetach): Likewise.
5823         * streams/getmsg.c (getmsg): Likewise.
5824         * streams/isastream.c (isastream): Likewise.
5825         * string/ffs.c (__ffs): Likewise.
5826         * string/ffsll.c (ffsll): Likewise.
5827         * string/memcmp.c (memcmp_common_alignment): Likewise.
5828         (memcmp_not_common_alignment): Likewise.
5829         (MEMCMP): Likewise.
5830         * string/memcpy.c (memcpy): Likewise.
5831         * string/memmove.c (MEMMOVE): Likewise.
5832         * string/memset.c (memset): Likewise.
5833         * string/rawmemchr.c (RAWMEMCHR): Likewise.
5834         * string/strchrnul.c (STRCHRNUL): Likewise.
5835         * string/strerror.c (strerror): Likewise.
5836         * string/strndup.c (__strndup): Likewise.
5837         * string/strverscmp.c (__strverscmp): Likewise.
5838         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
5839         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
5840         (clnttcp_freeres): Likewise.
5841         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
5842         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
5843         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
5844         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
5845         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
5846         (xdr_callhdr): Likewise.
5847         * sunrpc/rpcinfo.c (udpping): Likewise.
5848         (tcpping): Likewise.
5849         (pstatus): Likewise.
5850         (pmapdump): Likewise.
5851         (brdcst): Likewise.
5852         (deletereg): Likewise.
5853         (getprognum): Likewise.
5854         (getvers): Likewise.
5855         (get_inet_address): Likewise.
5856         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
5857         * sunrpc/svc_udp.c (svcudp_create): Likewise.
5858         (svcudp_stat): Likewise.
5859         (svcudp_recv): Likewise.
5860         (svcudp_reply): Likewise.
5861         (svcudp_getargs): Likewise.
5862         (svcudp_freeargs): Likewise.
5863         (svcudp_destroy): Likewise.
5864         * sunrpc/xdr.c (xdr_bytes): Likewise.
5865         (xdr_netobj): Likewise.
5866         (xdr_string): Likewise.
5867         (xdr_wrapstring): Likewise.
5868         * sunrpc/xdr_float.c (xdr_float): Likewise.
5869         (xdr_double): Likewise.
5870         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
5871         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
5872         * sysvipc/ftok.c (ftok): Likewise.
5873         * sysvipc/msgctl.c (msgctl): Likewise.
5874         * sysvipc/msgget.c (msgget): Likewise.
5875         * sysvipc/msgrcv.c (msgrcv): Likewise.
5876         * sysvipc/msgsnd.c (msgsnd): Likewise.
5877         * sysvipc/semget.c (semget): Likewise.
5878         * sysvipc/semop.c (semop): Likewise.
5879         * sysvipc/shmat.c (shmat): Likewise.
5880         * sysvipc/shmctl.c (shmctl): Likewise.
5881         * sysvipc/shmdt.c (shmdt): Likewise.
5882         * sysvipc/shmget.c (shmget): Likewise.
5883         * termios/cfmakeraw.c (cfmakeraw): Likewise.
5884         * termios/speed.c (cfgetospeed): Likewise.
5885         (cfgetispeed): Likewise.
5886         (cfsetospeed): Likewise.
5887         (cfsetispeed): Likewise.
5888         * termios/tcflow.c (tcflow): Likewise.
5889         * termios/tcflush.c (tcflush): Likewise.
5890         * termios/tcgetattr.c (__tcgetattr): Likewise.
5891         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
5892         * termios/tcgetsid.c (tcgetsid): Likewise.
5893         * termios/tcsendbrk.c (tcsendbreak): Likewise.
5894         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
5895         * time/adjtime.c (__adjtime): Likewise.
5896         * time/dysize.c (dysize): Likewise.
5897         * time/ftime.c (ftime): Likewise.
5898         * time/getitimer.c (__getitimer): Likewise.
5899         * time/gettimeofday.c (__gettimeofday): Likewise.
5900         * time/gmtime.c (__gmtime_r): Likewise.
5901         (gmtime): Likewise.
5902         * time/localtime.c (__localtime_r): Likewise.
5903         (localtime): Likewise.
5904         * time/offtime.c (__offtime): Likewise.
5905         * time/settimeofday.c (__settimeofday): Likewise.
5906         * time/stime.c (stime): Likewise.
5907         * time/strftime_l.c (tm_diff): Likewise.
5908         (iso_week_days): Likewise.
5909         * time/strptime.c (strptime): Likewise.
5910         * time/time.c (time): Likewise.
5911         * time/timespec_get.c (timespec_get): Likewise.
5912         * time/tzset.c (tzset_internal): Likewise.
5913         (compute_change): Likewise.
5914         (__tz_compute): Likewise.
5915         * wcsmbs/btowc.c (__btowc): Likewise.
5916         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
5917         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
5918         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
5919         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
5920         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
5921         * wcsmbs/wcscat.c (__wcscat): Likewise.
5922         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5923         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
5924         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
5925         * wcsmbs/wcscspn.c (wcscspn): Likewise.
5926         * wcsmbs/wcsdup.c (wcsdup): Likewise.
5927         * wcsmbs/wcslen.c (__wcslen): Likewise.
5928         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
5929         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
5930         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
5931         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
5932         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5933         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
5934         * wcsmbs/wcsspn.c (wcsspn): Likewise.
5935         * wcsmbs/wcsstr.c (wcsstr): Likewise.
5936         * wcsmbs/wcstok.c (wcstok): Likewise.
5937         * wcsmbs/wctob.c (wctob): Likewise.
5938         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
5939         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5940         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
5941         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
5942         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
5943         * wcsmbs/wmemset.c (__wmemset): Likewise.
5944         * wctype/wcfuncs.c (__towlower): Likewise.
5945         (__towupper): Likewise.
5947         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
5948         (lll_unlock_elision): Add adapt_count parameter.
5950 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
5952         * sysdeps/nptl/configure.ac: Do not give errors based on the
5953         results of top-level configure tests.
5954         * sysdeps/nptl/configure: Regenerated.
5956         * configure.ac (libc_cv_Bgroup): Remove configure test.
5957         * configure: Regenerated.
5958         * config.make.in (have-Bgroup): Remove variable.
5960         * configure.ac (sizeof_long_double): Remove configure test.
5961         * configure: Regenerated.
5962         * config.make.in (sizeof-long-double): Remove variable.
5964         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
5965         * configure: Regenerated.
5966         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
5967         variable.
5968         (exceptions): Likewise.
5969         * sysdeps/arm/configure: Regenerated.
5970         * config.make.in (exceptions): Remove variable.
5971         * Makeconfig (uses-callbacks): Use -fexceptions instead of
5972         $(exceptions).
5973         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
5974         (CFLAGS-vdprintf_chk.c): Likewise.
5975         (CFLAGS-printf_chk.c): Likewise.
5976         (CFLAGS-fprintf_chk.c): Likewise.
5977         (CFLAGS-vprintf_chk.c): Likewise.
5978         (CFLAGS-vfprintf_chk.c): Likewise.
5979         (CFLAGS-gets_chk.c): Likewise.
5980         (CFLAGS-fgets_chk.c): Likewise.
5981         (CFLAGS-fgets_u_chk.c): Likewise.
5982         (CFLAGS-fread_chk.c): Likewise.
5983         (CFLAGS-fread_u_chk.c): Likewise.
5984         (CFLAGS-wprintf_chk.c): Likewise.
5985         (CFLAGS-fwprintf_chk.c): Likewise.
5986         (CFLAGS-vwprintf_chk.c): Likewise.
5987         (CFLAGS-vfwprintf_chk.c): Likewise.
5988         (CFLAGS-fgetws_chk.c): Likewise.
5989         (CFLAGS-fgetws_u_chk.c): Likewise.
5990         * libio/Makefile (CFLAGS-fileops.c): Likewise.
5991         (CFLAGS-fputc.c): Likewise.
5992         (CFLAGS-fputwc.c): Likewise.
5993         (CFLAGS-freopen64.c): Likewise.
5994         (CFLAGS-freopen.c): Likewise.
5995         (CFLAGS-fseek.c): Likewise.
5996         (CFLAGS-fseeko64.c): Likewise.
5997         (CFLAGS-fseeko.c): Likewise.
5998         (CFLAGS-ftello64.c): Likewise.
5999         (CFLAGS-ftello.c): Likewise.
6000         (CFLAGS-fwide.c): Likewise.
6001         (CFLAGS-genops.c): Likewise.
6002         (CFLAGS-getc.c): Likewise.
6003         (CFLAGS-getchar.c): Likewise.
6004         (CFLAGS-getwc.c): Likewise.
6005         (CFLAGS-getwchar.c): Likewise.
6006         (CFLAGS-iofclose.c): Likewise.
6007         (CFLAGS-iofflush.c): Likewise.
6008         (CFLAGS-iofgetpos64.c): Likewise.
6009         (CFLAGS-iofgetpos.c): Likewise.
6010         (CFLAGS-iofgets.c): Likewise.
6011         (CFLAGS-iofgetws.c): Likewise.
6012         (CFLAGS-iofputs.c): Likewise.
6013         (CFLAGS-iofputws.c): Likewise.
6014         (CFLAGS-iofread.c): Likewise.
6015         (CFLAGS-iofsetpos64.c): Likewise.
6016         (CFLAGS-iofsetpos.c): Likewise.
6017         (CFLAGS-ioftell.c): Likewise.
6018         (CFLAGS-iofwrite.c): Likewise.
6019         (CFLAGS-iogetdelim.c): Likewise.
6020         (CFLAGS-iogetline.c): Likewise.
6021         (CFLAGS-iogets.c): Likewise.
6022         (CFLAGS-iogetwline.c): Likewise.
6023         (CFLAGS-ioputs.c): Likewise.
6024         (CFLAGS-ioseekoff.c): Likewise.
6025         (CFLAGS-ioseekpos.c): Likewise.
6026         (CFLAGS-iosetbuffer.c): Likewise.
6027         (CFLAGS-iosetvbuf.c): Likewise.
6028         (CFLAGS-ioungetc.c): Likewise.
6029         (CFLAGS-ioungetwc.c): Likewise.
6030         (CFLAGS-oldfileops.c): Likewise.
6031         (CFLAGS-oldiofclose.c): Likewise.
6032         (CFLAGS-oldiofgetpos64.c): Likewise.
6033         (CFLAGS-oldiofgetpos.c): Likewise.
6034         (CFLAGS-oldiofsetpos64.c): Likewise.
6035         (CFLAGS-oldiofsetpos.c): Likewise.
6036         (CFLAGS-peekc.c): Likewise.
6037         (CFLAGS-putc.c): Likewise.
6038         (CFLAGS-putchar.c): Likewise.
6039         (CFLAGS-putwc.c): Likewise.
6040         (CFLAGS-putwchar.c): Likewise.
6041         (CFLAGS-rewind.c): Likewise.
6042         (CFLAGS-wfileops.c): Likewise.
6043         (CFLAGS-wgenops.c): Likewise.
6044         (CFLAGS-oldiofopen.c): Likewise.
6045         (CFLAGS-iofopen.c): Likewise.
6046         (CFLAGS-iofopen64.c): Likewise.
6047         (CFLAGS-oldtmpfile.c): Likewise.
6048         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
6049         (CFLAGS-fprintf.c): Likewise.
6050         (CFLAGS-printf.c): Likewise.
6051         (CFLAGS-vfwprintf.c): Likewise.
6052         (CFLAGS-vfscanf.c): Likewise.
6053         (CFLAGS-vfwscanf.c): Likewise.
6054         (CFLAGS-fscanf.c): Likewise.
6055         (CFLAGS-scanf.c): Likewise.
6056         (CFLAGS-isoc99_vfscanf.c): Likewise.
6057         (CFLAGS-isoc99_vscanf.c): Likewise.
6058         (CFLAGS-isoc99_fscanf.c): Likewise.
6059         (CFLAGS-isoc99_scanf.c): Likewise.
6060         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
6061         (CFLAGS-isoc99_fwscanf.c): Likewise.
6062         (CFLAGS-isoc99_vwscanf.c): Likewise.
6063         (CFLAGS-isoc99_vfwscanf.c): Likewise.
6065         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
6066         after mkstemp64.
6067         * login/tst-utmp.c (do_prepare): Likewise.
6068         * rt/tst-aio.c (do_prepare): Likewise.
6069         * rt/tst-aio64.c (do_prepare): Likewise.
6071 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6073         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6074         (__lll_lock_elision): Remove adapt_count decrement...
6075         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
6076         (__lll_trylock_elision): Likewise.
6077         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
6078         (__lll_unlock_elision): ... to here. And utilize
6079         new adapt_count parameter.
6080         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6081         (__lll_unlock_elision): Update to include adapt_count
6082         parameter.
6083         (lll_unlock_elision): Pass pointer to adapt_count
6084         variable.
6086 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6088         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
6089         Add elision adapt_count parameter to list of arguments.
6090         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
6091         (lll_unlock_elision): Update with new parameter list
6092         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
6093         (lll_unlock_elision): Likewise.
6094         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
6095         (lll_unlock_elision): Likewise.
6097 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6099         [BZ #19122]
6100         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
6101         attribute_hidden.
6103         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
6104         attribute_hidden.
6105         [IS_IN (rtld)] (__strdup): Likewise.
6106         [IS_IN (rtld)] (__strerror_r): Likewise.
6107         [IS_IN (rtld)] (__strsep_g): Likewise.
6108         [IS_IN (rtld)] (memchr): Likewise.
6109         [IS_IN (rtld)] (memcmp): Likewise.
6110         [IS_IN (rtld)] (memcpy): Likewise.
6111         [IS_IN (rtld)] (memmove): Likewise.
6112         [IS_IN (rtld)] (memset): Likewise.
6113         [IS_IN (rtld)] (rawmemchr): Likewise.
6114         [IS_IN (rtld)] (stpcpy): Likewise.
6115         [IS_IN (rtld)] (strchr): Likewise.
6116         [IS_IN (rtld)] (strcmp): Likewise.
6117         [IS_IN (rtld)] (strlen): Likewise.
6118         [IS_IN (rtld)] (strnlen): Likewise.
6119         [IS_IN (rtld)] (strsep): Likewise.
6121         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
6122         attribute_hidden.
6123         [IS_IN (rtld)] (__strtoul_internal): Likewise.
6125         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
6126         attribute_hidden.
6127         [IS_IN (rtld)] (__libc_sigaction): Likewise.
6129         * include/setjmp.h (__longjmp): Add attribute_hidden.
6130         [IS_IN (rtld)] (__sigsetjmp): Likewise.
6132         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
6133         Add attribute_hidden.
6135         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
6136         [IS_IN (rtld)] (__open): Likewise.
6137         [IS_IN (rtld)] (__fcntl): Likewise.
6139         * include/dirent.h (__opendirat): Add attribute_hidden.
6140         (__getdents): Likewise.
6141         (__getdents64): Likewise.
6142         (__alloc_dir): Likewise.
6143         [IS_IN (rtld)] (__closedir): Likewise.
6144         [IS_IN (rtld)] (__fdopendir): Likewise.
6145         [IS_IN (rtld)] (__readdir): Likewise.
6146         [IS_IN (rtld)] (__readdir64): Likewise.
6147         [IS_IN (rtld)] (__rewinddir): Likewise.
6149         * include/dlfcn.h (_dl_catch_error): Moved to ...
6150         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
6151         attribute_hidden.
6153         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
6154         (_itoa_word): Likewise.
6156         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
6157         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
6158         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
6159         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
6160         (_dl_higher_prime_number): Likewise.
6161         (_dl_debug_printf_c): Likewise.
6162         (_dl_signal_cerror): Likewise.
6163         (_dl_receive_error): Likewise.
6164         (_dl_reloc_bad_type): Likewise.
6165         (_dl_resolve_conflicts): Likewise.
6166         (_dl_check_all_versions): Likewise.
6167         (_dl_check_map_versions): Likewise.
6168         (_dl_sort_fini): Likewise.
6169         (_dl_debug_initialize): Likewise.
6170         (_dl_init_paths): Likewise.
6171         (_dl_show_auxv): Likewise.
6172         (_dl_next_ld_env_entry): Likewise.
6173         (_dl_important_hwcaps): Likewise.
6174         (_dl_load_cache_lookup): Likewise.
6175         (_dl_update_slotinfo): Likewise.
6176         (_dl_show_scope): Likewise.
6178         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
6179         attribute_hidden.
6180         (_wordcopy_fwd_dest_aligned): Likewise.
6181         (_wordcopy_bwd_aligned): Likewise.
6182         (_wordcopy_bwd_dest_aligned): Likewise.
6184         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
6185         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6186         Likewise.
6187         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
6188         Likewise.
6189         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
6191 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6193         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
6194         GCC 5 requirement.
6196 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
6198         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
6199         test.
6200         * sysdeps/i386/configure: Regenerated.
6201         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
6202         code unconditional.
6204         * configure.ac (libc_cv_asm_previous_directive): Remove configure
6205         test.
6206         (libc_cv_asm_popsection_directive): Likewise.
6207         * configure: Regenerated.
6208         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
6209         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
6210         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
6211         (__make_section_unallocated): Make definition unconditional.
6212         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
6213         Remove conditional definition.
6214         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
6215         (__make_section_unallocated): Likewise.
6217         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
6218         * configure: Regenerated.
6219         * config.make.in (static-libgcc): Remove variable.
6220         * Makerules (build-shlib-helper): Use -static-libgcc instead of
6221         $(static-libgcc).
6222         (build-module-helper): Likewise.
6224         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
6225         * configure: Regenerated.
6227 2015-10-15  Florian Weimer  <fweimer@redhat.com>
6229         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
6230         (struct char_buffer): New type.
6231         (char_buffer_start, char_buffer_size, char_buffer_error)
6232         (char_buffer_rewind, char_buffer_add): New functions.
6233         (ADDW): Remove macro, replaced by the char_buffer_add function.
6234         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
6235         of extend_alloca.  Make control flow more explicit.
6237 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6239         [BZ #19137]
6240         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6241         Add -fomit-frame-pointer.
6242         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
6244 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6246         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
6247         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
6248         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
6249         only if !__GNUC_PREREQ (5,0).
6250         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
6251         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
6252         (INTERNAL_SYSCALL_NCS): Likewise.
6253         (LOADREGS_0): New macro for GCC 5.
6254         (ASMARGS_0): Likewise.
6255         (LOADREGS_1): Likewise.
6256         (ASMARGS_1): Likewise.
6257         (LOADREGS_2): Likewise.
6258         (ASMARGS_2): Likewise.
6259         (LOADREGS_3): Likewise.
6260         (ASMARGS_3): Likewise.
6261         (LOADREGS_4): Likewise.
6262         (ASMARGS_4): Likewise.
6263         (LOADREGS_5): Likewise.
6264         (ASMARGS_5): Likewise.
6265         (LOADREGS_6): Likewise.
6266         (ASMARGS_6): Likewise.
6268 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
6270         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
6271         -fomit-frame-pointer.
6272         (CFLAGS-mmap64.c): Likewise.
6273         (CFLAGS-semtimedop.c): Likewise.
6274         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
6275         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
6276         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
6277         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
6279 2015-10-15  Florian Weimer  <fweimer@redhat.com>
6281         [BZ #18928]
6282         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
6283         _dl_pointer_guard member.
6284         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
6285         initializer.
6286         (security_init): Always set up pointer guard.
6287         (process_envvars): Do not process LD_POINTER_GUARD.
6289 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
6291         [BZ #19134]
6292         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
6293         (.LC2): Likewise.
6294         (.LC3): Likewise.
6295         (__lround): Do not add 0.5 to integer or out-of-range arguments.
6297 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6299         [BZ #19129]
6300         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
6301         r0 and r1.
6303 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
6305         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
6307 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
6309         * include/stap-probe.h: Fix macro definition formatting.
6311 2015-10-14  Florian Weimer  <fweimer@redhat.com>
6313         [BZ #19074]
6314         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
6315         load and store num_ifs.
6317 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6319         [BZ #18822]
6320         * sysdeps/unix/sysv/linux/sched_getaffinity.c
6321         (__sched_getaffinity_new): Add libc_hidden_proto and
6322         libc_hidden_def.
6324 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6326         [BZ #19007]
6327         * scripts/localplt.awk: Also allow GOT references.
6328         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
6329         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
6330         with "+ REL R_386_GLOB_DAT".
6331         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
6332         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
6334 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
6336         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
6337         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6338         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
6339         Likewise.
6340         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
6341         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
6342         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6343         INTERNAL_SYSCALLINTERNAL_SYSCALL and
6344         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6345         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6346         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6347         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6348         Likewise.
6349         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6351 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
6353         [BZ #19125]
6354         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
6355         <math_private.h> and <stdint.h>.
6356         (__llround): Avoid conversions to and from long long int, and
6357         subtractions, where those might raise spurious exceptions.
6358         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
6359         <math_private.h> and <stdint.h>.
6360         (__llroundf): Avoid conversions to and from long long int, and
6361         subtractions, where those might raise spurious exceptions.
6363 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6365         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
6366         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6367         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6368         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
6369         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6370         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6371         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
6372         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
6373         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
6374         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6375         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6376         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6377         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
6378         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6379         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6380         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
6381         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
6382         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6383         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
6384         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
6385         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
6386         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
6387         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
6388         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
6389         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
6390         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
6391         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
6392         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6393         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6394         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
6395         (__xstat64_conv): Likewise.
6396         (__xstat32_conv): Likewise.
6398 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6400         * sysdeps/unix/sysv/linux/sysdep.h: New file.
6401         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
6402         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
6403         <sysdeps/unix/sysv/linux/sysdep.h>.
6404         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
6405         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
6406         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
6407         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6408         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
6409         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
6410         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
6411         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
6412         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
6413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6415         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6416         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6417         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6418         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
6419         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6420         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
6421         (sysdep-dl-routines): Add sysdep.
6422         [$(subdir) == nptl] (libpthread-routines): Likewise.
6423         [$(subdir) == rt] (librt-routines): Likewise.
6424         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
6425         PIC when branching to SYSCALL_ERROR_LABEL.
6426         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
6427         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
6428         <sysdeps/unix/sysv/linux/sysdep.h>.
6429         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
6430         (SYSCALL_ERROR_ERRNO): Removed.
6431         (SYSCALL_ERROR_HANDLER): Changed to empty.
6432         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
6433         (__syscall_error): New prototype.
6434         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
6435         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
6437 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
6439         [BZ #19124]
6440         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
6441         (_dl_runtime_resolve_avx512): Make it a hidden alias of
6442         _dl_runtime_resolve_avx.
6443         (_dl_runtime_profile_avx512): Make it a hidden alias of
6444         _dl_runtime_profile_avx.
6446 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
6448         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
6449         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
6450         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
6451         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
6453         [BZ #16422]
6454         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
6455         New configure test.
6456         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
6457         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
6458         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
6459         <math_private.h> and <stdint.h>.
6460         (__llrint): Avoid conversions to long long int where those might
6461         raise spurious exceptions.
6462         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
6463         <math_private.h> and <stdint.h>.
6464         (__llrintf): Avoid conversions to long long int where those might
6465         raise spurious exceptions.
6467 2015-10-12  Andreas Schwab  <schwab@suse.de>
6469         [BZ #18969]
6470         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
6471         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
6472         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
6473         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
6474         $(gen-locales).
6475         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
6476         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
6477         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
6478         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
6479         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
6480         $(gen-locales).
6481         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
6482         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
6483         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
6484         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
6485         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
6486         ($(objpfx)tst-ftell-active-handler.out)
6487         ($(objpfx)tst-ftell-append.out)
6488         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
6489         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
6490         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
6491         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
6492         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
6493         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
6494         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
6495         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
6496         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
6497         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
6498         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
6499         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
6500         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
6501         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
6502         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
6503         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
6504         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
6505         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
6506         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
6507         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
6508         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
6509         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
6510         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
6511         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
6512         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
6513         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
6514         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
6515         $(gen-locales).
6516         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
6517         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
6518         $(gen-locales).
6519         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
6520         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
6521         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
6522         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
6523         $(gen-locales).
6524         * libio/tst_wprintf2.c (main): Use explicit locale.
6525         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
6527 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6529         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
6530         __msg_sig_post.
6531         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
6533 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
6535         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6536         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6538         * sysdeps/arm/libm-test-ulps: Regenerated.
6540         [BZ #15470]
6541         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
6543         [BZ #16399]
6544         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
6545         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
6546         and <fix-fp-int-convert-overflow.h>.
6547         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6548         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6549         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
6550         and <fix-fp-int-convert-overflow.h>.
6551         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
6552         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6553         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
6554         <fix-fp-int-convert-overflow.h>.
6555         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
6556         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6557         * sysdeps/ieee754/dbl-64/s_lround.c: Include
6558         <fix-fp-int-convert-overflow.h>.
6559         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
6560         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6561         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
6562         and <fix-fp-int-convert-overflow.h>.
6563         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6564         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6565         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
6566         <limits.h> and <fix-fp-int-convert-overflow.h>.
6567         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6568         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6569         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
6570         and <fix-fp-int-convert-overflow.h>.
6571         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
6572         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6573         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
6574         and <fix-fp-int-convert-overflow.h>.
6575         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
6576         FIX_DBL_LLONG_CONVERT_OVERFLOW.
6577         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
6579 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
6581         [BZ #18589]
6582         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
6583         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
6584         $(gen-locales).
6586 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6587             Phil Blundell <pb@pbcl.net>
6589         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
6590         * nptl/tst-cancel26.c: New file.
6591         * nptl/tst-cancel27.c: Likewise.
6593 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
6595         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
6596         __ILP32__ isn't defined.
6597         (lrint): Likewise.
6598         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
6599         (lrintf): Likewise.
6600         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
6601         (lrintl): Likewise.
6602         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
6603         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
6604         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
6606 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6608         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6609         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6611         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
6612         file.
6613         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
6614         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6616 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
6618         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
6619         configure test.
6620         * sysdeps/i386/configure: Regenerated.
6621         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
6622         configure test.
6623         * sysdeps/x86_64/configure: Regenerated.
6624         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
6625         Make code unconditional.
6627         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
6628         test.
6629         * sysdeps/i386/configure: Regenerated.
6630         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
6631         test.
6632         * sysdeps/x86_64/configure: Regenerated.
6633         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
6634         Make code unconditional.
6635         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
6636         Likewise.
6637         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
6638         Likewise.
6639         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6640         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
6641         code unconditional.
6642         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6643         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
6644         code unconditional.
6645         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6646         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
6647         code unconditional.
6648         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
6649         code unconditional.
6650         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6651         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
6652         code unconditional.
6653         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6654         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
6655         code unconditional.
6656         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6657         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
6658         code unconditional.
6659         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6660         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
6661         code unconditional.
6662         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
6663         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
6665         [BZ #19095]
6666         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
6667         mantissa to long int before shifting left.
6669 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6671         [BZ #19094]
6672         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
6673         <limits.h>.
6674         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6675         when result overflows but exception would not result from cast.
6676         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
6677         <limits.h>.
6678         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6679         when result overflows but exception would not result from cast.
6680         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
6681         <limits.h>.
6682         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6683         when result overflows but exception would not result from cast.
6684         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
6685         <limits.h>.
6686         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6687         when result overflows but exception would not result from cast.
6688         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
6689         <limits.h>.
6690         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
6691         when result overflows but exception would not result from cast.
6692         * math/libm-test.inc (lrint_test_data): Add more tests.
6693         (llrint_test_data): Likewise.
6695 2015-10-08  Roland McGrath  <roland@hack.frob.com>
6697         [BZ #18872]
6698         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
6699         Move out from under [$(run-built-tests) = yes] conditional.
6700         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
6701         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
6703 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
6705         [BZ #18589]
6706         * string/Makefile (tests): Add bug-strcoll2.
6707         (LOCALES): Add cs_CZ.UTF-8.
6708         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
6710         [BZ #18589]
6711         * string/bug-strcoll2.c: New file.
6712         * locale/categories.def: Revert commit
6713         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
6714         * locale/langinfo.h: Likewise.
6715         * locale/localeinfo.h: Likewise.
6716         * locale/C-collate.c: Likewise.
6717         * locale/programs/ld-collate.c (collate_output): Likewise.
6718         * string/strcoll_l.c (STRDIFF): Likewise.
6719         (STRCOLL): Likewise.
6720         * wcsmbs/wcscoll_l.c: Likewise.
6722 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
6724         * math/libm-test.inc (lround_test_data): Do not expect the absence
6725         of "inexact" for some tests with non-integer arguments.
6726         (llround_test_data): Likewise.
6728         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
6729         test.
6730         (libc_cv_cc_sse2avx): Likewise.
6731         * sysdeps/i386/configure: Regenerated.
6732         * sysdeps/i386/i686/multiarch/Makefile
6733         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
6734         [$(subdir) = math].
6735         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
6736         code unconditional.
6737         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6738         Likewise.
6739         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
6740         Likewise.
6741         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6742         Likewise.
6743         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
6744         test.
6745         (libc_cv_cc_sse2avx): Likewise.
6746         * sysdeps/x86_64/configure: Regenerated.
6747         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
6748         unconditional.
6749         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
6750         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
6751         unconditional.
6752         (_dl_runtime_profile)
6753         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
6754         conditional code.
6755         * sysdeps/x86_64/fpu/multiarch/Makefile
6756         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
6757         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
6758         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6759         * sysdeps/x86_64/fpu/multiarch/e_exp.c
6760         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6761         * sysdeps/x86_64/fpu/multiarch/e_log.c
6762         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6763         * sysdeps/x86_64/fpu/multiarch/s_atan.c
6764         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6765         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
6766         Likewise.
6767         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
6768         Likewise.
6769         * sysdeps/x86_64/fpu/multiarch/s_sin.c
6770         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6771         * sysdeps/x86_64/fpu/multiarch/s_tan.c
6772         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
6773         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
6774         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
6775         (HAVE_SSE2AVX_SUPPORT): Likewise.
6777 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
6779         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
6780         instead of #pragma optimize.
6782 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
6784         [BZ #17195]
6785         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
6786         as is similarly done in systrim and _int_free already.
6788 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6790         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
6792 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6794         [BZ #19088]
6795         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
6796         <limits.h>.
6797         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6798         overflows but exception would not result from cast.
6799         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
6800         and <limits.h>.
6801         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
6802         overflows but exception would not result from cast.
6803         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
6804         <limits.h>.
6805         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6806         overflows but exception would not result from cast.
6807         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
6808         <limits.h>.
6809         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6810         overflows but exception would not result from cast.
6811         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
6812         <limits.h>.
6813         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
6814         overflows but exception would not result from cast.
6815         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
6816         <limits.h>.
6817         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
6818         overflows but exception would not result from cast.
6819         * math/libm-test.inc (lround_test_data): Add more tests.
6820         (llround_test_data): Likewise.
6822 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
6824         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
6825         (CFLAGS-ialloc.c): Ditto.
6826         (CFLAGS-scheck.c): Ditto.
6828 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
6830         [BZ #19086]
6831         * manual/filesys.texi (Storage Allocation): Fix argument order for
6832         posix_fallocate64.
6834 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6836         [BZ #19085]
6837         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
6838         exponent below 48 inside case for non-overflowing exponent.
6839         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
6841 2015-10-07  Florian Weimer  <fweimer@redhat.com>
6843         * iconvdata/cp737.h (from_idx): Add const.
6844         * iconvdata/cp775.h (from_idx): Likewise.
6846 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
6848         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
6849         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
6850         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
6852         [BZ #19079]
6853         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
6854         file, conditioned on [!_LP64].
6855         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
6856         [!_LP64] (__lround): Do not define as function or alias.
6857         [!_LP64] (lround): Likewise.
6858         [!_LP64] (__lroundl): Likewise.
6859         [!_LP64] (lroundl): Likewise.
6860         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
6861         macro.
6862         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
6863         Likewise.
6865 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
6867         * math/libm-test.inc (lrint_test_data): Add more tests.
6868         (llrint_test_data): Likewise.
6869         (lround_test_data): Likewise.
6870         (llround_test_data): Likewise.
6872         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
6873         (llrint_test_data): Add tests used for lrint.
6875         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
6876         test.
6877         * sysdeps/i386/configure: Regenerated.
6878         * sysdeps/i386/i686/multiarch/Makefile
6879         [$(config-cflags-sse4) = yes]: Make code unconditional.
6880         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6881         Likewise.
6882         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
6883         Likewise.
6884         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
6885         test.
6886         * sysdeps/x86_64/configure: Regenerated.
6887         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
6888         Make code unconditional.
6889         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
6890         Likewise.
6891         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
6892         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
6894         * scripts/rpm2dynsym.sh: Remove file.
6896 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6898         * configure.ac (libc_cv_cxx_thread_local): Define.
6899         * configure: Regenerate.
6900         * config.make.in (have-cxx-thread_local): Define.
6901         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
6902         (LDLIBS-tst-thread_local1): Define.
6903         (tests): Add tst-thread_local1.
6904         [have-cxx-thread_local != yes] (tests-unsupported): Add
6905         tst-thread_local1.
6906         * nptl/tst-thread_local1.cc: New file.
6908 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
6910         [BZ #19078]
6911         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
6912         (u_thres): Likewise.
6913         (__expl): Determine whether to call __kernel_standard_l based on
6914         value of result, not argument.
6916         * math/libm-test.inc (scalb_test_data): Add more expectations for
6917         the "inexact" exception.
6919         [BZ #19077]
6920         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
6921         0.0L for argument 1.0L.
6923         [BZ #19076]
6924         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
6925         constant 0.0L when computing infinite result.
6927 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6929         [BZ #10432]
6930         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
6931         malloc_usable_size.
6933 2015-10-06  Florian Weimer  <fweimer@redhat.com>
6935         [BZ #19018]
6936         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
6937         Mangle function pointer before storing it.
6938         (__call_tls_dtors): Demangle function pointer before calling it.
6940 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
6942         [BZ #19012]
6943         * iconv/gconv_db.c (gen_steps): Check for additional errors.
6944         Clean up on failure.
6946 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
6948         [BZ #19071]
6949         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
6950         long int variable to store possibly incremented high part of
6951         mantissa.
6952         * math/libm-test.inc (lround_test_data): Add tests used for
6953         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
6954         for tests requiring 64-bit long.  Do not condition tests on
6955         [TEST_FLOAT] unnecessarily.
6956         (llround_test_data): Add tests used for lround.  Add another
6957         expectation for the "inexact" exception.  Do not condition tests
6958         on [TEST_FLOAT] unnecessarily.
6960         [BZ #887]
6961         [BZ #19049]
6962         [BZ #19050]
6963         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
6964         * sysdeps/ieee754/dbl-64/e_log10.c: Include
6965         <fix-int-fp-convert-zero.h>.
6966         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6967         * sysdeps/ieee754/dbl-64/e_log2.c: Include
6968         <fix-int-fp-convert-zero.h>.
6969         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6970         * sysdeps/ieee754/dbl-64/s_erf.c: Include
6971         <fix-int-fp-convert-zero.h>.
6972         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6973         * sysdeps/ieee754/dbl-64/s_logb.c: Include
6974         <fix-int-fp-convert-zero.h>.
6975         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6976         * sysdeps/ieee754/flt-32/e_log10f.c: Include
6977         <fix-int-fp-convert-zero.h>.
6978         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6979         * sysdeps/ieee754/flt-32/e_log2f.c: Include
6980         <fix-int-fp-convert-zero.h>.
6981         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6982         * sysdeps/ieee754/flt-32/s_erff.c: Include
6983         <fix-int-fp-convert-zero.h>.
6984         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6985         * sysdeps/ieee754/flt-32/s_logbf.c: Include
6986         <fix-int-fp-convert-zero.h>.
6987         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6988         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
6989         <fix-int-fp-convert-zero.h>.
6990         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6991         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
6992         <fix-int-fp-convert-zero.h>.
6993         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
6994         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
6995         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
6996         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
6997         file.
6998         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
7000 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7002         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
7004 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
7006         [BZ #19059]
7007         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
7008         overflowing computation.
7009         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7010         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7011         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
7012         Likewise.
7013         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
7014         Likewise.
7015         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7016         Likewise.
7017         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7018         Likewise.
7019         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
7020         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7021         Likewise.
7022         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7023         Likewise.
7024         * math/libm-test.inc (nexttoward_test_data): Add more tests.
7026         * nss/rewrite_field.c (__nss_rewrite_field): Use
7027         internal_function.
7028         * nss/valid_field.c (__nss_valid_field): Likewise.
7029         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
7031 2015-10-02  Florian Weimer  <fweimer@redhat.com>
7033         [BZ #18724]
7034         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
7035         (__nss_invalid_field_characters, __nss_valid_field)
7036         (__nss_valid_list_field, __nss_rewrite_field): Declare.
7037         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
7038         tst-field.c: New file.
7039         * nss/Makefile (routines): Add valid_field, rewrite_field.
7040         (tests-static): Define unconditionally.
7041         (tests): Include tests-static.
7042         [build-static-nss] (tests-static): Use append.
7043         [build-static-nss] (tests): Remove modification.
7044         * nss/getent.c (print_group): Call putgrent.  Report error.
7045         (print_gshadow): Call putsgent.  Report error.
7046         (print_passwd): Call putpwent.  Report error.
7047         (print_shadow): Call putspent.  Report error.
7048         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
7049         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
7050         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
7051         name, password, directory, shell fields for valid syntax.  Rewrite
7052         GECOS field to match syntax.
7053         * pwd/Makefile (tests): Add tst-putpwent.
7054         * pwd/tst-putpwent.c: New file.
7055         * grp/putgrent.c (putgrent): Convert to ISO function definition.
7056         Check grName, grpasswd, gr_mem fields for valid syntax.
7057         Change loop variable i to size_t.
7058         * grp/Makefile (tests): Add tst-putgrent.
7059         * grp/tst-putgrent.c: New file.
7060         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
7061         valid syntax.
7062         * shadow/Makefile (tests): Add tst-putspent.
7063         * shadow/tst-putspent.c: New file.
7064         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
7065         sg_mem fields for valid syntax.
7066         * gshadow/Makefile (tests): Add tst-putsgent.
7067         * gshadow/tst-putsgent.c: New file.
7069 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7071         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
7072         assembly instructions.
7074 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7076         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
7077         prefix from operands.
7079 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
7081         [BZ #16347]
7082         [BZ #19046]
7083         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
7084         <libc-internal.h>.
7085         (MAXLGM): Do not use diagnostic control macros.
7086         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
7087         threshold for ldbl-128ibm.
7088         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
7089         instead of multiplying by log then subtracting.
7090         * math/auto-libm-test-in: Add more tests of lgamma.
7091         * math/auto-libm-test-out: Regenerated.
7093         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
7094         (TYPE_HEX_DIG): Likewise.
7095         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
7096         precisions when printing floating-point numbers.
7097         (check_float_internal): Likewise.
7099 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
7101         [BZ #16620]
7102         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
7103         of log (10) rounded downward to 48 bits.
7104         (log10_low): Use corresponding low part of log (10).
7106         [BZ #19032]
7107         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
7108         compute result as (x - x) / (x - x) not as 0 / 0.
7109         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
7110         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
7112         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7113         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
7114         and expm1.
7115         * math/auto-libm-test-out: Regenerated.
7116         * math/libm-test.inc (acos_test_data): Add more tests.
7117         (asin_test_data): Likewise.
7118         (asinh_test_data): Likewise.
7119         (atan_test_data): Likewise.
7120         (atanh_test_data): Likewise.
7121         (atan2_test_data): Likewise.
7122         (cbrt_test_data): Likewise.
7123         (ceil_test_data): Likewise.
7124         (copysign_test_data): Likewise.
7125         (cos_test_data): Likewise.
7126         (cosh_test_data): Likewise.
7127         (erf_test_data): Likewise.
7128         (erfc_test_data): Likewise.
7129         (exp_test_data): Likewise.
7130         (exp10_test_data): Likewise.
7131         (exp2_test_data): Likewise.
7132         (expm1_test_data): Likewise.
7133         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7135 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
7137         [BZ #19006]
7138         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
7139         to ...
7140         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
7141         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
7142         to ...
7143         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
7144         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
7145         to ...
7146         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
7147         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
7148         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
7149         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
7150         to ...
7151         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
7152         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
7153         Moved to ...
7154         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
7155         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
7156         Moved to ...
7157         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
7158         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
7159         to ...
7160         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
7161         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
7162         Moved to ...
7163         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
7164         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
7165         to ...
7166         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
7167         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
7168         Removed.
7169         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
7170         Likewise.
7171         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
7172         Likewise.
7173         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
7174         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
7175         Likewise.
7176         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
7177         Likewise.
7178         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
7179         Likewise.
7180         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
7181         Likewise.
7182         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
7183         Likewise.
7184         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
7185         Likewise.
7186         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
7187         Likewise.
7188         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
7189         Likewise.
7190         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
7191         Likewise.
7192         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
7193         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
7194         Likewise.
7195         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
7196         Likewise.
7197         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
7198         Likewise.
7199         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
7200         Likewise.
7201         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
7202         Likewise.
7203         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
7204         Replace ../i486/pthread_cond_timedwait.S with
7205         ../pthread_cond_timedwait.S.
7207 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
7209         * math/libm-test.inc (acos_test_data): Refine expectations for
7210         errno and "inexact" exceptions.
7211         (acosh_test_data): Likewise.
7212         (asin_test_data): Likewise.
7213         (asinh_test_data): Likewise.
7214         (atan_test_data): Likewise.
7215         (atanh_test_data): Likewise.
7216         (atan2_test_data): Likewise.
7217         (cbrt_test_data): Likewise.
7218         (ceil_test_data): Likewise.
7219         (copysign_test_data): Likewise.
7220         (cosh_test_data): Likewise.
7221         (erf_test_data): Likewise.
7222         (erfc_test_data): Likewise.
7223         (exp_test_data): Likewise.
7224         (exp10_test_data): Likewise.
7225         (exp2_test_data): Likewise.
7226         (expm1_test_data): Likewise.
7227         (fabs_test_data): Likewise.
7228         (floor_test_data): Likewise.
7229         (fma_test_data): Likewise.
7230         (fmax_test_data): Likewise.
7231         (fmin_test_data): Likewise.
7232         (fmod_test_data): Likewise.
7233         (fpclassify_test_data): Likewise.
7234         (frexp_test_data): Likewise.
7235         (hypot_test_data): Likewise.
7236         (ilogb_test_data): Likewise.
7237         (isgreater_test_data): Likewise.
7238         (isgreaterequal_test_data): Likewise.
7239         (isinf_test_data): Likewise.
7240         (isless_test_data): Likewise.
7241         (islessequal_test_data): Likewise.
7242         (islessgreater_test_data): Likewise.
7243         (isnan_test_data): Likewise.
7244         (isnormal_test_data): Likewise.
7245         (issignaling_test_data): Likewise.
7246         (isunordered_test_data): Likewise.
7247         (j0_test_data): Likewise.
7248         (j1_test_data): Likewise.
7249         (jn_test_data): Likewise.
7250         (lgamma_test_data): Likewise.
7251         (lrint_test_data): Likewise.
7252         (llrint_test_data): Likewise.
7253         (log_test_data): Likewise.
7254         (log10_test_data): Likewise.
7255         (log1p_test_data): Likewise.
7256         (log2_test_data): Likewise.
7257         (logb_test_data): Likewise.
7258         (lround_test_data): Likewise.
7259         (llround_test_data): Likewise.
7260         (modf_test_data): Likewise.
7261         (nearbyint_test_data): Likewise.
7262         (nextafter_test_data): Likewise.
7263         (nexttoward_test_data): Likewise.
7264         (pow_test_data): Likewise.
7265         (remainder_test_data): Likewise.
7266         (remquo_test_data): Likewise.
7267         (rint_test_data): Likewise.
7268         (round_test_data): Likewise.
7269         (signbit_test_data): Likewise.
7270         (sinh_test_data): Likewise.
7271         (sqrt_test_data): Likewise.
7272         (tanh_test_data): Likewise.
7273         (tgamma_test_data): Likewise.
7274         (trunc_test_data): Likewise.
7275         (y0_test_data): Likewise.
7276         (y1_test_data): Likewise.
7277         (yn_test_data): Likewise.
7278         (significand_test_data): Likewise.
7280 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
7282         * manual/filesys.texi (Storage Allocation): Document that
7283         posix_fallocate emulation fails when fd is open with O_WRONLY.
7285 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
7287         [BZ #19016]
7288         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
7289         allow more cases with X^2 + Y^2 >= 0.5.
7290         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
7291         normal element in sum instead of special-casing based on values of
7292         arguments.
7293         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
7294         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
7295         -1 as normal element in sum instead of special-casing based on
7296         values of arguments.
7297         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
7298         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
7299         (__x2y2m1): Update comment.
7300         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
7301         as normal element in sum instead of special-casing based on values
7302         of arguments.
7303         * math/s_clog.c (__clog): Handle more cases using log1p without
7304         hypot.
7305         * math/s_clog10.c (__clog10): Likewise.
7306         * math/s_clog10f.c (__clog10f): Likewise.
7307         * math/s_clog10l.c (__clog10l): Likewise.
7308         * math/s_clogf.c (__clogf): Likewise.
7309         * math/s_clogl.c (__clogl): Likewise.
7310         * math/auto-libm-test-in: Add more tests of clog and clog10.
7311         * math/auto-libm-test-out: Regenerated.
7312         * sysdeps/i386/fpu/libm-test-ulps: Update.
7313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7315 2015-09-28  Martin Sebor  <msebor@redhat.com>
7317         [BZ #18969]
7318         * string/Makefile (LOCALES): Define.
7319         (gen-locales.mk): Include.
7320         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
7321         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
7322         * string/tst-strxfrm2.c (do_test): Print the name of the locale
7323         on setlocale failure.
7325 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
7327         [BZ #18985]
7328         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
7329         (__strftime_internal): Likewise.
7330         * time/tst-strftime.c (do_bz18985): New test.
7331         (do_test): Call it.
7333 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
7335         [BZ #18956]
7336         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
7337         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
7338         extracting high part.
7339         * math/auto-libm-test-in: Add another test of pow.
7340         * math/auto-libm-test-out: Regenerated.
7341         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7343 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
7345         [BZ #18825]
7346         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
7347         New macro.
7348         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
7349         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7350         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
7351         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
7352         DBL_NARROW_EVAL, reloading the PIC register as needed.
7353         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
7354         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
7355         FLT_NARROW_EVAL.  Use separate return path for case when first
7356         argument is NaN.
7357         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
7358         DEFINE_LDBL_MIN.
7359         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
7360         PIC register.
7361         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
7362         math_check_force_underflow_nonneg.
7363         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
7364         underflow for subnormal result.
7365         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
7366         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
7367         math_check_force_underflow_nonneg.
7368         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
7369         math_check_force_underflow.
7370         * sysdeps/x86_64/fpu/x86_64-math-asm.h
7371         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
7372         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
7373         DEFINE_LDBL_MIN.
7374         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
7375         * math/auto-libm-test-in: Add more tests of pow.
7376         * math/auto-libm-test-out: Regenerated.
7378 2015-09-25  Florian Weimer  <fweimer@redhat.com>
7380         * nss/bug17079.c (init_test_items): Add diagnostic for
7381         inconsistent entries.
7382         (test_buffer_size): Skip inconsistent entries.
7384 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
7386         [BZ #13304]
7387         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
7388         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
7389         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
7391         [BZ #13304]
7392         * sysdeps/microblaze/s_fma.c: New file.
7393         * sysdeps/microblaze/s_fmaf.c: Likewise.
7394         * sysdeps/microblaze/sfp-machine.h: Likewise.
7396 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
7398         [BZ #17250]
7399         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
7400         member.
7402 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
7404         [BZ #18803]
7405         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
7406         (MO): New macro.
7407         (__ieee754_hypot) [PIC]: Load PIC register.
7408         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
7409         DBL_NARROW_EVAL.
7410         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
7411         math_check_force_underflow_nonneg in case where result might be
7412         tiny.
7413         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7414         Likewise.
7415         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
7416         Likewise.
7417         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
7418         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
7419         * math/auto-libm-test-in: Add more tests of hypot.
7420         * math/auto-libm-test-out: Regenerated.
7422 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
7424         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
7426 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
7428         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
7429         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
7430         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7431         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7432         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
7433         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7434         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7436         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
7437         LOAD_PIC_REG.
7439         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
7440         (FLT_CHECK_FORCE_UFLOW): Likewise.
7441         (DBL_CHECK_FORCE_UFLOW): Likewise.
7442         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
7443         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
7444         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
7445         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7446         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
7447         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7448         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7449         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
7450         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
7451         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7452         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
7453         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
7454         (flt_min): Replace with use of DEFINE_FLT_MIN.
7455         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
7456         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
7457         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7458         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
7459         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
7460         (flt_min): Replace with use of DEFINE_FLT_MIN.
7461         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
7462         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
7463         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7464         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
7465         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
7466         (flt_min): Replace with use of DEFINE_FLT_MIN.
7467         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
7468         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
7469         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
7470         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
7471         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
7472         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
7473         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
7474         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
7475         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7476         (__atan): Use DBL_CHECK_FORCE_UFLOW.
7477         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
7478         (flt_min): Replace with use of DEFINE_FLT_MIN.
7479         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
7480         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
7481         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7482         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
7483         main computation.
7484         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
7485         (flt_min): Replace with use of DEFINE_FLT_MIN.
7486         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
7487         main computation.
7488         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
7489         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7490         (MO): New macro.
7491         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
7492         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
7493         (flt_min): Replace with use of DEFINE_FLT_MIN.
7494         (MO): New macro.
7495         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
7496         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
7497         (__log1pl): Use MO.
7499         [BZ #19003]
7500         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
7501         $(config-cflags-nofma).
7503 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7505         * sysdeps/aarch64/libm-test-ulps: Regenerated.
7507 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
7509         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
7510         (TWO127): Likewise.
7512         * sysdeps/generic/math_private.h (fabs_tg): New macro.
7513         (min_of_type): Likewise.
7514         (math_check_force_underflow): Likewise.
7515         (math_check_force_underflow_nonneg): Likewise.
7516         (math_check_force_underflow_complex): Likewise.
7517         * math/e_exp2l.c (__ieee754_exp2l): Use
7518         math_check_force_underflow_nonneg.
7519         * math/k_casinh.c (__kernel_casinh): Likewise.
7520         * math/k_casinhf.c (__kernel_casinhf): Likewise.
7521         * math/k_casinhl.c (__kernel_casinhl): Likewise.
7522         * math/s_catan.c (__catan): Use
7523         math_check_force_underflow_complex.
7524         * math/s_catanf.c (__catanf): Likewise.
7525         * math/s_catanh.c (__catanh): Likewise.
7526         * math/s_catanhf.c (__catanhf): Likewise.
7527         * math/s_catanhl.c (__catanhl): Likewise.
7528         * math/s_catanl.c (__catanl): Likewise.
7529         * math/s_ccosh.c (__ccosh): Likewise.
7530         * math/s_ccoshf.c (__ccoshf): Likewise.
7531         * math/s_ccoshl.c (__ccoshl): Likewise.
7532         * math/s_cexp.c (__cexp): Likewise.
7533         * math/s_cexpf.c (__cexpf): Likewise.
7534         * math/s_cexpl.c (__cexpl): Likewise.
7535         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
7536         * math/s_clog10.c (__clog10): Likewise.
7537         * math/s_clog10f.c (__clog10f): Likewise.
7538         * math/s_clog10l.c (__clog10l): Likewise.
7539         * math/s_clogf.c (__clogf): Likewise.
7540         * math/s_clogl.c (__clogl): Likewise.
7541         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
7542         * math/s_csinf.c (__csinf): Likewise.
7543         * math/s_csinh.c (__csinh): Likewise.
7544         * math/s_csinhf.c (__csinhf): Likewise.
7545         * math/s_csinhl.c (__csinhl): Likewise.
7546         * math/s_csinl.c (__csinl): Likewise.
7547         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
7548         * math/s_csqrtf.c (__csqrtf): Likewise.
7549         * math/s_csqrtl.c (__csqrtl): Likewise.
7550         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
7551         * math/s_ctanf.c (__ctanf): Likewise.
7552         * math/s_ctanh.c (__ctanh): Likewise.
7553         * math/s_ctanhf.c (__ctanhf): Likewise.
7554         * math/s_ctanhl.c (__ctanhl): Likewise.
7555         * math/s_ctanl.c (__ctanl): Likewise.
7556         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
7557         instead of volatile.
7558         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
7559         math_check_force_underflow.
7560         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7561         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
7562         volatile when forcing underflow.
7563         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7564         math_check_force_underflow_nonneg.
7565         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
7566         Likewise.
7567         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
7568         math_check_force_underflow.
7569         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
7570         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7571         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7572         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
7573         math_check_force_underflow_nonneg.
7574         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
7575         math_check_force_underflow.
7576         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
7577         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
7578         instead of volatile.
7579         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
7580         math_check_force_underflow.
7581         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7582         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7583         math_check_force_underflow_nonneg.
7584         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
7585         math_check_force_underflow.
7586         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
7587         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7588         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
7589         math_check_force_underflow_nonneg.
7590         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
7591         Likewise.
7592         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
7593         math_check_force_underflow.
7594         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
7595         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7596         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
7597         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
7598         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
7599         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
7600         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
7601         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
7602         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
7603         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
7604         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
7605         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
7606         Likewise.
7607         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
7608         math_check_force_underflow_nonneg.
7609         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
7610         Likewise.
7611         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
7612         math_check_force_underflow.
7613         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
7614         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
7615         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7616         Likewise.
7617         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
7618         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
7619         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
7620         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
7621         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
7622         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
7623         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
7624         instead of volatile.
7625         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
7626         math_check_force_underflow.
7627         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
7628         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
7629         math_check_force_underflow.
7630         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
7631         Likewise.
7632         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7633         Use math_check_force_underflow_nonneg.
7634         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
7635         math_check_force_underflow.
7636         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7637         Likewise.
7638         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7639         Likewise.
7640         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7641         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7642         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7643         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7644         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
7645         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7646         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
7647         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
7648         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
7649         math_check_force_underflow_nonneg.
7650         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
7651         math_check_force_underflow.
7652         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
7653         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
7654         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
7655         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
7656         math_check_force_underflow_nonneg.
7657         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
7658         math_check_force_underflow.
7659         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
7660         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
7661         instead of volatile.
7662         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
7663         math_check_force_underflow.
7665         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
7666         * stdlib/strtod_l.c: Include <math_private.h>.
7667         (overflow_value): Use math_narrow_eval.
7668         (underflow_value): Likewise.
7669         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
7670         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
7671         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
7672         (__ieee754_gamma_r): Likewise.
7673         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
7674         Likewise.
7675         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7676         Likewise.
7677         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
7678         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
7679         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
7680         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
7681         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
7682         (__ieee754_gammaf_r): Likewise.
7683         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7684         Likewise.
7685         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
7686         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
7687         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
7688         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
7689         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
7690         volatile.
7691         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
7692         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
7693         math_narrow_eval.
7694         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
7695         Likewise.
7696         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7697         Likewise.
7698         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
7699         Likewise.
7700         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
7701         volatile.
7702         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
7703         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
7704         math_narrow_eval.
7705         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
7706         Likewise.
7707         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
7708         Likewise.
7710 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
7712         * nptl/Versions: Remove ignored symbols.
7714 2015-09-22  Florian Weimer  <fweimer@redhat.com>
7716         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
7717         * nss/Makefile (tests): Update.
7719 2015-09-22  Florian Weimer  <fweimer@redhat.com>
7721         * nss/bug18287.c: New file.
7722         * nss/Makefile (tests): Add bug18287.
7724 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7726         * mach/Versions (__mach_host_self_): Add symbol.
7728 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7730         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
7731         vm_page_size.
7733 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7735         Really fix sysdeps/i386/fpu/s_scalbn.S build
7737         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
7738         (libc: GLIBC_2_22): Remove unused version set.
7740 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
7742         * config.make.in (enable-timezone-tools): New variable.
7743         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
7744         (enable_timezone_tools): Export to generated files.
7745         * configure: Regenerate.
7746         * INSTALL: Regenerate.
7747         * manual/install.texi (--disable-timezone-tools): Document new flag.
7748         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
7749         ifeq ($(enable-timezone-tools),yes) check.
7751 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7753         * timezone/Makefile: Revert previous change.
7755         [BZ #18980]
7756         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
7757         (DEFINE_DBL_MIN): Likewise.
7758         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7759         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
7760         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7761         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
7762         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
7763         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7764         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7765         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
7766         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
7767         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7768         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7769         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
7770         (flt_min): Replace with use of DEFINE_FLT_MIN.
7771         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7772         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
7773         (dbl_min): Replace with use of DEFINE_DBL_MIN.
7774         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
7775         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
7776         (flt_min): Replace with use of DEFINE_FLT_MIN.
7777         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7778         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
7779         (flt_min): Replace with use of DEFINE_FLT_MIN.
7780         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
7781         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
7782         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
7783         (__ieee754_hypot): Use DBL_NARROW_EVAL.
7784         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
7785         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
7786         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
7787         (__ieee754_pow): Use DBL_NARROW_EVAL.
7788         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
7789         (__ieee754_powf): Use FLT_NARROW_EVAL.
7790         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
7791         (__ieee754_expf_sse2): Convert double-precision result to single
7792         precision.
7793         * sysdeps/i386/fpu/libm-test-ulps: Update.
7795 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7797         * timezone/Makefile: Ignore unused variable errors due to private.h
7798         (time_t_min) and (time_t_max).
7799         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
7800         Likewise.
7802 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7804         [BZ #18981]
7805         * sysdeps/i386/fpu/i386-math-asm.h: New file.
7806         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
7807         (__ieee754_scalb): Use DBL_NARROW_EVAL.
7808         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
7809         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
7810         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
7811         (__scalbn): Use DBL_NARROW_EVAL.
7812         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
7813         (__scalbnf): Use FLT_NARROW_EVAL.
7815 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7817         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
7818         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
7819         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
7820         * stdio-common/printf_fp.c (___printf_fp):
7821         Use signbit to get the sign. Use isinf macro to allow inlining.
7822         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
7823         * stdio-common/printf_size.c (__printf_size): Likewise.
7825 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
7827         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
7829 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
7831         [BZ #18980]
7832         * sysdeps/generic/math_private.h: Include <float.h>.
7833         (math_narrow_eval): New macro.
7834         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
7835         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
7836         math_narrow_eval on overflowing return value.
7837         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
7838         Likewise.
7839         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7840         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
7841         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
7842         Likewise.
7843         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
7845 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7847         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
7848         * math/Makefile: Remove isinf_ns.c.
7849         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
7850         * math/multc3.c (__multc3): Likewise.
7851         * math/s_casin.c (__casin): Likewise.
7852         * math/s_casinf.c (__casinf): Likewise.
7853         * math/s_casinl.c (__casinl): Likewise.
7854         * math/s_cproj.c (__cproj): Likewise.
7855         * math/s_cprojf.c (__cprojf): Likewise.
7856         * math/s_cprojl.c (__cprofl): Likewise.
7857         * math/s_ctan.c (__ctan): Likewise.
7858         * math/s_ctanf.c (__ctanf): Likewise.
7859         * math/s_ctanh.c (__ctanh): Likewise.
7860         * math/s_ctanhf.c (__ctanhf): Likewise.
7861         * math/s_ctanhl.c (__ctanhl): Likewise.
7862         * math/s_ctanl.c (__ctanl): Likewise.
7863         * math/w_fmod.c (__fmod): Likewise.
7864         * math/w_fmodf.c (__fmodf): Likewise.
7865         * math/w_fmodl.c (_fmodl): Likewise.
7866         * math/w_remainder.c (__remainder): Likewise.
7867         * math/w_remainderf.c (__remainderf): Likewise.
7868         * math/w_remainderl.c (__remainderl): Likewise.
7869         * math/w_scalb.c (__scalb): Likewise.
7870         * math/w_scalbf.c (__scalbf): Likewise.
7871         * math/w_scalbl.c (__scalbl): Likewise.
7872         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
7873         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
7874         with isinf.
7875         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
7876         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
7877         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
7878         __isinf_nsf with isinf.
7879         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
7880         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
7881         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
7882         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
7883         with isinf.
7884         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
7885         __isinf_nsl with isinf.
7886         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
7887         with isinf.
7888         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
7889         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
7890         __isinf_nsl with isinf.
7891         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
7892         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
7893         with isinf.
7895 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7897         * resolv/base64.c (rcsid): Remove unused static.
7898         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
7899         static.  (tqpi1): Likewise.
7900         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
7901         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
7902         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
7903         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
7904         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
7905         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
7906         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
7907         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
7908         Likewise.
7910 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
7912         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
7913         <nptl/pthreadP.h>.
7914         (_longjmp_unwind): Use __libc_ptf_call.
7915         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
7917 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
7919         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
7920         * sysdeps/arm/__longjmp.S: Likewise.
7922 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7924         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
7925         Use __builtin_signbit.
7926         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
7927         Use __builtin_signbitf.
7928         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
7929         Use __builtin_signbitl.
7930         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
7931         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
7933 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7935         [BZ #15367]
7936         [BZ #17441]
7938         * math/Makefile: Build test-snan.c with -fsignaling-nans.
7939         * math/math.h (fpclassify): Use __builtin_fpclassify when
7940         available.  (signbit): Use __builtin_signbit(f/l).
7941         (isfinite): Use__builtin_isfinite.  (isnormal): Use
7942         __builtin_isnormal.  (isnan): Use __builtin_isnan.
7943         (isinf): Use __builtin_isinf_sign.
7945 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
7947         * benchtests/Makefile: Add bench-math-inlines, link with libm.
7948         * benchtests/bench-math-inlines.c: New benchmark.
7949         * benchtests/bench-util.h: New file.
7950         * benchtests/bench-util.c: New file.
7951         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
7953 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
7955         * elf/tst-dlmopen1.c: Define TEST_SO.
7956         (do_test): Use TEST_SO.
7958         * elf/dl-load.c: Include libc-internal.h.
7959         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
7961 2015-09-18  Vincent Bernat  <vincent@bernat.im>
7963         [BZ #17887]
7964         * time/strptime_l.c (__strptime_internal): Make %z accept
7965         [+-]HH:MM time zones.
7967 2015-09-18  Vincent Bernat  <vincent@bernat.im>
7969         [BZ #17886]
7970         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
7971         valid time zone.
7973 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
7975         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
7976         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
7977         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7978         (__ASSUME_FDATASYNC): Delete.
7980 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
7982         * conform/linknamespace.pl: Require weak undefined symbols to be
7983         in the standard namespace.
7984         (%strong_syms): Rename to %seen_syms.
7985         (%strong_seen): Rename to %seen_where.
7987 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
7989         [BZ #18970]
7990         * misc/error.c (error): Replace pthread_setcancelstate with
7991         __pthread_setcancelstate.
7992         (error_at_line): Likewise.
7993         * posix/wordexp.c (parse_comm): Likewise.
7994         * stdlib/fmtmsg.c (fmtmsg): Likewise.
7995         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
7996         (__pthread_setcancelstate): This.
7997         (pthread_setcancelstate): Add an alias.
7998         * nptl/nptl-init.c (pthread_functions): Replace
7999         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
8000         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
8001         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
8002         hidden_proto.
8003         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
8004         it with hidden_def.
8005         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
8006         (pthread_setcancelstate): Renamed to ...
8007         (__pthread_setcancelstate): This.
8008         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
8009         __libc_ptf_call with __pthread_setcancelstate.
8011 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8012             Andreas Schwab  <schwab@suse.de>
8014         [BZ #17118]
8015         * math/s_ctan.c (__ctan): Determine sign of zero real part of
8016         result when imaginary part of argument is infinite using sine and
8017         cosine.
8018         * math/s_ctanf.c (__ctanf): Likewise.
8019         * math/s_ctanl.c (__ctanl): Likewise.
8020         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
8021         of result when real part of argument is infinite using sine and
8022         cosine.
8023         * math/s_ctanhf.c (__ctanhf): Likewise.
8024         * math/s_ctanhl.c (__ctanhl): Likewise.
8025         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
8026         (ctanh_test_data): Add more tests of ctanh.
8028 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
8030         [BZ #15384]
8031         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
8032         bit-mask as in subtraction.
8033         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
8034         Likewise.
8035         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
8036         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
8037         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
8039         [BZ #18951]
8040         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
8041         underflow exception for small results.
8042         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8043         Likewise.
8044         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8045         Likewise.
8046         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8047         Likewise.
8048         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8049         Likewise.
8050         * math/auto-libm-test-in: Add more tests of tgamma.
8051         * math/auto-libm-test-out: Regenerated.
8053 2015-09-17  Andreas Schwab  <schwab@suse.de>
8055         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
8057 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
8059         [BZ #18977]
8060         * math/bits/mathcalls.h
8061         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
8062         not declare.
8063         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
8064         Likewise.
8065         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
8066         Likewise.
8067         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
8068         Likewise.
8069         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
8070         Likewise.
8071         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
8072         Likewise.
8073         * conform/data/math.h-data
8074         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
8075         function.
8076         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
8077         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
8078         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
8079         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
8080         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
8081         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
8082         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
8083         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
8084         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
8085         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
8086         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
8088         [BZ #6803]
8089         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
8090         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
8091         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
8092         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
8093         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
8094         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
8095         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
8096         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
8097         [NO_LONG_DOUBLE] (scalbnl): Likewise.
8098         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
8099         Likewise.
8100         [NO_LONG_DOUBLE] (scalbnl): Likewise.
8101         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
8102         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
8103         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
8104         long_double_symbol calls.
8105         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
8106         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
8107         strong alias of __ldexpl.
8108         (scalbnl): Define using long_double_symbol.
8109         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
8110         Remove alias.
8111         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
8112         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
8113         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
8114         (scalbln_test_data): Add more errno expectations.
8116 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
8118         Cache the host port like we cache the task port.  This way we do not
8119         need to call the kernel just to get the port.  Furthermore, we no
8120         longer increase the reference count on every invocation of
8121         `mach_host_self'.
8123         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
8124         Protect declarations against the macro expansion.
8125         * mach/mach_init.c (__mach_host_self_): New variable.
8126         (mach_init): Initialize `__mach_host_self_'.
8127         * mach/mach_init.h (__mach_host_self_): New declaration.
8128         (__mach_host_self, mach_host_self): New macros.
8129         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
8130         Release reference.
8132 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
8134         [BZ #4404]
8135         * po/de.po: Update from Translation Project.
8137         [BZ #16415]
8138         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
8139         (__expm1l): Remove code to handle positive infinity and overflow.
8140         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
8141         variable.
8142         (__expm1l): Remove code to handle positive infinity and overflow.
8144 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
8145             Paul Pluzhnikov  <ppluzhnikov@google.com>
8147         [BZ #18872]
8148         * stdio-common/Makefile (tst-printf-bz18872): New test.
8149         (tst-printf-bz18872-mem.out): Likewise.
8150         * stdio-common/tst-printf-bz18872.sh: Generate new test.
8151         * stdio-common/vfprintf.c: Fix memory leaks.
8153 2015-09-16  Andreas Schwab  <schwab@suse.de>
8155         [BZ #17244]
8156         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
8157         Remove extra va_start/va_end calls.
8159         [BZ #17243]
8160         * posix/execl.c (execl): Add missing va_end.
8161         * posix/execle.c (execle): Likewise.
8162         * posix/execlp.c (execlp): Likewise.
8164 2015-09-15  Roland McGrath  <roland@hack.frob.com>
8166         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
8167         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
8169 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
8171         [BZ #18967]
8172         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
8173         undefine around includes of <bits/mathcalls.h>.
8174         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
8175         not declare function.
8176         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
8177         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
8178         (scalb): Likewise.
8179         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
8180         not define macro.
8181         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
8182         variable.
8183         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8184         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8185         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8187         [BZ #18857]
8188         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
8189         return non-finite argument without doing ordered comparisons on
8190         it.
8192         [BZ #16296]
8193         * math/fenv.h (fegetround): Use __attribute_pure__.
8194         * include/fenv.h (__fegetround): Likewise.
8196         [BZ #18595]
8197         * math/s_ctan.c (__ctan): Force underflow exception for results
8198         whose real or imaginary part has small absolute value.
8199         * math/s_ctanf.c (__ctanf): Likewise.
8200         * math/s_ctanh.c (__ctanh): Likewise.
8201         * math/s_ctanhf.c (__ctanhf): Likewise.
8202         * math/s_ctanhl.c (__ctanhl): Likewise.
8203         * math/s_ctanl.c (__ctanl): Likewise.
8204         * math/auto-libm-test-in: Do not allow missing underflow for ctan
8205         and ctanh.  Add more tests of ctan and ctanh.
8207         [BZ #15918]
8208         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
8209         handling of cases where one argument is an infinity.
8211         [BZ #18875]
8212         [BZ #18966]
8213         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
8214         (MO): New macro.
8215         (__ieee754_exp10): For small results, force underflow exception
8216         and remove excess range and precision from return value.
8217         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
8218         (MO): New macro.
8219         (__ieee754_exp10f): For small results, force underflow exception
8220         and remove excess range and precision from return value.
8221         * math/auto-libm-test-in: Add more tests of exp10.
8222         * math/auto-libm-test-out: Regenerated.
8224 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
8226         [BZ #18875]
8227         [BZ #18961]
8228         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
8229         (MO): New macro.
8230         (__ieee754_exp): For small results, force underflow exception and
8231         remove excess range and precision from return value.
8232         (__exp_finite): Likewise.
8233         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
8234         (MO): New macro.
8235         (__ieee754_expf): For small results, force underflow exception and
8236         remove excess range and precision from return value.
8237         (__expf_finite): Likewise.
8238         * math/auto-libm-test-in: Add more tests of exp.
8239         * math/auto-libm-test-out: Regenerated.
8241         [BZ #16521]
8242         [BZ #18875]
8243         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
8244         small results.
8245         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
8246         (MO): New macro.
8247         (__ieee754_exp2): For small results, force underflow exception and
8248         remove excess range and precision from return value.
8249         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
8250         (MO): New macro.
8251         (__ieee754_exp2f): For small results, force underflow exception
8252         and remove excess range and precision from return value.
8253         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
8254         (MO): New macro.
8255         (__ieee754_exp2l): Force underflow exception for small results.
8256         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8257         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8258         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
8259         (MO): New macro.
8260         (__ieee754_exp2l): Force underflow exception for small results.
8261         * math/auto-libm-test-in: Add more tests or exp2.
8262         * math/auto-libm-test-out: Regenerated.
8264 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
8266         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
8268         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
8269         /dev/null.
8271 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8273         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8274         io fs process)): Drop spurious backslash.
8276 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
8278         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
8279         Use sysinfo system call instead of parsing /proc/meminfo.
8280         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
8281         Likewise.
8283 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
8285         [BZ #16985]
8286         * programs/localedef.c (main): Display argv[remaining] when
8287         output_path is NULL.
8289 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
8291         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8292         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
8293         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
8294         tanh.
8295         * math/auto-libm-test-out: Regenerated.
8296         * sysdeps/i386/fpu/libm-test-ulps: Update.
8297         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8298         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8301 2015-09-11  Roland McGrath  <roland@hack.frob.com>
8303         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
8304         Use 'override' keyword to freeze the value here, preventing
8305         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
8307 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
8309         [BZ #14912]
8310         * sysdeps/aarch64/bits/atomic.h: Move to ...
8311         * sysdeps/aarch64/atomic-machine.h: ...here.
8312         (_AARCH64_BITS_ATOMIC_H): Rename macro to
8313         _AARCH64_ATOMIC_MACHINE_H.
8314         * sysdeps/alpha/bits/atomic.h: Move to ...
8315         * sysdeps/alpha/atomic-machine.h: ...here.
8316         * sysdeps/arm/bits/atomic.h: Move to ...
8317         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
8318         * bits/atomic.h: Move to ...
8319         * sysdeps/generic/atomic-machine.h: ...here.
8320         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8321         * sysdeps/i386/bits/atomic.h: Move to ...
8322         * sysdeps/i386/atomic-machine.h: ...here.
8323         * sysdeps/ia64/bits/atomic.h: Move to ...
8324         * sysdeps/ia64/atomic-machine.h: ...here.
8325         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
8326         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
8327         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8328         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
8329         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
8330         * sysdeps/microblaze/bits/atomic.h: Move to ...
8331         * sysdeps/microblaze/atomic-machine.h: ...here.
8332         * sysdeps/mips/bits/atomic.h: Move to ...
8333         * sysdeps/mips/atomic-machine.h: ...here.
8334         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
8335         * sysdeps/powerpc/bits/atomic.h: Move to ...
8336         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
8337         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
8338         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
8339         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
8340         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
8341         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
8342         <atomic-machine.h> instead of <bits/atomic.h>.
8343         * sysdeps/s390/bits/atomic.h: Move to ...
8344         * sysdeps/s390/atomic-machine.h: ...here.
8345         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
8346         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
8347         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8348         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
8349         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
8350         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
8351         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
8352         * sysdeps/tile/bits/atomic.h: Move to ...
8353         * sysdeps/tile/atomic-machine.h: ...here.
8354         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
8355         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
8356         <sysdeps/tile/atomic-machine.h> instead of
8357         <sysdeps/tile/bits/atomic.h>.
8358         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8359         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
8360         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
8361         <sysdeps/tile/atomic-machine.h> instead of
8362         <sysdeps/tile/bits/atomic.h>.
8363         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8364         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
8365         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
8366         <sysdeps/arm/atomic-machine.h> instead of
8367         <sysdeps/arm/bits/atomic.h>.
8368         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
8369         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
8370         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8371         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
8372         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
8373         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
8374         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
8375         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
8376         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
8377         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
8378         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
8379         * sysdeps/x86_64/bits/atomic.h: Move to ...
8380         * sysdeps/x86_64/atomic-machine.h: ...here.
8381         * include/atomic.h: Include <atomic-machine.h> instead of
8382         <bits/atomic.h>.
8384         * sysdeps/mips/mips32/libm-test-ulps: Update.
8385         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8387         [BZ #18952]
8388         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
8389         not convert non-integer negative arguments to int to determine the
8390         value of signgam.
8391         * math/auto-libm-test-in: Add more tests of lgamma.
8392         * math/auto-libm-test-out: Regenerated.
8394         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
8395         cosh, csqrt, erfc, expm1 and lgamma.
8396         * math/auto-libm-test-out: Regenerated.
8397         * sysdeps/i386/fpu/libm-test-ulps: Update.
8398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8400 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
8402         [BZ #2542]
8403         [BZ #2543]
8404         [BZ #2558]
8405         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
8406         __lgamma_neg for arguments from -28.0 to -2.0.
8407         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
8408         __lgamma_negf for arguments from -15.0 to -2.0.
8409         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8410         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
8411         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
8412         Call __lgamma_negl for arguments from -33.0 to -2.0.
8413         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
8414         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
8415         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
8416         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
8417         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
8418         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
8419         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
8420         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
8421         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
8422         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
8423         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
8424         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
8425         (__lgamma_neg): Likewise.
8426         (__lgamma_negl): Likewise.
8427         (__lgamma_product): Likewise.
8428         (__lgamma_productl): Likewise.
8429         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
8430         * math/auto-libm-test-in: Add more tests of lgamma.
8431         * math/auto-libm-test-out: Regenerated.
8432         * sysdeps/i386/fpu/libm-test-ulps: Update.
8433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8435 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
8437         [BZ #18675]
8438         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
8440 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
8442         [BZ #14912]
8443         * bits/libc-lock.h: Move to ...
8444         * sysdeps/generic/libc-lock.h: ...here.
8445         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8446         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
8447         * sysdeps/mach/hurd/libc-lock.h: ...here.
8448         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8449         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
8450         * sysdeps/mach/bits/libc-lock.h: Move to ...
8451         * sysdeps/mach/libc-lock.h: ...here.
8452         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8453         * sysdeps/nptl/bits/libc-lock.h: Move to ...
8454         * sysdeps/nptl/libc-lock.h: ...here.
8455         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
8456         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
8457         * sysdeps/nptl/libc-lockP.h: ...here.
8458         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
8459         * crypt/crypt_util.c: Include <libc-lock.h> instead of
8460         <bits/libc-lock.h>.
8461         * dirent/scandir-tail.c: Likewise.
8462         * dlfcn/dlerror.c: Likewise.
8463         * elf/dl-close.c: Likewise.
8464         * elf/dl-iteratephdr.c: Likewise.
8465         * elf/dl-lookup.c: Likewise.
8466         * elf/dl-open.c: Likewise.
8467         * elf/dl-support.c: Likewise.
8468         * elf/dl-writev.h: Likewise.
8469         * elf/rtld.c: Likewise.
8470         * grp/fgetgrent.c: Likewise.
8471         * gshadow/fgetsgent.c: Likewise.
8472         * gshadow/sgetsgent.c: Likewise.
8473         * iconv/gconv_conf.c: Likewise.
8474         * iconv/gconv_db.c: Likewise.
8475         * iconv/gconv_dl.c: Likewise.
8476         * iconv/gconv_int.h: Likewise.
8477         * iconv/gconv_trans.c: Likewise.
8478         * include/link.h: Likewise.
8479         * inet/getnameinfo.c: Likewise.
8480         * inet/getnetgrent.c: Likewise.
8481         * inet/getnetgrent_r.c: Likewise.
8482         * intl/bindtextdom.c: Likewise.
8483         * intl/dcigettext.c: Likewise.
8484         * intl/finddomain.c: Likewise.
8485         * intl/gettextP.h: Likewise.
8486         * intl/loadmsgcat.c: Likewise.
8487         * intl/localealias.c: Likewise.
8488         * intl/textdomain.c: Likewise.
8489         * libidn/idn-stub.c: Likewise.
8490         * libio/libioP.h: Likewise.
8491         * locale/duplocale.c: Likewise.
8492         * locale/freelocale.c: Likewise.
8493         * locale/newlocale.c: Likewise.
8494         * locale/setlocale.c: Likewise.
8495         * login/getutent_r.c: Likewise.
8496         * login/getutid_r.c: Likewise.
8497         * login/getutline_r.c: Likewise.
8498         * login/utmp-private.h: Likewise.
8499         * login/utmpname.c: Likewise.
8500         * malloc/mtrace.c: Likewise.
8501         * misc/efgcvt.c: Likewise.
8502         * misc/error.c: Likewise.
8503         * misc/fstab.c: Likewise.
8504         * misc/getpass.c: Likewise.
8505         * misc/mntent.c: Likewise.
8506         * misc/syslog.c: Likewise.
8507         * nis/nis_call.c: Likewise.
8508         * nis/nis_callback.c: Likewise.
8509         * nis/nss-default.c: Likewise.
8510         * nis/nss_compat/compat-grp.c: Likewise.
8511         * nis/nss_compat/compat-initgroups.c: Likewise.
8512         * nis/nss_compat/compat-pwd.c: Likewise.
8513         * nis/nss_compat/compat-spwd.c: Likewise.
8514         * nis/nss_nis/nis-alias.c: Likewise.
8515         * nis/nss_nis/nis-ethers.c: Likewise.
8516         * nis/nss_nis/nis-grp.c: Likewise.
8517         * nis/nss_nis/nis-hosts.c: Likewise.
8518         * nis/nss_nis/nis-network.c: Likewise.
8519         * nis/nss_nis/nis-proto.c: Likewise.
8520         * nis/nss_nis/nis-pwd.c: Likewise.
8521         * nis/nss_nis/nis-rpc.c: Likewise.
8522         * nis/nss_nis/nis-service.c: Likewise.
8523         * nis/nss_nis/nis-spwd.c: Likewise.
8524         * nis/nss_nisplus/nisplus-alias.c: Likewise.
8525         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
8526         * nis/nss_nisplus/nisplus-grp.c: Likewise.
8527         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
8528         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
8529         * nis/nss_nisplus/nisplus-network.c: Likewise.
8530         * nis/nss_nisplus/nisplus-proto.c: Likewise.
8531         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
8532         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
8533         * nis/nss_nisplus/nisplus-service.c: Likewise.
8534         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
8535         * nis/ypclnt.c: Likewise.
8536         * nptl/libc_pthread_init.c: Likewise.
8537         * nss/getXXbyYY.c: Likewise.
8538         * nss/getXXent.c: Likewise.
8539         * nss/getXXent_r.c: Likewise.
8540         * nss/nss_db/db-XXX.c: Likewise.
8541         * nss/nss_db/db-netgrp.c: Likewise.
8542         * nss/nss_db/nss_db.h: Likewise.
8543         * nss/nss_files/files-XXX.c: Likewise.
8544         * nss/nss_files/files-alias.c: Likewise.
8545         * nss/nsswitch.c: Likewise.
8546         * posix/regex_internal.h: Likewise.
8547         * posix/wordexp.c: Likewise.
8548         * pwd/fgetpwent.c: Likewise.
8549         * resolv/res_hconf.c: Likewise.
8550         * resolv/res_libc.c: Likewise.
8551         * shadow/fgetspent.c: Likewise.
8552         * shadow/lckpwdf.c: Likewise.
8553         * shadow/sgetspent.c: Likewise.
8554         * socket/opensock.c: Likewise.
8555         * stdio-common/reg-modifier.c: Likewise.
8556         * stdio-common/reg-printf.c: Likewise.
8557         * stdio-common/reg-type.c: Likewise.
8558         * stdio-common/vfprintf.c: Likewise.
8559         * stdio-common/vfscanf.c: Likewise.
8560         * stdlib/abort.c: Likewise.
8561         * stdlib/cxa_atexit.c: Likewise.
8562         * stdlib/fmtmsg.c: Likewise.
8563         * stdlib/random.c: Likewise.
8564         * stdlib/setenv.c: Likewise.
8565         * string/strsignal.c: Likewise.
8566         * sunrpc/auth_none.c: Likewise.
8567         * sunrpc/bindrsvprt.c: Likewise.
8568         * sunrpc/create_xid.c: Likewise.
8569         * sunrpc/key_call.c: Likewise.
8570         * sunrpc/rpc_thread.c: Likewise.
8571         * sysdeps/arm/backtrace.c: Likewise.
8572         * sysdeps/generic/ldsodefs.h: Likewise.
8573         * sysdeps/generic/stdio-lock.h: Likewise.
8574         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
8575         * sysdeps/i386/backtrace.c: Likewise.
8576         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
8577         * sysdeps/m68k/backtrace.c: Likewise.
8578         * sysdeps/mach/hurd/cthreads.c: Likewise.
8579         * sysdeps/mach/hurd/dirstream.h: Likewise.
8580         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8581         * sysdeps/nptl/malloc-machine.h: Likewise.
8582         * sysdeps/nptl/stdio-lock.h: Likewise.
8583         * sysdeps/posix/dirstream.h: Likewise.
8584         * sysdeps/posix/getaddrinfo.c: Likewise.
8585         * sysdeps/posix/system.c: Likewise.
8586         * sysdeps/pthread/aio_suspend.c: Likewise.
8587         * sysdeps/s390/s390-32/backtrace.c: Likewise.
8588         * sysdeps/s390/s390-64/backtrace.c: Likewise.
8589         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8590         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8591         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
8592         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
8593         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
8594         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
8595         * sysdeps/unix/sysv/linux/system.c: Likewise.
8596         * sysdeps/x86_64/backtrace.c: Likewise.
8597         * time/alt_digit.c: Likewise.
8598         * time/era.c: Likewise.
8599         * time/tzset.c: Likewise.
8600         * wcsmbs/wcsmbsload.c: Likewise.
8601         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
8602         instead of <bits/libc-lock.h> in comment.
8604 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
8606         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
8607         Only use .set mips2 if the current ISA is below mips2.
8608         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
8609         Likewise.
8610         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
8611         mips32r2 if the current ISA is below mips32r2.
8612         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
8613         (TLS_IE): Updated to use the TLD_RDHWR macro.
8614         (TLS_LE): Likewise.
8615         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
8616         __ASSEMBLER__ condition.
8618 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8620         Fix parallel build of before-compile targets.
8622         * sysdeps/mach/Makefile ($(patsubst
8623         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
8624         mach-before-compile target.
8625         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8626         io fs process)): Move rule to dedicated hurd-before-compile target.
8628 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8630         Fix rules generating headers in hurd/ and mach/ when initial make call
8631         has subdir= explicitly set.
8633         * sysdeps/mach/Makefile ($(patsubst
8634         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
8635         calling $(MAKE).
8636         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
8637         io fs process)): Force subdir to hurd when calling $(MAKE).
8638         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
8639         subdir to mach when calling $(MAKE).
8641 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
8643         Check sysheaders when looking for Mach and Hurd headers
8645         * sysdeps/mach/configure.ac: Add sysheaders check.
8646         * sysdeps/mach/configure: Regenerate.
8647         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
8648         * sysdeps/mach/hurd/configure: Regenerate.
8650 2015-09-04  Roland McGrath  <roland@hack.frob.com>
8652         [BZ #18921]
8653         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
8654         Fix inverted sense of test of 'o_directory_works' value.
8655         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
8656         Bernhard Voelker <mail@bernhard-voelker.de>.
8658 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8660         [BZ #14912]
8661         * bits/linkmap.h: Move to ...
8662         * sysdeps/generic/linkmap.h: ...here.
8663         * sysdeps/aarch64/bits/linkmap.h: Move to ...
8664         * sysdeps/aarch64/linkmap.h: ...here.
8665         * sysdeps/arm/bits/linkmap.h: Move to ...
8666         * sysdeps/arm/linkmap.h: ...here.
8667         * sysdeps/hppa/bits/linkmap.h: Move to ...
8668         * sysdeps/hppa/linkmap.h: ...here.
8669         * sysdeps/ia64/bits/linkmap.h: Move to ...
8670         * sysdeps/ia64/linkmap.h: ...here.
8671         * sysdeps/mips/bits/linkmap.h: Move to ...
8672         * sysdeps/mips/linkmap.h: ...here.
8673         * sysdeps/s390/bits/linkmap.h: Move to ...
8674         * sysdeps/s390/linkmap.h: ...here.
8675         * sysdeps/sh/bits/linkmap.h: Move to ...
8676         * sysdeps/sh/linkmap.h: ...here.
8677         * sysdeps/x86/bits/linkmap.h: Move to ...
8678         * sysdeps/x86/linkmap.h: ...here.
8679         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
8681 2015-09-04  Andreas Schwab  <schwab@suse.de>
8683         [BZ #18635]
8684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
8685         (__makecontext): Terminate FDE before return label.
8686         (__novec_makecontext): Likewise.
8688 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8690         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
8691         first member of struct sv in syscall macro.
8693 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
8695         [BZ #14912]
8696         * bits/stdio-lock.h: Move to ...
8697         * sysdeps/generic/stdio-lock.h: ...here.
8698         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8699         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
8700         * sysdeps/nptl/stdio-lock.h: ...here.
8701         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
8702         * include/libio.h: Include <stdio-lock.h> instead of
8703         <bits/stdio-lock.h>.
8704         * sysdeps/nptl/fork.c: Likewise.
8705         * sysdeps/pthread/flockfile.c: Likewise.
8706         * sysdeps/pthread/ftrylockfile.c: Likewise.
8707         * sysdeps/pthread/funlockfile.c: Likewise.
8709         [BZ #14912]
8710         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
8711         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
8712         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
8713         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
8714         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
8715         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8716         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
8718 2015-09-03  Roland McGrath  <roland@hack.frob.com>
8720         * elf/Makefile (test-xfail-tst-protected1a): New variable.
8721         (test-xfail-tst-protected1b): New variable.
8723 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
8725         [BZ #14912]
8726         * bits/libc-tsd.h: Move to ...
8727         * sysdeps/generic/libc-tsd.h: ...here.
8728         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
8729         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
8730         * sysdeps/mach/hurd/libc-tsd.h: ...here.
8731         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
8732         * include/ctype.h: Include <libc-tsd.h> instead of
8733         <bits/libc-tsd.h>.
8734         * include/rpc/rpc.h: Likewise.
8735         * locale/localeinfo.h: Likewise.
8736         * sunrpc/rpc_thread.c: Likewise.
8737         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
8738         * sysdeps/nptl/malloc-machine.h: Likewise.
8740         * Makefile (headers): Remove bits/libc-lock.h.
8741         * libio/Makefile (headers): Remove bits/stdio-lock.h.
8743         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
8744         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
8745         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
8746         <bits/stdio-lock.h>.
8747         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
8748         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
8750 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
8752         [BZ #18757]
8753         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
8754         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
8755         BZ #18757.
8757 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
8759         * malloc/mtrace.pl: Filter out NULL entries.
8761 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
8763         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
8764         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
8765         macro.
8767         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
8768         (TCP_CC_INFO): Likewise.
8769         (TCP_SAVE_SYN): Likewise.
8770         (TCP_SAVED_SYN): Likewise.
8772 2015-08-31  Brett Neumeier <brett@neumeier.us>
8774         [BZ #18870]
8775         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
8777 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
8779         [BZ #18873]
8780         Fix broken overflow check in posix_fallocate
8781         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
8782         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
8783         Fix parenthesization typo.
8785 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
8787         [BZ #18887]
8788         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
8789         tst-mntent-blank-passno.
8790         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
8791         * misc/tst-mntent-blank-corrupt.c: New test.
8792         * misc/tst-mntent-blank-passno.c: New test ripped from ...
8793         * misc/tst-mntent.c (do_test): ... here.
8795 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
8797         [BZ #4404]
8798         * po/de.po: Fix SIGALRM typo.
8800 2015-08-28  James Perkins  <james@loowit.net>
8802         * time/tst-strptime2.c (tests): Replace short list of test
8803         strings for strptime %z specifier with code which exhaustively
8804         tests every combination of sign and 0 to 5 digits. Tests for
8805         rejection of invalid strings.
8807 2015-08-28  James Perkins  <james@loowit.net>
8809         [BZ #16141]
8810         * time/strptime_l.c (__strptime_internal): Fix %z minutes
8811         calculation, removing incorrect decimal time rounding, so that
8812         all minute values result in a valid seconds value.
8813         * time/strptime_l.c (__strptime_internal): Extend %z time zone
8814         offset range limits to UTC-99:59 through UTC+99:59 to parse
8815         current and historical use cases.
8816         * time/tst-strptime2.c (tests): Modify and add tests for the
8817         strptime %z input field descriptor, specifically conversion of
8818         minutes to seconds and validating an offset range of -9959 to
8819         +9959.
8821 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8822             Dmitry V. Levin  <ldv@altlinux.org>
8824         [BZ #18877]
8825         * posix/Makefile (tests): Add tst-mmap-offset.
8826         * posix/tst-mmap.c: New file.
8827         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
8828         offset calculation for negative values.
8830 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8832         * sysdeps/i386/init-arch.h: New file.
8833         * sysdeps/i386/i586/init-arch.h: Likewise.
8834         * sysdeps/i386/i686/init-arch.h: Likewise.
8835         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
8836         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
8837         * sysdeps/x86/cpu-features.h (bit_I586): New.
8838         (bit_I686): Likewise.
8839         (bit_CX8): Likewise.
8840         (bit_CMOV): Likewise.
8841         (index_CX8): Likewise.
8842         (index_CMOV): Likewise.
8843         (index_I586): Likewise.
8844         (index_I686): Likewise.
8845         (reg_CX8): Likewise.
8846         (reg_CMOV): Likewise.
8847         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
8848         available at compile-time.
8849         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
8850         available at compile-time.
8851         * sysdeps/x86/init-arch.h (USE_I586): New macro.
8852         (USE_I686): Likewise.
8854 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8856         * sysdeps/i386/bcopy.S: New file.
8857         * sysdeps/i386/bzero.S: Likewise.
8858         * sysdeps/i386/memcpy.S: Likewise.
8859         * sysdeps/i386/memmove.S: Likewise.
8860         * sysdeps/i386/mempcpy.S: Likewise.
8861         * sysdeps/i386/memset.S: Likewise.
8862         * sysdeps/i386/bzero.c: Removed.
8863         * sysdeps/i386/memset.c: Likewise.
8864         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
8865         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
8866         * sysdeps/i386/i586/memset_chk.S: Likewise.
8867         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
8868         * sysdeps/i386/memcpy_chk.S: Here.
8869         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
8870         * sysdeps/i386/memmove_chk.S: Here.
8871         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
8872         * sysdeps/i386/mempcpy_chk.S: Likewise.
8873         * sysdeps/i386/i686/memset_chk.S: Moved to ...
8874         * sysdeps/i386/memset_chk.S: Likewise.
8876 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
8878         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
8879         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
8880         file, move DIAG_POP_NEEDS_COMMENT to end of file.
8881         * soft-fp/fmadf4.c: Ditto.
8882         * soft-fp/fmatf4.c: Ditto.
8884 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8886         * sysdeps/i386/i586/Implies: Removed.
8887         * sysdeps/i386/i686/Implies: Likewise.
8889 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8891         * sysdeps/i386/i486/strlen.S: Moved to ...
8892         * sysdeps/i386/strlen.S: Here.
8894 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8896         * sysdeps/i386/i486/strcat.S: Moved to ...
8897         * sysdeps/i386/strcat.S: Here.
8899 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8901         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
8902         * sysdeps/i386/pthread_spin_trylock.S: Here.
8903         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
8904         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
8906 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8908         * sysdeps/i386/i486/string-inlines.c: Moved to ...
8909         * sysdeps/i386/string-inlines.c: Here.
8911 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8913         * sysdeps/i386/i486/htonl.S: Moved ...
8914         * sysdeps/i386/htonl.S: here.
8916 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8918         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
8919         * sysdeps/i386/bits/atomic.h: Here.
8921 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
8923         * sysdeps/i386/i486/Versions: Removed.
8925 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8927         [BZ #2898]
8928         * misc/mktemp.c: Add mkdtemp to the link_warning message.
8929         Based on patch by Aurelien Jarno.
8931 2015-08-26  Stan Shebs  <stanshebs@google.com>
8933         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
8934         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
8936 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8938         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
8939         * sysdeps/powerpc/dl-procinfo.c:
8940         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
8941         feature so it shows when LD_SHOW_AUXV=1.
8943 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8945         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8946         (__arch_compare_and_exchange_val_32_acq): Remove and use common
8947         definition.  ISA 2.07B no longer requires full sync.
8949 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
8951         [BZ #18863]
8952         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
8953         (si_call_addr): Define.
8954         (si_syscall): Define.
8955         (si_arch): Define.
8957 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
8959         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
8960         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
8961         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
8962         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8963         (__memset_zero_constant_len_parameter): New.
8964         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
8965         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
8966         (__memset_zero_constant_len_parameter): Don't define if
8967         __memset_chk or USE_AS_BZERO are defined.
8969         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
8970         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
8971         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
8973         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
8974         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
8975         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
8976         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
8977         comments.
8978         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
8979         -mno-mmx for $(all-rtld-routines).
8980         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
8981         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
8982         i386.
8984 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8986         * sysdeps/generic/unwind.h
8987         (_Unwind_Word): Use __mode__(__unwind_word__)
8988         instead of __mode__(__word__).
8989         (_Unwind_Sword): Likewise.
8991         * sysdeps/s390/s390-64/utf8-utf16-z9.c
8992         (MAX_NEEDED_INPUT): New define.
8993         (MAX_NEEDED_OUTPUT): New define.
8995         * NEWS: New item for IBM z13 string optimizations.
8997         * sysdeps/s390/multiarch/memrchr-c.c: New File.
8998         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
8999         * sysdeps/s390/multiarch/memrchr.c: Likewise.
9000         * sysdeps/s390/multiarch/Makefile
9001         (sysdep_routines): Add memrchr functions.
9002         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9003         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
9005         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
9006         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
9007         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
9008         * sysdeps/s390/multiarch/Makefile
9009         (sysdep_routines): Add wmemcmp functions.
9010         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9011         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
9012         * benchtests/bench-wmemcmp.c: New File.
9013         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
9015         * sysdeps/s390/multiarch/wmemset-c.c: New File.
9016         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
9017         * sysdeps/s390/multiarch/wmemset.c: Likewise.
9018         * sysdeps/s390/multiarch/Makefile
9019         (sysdep_routines): Add wmemset functions.
9020         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9021         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
9022         * wcsmbs/wmemset.c: Use WMEMSET if defined.
9023         * string/test-memset.c: Add wmemset support.
9024         * wcsmbs/test-wmemset.c: New File.
9025         * wcsmbs/Makefile (strop-tests): Add wmemset.
9026         * benchtests/bench-memset.c: Add wmemset support.
9027         * benchtests/bench-wmemset.c: New File.
9028         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
9030         * sysdeps/s390/multiarch/memccpy-c.c: New File.
9031         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
9032         * sysdeps/s390/multiarch/memccpy.c: Likewise.
9033         * sysdeps/s390/multiarch/Makefile
9034         (sysdep_routines): Add memccpy functions.
9035         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9036         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
9037         * string/memccpy.c: Use MEMCCPY if defined.
9039         * sysdeps/s390/multiarch/memchr-vx.S: New File.
9040         * sysdeps/s390/multiarch/memchr.c: Likewise.
9041         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
9042         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
9043         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
9044         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
9045         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
9046         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
9047         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
9048         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
9049         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
9050         and rawmemchr functions.
9051         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
9052         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
9053         and wmemchr.
9054         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
9055         * string/test-memchr.c: Add wmemchr support.
9056         * wcsmbs/test-wmemchr.c: New File.
9057         * wcsmbs/Makefile (strop-tests): Add wmemchr.
9058         * benchtests/bench-memchr.c: Add wmemchr support.
9059         * benchtests/bench-wmemchr.c: New File.
9060         * benchtests/Makefile (wcsmbs-bench): wmemchr.
9062         * sysdeps/s390/multiarch/strcspn-c.c: New File.
9063         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
9064         * sysdeps/s390/multiarch/strcspn.c: Likewise.
9065         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
9066         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
9067         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
9068         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
9069         wcscspn functions.
9070         * sysdeps/s390/multiarch/ifunc-impl-list.c
9071         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
9072         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
9073         * string/test-strcspn.c: Add wcscspn support.
9074         * wcsmbs/test-wcscspn.c: New File.
9075         * wcsmbs/Makefile (strop-tests): Add wcscspn.
9076         * benchtests/bench-strcspn.c: Add wcscspn support.
9077         * benchtests/bench-wcscspn.c: New File.
9078         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
9080         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
9081         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
9082         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
9083         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
9084         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
9085         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
9086         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
9087         wcspbrk functions.
9088         * sysdeps/s390/multiarch/ifunc-impl-list.c
9089         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
9090         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
9091         * string/test-strpbrk.c: Add wcspbrk support.
9092         * wcsmbs/test-wcspbrk.c: New File.
9093         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
9094         * benchtests/bench-strpbrk.c: Add wcspbrk support.
9095         * benchtests/bench-wcspbrk.c: New File.
9096         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
9098         * sysdeps/s390/multiarch/strspn-c.c: New File.
9099         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
9100         * sysdeps/s390/multiarch/strspn.c: Likewise.
9101         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
9102         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
9103         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
9104         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
9105         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
9106         wcsspn functions.
9107         * sysdeps/s390/multiarch/ifunc-impl-list.c
9108         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
9109         * string/test-strspn.c: Add wcsspn support.
9110         * wcsmbs/test-wcsspn.c: New File.
9111         * wcsmbs/Makefile (strop-tests): Add wcsspn.
9112         * benchtests/bench-strspn.c: Add wcsspn support.
9113         * benchtests/bench-wcsspn.c: New File.
9114         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
9116         * sysdeps/s390/multiarch/strrchr-c.c: New File.
9117         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
9118         * sysdeps/s390/multiarch/strrchr.c: Likewise.
9119         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
9120         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
9121         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
9122         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
9123         wcsrchr functions.
9124         * sysdeps/s390/multiarch/ifunc-impl-list.c
9125         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
9126         * benchtests/bench-wcsrchr.c: New File.
9127         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
9129         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
9130         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
9131         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
9132         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
9133         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
9134         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
9135         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
9136         wcschrnul functions.
9137         * sysdeps/s390/multiarch/ifunc-impl-list.c
9138         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
9139         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
9140         * string/test-strchr.c: Add wcschrnul support.
9141         * wcsmbs/test-wcschrnul.c: New File.
9142         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
9143         * benchtests/bench-strchr.c: Add wcschrnul support.
9144         * benchtests/bench-wcschrnul.c: New File.
9145         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
9147         * sysdeps/s390/multiarch/strchr-c.c: New File.
9148         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
9149         * sysdeps/s390/multiarch/strchr.c: Likewise.
9150         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
9151         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
9152         * sysdeps/s390/multiarch/wcschr.c: Likewise.
9153         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
9154         wcschr functions.
9155         * sysdeps/s390/multiarch/ifunc-impl-list.c
9156         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
9157         * string/strchr.c (STRCHR): Define and use macro.
9158         * benchtests/bench-wcschr.c: New File.
9159         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
9161         * sysdeps/s390/multiarch/strncmp-c.c: New File.
9162         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
9163         * sysdeps/s390/multiarch/strncmp.c: Likewise.
9164         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
9165         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
9166         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
9167         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
9168         wcsncmp functions.
9169         * sysdeps/s390/multiarch/ifunc-impl-list.c
9170         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
9171         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
9172         * benchtests/bench-strncmp.c: Add wcsncmp support.
9173         * benchtests/bench-wcsncmp.c: New File.
9174         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
9176         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
9177         * sysdeps/s390/multiarch/strcmp.c: Likewise.
9178         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
9179         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
9180         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
9181         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
9182         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
9183         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
9184         wcscmp functions.
9185         * sysdeps/s390/multiarch/ifunc-impl-list.c
9186         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
9187         * string/strcmp.c (STRCMP): Define and use macro.
9188         * benchtests/bench-wcscmp.c: New File.
9189         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
9190         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
9191         instead of _HAVE_STRING_ARCH_memchr.
9193         * sysdeps/s390/multiarch/strncat-c.c: New File.
9194         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
9195         * sysdeps/s390/multiarch/strncat.c: Likewise.
9196         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
9197         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
9198         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
9199         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
9200         wcsncat functions.
9201         * sysdeps/s390/multiarch/ifunc-impl-list.c
9202         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
9203         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
9204         * string/test-strncat.c: Add wcsncat support.
9205         * wcsmbs/test-wcsncat.c: New File.
9206         * wcsmbs/Makefile (strop-tests): Add wcsncat.
9207         * benchtests/bench-strncat.c: Add wcsncat support.
9208         * benchtests/bench-wcsncat.c: New File.
9209         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
9211         * sysdeps/s390/multiarch/strcat-c.c: New File.
9212         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
9213         * sysdeps/s390/multiarch/strcat.c: Likewise.
9214         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
9215         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
9216         * sysdeps/s390/multiarch/wcscat.c: Likewise.
9217         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
9218         wcscat functions.
9219         * sysdeps/s390/multiarch/ifunc-impl-list.c
9220         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
9221         * string/strcat.c (STRCAT): Define and use macro.
9222         * wcsmbs/wcscat.c: Use WCSCAT if defined.
9223         * string/test-strcat.c: Add wcscat support.
9224         * wcsmbs/test-wcscat.c: New File.
9225         * wcsmbs/Makefile (strop-tests): Add wcscat.
9226         * benchtests/bench-strcat.c: Add wcscat support.
9227         * benchtests/bench-wcscat.c: New File.
9228         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
9230         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
9231         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
9232         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
9233         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
9234         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
9235         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
9236         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
9237         wcpncpy functions.
9238         * sysdeps/s390/multiarch/ifunc-impl-list.c
9239         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
9240         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
9241         * string/test-stpncpy.c: Add wcpncpy support.
9242         * wcsmbs/test-wcpncpy.c: New File.
9243         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
9244         * benchtests/bench-stpncpy.c: Add wcpncpy support.
9245         * benchtests/bench-wcpncpy.c: New File.
9246         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
9248         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
9249         * sysdeps/s390/multiarch/strncpy.c: Likewise.
9250         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
9251         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
9252         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
9253         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
9254         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
9255         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
9256         wcsncpy functions.
9257         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
9258         * sysdeps/s390/multiarch/ifunc-impl-list.c
9259         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
9260         * string/test-strncpy.c: Add wcsncpy support.
9261         * wcsmbs/test-wcsncpy.c: New File.
9262         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
9263         * benchtests/bench-strncpy.c: Add wcsncpy support.
9264         * benchtests/bench-wcsncpy.c: New File.
9265         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
9267         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
9268         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
9269         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
9270         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
9271         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
9272         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
9273         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
9274         wcpcpy functions.
9275         * string/stpcpy.c: Use STPCPY if defined.
9276         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
9277         * sysdeps/s390/multiarch/ifunc-impl-list.c
9278         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
9279         * string/test-stpcpy.c: Add wcpcpy support.
9280         * wcsmbs/test-wcpcpy.c: New File.
9281         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
9282         * benchtests/bench-stpcpy.c: Add wcpcpy support.
9283         * benchtests/bench-wcpcpy.c: New File.
9284         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
9286         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
9287         * sysdeps/s390/multiarch/strcpy.c: Likewise.
9288         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
9289         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
9290         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
9291         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
9292         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
9293         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
9294         wcscpy functions.
9295         * sysdeps/s390/multiarch/ifunc-impl-list.c
9296         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
9297         * benchtests/bench-wcscpy.c: New File.
9298         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
9300         * sysdeps/s390/multiarch/strnlen-c.c: New File.
9301         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
9302         * sysdeps/s390/multiarch/strnlen.c: Likewise.
9303         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
9304         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
9305         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
9306         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
9307         wcsnlen functions.
9308         * sysdeps/s390/multiarch/ifunc-impl-list.c
9309         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
9310         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
9311         * string/test-strnlen.c: Add wcsnlen support.
9312         * wcsmbs/test-wcsnlen.c: New File.
9313         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
9314         * benchtests/bench-strnlen.c: Add wcsnlen support.
9315         * benchtests/bench-wcsnlen.c: New File.
9316         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
9318         * sysdeps/s390/multiarch/Makefile: New File.
9319         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
9320         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
9321         * sysdeps/s390/multiarch/strlen.c: Likewise.
9322         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
9323         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
9324         * sysdeps/s390/multiarch/wcslen.c: Likewise.
9325         * string/strlen.c (STRLEN): Define and use macro.
9326         * sysdeps/s390/multiarch/ifunc-impl-list.c
9327         (IFUNC_VX_IMPL): New macro function.
9328         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
9329         * benchtests/Makefile (wcsmbs-bench): New variable.
9330         (string-bench-all): Added wcsmbs-bench.
9331         * benchtests/bench-wcslen.c: New File.
9333         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
9334         s390_vx_libc_ifunc2): New macro function.
9336         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
9337         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
9338         assembler support.
9339         * sysdeps/s390/configure: Regenerated.
9341         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
9342         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
9344         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
9345         * sysdeps/s390/dl-procinfo.h: Add vector capability.
9346         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
9348         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
9349         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
9350         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
9351         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
9352         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
9353         (memcmp, bcmp): Use __memcmp_default as alias source.
9354         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
9355         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
9356         Rename to __memcmp_default.
9357         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
9358         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
9359         (memcpy): Use __memcpy_default as alias source.
9360         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
9361         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
9362         Rename to __memcpy_default.
9363         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
9364         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
9365         (memset): Use __memset_default as alias source.
9366         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
9367         * sysdeps/s390/s390-32/memset.S (__memset_g5):
9368         Rename to __memset_default.
9369         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
9370         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
9371         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
9372         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
9373         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
9374         (memcmp, bcmp): Use __memcmp_default as alias source.
9375         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
9376         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
9377         Rename to __memcmp_default.
9378         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
9379         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
9380         (memcpy): Use __memcpy_default as alias source.
9381         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
9382         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
9383         Rename to __memcpy_default.
9384         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
9385         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
9386         (memset): Use __memset_default as alias source.
9387         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
9388         * sysdeps/s390/s390-64/memset.S (__memset_z900):
9389         Rename to __memset_default.
9390         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
9391         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
9393         [BZ #18610]
9394         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
9395         __ieee_instruction_pointer to __unused.
9396         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
9397         __ieee_instruction_pointer.
9398         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
9399         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
9400         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
9401         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
9402         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
9403         Mark dxc-field as reserved.
9405 2015-08-25  Roland McGrath  <roland@hack.frob.com>
9407         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
9408         if the weak reference is not null.
9410 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9412         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
9414         [BZ #11214]
9415         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
9417 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9419         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
9420         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
9421         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
9422         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
9423         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
9424         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
9425         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
9426         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
9427         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
9428         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
9429         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
9430         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
9431         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
9432         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
9433         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
9434         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
9435         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
9436         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
9438 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9440         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
9441         register other than r0 for tabort, it has special meaning.
9442         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
9443         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
9444         transaction before starting syscall.
9446 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9448         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
9450 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9452         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
9454         * sysdeps/x86_64/rtld-memcmp.c: Removed.
9455         * sysdeps/x86_64/rtld-memset.S: Likewise.
9456         * sysdeps/x86_64/rtld-strchr.S: Likewise.
9457         * sysdeps/x86_64/rtld-strlen.S: Likewise.
9458         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
9459         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9461         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
9463 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
9465         * debug/strcpy_chk.c: Improve performance.
9466         * debug/stpcpy_chk.c: Likewise.
9467         * sysdeps/x86_64/strcpy_chk.S: Remove.
9468         * sysdeps/x86_64/stpcpy_chk.S: Remove.
9470         [BZ #18240]
9471         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
9473 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
9475         [BZ #15128]
9476         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
9477         ifuncmain8.
9478         (modules-names): Add ifuncmod8.
9479         ($(objpfx)ifuncmain8): New rule.
9480         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
9481         <cpuid.h>.
9482         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
9483         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
9484         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
9485         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
9486         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
9487         * sysdeps/x86_64/dl-trampoline.h: Likewise.
9488         * sysdeps/x86_64/ifuncmain8.c: New file.
9489         * sysdeps/x86_64/ifuncmod8.c: Likewise.
9490         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
9491         Removed.
9492         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
9493         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
9494         Change rtld_savespace_sse to __glibc_unused2.
9495         (RTLD_CHECK_FOREIGN_CALL): Removed.
9496         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
9497         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
9498         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
9500 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
9502         * sysdeps/aarch64/bzero.S (__bzero): Remove.
9504 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
9506         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
9507         Unconditionally set __fpcr to avoid uninialized warning.
9508         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
9510 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9512         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
9513         is corrupt.
9515         * malloc/arena.c (arena_get2): Drop unused argument.
9516         (arena_lock): Adjust.
9517         (arena_get_retry): Likewise.
9519 2015-08-24  Andreas Schwab  <schwab@suse.de>
9521         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
9522         Don't define.
9523         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9524         (__ASSUME_IPC64): Don't undef.
9525         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
9526         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
9527         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
9528         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
9529         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
9530         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
9531         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
9532         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
9533         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
9534         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
9535         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
9536         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
9537         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
9538         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
9539         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
9540         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
9541         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
9542         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
9543         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
9544         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
9545         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
9547 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
9549         * manual/Makefile (install): Only build manual when perl is available.
9551 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9553         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
9554         '#undef memcpy' by '#undef memchr'.
9556 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9558         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
9559         memchr not point to the internal __GI_memchr implementation.
9561 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
9563         * timezone/Makefile (CFLAGS-zdump.c): Remove
9564         -Wno-strict-prototypes.
9565         (CFLAGS-zic.c): Likewise.
9566         (CFLAGS-ialloc.c): Likewise.
9567         (CFLAGS-scheck.c): Likewise.
9569         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
9570         -Wno-error=undef.
9572 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9574         * i386/i686/multiarch/strcasestr-c.c: Removed.
9575         * x86_64/multiarch/strcasestr.c: Likewise.
9576         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9577         Remove strcasestr.
9579 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
9581         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
9583         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
9584         variables for high and low parts before possibly modifying them.
9586 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9588         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
9589         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
9590         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
9591         of "multiarch/init-arch.h".
9592         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
9593         * sysdeps/x86/init-arch.h: This.
9595 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
9597         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
9598         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
9600 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
9602         [BZ #17787]
9603         * manual/macros.texi: Add twoexp macro.
9604         * manual/filesys.texi: Fix exponents.
9605         * manual/llio.texi: Likewise.
9606         * manual/stdio.texi: Likewise.
9608 2015-08-20  Florian Weimer  <fweimer@redhat.com>
9610         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
9611         incorrect use.
9613 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
9615         [BZ #18370]
9616         * math/s_csqrt.c (__csqrt): Force underflow exception for results
9617         whose real or imaginary part has small absolute value.
9618         * math/s_csqrtf.c (__csqrtf): Likewise.
9619         * math/s_csqrtl.c (__csqrtl): Likewise.
9620         * math/auto-libm-test-in: Add more tests of csqrt.
9621         * math/auto-libm-test-out: Regenerated.
9622         * sysdeps/i386/fpu/libm-test-ulps: Update.
9624 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9626         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
9627         __ppc_set_ppr_very_low): New functions.
9628         * manual/platform.texi: Add documentation about
9629         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
9631 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
9633         * string/stpncpy.c (stpncpy): Improve performance using
9634         __strnlen/memcpy/memset.
9636 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9638         [BZ #18796]
9639         * scripts/test-installation.pl: Don't add -lmvec to build options if
9640         libmvec wasn't built.
9642 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
9644         [BZ #14341]
9645         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
9646         case when there is a gap between DT_REL and DT_JMPREL sections.
9647         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
9648         (LDFLAGS-tst-split-dynreloc): New.
9649         (tst-split-dynreloc-ENV): Likewise.
9650         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
9651         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
9653 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9655         [BZ #18822]
9656         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
9657         attribute_hidden.
9658         (__xstat64_conv): Likewise.
9659         (__xstat32_conv): Likewise.
9661 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9663         [BZ #18822]
9664         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
9665         Don't load %ebx when calling __setcontext.  Call __setcontext
9666         with HIDDEN_JUMPTARGET.
9667         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
9668         libc_hidden_def.
9670 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9672         * sysdeps/i386/i686/Makefile
9673         [$(subdir) == string] (sysdep_routines): Moved to ...
9674         * sysdeps/i386/Makefile: Here.
9675         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
9676         * sysdeps/i386/cacheinfo.c: Here.
9677         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
9678         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
9679         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
9680         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
9682 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
9684         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
9685         __i586__ is defined.
9686         (HAS_I686): Defined to 1 if __i686__ is defined.
9688 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
9690         * elf/Makefile [$(have-z-execstack) = yes]
9691         (CPPFLAGS-tst-execstack.c): New variable.
9693         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
9694         conditional to [defined UTMPX || _HAVE_UT_TYPE].
9695         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
9696         UTMPX || _HAVE_UT_TV].
9697         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
9698         UTMPX || _HAVE_UT_TV - 0].
9700 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
9702         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
9703         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
9704         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
9706 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9708         * sysdeps/powerpc/dl-procinfo.c:
9709         (_dl_powerpc_cap_flags): Added missing strings for some
9710         hwcap features.
9711         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
9713 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
9715         Port the 0x7efe...feff pattern to GCC 6.
9716         See Steve Ellcey's bug report in:
9717         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
9718         * string/memrchr.c (MEMRCHR):
9719         * string/rawmemchr.c (RAWMEMCHR):
9720         * string/strchr.c (strchr):
9721         * string/strchrnul.c (STRCHRNUL):
9722         Rewrite code to avoid issues with signed shift overflow.
9724 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
9726         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
9727         whether cpuid is available only if HAS_CPUID is 0.
9728         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
9729         (HAS_I586): Likewise.
9730         (HAS_I686): Likewise.
9732 2015-08-18  Zack Weinberg  <zackw@panix.com>
9734         * misc/Versions (libc): Add GLIBC_2.23.
9736 2015-08-18  Alan Modra  <amodra@gmail.com>
9738         [BZ #18421]
9739         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
9740         .Lp__global.
9741         (_start): Load %dp via .Lp__global.
9742         [!SHARED]: Use .section .rodata.
9744 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9746         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
9747         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
9749 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9751         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
9752         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
9754 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9756         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
9757         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
9759 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9761         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
9762         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
9764 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9766         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
9767         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
9769 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9771         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
9772         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
9774 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9776         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
9778 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9780         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
9781         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
9782         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9783         (__ASSUME_LWS_CAS): Delete.
9785 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
9787         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
9788         * sysdeps/hppa/configure: Regenerated.
9789         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
9790         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
9791         * sysdeps/hppa/nptl/tls.h: Likewise.
9793 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
9795         [BZ #18823]
9796         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
9797         for scaling up small arguments.
9798         * math/s_csqrtf.c (__csqrtf): Likewise.
9799         * math/s_csqrtl.c (__csqrtl): Likewise.
9800         * math/auto-libm-test-in: Add more tests of csqrt.
9801         * math/auto-libm-test-out: Regenerated.
9803 2015-08-17  Andreas Schwab  <schwab@suse.de>
9805         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
9806         version set GLIBC_2.19.
9808 2015-08-16  Zack Weinberg  <zackw@panix.com>
9810         [BZ #18681]
9811         * misc/regexp.h: This interface is no longer supported.
9812         Remove all contents, leaving only an #error directive.
9813         * misc/regexp.c (loc1, loc2, locs, step, advance):
9814         Demote to compatibility symbols.
9816 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
9818         [BZ #18084]
9819         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
9820         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
9821         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
9822         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
9823         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
9824         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
9825         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
9826         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
9827         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
9829 2015-08-15  Zack Weinberg  <zackw@panix.com>
9831         [BZ #18795]
9832         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
9833         buffer length is known to be too large, not if it's known to be
9834         small enough.
9835         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
9836         overflow at runtime, involving a length parameter, twice: once
9837         with a compile-time constant length parameter, once without.
9839 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
9841         [BZ #18824]
9842         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
9843         scaling x * y up instead of down.
9844         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9845         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9846         * math/auto-libm-test-in: Add more tests of fma.
9847         * math/auto-libm-test-out: Regenerated.
9849 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
9851         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9853 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9855         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
9856         unnecessary movq.
9857         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
9858         Likewise.
9860 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
9862         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9863         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
9864         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
9865         and tgamma.
9866         * math/auto-libm-test-out: Regenerated.
9867         * sysdeps/i386/fpu/libm-test-ulps: Update.
9868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9870         [BZ #16520]
9871         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
9872         (__tanh): Force underflow exception for arguments with small
9873         absolute value.
9874         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
9875         (__tanhf): Force underflow exception for arguments with small
9876         absolute value.
9877         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
9878         (__tanhl): Force underflow exception for arguments with small
9879         absolute value.
9880         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
9881         (__tanhl): Force underflow exception for arguments with small
9882         absolute value.
9883         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
9884         (__tanhl): Force underflow exception for arguments with small
9885         absolute value.
9886         * math/auto-libm-test-in: Add more tests of tanh.
9887         * math/auto-libm-test-out: Regenerated.
9888         * sysdeps/i386/fpu/libm-test-ulps: Update.
9890 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9892         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
9893         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
9895 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9897         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
9898         <cpuid.h>.
9900 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9902         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
9903         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
9905 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9907         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
9908         Remove $(objpfx)init-arch.o.
9909         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
9910         init-arch.
9911         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
9912         (INIT_ARCH_EXT): Defined as empty.
9913         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
9914         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
9915         __init_cpu_features call.  Replace HAS_XXX with
9916         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9917         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
9918         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
9919         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
9920         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
9921         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
9922         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
9923         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
9924         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
9925         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
9926         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
9927         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
9928         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
9929         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
9930         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
9931         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
9932         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
9933         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
9934         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
9935         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
9936         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
9937         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
9938         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
9939         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
9940         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
9941         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
9942         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
9943         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
9944         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
9945         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
9946         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
9947         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
9948         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
9949         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
9950         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
9951         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
9953 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
9955         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
9956         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9957         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9958         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
9959         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
9960         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
9961         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
9962         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
9963         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
9964         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
9965         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
9966         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
9967         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
9968         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9969         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9970         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9971         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9972         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9973         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9974         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9975         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9976         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9977         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9978         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9979         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9980         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9981         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9982         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9983         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9984         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9985         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9986         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9987         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9988         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9989         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9990         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9991         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9992         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9993         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9994         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9995         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9996         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9997         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9999 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10001         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
10002         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10003         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
10004         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10005         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10006         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
10007         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10008         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
10009         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
10010         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10011         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10012         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
10013         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
10014         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
10015         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
10016         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
10017         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
10018         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
10019         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
10020         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
10021         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
10022         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
10023         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
10024         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10025         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10026         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
10027         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
10028         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
10029         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
10030         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
10031         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10032         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10033         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10034         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10035         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10036         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
10037         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
10038         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10039         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
10040         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
10041         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
10042         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
10043         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
10045 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
10047         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
10048         (dl_platform_init): Call init_cpu_features.
10049         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
10050         * sysdeps/i386/i686/cacheinfo.c
10051         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
10052         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
10053         * sysdeps/i386/i686/multiarch/Versions: Removed.
10054         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
10055         Removed.
10056         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
10057         * sysdeps/unix/sysv/linux/x86/Makefile
10058         (libpthread-sysdep_routines): Remove init-arch.
10059         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
10060         <sysdeps/x86_64/dl-procinfo.c> instead of
10061         sysdeps/generic/dl-procinfo.c>.
10062         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
10063         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
10064         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
10065         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
10066         [$(subdir) == elf] (tests-static): Add
10067         tst-get-cpu-features-static.
10068         * sysdeps/x86/Versions: New file.
10069         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
10070         * sysdeps/x86/cpu-features.c: Likewise.
10071         * sysdeps/x86/cpu-features.h: Likewise.
10072         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
10073         * sysdeps/x86/libc-start.c: Likewise.
10074         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
10075         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
10076         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
10077         * sysdeps/x86_64/dl-procinfo.c: Likewise.
10078         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
10079         Assume USE_MULTIARCH is defined and don't check it.
10080         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
10081         (is_amd): Likewise.
10082         (max_cpuid): Likewise.
10083         (intel_check_word): Likewise.
10084         (__cache_sysconf): Don't call __init_cpu_features.
10085         (__x86_preferred_memory_instruction): Removed.
10086         (init_cacheinfo): Don't call __init_cpu_features. Replace
10087         __cpu_features with GLRO(dl_x86_cpu_features).
10088         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
10089         (dl_platform_init): Call init_cpu_features.
10090         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
10091         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
10092         * sysdeps/x86_64/multiarch/Versions: Removed.
10093         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
10094         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
10095         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
10096         Removed.
10097         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
10099 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10101         [BZ #18820]
10102         * libio/Makefile (test-fmemopen-mem): New test.
10103         * libio/test-fmemopen.c (do_bz18820): New test.
10104         * libio/fmemopen.c (__fmemopen): Fix memory leak.
10105         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
10107 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
10109         [BZ #16734]
10110         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
10111         (FREE_BUF): Delete.
10112         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
10113         * libio/genops.c (_IO_setb): Use malloc and free directly.
10114         (_IO_default_doallocate, _IO_default_finish): Likewise.
10115         ( _IO_unbuffer_all): Likewise.
10116         ( libc_freeres_fn): Likewise.
10117         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10118         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10119         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
10120         (_IO_wdefault_doallocate): Likewise.
10122 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
10124         [BZ #18086]
10125         * sysdeps/posix/nice.c (nice): Restore old errno.
10126         * posix/tst-nice.c (do_test): Add test for BZ #18086.
10128 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
10130         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
10132 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10134         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
10135         __bcopy and add a weak_alias to bcopy.
10136         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
10137         for static build.
10139         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
10140         cleanup macro usage.
10141         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
10142         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
10143         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
10144         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
10145         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
10146         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
10147         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
10148         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10149         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10150         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
10151         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10152         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
10153         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
10154         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
10155         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
10156         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
10157         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
10158         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
10159         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
10161         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
10162         libc_hidden_def.
10163         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
10165         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
10166         (sysdep_routines): Add strstr-ppc64.
10167         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
10169 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
10171         [BZ #18778]
10172         * elf/Makefile (tests): Add Add tst-nodelete2.
10173         (modules-names): Add tst-nodelete2mod.
10174         (tst-nodelete2mod.so-no-z-defs): New.
10175         ($(objpfx)tst-nodelete2): Likewise.
10176         ($(objpfx)tst-nodelete2.out): Likewise.
10177         (LDFLAGS-tst-nodelete2): Likewise.
10178         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
10179         out of loop through all loaded libraries.
10180         * elf/tst-nodelete2.c: New file.
10181         * elf/tst-nodelete2mod.c: Likewise.
10182         * elf/tst-znodelete-zlib.cc: Delete.
10184 2015-08-11  Andreas Schwab  <schwab@suse.de>
10186         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
10187         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
10188         (__openat64_nocancel): Likewise.
10190 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
10192         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
10193         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
10194         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
10195         * math/auto-libm-test-out: Regenerated.
10196         * sysdeps/i386/fpu/libm-test-ulps: Update.
10197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10199 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
10201         [BZ #18790]
10202         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
10203         threshold for returning +/- 1.
10204         * math/auto-libm-test-in: Add more tests of tanh.
10205         * math/auto-libm-test-out: Regenerated.
10206         * sysdeps/i386/fpu/libm-test-ulps: Update.
10208 2015-08-10  Andreas Schwab  <schwab@suse.de>
10210         [BZ #18781]
10211         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
10212         MORE_OFLAGS to oflag.
10213         * io/test-lfs.c (do_test): Test openat64.
10215 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
10217         [BZ #18789]
10218         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
10219         smaller threshold for returning the argument.
10220         * math/auto-libm-test-in: Add more tests of sinh.
10221         * math/auto-libm-test-out: Regenerated.
10222         * sysdeps/i386/fpu/libm-test-ulps: Update.
10224 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
10226         [BZ #18674]
10227         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
10228         break.
10230 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
10232         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
10233         (generated): Don't add $(addprefix z.,$(tzfiles)).
10235 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10237         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
10238         * scripts/sysd-rules.awk: Likewise.
10240 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10242         * iconvdata/tst-tables.sh: Change echo -n to printf.
10243         * nss/db-Makefile: Likewise.
10244         * posix/tst-getconf.sh: Likewise.
10245         * stdio-common/tst-unbputc.sh: Likewise.
10247 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
10249         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
10250         MADV_*_PAGES defines behind this feature check.
10252 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
10254         [BZ #18480]
10255         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
10256         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
10257         Define.
10258         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
10259         LOAD_REGS_5, LOAD_REGS_6): Update.
10260         (INTERNAL_SYSCALL): Update using new LOAD defines.
10261         (INTERNAL_SYSCALL_NCS): Likewise.
10262         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
10264 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10266         [BZ #16734]
10267         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
10269 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10271         [BZ #17905]
10272         * catgets/Makefile (tst-catgets-mem): New test.
10273         * catgets/catgets.c (catopen): Don't use unbounded alloca.
10274         * catgets/open_catalog.c (__open_catalog): Likewise.
10275         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
10277 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
10279         [BZ #18787]
10280         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
10281         clobber registers.
10282         (atomic_compare_and_exchange_val_acq): Use register asms to assign
10283         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
10284         Cast return to __typeof (oldval).
10286 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
10288         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
10289         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
10290         and delete sys/syscall.h include.
10292 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
10294         [BZ #16517]
10295         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
10296         (tan): Force underflow exception for arguments with small absolute
10297         value.
10298         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
10299         (__kernel_tanf): Force underflow exception for arguments with
10300         small absolute value.
10301         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
10302         (__kernel_tanl): Force underflow exception for arguments with
10303         small absolute value.
10304         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
10305         (__kernel_tanl): Force underflow exception for arguments with
10306         small absolute value.
10307         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
10308         (__kernel_tanl): Force underflow exception for arguments with
10309         small absolute value.
10310         * math/auto-libm-test-in: Add more tests of tan.
10311         * math/auto-libm-test-out: Regenerated.
10313 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10315         Fix sysdeps/i386/fpu/s_scalbn.S build
10317         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
10319 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
10321         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
10323 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10325         Fix gcrt0.o compilation
10327         When static-start-installed-name is different from
10328         start-installed-name, we must not use the shared objects.
10330         * csu/Makefile
10331         (extra-objs): Add gmon-start.o when building shared library and
10332         $(static-start-installed-name) is different from
10333         $(start-installed-name).
10334         $(objpfx)g$(static-start-installed-name): When building shared
10335         library and $(static-start-installed-name) is different from
10336         $(static-start-installed-name), revert to non-shared rule,
10337         i.e. using $(objpfx)% and gmon-start.o.
10339 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
10341         [BZ #16519]
10342         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
10343         (__ieee754_sinh): Force underflow exception for arguments with
10344         small absolute value.
10345         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
10346         (__ieee754_sinhf): Force underflow exception for arguments with
10347         small absolute value.
10348         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
10349         (__ieee754_sinhl): Force underflow exception for arguments with
10350         small absolute value.
10351         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
10352         (__ieee754_sinhl): Force underflow exception for arguments with
10353         small absolute value.
10354         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
10355         (__ieee754_sinhl): Force underflow exception for arguments with
10356         small absolute value.
10357         * math/auto-libm-test-in: Add more tests of sinh.
10358         * math/auto-libm-test-out: Regenerated.
10359         * sysdeps/i386/fpu/libm-test-ulps: Update.
10361 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10363         * libio/oldfileops.c: Include unistd.h.
10365 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
10367         * stdlib/isomac.c: Include ctype.h.
10369 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
10371         * dirent/tst-seekdir.c (main): Converted to ...
10372         (do_test): ... this.
10373         (TEST_FUNCTION): New macro.
10374         Include test-skeleton.c.
10375         * elf/tst-dlmodcount.c (main): Converted to ...
10376         (do_test): ... this.
10377         (TEST_FUNCTION): New macro.
10378         Include test-skeleton.c.
10379         * elf/tst-order-main.c (main): Converted to ...
10380         (do_test): ... this.
10381         (TEST_FUNCTION): New macro.
10382         Include test-skeleton.c.
10383         * elf/tst-pie2.c (main): Converted to ...
10384         (do_test): ... this.
10385         (TEST_FUNCTION): New macro.
10386         Include test-skeleton.c.
10387         * inet/tst-ether_aton.c (main): Converted to ...
10388         (do_test): ... this.
10389         (TEST_FUNCTION): New macro.
10390         Include test-skeleton.c.
10391         * misc/tst-mntent.c (main): Converted to ...
10392         (do_test): ... this.
10393         (TEST_FUNCTION): New macro.
10394         Include test-skeleton.c.
10395         * misc/tst-tsearch.c (main): Converted to ...
10396         (do_test): ... this.
10397         (TEST_FUNCTION): New macro.
10398         Include test-skeleton.c.
10399         * posix/tst-regexloc.c (main): Converted to ...
10400         (do_test): ... this.
10401         (TEST_FUNCTION): New macro.
10402         Include test-skeleton.c.
10403         * resolv/tst-aton.c (main): Converted to ...
10404         (do_test): ... this.
10405         (TEST_FUNCTION): New macro.
10406         Include test-skeleton.c.
10407         * stdio-common/test-fwrite.c (main): Converted to ...
10408         (do_test): ... this.
10409         (TEST_FUNCTION): New macro.
10410         Include test-skeleton.c.
10411         * stdio-common/tst-ferror.c (main): Converted to ...
10412         (do_test): ... this.
10413         (TEST_FUNCTION): New macro.
10414         Include test-skeleton.c.
10415         * stdio-common/tst-printf.c (main): Converted to ...
10416         (do_test): ... this.
10417         (TEST_FUNCTION): New macro.
10418         Include test-skeleton.c.
10419         * stdio-common/tst-printfsz.c (main): Converted to ...
10420         (do_test): ... this.
10421         (TEST_FUNCTION): New macro.
10422         Include test-skeleton.c.
10423         * stdlib/tst-strtod.c (main): Converted to ...
10424         (do_test): ... this.
10425         (TEST_FUNCTION): New macro.
10426         Include test-skeleton.c.
10427         * string/tst-strlen.c (main): Converted to ...
10428         (do_test): ... this.
10429         (TEST_FUNCTION): New macro.
10430         Include test-skeleton.c.
10431         * string/tst-svc.c (main): Converted to ...
10432         (do_test): ... this.
10433         (TEST_FUNCTION): New macro.
10434         Include test-skeleton.c.
10435         * time/tst-strptime.c (main): Converted to ...
10436         (do_test): ... this.
10437         (TEST_FUNCTION): New macro.
10438         Include test-skeleton.c.
10439         * timezone/tst-timezone.c (main): Converted to ...
10440         (do_test): ... this.
10441         (TEST_FUNCTION): New macro.
10442         Include test-skeleton.c.
10444 2015-08-05  Zack Weinberg  <zackw@panix.com>
10446         * misc/regexp.h: Update comments.
10448 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
10450         [BZ #18635]
10451         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
10452         before return label.
10454 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10456         [BZ #18661]
10457         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
10458         when calling __errno_location.
10459         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
10460         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
10462 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10464         [BZ #18661]
10465         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
10466         (__lll_timedwait_tid): Align stack to 16 bytes when calling
10467         __gettimeofday.
10469 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10471         [BZ #18661]
10472         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10473         (__start_context): Don't use pop to restore %rdi so that stack
10474         is aligned to 16 bytes when calling __setcontext.
10476 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10478         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
10479         only for libc.
10480         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10482 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10484         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
10485         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
10486         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
10488 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10490         * string/memccpy.c (memccpy):
10491         Improve performance by using memchr/memcpy/__mempcpy.
10493 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10495         * string/strncpy.c (strncpy):
10496         Improve performance by using __strnlen/memcpy.
10498 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10500         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10501         Optimize to avoid an unnecessary FPCR read.
10503 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
10505         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10506         Optimize to reduce FPCR/FPSR accesses.
10508 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
10510         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
10511         dead->data[category] != NULL.
10513 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
10515         [BZ #18647]
10516         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
10517         and |x| close to 1, use absolute value of x when computing log.
10518         * math/auto-libm-test-in: Add more tests of pow.
10519         * math/auto-libm-test-out: Regenerated.
10521 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10523         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
10524         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
10525         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
10527 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
10529         [BZ #18525]
10530         * locales/km_KH: Remove timezone definition.
10531         * locales/lo_LA: Likewise.
10532         * locales/my_MM: Likewise.
10533         * locales/nan_TW@latin: Likewise.
10534         * locales/th_TH: Likewise.
10535         * locales/uk_UA: Likewise.
10537 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
10539         [BZ #18265]
10540         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
10541         (wcsncat): Likewise.
10542         (wcscmp): Likewise.
10543         (wcsncmp): Likewise.
10545 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10547         * test-skeleton.c (usage): New function.
10548         (main): Call usage when opt is '?'.
10550 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10552         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
10553         before first use.
10555 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
10557         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
10558         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
10559         in there too.
10561 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
10563         * version.h (RELEASE): Set to "development".
10564         (VERSION): Set to "2.22.90"
10566         * version.h (RELEASE): Set to "stable".
10567         (VERSION): Set to "2.22"
10568         * include/features.h (__GLIBC_MINOR__): Set to 22.
10570 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
10572         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
10573         Restructure macro to avoid "value computed is not used" warning.
10574         (atomic_compare_and_exchange_val_acq): Likewise.
10576 2015-08-04  Andreas Schwab  <schwab@suse.de>
10578         [BZ #18635]
10579         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
10580         ret.
10581         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
10583 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
10585         * po/pl.po: Updated translation.
10586         * po/uk.po: Likewise.
10587         * po/fi.po: Likewise.
10588         * po/ko.po: Likewise.
10589         * po/ru.po: Likewise.
10590         * po/vi.po: Likewise.
10592 2015-07-31  Zack Weinberg  <zackw@panix.com>
10594         [BZ #18681]
10595         * regexp.h: Add unconditional #warning stating that this header
10596         will be removed soon.  Revise banner comment to match.
10597         (compile): Consistently use ERROR instead of RETURN to report
10598         errors (partial fix for bz#18681).
10599         * regexp.c: Don't include regexp.h. Remove some unnecessary
10600         declarations.
10602 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
10604         * po/libc.pot: Regenerated.
10606 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
10608         [BZ #18740]
10609         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
10610         float-vlen4-arch-ext-cflags): Removed.
10611         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
10612         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
10614 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10616         [BZ #14113]
10617         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
10618         aligned to __aligned__.
10619         (pthread_cond_t, pthread_rwlock_t): Likewise.
10621 2015-07-30  Torvald Riegel  <triegel@redhat.com>
10623         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
10625 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10627         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
10628         (struct sigaction): Change sa_flags from a long to an int, and add
10629         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
10631 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10633         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
10634         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
10635         sysdeps/generic/sysdep.h include.
10636         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
10637         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
10638         sysdeps/hppa/sysdep.h.
10639         (ENTRY, PSEUDO): Undefine before defining.
10641 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
10643         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
10644         from scratch to use INTERNAL_SYSCALL.
10646 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
10648         [BZ #18078]
10649         * scripts/check-localplt.awk: Support alternate relocations.
10650         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
10651         sections.
10652         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
10653         malloc entries with + REL R_386_GLOB_DAT.
10654         * sysdeps/x86_64/localplt.data: New file.
10656 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
10658         [BZ #18731]
10659         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
10660         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
10661         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
10663 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10665         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
10667 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10669         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
10670         directly in terms of __sync_fetch_and_add and delete (int) cast.
10672 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10674         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
10675         the -D_ASM_IA64_CURRENT_H flag.
10677 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
10679         [BZ #18641]
10680         * pwd/pwd.h (putpwent): Delete __nonnull markings.
10682 2015-07-27  Andreas Schwab  <schwab@suse.de>
10684         * conform/conformtest.pl (checknamespace): Filter out string
10685         literals while tokenizing.
10687 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10689         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10690         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
10691         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10693 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
10695         * nptl/tst-join7mod.c: Add #include <string.h>.
10697 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
10699         * sysdeps/nios2/libm-test-ulps: Update.
10701 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
10703         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
10704         Fix order of arguments to the rt_sigprocmask syscall.
10705         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
10706         Likewise.
10708 2015-07-24  Roland McGrath  <roland@hack.frob.com>
10710         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
10712 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10714         [BZ #18457]
10715         * nptl/Makefile (tests): New test case tst-join7.
10716         (modules-names): New test case module tst-join7mod.
10717         * nptl/tst-join7.c: New file.
10718         * nptl/tst-join7mod.c: New file.
10719         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
10720         all translation units in libc.so, libpthread.so and rtld.
10722 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10726 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
10728         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
10729         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
10730         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
10731         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
10732         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
10733         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
10734         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
10735         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
10736         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
10737         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
10738         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
10739         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
10740         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
10741         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
10742         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
10743         implementation.
10745 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10747         [BZ #17711]
10748         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10749         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
10750         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10751         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
10752         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
10753         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
10755 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10757         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
10758         instead of just saying load lock in the comments.
10760 2015-07-23  Roland McGrath  <roland@hack.frob.com>
10762         * sysdeps/unix/Subdirs: Moved ...
10763         * sysdeps/posix/Subdirs: ... here.
10764         * login/pty.h (struct termios, struct winsize): Add forward decls.
10765         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
10766         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
10767         * sysdeps/arm/nacl/libc.abilist: Updated.
10768         * sysdeps/nacl/libutil.abilist: New file.
10770         * bits/signum.h: Update comments to mention 1003.1-2013 too.
10771         (SIGWINCH): New macro.
10773         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
10774         * sysdeps/arm/nacl/libc.abilist: Add it.
10776 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
10778         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
10780 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
10782         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10783         Swap __glibc_reserved0 and sa_flags order.
10785 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10787         [BZ #18657]
10788         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
10789         are pending TLS destructor calls.
10790         * include/link.h (struct link_map): Add concurrency note for
10791         L_TLS_DTOR_COUNT.
10792         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10793         Don't touch the link map flag.  Atomically increment
10794         l_tls_dtor_count.
10795         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
10796         Avoid taking the load lock and don't touch the link map flag.
10797         * stdlib/tst-tls-atexit-nodelete.c: New test case.
10798         * stdlib/Makefile (tests): Use it.
10799         * stdlib/tst-tls-atexit.c (do_test): dlopen
10800         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
10801         to allow tst-tls-atexit-nodelete test case to use it.
10803 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10805         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
10806         to bits/types.h.
10807         (msgqnum_t): New typedef.
10808         (msglen_t): Likewise.
10809         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
10810         and msg_qbytes type to msglen_t.
10812 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10814         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
10815         pad0 to __glibc_reserved0.
10816         (struct stat64): Likewise.
10818 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10820         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
10821         Change sa_flags from a long to an int and add __glibc_reserved0 before
10822         it for padding.
10824 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
10826         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
10827         anonymous by deleting "siginfo" name.
10829 2015-07-21  Roland McGrath  <roland@hack.frob.com>
10831         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
10832         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
10833         rather than __nacl_irt_filename.
10834         * sysdeps/nacl/xstat.c (__xstat): Likewise.
10836         * NEWS: New item for arm-nacl port.
10837         * sysdeps/arm/nacl/libc.abilist: New file.
10838         * sysdeps/nacl/ld.abilist: New file.
10839         * sysdeps/nacl/libBrokenLocale.abilist: New file.
10840         * sysdeps/nacl/libanl.abilist: New file.
10841         * sysdeps/nacl/libcrypt.abilist: New file.
10842         * sysdeps/nacl/libdl.abilist: New file.
10843         * sysdeps/nacl/libm.abilist: New file.
10844         * sysdeps/nacl/libpthread.abilist: New file.
10845         * sysdeps/nacl/libresolv.abilist: New file.
10846         * sysdeps/nacl/librt.abilist: New file.
10848 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
10850         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
10851         __startcontext to initialize the new context.
10852         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
10853         up CFI directive to forbid further backtracing.
10855 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
10857         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
10858         reference.
10859         * charmaps/ANSI_X3.4-1968: Likewise.
10860         * charmaps/BS_4730: Likewise.
10861         * charmaps/BS_VIEWDATA: Likewise.
10862         * charmaps/CP1250: Likewise.
10863         * charmaps/CP1251: Likewise.
10864         * charmaps/CP1252: Likewise.
10865         * charmaps/CP1253: Likewise.
10866         * charmaps/CP1254: Likewise.
10867         * charmaps/CP1255: Likewise.
10868         * charmaps/CP1256: Likewise.
10869         * charmaps/CSN_369103: Likewise.
10870         * charmaps/EBCDIC-DK-NO: Likewise.
10871         * charmaps/GB_1988-80: Likewise.
10872         * charmaps/GREEK-CCITT: Likewise.
10873         * charmaps/GREEK7: Likewise.
10874         * charmaps/INIS-8: Likewise.
10875         * charmaps/ISIRI-3342: Likewise.
10876         * charmaps/ISO_2033-1983: Likewise.
10877         * charmaps/ISO_5427-EXT: Likewise.
10878         * locales/POSIX: Likewise.
10879         * locales/ar_SA: Likewise.
10880         * locales/be_BY: Likewise.
10881         * locales/be_BY@latin: Likewise.
10882         * locales/ca_ES: Likewise.
10883         * locales/cs_CZ: Likewise.
10884         * locales/da_DK: Likewise.
10885         * locales/de_BE: Likewise.
10886         * locales/de_CH: Likewise.
10887         * locales/de_LU: Likewise.
10888         * locales/en_AU: Likewise.
10889         * locales/en_BW: Likewise.
10890         * locales/en_CA: Likewise.
10891         * locales/en_DK: Likewise.
10892         * locales/en_GB: Likewise.
10893         * locales/en_IE: Likewise.
10894         * locales/en_NZ: Likewise.
10895         * locales/en_ZA: Likewise.
10896         * locales/en_ZW: Likewise.
10897         * locales/es_AR: Likewise.
10898         * locales/es_BO: Likewise.
10899         * locales/es_CL: Likewise.
10900         * locales/es_CO: Likewise.
10901         * locales/es_DO: Likewise.
10902         * locales/es_EC: Likewise.
10903         * locales/es_ES: Likewise.
10904         * locales/es_HN: Likewise.
10905         * locales/es_MX: Likewise.
10906         * locales/es_PA: Likewise.
10907         * locales/es_PE: Likewise.
10908         * locales/es_PY: Likewise.
10909         * locales/es_SV: Likewise.
10910         * locales/es_US: Likewise.
10911         * locales/es_UY: Likewise.
10912         * locales/es_VE: Likewise.
10913         * locales/et_EE: Likewise.
10914         * locales/fa_IR: Likewise.
10915         * locales/fo_FO: Likewise.
10916         * locales/fr_CA: Likewise.
10917         * locales/fr_CH: Likewise.
10918         * locales/gv_GB: Likewise.
10919         * locales/he_IL: Likewise.
10920         * locales/hr_HR: Likewise.
10921         * locales/id_ID: Likewise.
10922         * locales/is_IS: Likewise.
10923         * locales/it_CH: Likewise.
10924         * locales/iw_IL: Likewise.
10925         * locales/kl_GL: Likewise.
10926         * locales/ko_KR: Likewise.
10927         * locales/kw_GB: Likewise.
10928         * locales/lg_UG: Likewise.
10929         * locales/lt_LT: Likewise.
10930         * locales/lv_LV: Likewise.
10931         * locales/mi_NZ: Likewise.
10932         * locales/nhn_MX: Likewise.
10933         * locales/nl_BE: Likewise.
10934         * locales/pl_PL: Likewise.
10935         * locales/sk_SK: Likewise.
10936         * locales/sl_SI: Likewise.
10937         * locales/sv_FI: Likewise.
10938         * locales/tl_PH: Likewise.
10939         * locales/tr_TR: Likewise.
10940         * locales/vi_VN: Likewise.
10942 2015-07-21  Khem Raj  <raj.khem@gmail.com>
10944         [BZ #17475]
10945         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
10946         of tu_IN and bh_IN.
10948 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
10950         [BZ #18694]
10951         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
10952         bits/wordsize.h.
10953         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
10955 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10957         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
10958         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
10959         (spawn_thread): New function.
10960         (load): Rename to reg_dtor_and_close.  Move dlopen to...
10961         (do_test): ... here.  Use IS_LOADED to test for its
10962         availability.
10964 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
10966         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10968 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
10970         [BZ #18696]
10971         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
10972         si_addr_bnd.
10973         (si_lower): New.
10974         (si_upper): Likewise.
10976 2015-07-16  David S. Miller  <davem@davemloft.net>
10978         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
10980 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10982         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
10983         buffer.
10984         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
10985         fail output information.
10987 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10989         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
10990         and strstr-ppc64..
10991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
10992         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
10993         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
10994         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
10995         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
10997 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
10999         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11000         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11001         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
11002         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11004 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
11006         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
11007         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
11008         rtld_hidden_proto.
11009         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
11011 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11013         * tst-nodelete-opened.c (do_test): Add comment to clarify how
11014         the test can fail.
11016         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
11018         [BZ #18676]
11019         * elf/tst-nodelete-opened.c: New test case.
11020         * elf/tst-nodelete-opened-lib.c: New test case module.
11021         * elf/Makefile (tests, modules-names): Use them.
11022         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
11023         early.
11025 2015-07-15  David S. Miller  <davem@davemloft.net>
11027         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
11028         futex-intenal.h
11029         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
11030         * sysdeps/sparc/sparc64/Makefile: Likewise.
11031         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11032         Remove space from macro define.
11033         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
11035 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
11037         [BZ #17475]
11038         * locale/iso-639.def: Update Bhili and Tulu language codes as
11039         per iso639-3.
11041 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
11043         * elf/tst-leaks1.c (main): Converted to ...
11044         (do_test): ... this.
11045         (TEST_FUNCTION): New macro.
11046         Include test-skeleton.c.
11047         * localedata/tst-langinfo.c (main): Converted to ...
11048         (do_test): ... this.
11049         (TEST_FUNCTION): New macro.
11050         Include test-skeleton.c.
11051         * math/test-fpucw.c (main): Converted to ...
11052         (do_test): ... this.
11053         (TEST_FUNCTION): New macro.
11054         Include test-skeleton.c.
11055         * math/test-tgmath.c (main): Converted to ...
11056         (do_test): ... this.
11057         (TEST_FUNCTION): New macro.
11058         Include test-skeleton.c.
11059         * math/test-tgmath2.c (main): Converted to ...
11060         (do_test): ... this.
11061         (TEST_FUNCTION): New macro.
11062         Include test-skeleton.c.
11063         * setjmp/tst-setjmp.c (main): Converted to ...
11064         (do_test): ... this.
11065         (TEST_FUNCTION): New macro.
11066         Include test-skeleton.c.
11067         * stdio-common/tst-sscanf.c (main): Converted to ...
11068         (do_test): ... this.
11069         (TEST_FUNCTION): New macro.
11070         Include test-skeleton.c.
11071         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
11072         (do_test): ... this.
11073         (TEST_FUNCTION): New macro.
11074         Include test-skeleton.c.
11076         * elf/tst-audit9.c (main): Converted to ...
11077         (do_test): ... this.
11078         (TEST_FUNCTION): New macro.
11079         Include test-skeleton.c.
11081 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
11083         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
11085 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11087         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
11088         New variable.
11090 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11092         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11094 2015-07-14  Roland McGrath  <roland@hack.frob.com>
11096         * sysdeps/generic/dl-fileid.h: New file.
11097         * sysdeps/posix/dl-fileid.h: New file.
11098         * sysdeps/nacl/dl-fileid.h: New file.
11099         * include/link.h: Include <dl-fileid.h>.
11100         (struct link_map): Replace l_dev and l_ino with l_file_id.
11101         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
11102         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
11103         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
11105 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11107         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
11109 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11111         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
11112         Add iff $CXX is set.
11113         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
11114         Likewise.
11115         (tst-nodelete-zmodiff): Likewise.
11116         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
11118 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11120         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
11122 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
11124         * sysdeps/aarch64/fpu/math_private.h
11125         (define math_opt_barrier): Add AArch64 version.
11126         (math_force_eval): Likewise.
11128 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
11130         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
11132 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
11134         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
11135         %ld with %jd and cast to intmax_t.
11136         (do_test_length_zero): Likewise.
11138 2015-07-10  Roland McGrath  <roland@hack.frob.com>
11140         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
11142 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
11144         * sysdeps/tile/libm-test-ulps: Regenerated.
11146         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
11147         Comment out the whole function, not just its body.
11149 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11151         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
11152         locks.
11154         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
11156 2015-07-10  Torvald Riegel  <triegel@redhat.com>
11158         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
11159         (sem_assume_only_signals_cause_futex_EINTR): Remove.
11161 2015-07-10  Torvald Riegel  <triegel@redhat.com>
11163         * sysdeps/nptl/futex-internal.h: New file.
11164         * sysdeps/nacl/futex-internal.h: New file.
11165         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
11166         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
11167         error checking.
11168         (setxid_unmark_thread): Likewise.
11169         (__nptl_setxid): Likewise.
11170         (__wait_lookup_done): Likewise.
11171         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
11172         * nptl/nptl-init.c (sighandler_setxid): Likewise.
11173         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
11174         * nptl/pthread_once.c (clear_once_control): Likewise.
11175         (__pthread_once_slow): Likewise.
11176         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11177         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
11178         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
11179         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
11180         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
11181         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
11182         Likewise.
11183         (__pthread_rwlock_rdlock): Likewise.
11184         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11185         Likewise.
11186         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11187         Likewise.
11188         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
11189         Likewise.
11190         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
11191         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
11192         Likewise.
11193         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
11194         __ASSUME_PRIVATE_FUTEX check.
11195         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
11196         Check that shared futexes are supported.
11197         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
11198         wrappers with error checking.
11199         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
11200         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
11201         * nptl/pthread_barrierattr_setpshared.c
11202         (pthread_barrierattr_setpshared): Check that shared futexes are
11203         supported.
11204         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
11205         Likewise.
11206         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
11207         Likewise.
11208         * nptl/sem_init.c (futex_private_if_supported): Remove.
11209         (__new_sem_init): Adapt and check that shared futexes are supported.
11210         * nptl/sem_open.c (sem_open): Likewise.
11211         * nptl/sem_post.c (futex_wake): Remove.
11212         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
11213         (do_futex_wait): Use futex wrappers with error checking.
11214         * nptl/sem_wait.c: Include lowlevellock.h.
11215         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
11216         Use futex_supports_pshared.
11217         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
11218         Use futex wrappers with error checking.
11219         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
11220         Likewise.
11221         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
11222         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
11223         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
11224         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
11225         (futex_wake): Likewise.
11226         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
11227         (do_futex_wait): Use futex wrappers with error checking.
11228         (__new_sem_wait_slow): Update EINTR handling.
11229         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
11231 2015-07-09  Martin Sebor  <msebor@redhat.com>
11233         [BZ #18435]
11234         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11235         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
11236         * nptl/Makefile (test-xfail-tst-once5): Define.
11238 2015-07-09  Roland McGrath  <roland@hack.frob.com>
11240         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
11241         * elf/dl-minimal.c: For readability, reorder some definitions and
11242         introduce more page breaks.  Include <stdio.h>.
11243         (__libc_fatal): New function.
11245         * include/unistd.h: Add rtld_hidden_proto for _exit.
11246         * posix/_exit.c: Add rtld_hidden_def.
11247         * sysdeps/mach/hurd/_exit.c: Likewise.
11248         * sysdeps/nacl/_exit.c: Likewise.
11249         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
11250         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
11252 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
11254         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
11255         bndmov encoding with zero displacement.
11257 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11258             H.J. Lu  <hongjiu.lu@intel.com>
11260         [BZ #18134]
11261         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
11262         * sysdeps/i386/configure: Regenerated.
11263         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
11264         (_dl_runtime_profile): Save and restore Intel MPX return bound
11265         registers when calling _dl_call_pltexit.  Add
11266         PRESERVE_BND_REGS_PREFIX before return.
11267         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
11268         (LRV_BND1_OFFSET): Likewise.
11269         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
11270         lrv_bnd1.
11271         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
11272         typo in bndmov encoding.
11273         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
11274         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
11275         branch instructions to preserve bounds.
11277 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
11280         [GLIBC_2.22]: Add fmemopen.
11282 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11284         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
11285         returns an error, also try to use host port from __mach_host_self for
11286         the __vm_wire call.
11287         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
11289 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11291         [BZ #18400]
11292         [BZ #18648]
11293         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
11294         Fix pr_uid and pr_gid members.
11295         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
11296         definition to elf_greg_t.
11298 2015-07-08  Roland McGrath  <roland@hack.frob.com>
11300         [BZ #18383]
11301         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
11302         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
11303         * sysdeps/arm/configure: Regenerated.
11304         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
11305         (test-xfail-tst-tlsalign-static): Variable removed.
11307         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
11308         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
11309         rather than explicit 'ln -s'.
11311         * resolv/rpc/netdb.h: New file.
11312         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
11314 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11316         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
11317         length buffers.
11318         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
11319         test-skeleton.c.
11321         [BZ #6544]
11322         [BZ #11216]
11323         [BZ #12836]
11324         [BZ #13151]
11325         [BZ #13152]
11326         [BZ #14292]
11327         * include/stdio.h (fmemopen): Remove hidden prototype.
11328         (__fmemopen): Add new hidden prototype.
11329         * libio/Makefile: Add oldfmemopen object.
11330         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
11331         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
11332         compliance.
11333         * libio/oldfmemopen.c: New file: old fmemopen implementation for
11334         symbol compatibility.
11335         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
11336         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
11337         fmemopen.
11338         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
11339         on append and read mode.
11340         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
11341         fmemopen.
11342         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
11343         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
11344         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
11345         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
11346         Likewise.
11347         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
11348         [GLIBC_2.22]: Likewise.
11349         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
11350         Likewise.
11351         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
11352         Likewise.
11353         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
11354         [GLIBC_2.22]: Likewise.
11355         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
11356         [GLIBC_2.22]: Likewise.
11357         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
11358         [GLIBC_2.22]: Likewise.
11359         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
11360         [GLIBC_2.22]: Likewise.
11361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
11362         [GLIBC_2.22]: Likewise.
11363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
11364         [GLIBC_2.22]: Likewise.
11365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
11366         [GLIBC_2.22]: Likewise.
11367         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
11368         Likewise.
11369         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
11370         Likewise.
11371         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
11372         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
11373         [GLIBC_2.22]: Likewise.
11374         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
11375         [GLIBC_2.22]: Likewise.
11376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
11377         [GLIBC_2.22]: Likewise.
11378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
11379         [GLIBC_2.22]: Likewise.
11380         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
11381         Likewise.
11382         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
11383         Likewise.
11384         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
11385         Likewise.
11386         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
11387         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
11389 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
11391         [BZ #18643]
11392         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
11393         IPV6_PATHMTU, and IPV6_DONTFRAG.
11395 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
11397         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
11398         and _IO_UNBUFFERED.
11399         * libio/oldfileops.c: Likewise.
11400         * libio/wfileops.c: Likewise.
11402 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
11404         * nscd/selinux.c: Delete selinux/flask.h include.
11406 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
11408         [BZ #18641]
11409         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
11410         (putpwent): Likewise.
11411         (getpwnam): Likewise.
11412         (getpwent_r): Likewise.
11413         (getpwuid_r): Likewise.
11414         (getpwnam_r): Likewise.
11415         (fgetpwent_r): Likewise.
11417 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
11419         [BZ #18557]
11420         * inet/rcmd.c (__validuser2_sa): Check user first to
11421         short-circuit host check.
11423 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
11424             Mikhail Ilin  <m.ilin@samsung.com>
11426         [BZ #17833]
11427         * elf/Makefile (tests): Add tst-nodelete.
11428         (modules-names): Add tst-nodelete-uniquemod.
11429         (tst-nodelete-uniquemod.so-no-z-defs): New.
11430         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
11431         (tst-nodelete-zmod.so-no-z-defs): Likewise.
11432         ($(objpfx)tst-nodelete): Likewise.
11433         ($(objpfx)tst-nodelete.out): Likewise.
11434         (LDFLAGS-tst-nodelete): Likewise.
11435         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
11436         * elf/dl-close.c (_dl_close_worker): Add a parameter to
11437         implement forced object deletion.
11438         (_dl_close): Pass false to _dl_close_worker.
11439         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
11440         * elf/tst-nodelete.cc: New file.
11441         * elf/tst-nodeletelib.cc: Likewise.
11442         * elf/tst-znodeletelib.cc: Likewise.
11443         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
11445 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11447         [BZ #18508]
11448         * stdlib/Makefile ($(objpfx)tst-makecontext3):
11449         Depend on $(libdl).
11450         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
11451         is not called infinitely times.
11452         (backtrace_helper): New function.
11453         (trace_arg): New struct.
11454         (st1): Enlarge stack size.
11455         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
11456         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
11457         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
11458         Likewise.
11460 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11462         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11464 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
11466         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
11467         Include sys/types.h instead of bits/types.h.
11468         Remove inclusion of bits/wordsize.h.
11470 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11472         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
11473         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
11474         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
11475         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
11476         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
11477         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
11479 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11481         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
11482         link-defines.sym.
11483         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
11484         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
11485         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
11486         and LR_SIZE.
11487         * sysdeps/i386/link-defines.sym: New file.
11489 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
11491         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
11492         (modules-names): Add tst-auditmod3a tst-auditmod3b.
11493         ($(objpfx)tst-audit3): New rule.
11494         ($(objpfx)tst-audit3.out): Likewise.
11495         * sysdeps/i386/tst-audit3.c: New file.
11496         * sysdeps/i386/tst-audit3.h: Likewise.
11497         * sysdeps/i386/tst-auditmod3a.c: Likewise.
11498         * sysdeps/i386/tst-auditmod3b.c: Likewise.
11500 2015-07-07  Torvald Riegel  <triegel@redhat.com>
11502         [BZ #18633]
11503         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
11504         pointer in C code.
11505         (__strcat_c): Likewise.
11506         (__strcat_g): Likewise.
11508 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
11510         [BZ #18592]
11511         * misc/sbrk.c: Set errno to ENOMEM on overflow.
11513 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
11515         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
11516         New function.  (__ieee754_sqrtf): New function.
11517         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
11518         New function.
11519         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
11520         New function.
11522 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
11524         * sysdeps/ieee754/support.c: Remove unused file.
11526 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11528         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
11529         registers instead of d ones so the layout is kernel abi compatible.
11530         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
11531         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
11532         Likewise.
11534 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11536         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11538 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
11540         [BZ #18619]
11541         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
11542         and return argument in case of subnormal argument.
11544 2015-07-01  Martin Sebor  <msebor@redhat.com>
11546         [BZ #18435]
11547         * nptl/Makefile: Add tst-once5.cc.
11548         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
11549         Remove macro redefinitions.
11550         * nptl/tst-once5.cc: New test.
11552 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
11554         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11556         * sysdeps/arm/libm-test-ulps: Regenerated.
11558         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11559         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11561 2015-06-30  Torvald Riegel  <triegel@redhat.com>
11563         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
11564         lll_lock_wait_private and lll_futex_wake probes.
11566         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11567         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
11568         Likewise.
11569         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
11570         atomic_spin_nop.
11571         * sysdeps/x86_64/bits/atomic.h: Likewise.
11572         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
11573         to atomic_spin_nop and move ...
11574         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
11575         ... here and ...
11576         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
11577         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
11578         atomic_spin_nop instead of BUSY_WAIT_NOP.
11579         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
11580         Likewise.
11581         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
11582         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
11583         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
11584         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
11585         instead of atomic_delay.
11587 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
11589         [BZ #18613]
11590         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
11591         X_ADJ not X when adjusting exponent.
11592         (__ieee754_gamma_r): Do intermediate computations in
11593         round-to-nearest then adjust overflowing and underflowing results
11594         as needed.
11595         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
11596         of X_ADJ not X when adjusting exponent.
11597         (__ieee754_gammaf_r): Do intermediate computations in
11598         round-to-nearest then adjust overflowing and underflowing results
11599         as needed.
11600         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
11601         log of X_ADJ not X when adjusting exponent.
11602         (__ieee754_gammal_r): Do intermediate computations in
11603         round-to-nearest then adjust overflowing and underflowing results
11604         as needed.  Use 1.0L not 1.0f as numerator of division.
11605         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
11606         log of X_ADJ not X when adjusting exponent.
11607         (__ieee754_gammal_r): Do intermediate computations in
11608         round-to-nearest then adjust overflowing and underflowing results
11609         as needed.  Use 1.0L not 1.0f as numerator of division.
11610         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
11611         of X_ADJ not X when adjusting exponent.
11612         (__ieee754_gammal_r): Do intermediate computations in
11613         round-to-nearest then adjust overflowing and underflowing results
11614         as needed.  Use 1.0L not 1.0f as numerator of division.
11615         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
11616         to auto-libm-test-in.
11617         (tgamma_test): Use ALL_RM_TEST.
11618         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
11619         tests of tgamma with spurious-overflow.
11620         * math/auto-libm-test-out: Regenerated.
11621         * math/gen-libm-have-vector-test.sh: Do not check for START.
11622         * sysdeps/i386/fpu/libm-test-ulps: Update.
11623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11625         [BZ #18612]
11626         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
11627         arguments, just return 0.5 times the argument, with underflow
11628         forced as needed.
11629         * math/auto-libm-test-in: Add more tests of j1.
11630         * math/auto-libm-test-out: Regenerated.
11632         [BZ #16559]
11633         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
11634         (__ieee754_j1): Force underflow exception for small results.
11635         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
11636         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
11637         (__ieee754_j1f): Force underflow exception for small results.
11638         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11639         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11640         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11641         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
11642         (__ieee754_j1l): Force underflow exception for small results.
11643         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11644         * math/auto-libm-test-in: Add more tests of j1 and jn.
11645         * math/auto-libm-test-out: Regenerated.
11647         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
11648         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
11649         (PF_MPLS): Likewise.
11650         (AF_IB): Likewise.
11651         (AF_MPLS): Likewise.
11652         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
11653         value and macro.
11654         (MS_RMT_MASK): Include MS_LAZYTIME.
11656 2015-06-26  Mel Gorman  <mgorman@suse.de>
11658         [BZ #18502]
11659         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
11660         already minimal.
11662 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
11664         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
11665         (DT_MIPS_NUM): Update.
11666         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
11667         DT_MIPS_RLD_MAP_REL.
11669 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
11671         [BZ #16559]
11672         [BZ #18602]
11673         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
11674         round-to-nearest internally then recompute results that
11675         underflowed to zero in the original rounding mode.
11676         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
11677         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
11678         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11679         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
11680         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
11681         * sysdeps/i386/fpu/libm-test-ulps: Update.
11682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11684 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
11686         * NEWS: Fixed description of link with vector math library.
11688 2015-06-25  Andreas Schwab  <schwab@suse.de>
11690         [BZ #18549]
11691         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
11692         * libio/test-fmemopen.c (do_test): Add test for it.
11694 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
11696         [BZ #17841]
11697         * Makeconfig (no-pie-ldflag): New.
11698         (+link): Set to $(+link-pie) if default to PIE.
11699         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
11700         * config.make.in (build-pie-default): New.
11701         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
11702         is default.  AC_SUBST.
11703         * configure: Regenerated.
11704         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
11706 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11708         * nptl/descr.h (struct pthread): Change type of field setxid_futex
11709         to 'unsigned int'.
11711         * resolv/gai_misc.h (struct waitlist): Change type of field
11712         counterp to 'volatile unsigned int *'.
11713         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
11714         FUTEXADDR and OLDVAL.
11715         * resolv/getaddrinfo_a.c (getaddrinfo_a):
11716         Give local variable TOTAL type 'volatile unsigned int'.
11717         (struct async_waitlist): Change type of field counter to 'unsigned int'.
11718         * resolv/gai_suspend.c (gai_suspend):
11719         Give local variable CNTR type 'unsigned int'.
11721         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
11722         counterp to 'volatile unsigned int *'.
11723         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
11724         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
11725         (aio_suspend): Give local variable CNTR type 'unsigned int'.
11726         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
11727         Give local variable TOTAL type 'volatile unsigned int'.
11728         (struct async_waitlist): Change type of field counter to 'unsigned int'.
11730 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
11732         [BZ #18383]
11733         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
11734         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
11735         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
11736         comment for i386/x86-64.
11737         (test-xfail-tst-tlsalign-extern-static): Removed.
11739 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11741         * math/test-double.h: New file.
11742         * math/test-float.h: Likewise.
11743         * math/test-ldouble.h: Likewise.
11744         * math/test-math-inline.h: Likewise.
11745         * math/test-math-no-inline.h: Likewise.
11746         * math/test-math-scalar.h: Likewise.
11747         * math/test-math-vector.h: Likewise.
11748         * math/test-vec-loop.h: Remove file.  Contents moved into
11749         test-math-vector.h.
11750         * math/libm-test.inc (MATHCONST): Do not document macro.
11751         * math/test-double.c: Include test-double.h, test-math-no-inline.h
11752         and test-math-scalar.h.
11753         (FUNC): Remove macro.
11754         (FUNC_TEST): Likewise.
11755         (FLOAT): Likewise.
11756         (MATHCONST): Likewise.
11757         (PRINTF_EXPR): Likewise.
11758         (PRINTF_XEXPR): Likewise.
11759         (PRINTF_NEXPR): Likewise.
11760         (TEST_DOUBLE): Likewise.
11761         (TEST_MATHVEC): Likewise.
11762         (__NO_MATH_INLINES): Likewise.
11763         * math/test-float.c: Include test-float.h, test-math-no-inline.h
11764         and test-math-scalar.h.
11765         (FUNC): Remove macro.
11766         (FUNC_TEST): Likewise.
11767         (FLOAT): Likewise.
11768         (MATHCONST): Likewise.
11769         (PRINTF_EXPR): Likewise.
11770         (PRINTF_XEXPR): Likewise.
11771         (PRINTF_NEXPR): Likewise.
11772         (TEST_FLOAT): Likewise.
11773         (TEST_MATHVEC): Likewise.
11774         (__NO_MATH_INLINES): Likewise.
11775         * math/test-idouble.c: Include test-double.h, test-math-inline.h
11776         and test-math-scalar.h.
11777         (FUNC): Remove macro.
11778         (FUNC_TEST): Likewise.
11779         (FLOAT): Likewise.
11780         (MATHCONST): Likewise.
11781         (PRINTF_EXPR): Likewise.
11782         (PRINTF_XEXPR): Likewise.
11783         (PRINTF_NEXPR): Likewise.
11784         (TEST_DOUBLE): Likewise.
11785         (TEST_MATHVEC): Likewise.
11786         (TEST_INLINE): Likewise.
11787         (__NO_MATH_INLINES): Likewise.
11788         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
11789         test-math-scalar.h.
11790         (FUNC): Remove macro.
11791         (FUNC_TEST): Likewise.
11792         (FLOAT): Likewise.
11793         (MATHCONST): Likewise.
11794         (PRINTF_EXPR): Likewise.
11795         (PRINTF_XEXPR): Likewise.
11796         (PRINTF_NEXPR): Likewise.
11797         (TEST_FLOAT): Likewise.
11798         (TEST_MATHVEC): Likewise.
11799         (TEST_INLINE): Likewise.
11800         (__NO_MATH_INLINES): Likewise.
11801         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
11802         and test-math-scalar.h.
11803         (FUNC): Remove macro.
11804         (FUNC_TEST): Likewise.
11805         (FLOAT): Likewise.
11806         (MATHCONST): Likewise.
11807         (PRINTF_EXPR): Likewise.
11808         (PRINTF_XEXPR): Likewise.
11809         (PRINTF_NEXPR): Likewise.
11810         (TEST_LDOUBLE): Likewise.
11811         (TEST_MATHVEC): Likewise.
11812         (TEST_INLINE): Likewise.
11813         (__NO_MATH_INLINES): Likewise.
11814         * math/test-ldouble.c: Include test-ldouble.h,
11815         test-math-no-inline.h and test-math-scalar.h.
11816         (FUNC): Remove macro.
11817         (FUNC_TEST): Likewise.
11818         (FLOAT): Likewise.
11819         (MATHCONST): Likewise.
11820         (PRINTF_EXPR): Likewise.
11821         (PRINTF_XEXPR): Likewise.
11822         (PRINTF_NEXPR): Likewise.
11823         (TEST_LDOUBLE): Likewise.
11824         (TEST_MATHVEC): Likewise.
11825         (__NO_MATH_INLINES): Likewise.
11826         * math/test-double-vlen2.h: Include test-double.h,
11827         test-math-no-inline.h and test-math-vector.h.
11828         (FLOAT): Remove macro.
11829         (FUNC): 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         (CNCT): Likewise.
11838         (CONCAT): Likewise.
11839         (WRAPPER_NAME): Likewise.
11840         (WRAPPER_DECL): Likewise.
11841         (WRAPPER_DECL_ff): Likewise.
11842         (WRAPPER_DECL_fFF): Likewise.
11843         (VECTOR_WRAPPER): Likewise.
11844         (VECTOR_WRAPPER_ff): Likewise.
11845         (VECTOR_WRAPPER_fFF): Likewise.
11846         (VEC_LEN): New macro.
11847         * math/test-double-vlen4.h: Include test-double.h,
11848         test-math-no-inline.h and test-math-vector.h.
11849         (FLOAT): Remove macro.
11850         (FUNC): Likewise.
11851         (MATHCONST): Likewise.
11852         (PRINTF_EXPR): Likewise.
11853         (PRINTF_XEXPR): Likewise.
11854         (PRINTF_NEXPR): Likewise.
11855         (TEST_DOUBLE): Likewise.
11856         (TEST_MATHVEC): Likewise.
11857         (__NO_MATH_INLINES): Likewise.
11858         (CNCT): Likewise.
11859         (CONCAT): Likewise.
11860         (WRAPPER_NAME): Likewise.
11861         (WRAPPER_DECL): Likewise.
11862         (WRAPPER_DECL_ff): Likewise.
11863         (WRAPPER_DECL_fFF): Likewise.
11864         (VECTOR_WRAPPER): Likewise.
11865         (VECTOR_WRAPPER_ff): Likewise.
11866         (VECTOR_WRAPPER_fFF): Likewise.
11867         (VEC_LEN): New macro.
11868         * math/test-double-vlen8.h: Include test-double.h,
11869         test-math-no-inline.h and test-math-vector.h.
11870         (FLOAT): Remove macro.
11871         (FUNC): Likewise.
11872         (MATHCONST): Likewise.
11873         (PRINTF_EXPR): Likewise.
11874         (PRINTF_XEXPR): Likewise.
11875         (PRINTF_NEXPR): Likewise.
11876         (TEST_DOUBLE): Likewise.
11877         (TEST_MATHVEC): Likewise.
11878         (__NO_MATH_INLINES): Likewise.
11879         (CNCT): Likewise.
11880         (CONCAT): Likewise.
11881         (WRAPPER_NAME): Likewise.
11882         (WRAPPER_DECL): Likewise.
11883         (WRAPPER_DECL_ff): Likewise.
11884         (WRAPPER_DECL_fFF): Likewise.
11885         (VECTOR_WRAPPER): Likewise.
11886         (VECTOR_WRAPPER_ff): Likewise.
11887         (VECTOR_WRAPPER_fFF): Likewise.
11888         (VEC_LEN): New macro.
11889         * math/test-float-vlen4.h: Include test-float.h,
11890         test-math-no-inline.h and test-math-vector.h.
11891         (FLOAT): Remove macro.
11892         (FUNC): Likewise.
11893         (MATHCONST): Likewise.
11894         (PRINTF_EXPR): Likewise.
11895         (PRINTF_XEXPR): Likewise.
11896         (PRINTF_NEXPR): Likewise.
11897         (TEST_FLOAT): Likewise.
11898         (TEST_MATHVEC): Likewise.
11899         (__NO_MATH_INLINES): Likewise.
11900         (CNCT): Likewise.
11901         (CONCAT): Likewise.
11902         (WRAPPER_NAME): Likewise.
11903         (WRAPPER_DECL): Likewise.
11904         (WRAPPER_DECL_ff): Likewise.
11905         (WRAPPER_DECL_fFF): Likewise.
11906         (VECTOR_WRAPPER): Likewise.
11907         (VECTOR_WRAPPER_ff): Likewise.
11908         (VECTOR_WRAPPER_fFF): Likewise.
11909         (VEC_LEN): New macro.
11910         * math/test-float-vlen8.h: Include test-float.h,
11911         test-math-no-inline.h and test-math-vector.h.
11912         (FLOAT): Remove macro.
11913         (FUNC): Likewise.
11914         (MATHCONST): Likewise.
11915         (PRINTF_EXPR): Likewise.
11916         (PRINTF_XEXPR): Likewise.
11917         (PRINTF_NEXPR): Likewise.
11918         (TEST_FLOAT): Likewise.
11919         (TEST_MATHVEC): Likewise.
11920         (__NO_MATH_INLINES): Likewise.
11921         (CNCT): Likewise.
11922         (CONCAT): Likewise.
11923         (WRAPPER_NAME): Likewise.
11924         (WRAPPER_DECL): Likewise.
11925         (WRAPPER_DECL_ff): Likewise.
11926         (WRAPPER_DECL_fFF): Likewise.
11927         (VECTOR_WRAPPER): Likewise.
11928         (VECTOR_WRAPPER_ff): Likewise.
11929         (VECTOR_WRAPPER_fFF): Likewise.
11930         (VEC_LEN): New macro.
11931         * math/test-float-vlen16.h: Include test-float.h,
11932         test-math-no-inline.h and test-math-vector.h.
11933         (FLOAT): Remove macro.
11934         (FUNC): Likewise.
11935         (MATHCONST): Likewise.
11936         (PRINTF_EXPR): Likewise.
11937         (PRINTF_XEXPR): Likewise.
11938         (PRINTF_NEXPR): Likewise.
11939         (TEST_FLOAT): Likewise.
11940         (TEST_MATHVEC): Likewise.
11941         (__NO_MATH_INLINES): Likewise.
11942         (CNCT): Likewise.
11943         (CONCAT): Likewise.
11944         (WRAPPER_NAME): Likewise.
11945         (WRAPPER_DECL): Likewise.
11946         (WRAPPER_DECL_ff): Likewise.
11947         (WRAPPER_DECL_fFF): Likewise.
11948         (VECTOR_WRAPPER): Likewise.
11949         (VECTOR_WRAPPER_ff): Likewise.
11950         (VECTOR_WRAPPER_fFF): Likewise.
11951         (VEC_LEN): New macro.
11952         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
11953         test-vec-loop.h.
11954         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
11955         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
11956         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
11957         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
11958         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
11959         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
11960         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
11962 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11964         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
11965         (__getlogin_r): ... this.
11967 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
11969         [BZ #18594]
11970         * math/s_ccosh.c (__ccosh): Compare with least normal value
11971         instead of comparing class with FP_SUBNORMAL.
11972         * math/s_ccoshf.c (__ccoshf): Likewise.
11973         * math/s_ccoshl.c (__ccoshl): Likewise.
11974         * math/s_cexp.c (__cexp): Likewise.
11975         * math/s_cexpf.c (__cexpf): Likewise.
11976         * math/s_cexpl.c (__cexpl): Likewise.
11977         * math/s_csin.c (__csin): Likewise.
11978         * math/s_csinf.c (__csinf): Likewise.
11979         * math/s_csinh.c (__csinh): Likewise.
11980         * math/s_csinhf.c (__csinhf): Likewise.
11981         * math/s_csinhl.c (__csinhl): Likewise.
11982         * math/s_csinl.c (__csinl): Likewise.
11983         * math/s_ctan.c (__ctan): Likewise.
11984         * math/s_ctanf.c (__ctanf): Likewise.
11985         * math/s_ctanh.c (__ctanh): Likewise.
11986         * math/s_ctanhf.c (__ctanhf): Likewise.
11987         * math/s_ctanhl.c (__ctanhl): Likewise.
11988         * math/s_ctanl.c (__ctanl): Likewise.
11989         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
11990         csin, csinh, ctan and ctanh.
11991         * math/auto-libm-test-out: Regenerated.
11992         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
11993         * sysdeps/i386/fpu/libm-test-ulps: Update.
11994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11996 2015-06-24  Roland McGrath  <roland@hack.frob.com>
11998         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
11999         return value is wrong, print the expected value too.
12001 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
12003         [BZ #18585]
12004         * elf/readlib.c (is_gdb_python_file): New.
12005         (process_file): Don't issue errors on filenames with -gdb.py
12006         suffix.
12008 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
12010         * math/auto-libm-test-in: Add more tests of csin and csinh.
12011         * math/auto-libm-test-out: Regenerated.
12012         * math/libm-test.inc (csin_test_data): Remove tests moved to
12013         auto-libm-test-in.
12014         (csinh_test_data): Likewise.
12016         [BZ #18593]
12017         * math/s_csin.c (__csin): Negate before rather than after possibly
12018         overflowing multiplication.
12019         * math/s_csinf.c (__csinf): Likewise.
12020         * math/s_csinh.c (__csinh): Likewise.
12021         * math/s_csinhf.c (__csinhf): Likewise.
12022         * math/s_csinhl.c (__csinhl): Likewise.
12023         * math/s_csinl.c (__csinl): Likewise.
12024         * math/auto-libm-test-in: Add some tests of csin and csinh.
12025         * math/auto-libm-test-out: Regenerated.
12026         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
12027         (csinh_test_data): Likewise.
12028         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12030         [BZ #18586]
12031         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
12032         underflow exception for small results.
12034 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
12036         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12037         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
12038         variable and included header.
12039         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
12040         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
12041         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
12042         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
12043         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
12044         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
12045         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
12046         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
12047         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
12048         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
12049         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
12050         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
12051         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
12052         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
12053         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
12054         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
12056 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12058         [BZ #16526]
12059         [BZ #16538]
12060         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
12061         (__sin): Force underflow exception for arguments with small
12062         absolute value.
12063         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
12064         (__kernel_sinf): Force underflow exception for arguments with
12065         small absolute value.
12066         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
12067         (__kernel_sincosl): Force underflow exception for arguments with
12068         small absolute value.
12069         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
12070         (__kernel_sinl): Force underflow exception for arguments with
12071         small absolute value.
12072         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
12073         (__kernel_sincosl): Force underflow exception for arguments with
12074         small absolute value.
12075         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
12076         (__kernel_sinl): Force underflow exception for arguments with
12077         small absolute value.
12078         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
12079         (__kernel_sinl): Force underflow exception for arguments with
12080         small absolute value.
12081         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
12082         (__kernel_sinf): Force underflow exception for arguments with
12083         small absolute value.
12084         * math/auto-libm-test-in: Add more tests of sin and sincos.
12085         * math/auto-libm-test-out: Regenerated.
12087         [BZ #18245]
12088         [BZ #18583]
12089         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
12090         (__kernel_standard_l): Use feholdexcept and fesetenv around
12091         conversion to double instead of special-casing overflow and
12092         underflow.
12093         * math/libm-test.inc (fmod_test_data): Add more tests.
12094         (remainder_test_data): Likewise.
12095         (sqrt_test_data): Likewise.
12097 2015-06-23  Torvald Riegel  <triegel@redhat.com>
12099         [BZ #17403]
12100         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
12101         atomic_read_barrier, atomic_write_barrier): Define.
12102         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
12103         atomic_read_barrier, atomic_write_barrier): Define.
12105 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12107         * math/Makefile [$(PERL) != no]
12108         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
12109         dependency on libm-test.stmp below the inclusion of Rules.
12111 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
12113         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
12114         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
12115         and included header.
12116         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
12117         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
12118         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
12119         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
12120         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
12121         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
12122         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
12123         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
12124         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
12125         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
12126         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
12127         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
12128         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
12129         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
12130         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
12131         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
12132         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
12133         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
12134         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
12136 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
12138         [BZ #18371]
12139         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
12140         intermediate but not final result might underflow.
12141         * math/s_csqrtf.c (__csqrtf): Likewise.
12142         * math/s_csqrtl.c (__csqrtl): Likewise.
12143         * math/auto-libm-test-in: Add more tests of csqrt.
12144         * math/auto-libm-test-out: Regenerated.
12145         * sysdeps/i386/fpu/libm-test-ulps: Update.
12147         [BZ #18219]
12148         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
12149         threshold on absolute value of exponent for which scaling is used.
12150         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
12151         * math/auto-libm-test-in: Add more tests of exp2.
12152         * math/auto-libm-test-out: Regenerated.
12154 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
12156         [BZ #17977]
12157         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
12158         when initializing interface list, based on the bug analysis
12159         and the patch proposed by Eric Newton.
12160         * resolv/tst-res_hconf_reorder.c: New test.
12161         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
12162         tst-res_hconf_reorder.
12163         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
12164         and $(shared-thread-library).
12165         (tst-res_hconf_reorder-ENV): New variable.
12167         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
12168         in comment.
12170 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
12172         [BZ #16353]
12173         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
12174         (__expm1): Force underflow exception for arguments with small
12175         absolute value.
12176         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
12177         (__expm1f): Force underflow exception for arguments with small
12178         absolute value.
12179         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
12180         (__expm1): Force underflow exception for arguments with small
12181         absolute value.
12182         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
12183         (__expm1f): Force underflow exception for arguments with small
12184         absolute value.
12185         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
12186         Check for small arguments before calling __expm1.
12187         * math/auto-libm-test-in: Do not mark underflow exceptions as
12188         possibly missing for bug 16353.
12189         * math/auto-libm-test-out: Regenerated.
12191 2015-06-22  Andreas Schwab  <schwab@suse.de>
12193         [BZ #18513]
12194         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
12195         PTR queries.
12197 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
12199         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
12201         * string/strcoll_l.c: Remove unused struct element idxnow.
12203 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
12205         [BZ #18569]
12206         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
12207         underflow and return argument in case of subnormal argument.
12208         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12209         Likewise.
12210         * math/auto-libm-test-in: Add more tests of expm1.
12211         * math/auto-libm-test-out: Regenerated.
12213         [BZ #16361]
12214         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12215         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12216         tiny results.
12217         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
12218         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
12219         tiny results.
12220         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
12221         mark underflow exceptions as possibly missing for bug 16361.
12222         * math/auto-libm-test-out: Regenerated.
12224 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
12226         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
12227         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
12228         Remove variable.
12229         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12230         (test-xfail-XOPEN2K8/utmpx.h/conform).
12232         * conform/conformtest.pl ($xerrors): New variable.
12233         (note_error): New function.
12234         (compiletest): New argument $xfail.  Use not_error.
12235         (runtest): Likewise.
12236         (top level): Handle xfail- lines.  Update calls to compiletest and
12237         runtest.  Handle xfail- and optional- in headers listed with
12238         allow-header.
12239         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
12240         (O_EXEC): Likewise.
12241         (O_SEARCH): Likewise.
12242         * conform/data/stropts.h-data (ioctl): Likewise.
12243         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
12244         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
12245         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
12246         (msghdr.msg_controllen): Likewise.
12247         (cmsghdr.cmsg_len): Likewise.
12248         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
12249         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
12250         variable.
12251         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12252         (test-xfail-XPG4/stropts.h/conform): Likewise.
12253         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12254         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12255         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12256         (test-xfail-UNIX98/stropts.h/conform): Likewise.
12257         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12258         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12259         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12260         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12261         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12262         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12263         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12264         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12265         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12266         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12267         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12268         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12269         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12270         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12271         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12273 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12275         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
12276         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
12277         definitions for proper unfolding of __MATHDECL_VEC.
12279 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12281         * benchtests/bench-strcoll.c:
12282         Include string.h.
12283         (main): Remove unused variable res.
12285 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12287         * timezone/Makefile (%/UTC %/Universal):
12288         Generate test-result files for UTC and Universal.
12290 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
12292         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12294 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
12296         [BZ #16350]
12297         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
12298         for arguments with small absolute value.
12299         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
12300         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
12301         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
12302         (__asinh): Force underflow exception for arguments with small
12303         absolute value.
12304         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
12305         (__asinhf): Force underflow exception for arguments with small
12306         absolute value.
12307         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
12308         (__asinhl): Force underflow exception for arguments with small
12309         absolute value.
12310         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
12311         (__asinhl): Force underflow exception for arguments with small
12312         absolute value.
12313         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
12314         (__asinhl): Force underflow exception for arguments with small
12315         absolute value.
12316         * math/auto-libm-test-in: Do not mark underflow exceptions as
12317         possibly missing for bug 16350.
12318         * math/auto-libm-test-out: Regenerated.
12320         * include/bits/ipc.h: Remove file.
12321         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
12322         variable.
12323         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12324         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12325         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12326         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12327         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12328         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12329         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12330         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12331         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12333         * math/auto-libm-test-in: Remove spurious underflow allowance for
12334         tests of cexp.
12335         * math/auto-libm-test-out: Regenerated.
12337         [BZ #18558]
12338         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
12339         unconditional definition.
12340         (MCAST_BLOCK_SOURCE): Likewise.
12341         (MCAST_UNBLOCK_SOURCE): Likewise.
12342         (MCAST_LEAVE_GROUP): Likewise.
12343         (MCAST_JOIN_SOURCE_GROUP): Likewise.
12344         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
12345         (MCAST_MSFILTER): Likewise.
12346         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
12347         Remove variable.
12348         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12349         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12350         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12351         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12352         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12354 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
12356         * NEWS: Mention addition of x86_64 vector sincosf.
12357         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
12358         * math/test-float-vlen4.h: Likewise.
12359         * math/test-float-vlen8.h: Likewise.
12360         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12361         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
12362         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12363         * sysdeps/x86_64/fpu/Versions: New versions added.
12364         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12365         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12366         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12367         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
12368         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
12369         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
12370         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
12371         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
12372         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
12373         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
12374         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
12375         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
12376         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
12377         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
12378         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
12379         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
12380         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
12381         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
12382         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12383         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12384         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12385         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12386         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12387         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12389         * NEWS: Mention addition of x86_64 vector sincos.
12390         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
12391         * math/math.h (__MATHDECL_VEC): New macro.
12392         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
12393         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
12394         declaration under condition.
12395         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
12396         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
12397         TEST_VEC_LOOP change.
12398         * math/test-double-vlen4.h: Likewise.
12399         * math/test-double-vlen8.h: Likewise.
12400         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
12401         * math/test-float-vlen4.h: Likewise.
12402         * math/test-float-vlen8.h: Likewise.
12403         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12404         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
12405         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12406         * sysdeps/x86_64/fpu/Versions: New versions added.
12407         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12408         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12409         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12410         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
12411         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
12412         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
12413         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
12414         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
12415         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
12416         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
12417         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
12418         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
12419         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
12420         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
12421         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
12422         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
12423         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
12424         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12425         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12426         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12427         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12428         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12429         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12430         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12432         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12433         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12434         redirections for powf.
12435         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12436         * sysdeps/x86_64/fpu/Versions: New versions added.
12437         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12438         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
12439         Added build of SSE, AVX2 and AVX512 IFUNC versions.
12440         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
12441         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
12442         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
12443         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
12444         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
12445         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
12446         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
12447         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
12448         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
12449         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
12450         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
12451         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
12452         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
12453         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
12454         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12455         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12456         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12457         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12458         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12459         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12460         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12461         * math/test-float-vlen16.h: Fixed 2 argument macro.
12462         * math/test-float-vlen4.h: Likewise.
12463         * math/test-float-vlen8.h: Likewise.
12464         * NEWS: Mention addition of x86_64 vector powf.
12466 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
12468         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12469         and redefine.
12470         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12471         and redefine.
12472         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
12473         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
12474         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
12476         [BZ #18553]
12477         * resource/getpriority.c (getpriority): Rename to __getpriority
12478         and define as weak alias of __getpriority.
12479         * resource/setpriority.c (setpriority): Rename to __setpriority
12480         and define as weak alias of __setpriority.
12481         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
12482         __getpriority and define as weak alias of __getpriority.
12483         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
12484         __setpriority and define as weak alias of __setpriority.
12485         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
12486         strong name.
12487         (setpriority): Use __setpriority as strong name.
12488         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
12489         __getpriority and define as weak alias of __getpriority.
12490         * include/sys/resource.h (__getpriority): Declare.  Use
12491         libc_hidden_proto.
12492         (__setpriority): Likewise.
12493         (getpriority): Don't use libc_hidden_proto.
12494         (setpriority): Likewise.
12495         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
12496         getpriority.  Call __setpriority instead of setpriority.
12497         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
12498         Remove variable.
12500         [BZ #18547]
12501         * misc/getttyent.c (getttynam): Rename to __getttynam and define
12502         as weak alias of __getttynam.  Use prototype function definition.
12503         Call __setttyent, __getttyent and __endttyent instead of
12504         setttyent, getttyent and endttyent.
12505         (getttyent): Rename to __getttyent and define as weak alias of
12506         __getttyent.  Call __setttyent instead of setttyent.  Call
12507         __fgets_unlocked instead of fgets_unlocked.
12508         (setttyent): Rename to __setttyent and define as weak alias of
12509         __setttyent.
12510         (endttyent): Rename to __endttyent and define as weak alias of
12511         __endttyent.
12512         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
12513         (__setttyent): Likewise.
12514         (__endttyent): Likewise.
12515         (getttyent): Don't use libc_hidden_proto.
12516         (setttyent): Likewise.
12517         (endttyent): Likewise.
12518         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
12519         __endttyent instead of setttyent, getttyent and endttyent.
12520         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
12521         Remove variable.
12523         [BZ #18546]
12524         * socket/recv.c (__recv): Use libc_hidden_def.
12525         * socket/socket.c (__socket): Likewise.
12526         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
12527         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
12528         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
12529         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
12530         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
12531         libc_hidden_def.
12532         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
12533         libc_hidden_weak.
12534         * include/sys/socket.h (__socket): Do not use attribute_hidden.
12535         Use libc_hidden_proto.
12536         (__recv): Likewise.
12537         * socket/Versions (libc): Export __recv and __socket at version
12538         GLIBC_PRIVATE.
12539         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
12540         instead of recv.
12541         (init_mq_netlink): Call __socket instead of socket.
12542         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
12543         Remove variable.
12545         [BZ #18545]
12546         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
12547         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
12548         hidden_weak.
12549         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
12550         define as alias of __mq_timedsend.  Use hidden_weak.
12551         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
12552         __mq_timedsend as strong name.
12553         (mq_timedreceive): Use __mq_timedreceive as strong name.
12554         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
12555         (__mq_timedreceive): Likewise.
12556         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
12557         __mq_timedreceive instead of mq_timedreceive.
12558         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
12559         instead of mq_timedsend.
12560         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
12561         Remove variable.
12563         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
12564         hidden_def and hidden_weak instead of libc_hidden_def and
12565         libc_hidden_weak.
12566         (top level): Refer to hidden_def in comment.
12567         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
12568         macro.  Use it instead of libc_hidden_def.
12569         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
12570         specify __GI_* name explicitly.
12571         (mq_timedreceive): Likewise.
12572         (mq_setattr): Likewise.
12574         [BZ #18544]
12575         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
12576         __pthread_barrier_init and define as weak alias of
12577         __pthread_barrier_init.
12578         * sysdeps/sparc/nptl/pthread_barrier_init.c
12579         (pthread_barrier_init): Likewise.
12580         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
12581         __pthread_barrier_wait and define as weak alias of
12582         __pthread_barrier_wait.
12583         * sysdeps/sparc/nptl/pthread_barrier_wait.c
12584         (pthread_barrier_wait): Likewise.
12585         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
12586         (pthread_barrier_wait): Likewise.
12587         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
12588         (pthread_barrier_wait): Likewise.
12589         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
12590         (pthread_barrier_wait): Likewise.
12591         * nptl/Versions (libpthread): Export __pthread_barrier_init and
12592         __pthread_barrier_wait at version GLIBC_PRIVATE.
12593         * include/pthread.h (__pthread_barrier_init): Declare.
12594         (__pthread_barrier_wait): Likewise.
12595         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
12596         Call __pthread_barrier_wait instead of pthread_barrier_wait.
12597         (helper_thread): Likewise.
12598         (init_mq_netlink): Call __pthread_barrier_init instead of
12599         pthread_barrier_init.
12601         [BZ #18542]
12602         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
12603         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
12604         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
12605         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
12606         vswscanf.
12607         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
12608         Remove variable.
12610         [BZ #18540]
12611         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
12612         strong alias of _IO_fflush.  Use libc_hidden_def.
12613         * libio/iofflush_u.c (fflush_unlocked): Rename to
12614         __fflush_unlocked and define as weak alias of __fflush_unlocked.
12615         Use libc_hidden_weak.
12616         * include/stdio.h (__fflush_unlocked): Declare.  Use
12617         libc_hidden_proto.
12618         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
12619         fflush_unlocked.
12620         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
12621         Remove variable.
12623         [BZ #18539]
12624         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
12625         define as weak alias of __addseverity.
12626         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
12627         Remove variable.
12628         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
12629         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
12630         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
12632         [BZ #18536]
12633         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
12634         (__tfind): Likewise.
12635         (__tdelete): Likewise.
12636         (__twalk): Likewise.
12637         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
12638         __twalk to GLIBC_PRIVATE.
12639         * include/search.h (__tsearch): Use libc_hidden_proto.
12640         (__tfind): Likewise.
12641         (__tdelete): Likewise.
12642         (__twalk): Likewise.
12643         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
12644         Call __tdelete instead of tdelete.
12645         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
12646         tfind.  Call __tsearch instead of tsearch.
12647         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
12648         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
12649         Remove variable.
12650         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
12652         [BZ #18534]
12653         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
12654         (dprintf): Define as a weak alias of __dprintf, not a strong
12655         alias.
12656         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
12657         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
12658         dprintf.
12659         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
12660         Remove variable.
12661         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
12662         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
12664         [BZ #18533]
12665         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
12666         not a strong alias.
12667         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
12668         Remove variable.
12670         [BZ #18532]
12671         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
12672         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
12673         (in6addr_loopback): Rename to __in6addr_loopback and define as
12674         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
12675         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
12676         libc_hidden_proto.
12677         (__in6addr_any): Likewise.
12678         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
12679         in6addr_any.
12680         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
12681         variable.
12682         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
12684 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
12686         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
12687         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
12688         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12689         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12690         redirections for pow.
12691         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12692         * sysdeps/x86_64/fpu/Versions: New versions added.
12693         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12694         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12695         build of SSE, AVX2 and AVX512 IFUNC versions.
12696         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
12697         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
12698         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
12699         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
12700         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
12701         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
12702         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
12703         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
12704         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
12705         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
12706         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
12707         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
12708         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
12709         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
12710         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12711         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12712         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12713         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12714         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12715         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12716         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12717         * NEWS: Mention addition of x86_64 vector pow.
12719         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12720         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12721         redirections for expf.
12722         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12723         * sysdeps/x86_64/fpu/Versions: New versions added.
12724         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12725         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12726         build of SSE, AVX2 and AVX512 IFUNC versions.
12727         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
12728         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
12729         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
12730         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
12731         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
12732         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
12733         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
12734         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
12735         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
12736         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
12737         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
12738         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
12739         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
12740         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12741         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12742         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12743         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12744         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12745         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12746         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12747         * NEWS: Mention addition of x86_64 vector expf.
12749         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
12750         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
12751         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12752         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12753         redirections for exp.
12754         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12755         * sysdeps/x86_64/fpu/Versions: New versions added.
12756         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12757         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12758         build of SSE, AVX2 and AVX512 IFUNC versions.
12759         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
12760         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
12761         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
12762         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
12763         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
12764         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
12765         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
12766         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
12767         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
12768         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
12769         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
12770         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
12771         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
12772         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12773         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12774         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12775         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12776         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12777         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12778         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12779         * NEWS: Mention addition of x86_64 vector exp.
12781         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12782         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12783         redirections for logf.
12784         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12785         * sysdeps/x86_64/fpu/Versions: New versions added.
12786         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12787         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12788         build of SSE, AVX2 and AVX512 IFUNC versions.
12789         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
12790         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
12791         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
12792         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
12793         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
12794         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
12795         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
12796         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
12797         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
12798         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
12799         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
12800         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
12801         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
12802         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12803         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12804         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12805         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12806         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12807         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12808         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12809         * NEWS: Mention addition of x86_64 vector logf.
12811         * bits/libm-simd-decl-stubs.h: Added stubs for log.
12812         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
12813         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
12814         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
12815         redirections for log.
12816         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12817         * sysdeps/x86_64/fpu/Versions: New versions added.
12818         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12819         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12820         build of SSE, AVX2 and AVX512 IFUNC versions.
12821         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
12822         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
12823         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
12824         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
12825         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
12826         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
12827         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
12828         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
12829         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
12830         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
12831         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
12832         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
12833         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
12834         test.
12835         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
12836         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
12837         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
12838         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
12839         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
12840         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
12841         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
12842         * NEWS: Mention addition of x86_64 vector log.
12844 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12846         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
12847         cfi_adjust_cfa_offset argument.
12848         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
12849         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
12851         [BZ #18034]
12852         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
12853         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
12854         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
12855         ordering using ldar.
12856         (_dl_tlsdesc_dynamic): Likewise.
12857         (_dl_tlsdesc_return_lazy): Likewise.
12858         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
12859         relaxed atomics instead of volatile and synchronize with release store.
12860         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
12861         volatile.
12862         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12864 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
12866         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
12867         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
12868         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
12869         * sysdeps/x86_64/fpu/Versions: New versions added.
12870         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12871         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
12872         build of SSE, AVX2 and AVX512 IFUNC versions.
12873         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
12874         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
12875         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
12876         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
12877         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
12878         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
12879         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
12880         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
12881         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
12882         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
12883         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
12884         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
12885         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
12886         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
12887         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
12888         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
12889         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
12890         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
12891         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
12892         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
12893         * NEWS: Mention addition of x86_64 vector sinf.
12895 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
12897         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
12898         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
12899         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
12900         Remove variable.
12901         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
12902         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
12904 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
12906         [BZ #18530]
12907         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
12908         strong alias of _IO_fputs.  Use libc_hidden_def.
12909         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
12910         and define as weak alias of __fputs_unlocked.  Use
12911         libc_hidden_weak.
12912         * include/stdio.h (__fputs_unlocked): Declare.  Use
12913         libc_hidden_proto.
12914         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
12915         fputs_unlocked.
12917         [BZ #18529]
12918         * resolv/netdb.h [__USE_POSIX]: Change condition to
12919         [__USE_XOPEN2K].
12920         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
12921         not expect.
12922         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
12923         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
12924         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
12925         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
12926         [XPG4 || UNIX98] (AI_ALL): Likewise.
12927         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
12928         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
12929         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
12930         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
12931         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
12932         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
12933         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
12934         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
12935         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
12936         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
12937         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
12938         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
12939         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
12940         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
12941         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
12942         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
12943         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
12944         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
12945         [XPG4 || UNIX98] (gai_strerror): Likewise.
12946         [XPG4 || UNIX98] (getaddrinfo): Likewise.
12947         [XPG4 || UNIX98] (getnameinfo): Likewise.
12949         [BZ #18528]
12950         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
12951         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
12952         __USE_XOPEN2K8].
12953         (getgrent): Likewise.
12954         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
12955         expect.
12956         [XPG3 || POSIX2008] (endgrent): Likewise.
12957         [XPG3] (setgrent): Likewise.
12958         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
12959         variable.
12960         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
12962         [BZ #18527]
12963         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
12964         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
12965         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
12966         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
12967         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
12968         * include/unistd.h (__getlogin_r): Declare.  Use
12969         libc_hidden_proto.
12970         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
12971         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
12972         variable.
12973         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
12974         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
12975         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
12977 2015-06-12  Martin Sebor  <msebor@redhat.com>
12979         [BZ #18512]
12980         * Makerules (check-install-supported): New target.
12981         (install): Add check-install-supported as a dependency.
12982         * manual/install.texi (Installing the C Library): Document
12983         that overriding prefix and exec_prefix is not supported.
12984         Mention DESTDIR.
12985         * INSTALL: Regenerate from the above.
12987 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
12989         [BZ #18519]
12990         * posix/Versions (libc): Export __libc_pread at version
12991         GLIBC_PRIVATE.
12992         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
12993         instead of pread.
12994         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
12995         variable.
12997         [BZ #18522]
12998         * misc/efgcvt_r.c
12999         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
13000         (cvt_symbol): Use weak_alias instead of strong_alias.
13001         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
13002         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
13003         Remove variable.
13004         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13005         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13007         [BZ #18520]
13008         * inet/herrno.c (h_errno): Rename to __h_errno.
13009         (__libc_h_errno): Define as alias of __h_errno not h_errno.
13010         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
13011         to __h_errno instead of h_errno.
13012         * nptl/herrno.c (h_errno): Rename to __h_errno.
13013         (__h_errno_location): Refer to __h_errno not h_errno.
13014         * resolv/Versions (h_errno): Rename to __h_errno.
13015         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
13016         Remove variable.
13017         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13019 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
13021         * configure.ac: More strict check for AVX512 assembler support.
13022         * configure: Regenerated.
13024         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
13025         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
13026         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13027         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
13028         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13029         * sysdeps/x86_64/fpu/Versions: New versions added.
13030         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13031         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13032         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13033         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
13034         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
13035         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
13036         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
13037         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
13038         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
13039         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
13040         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
13041         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
13042         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
13043         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
13044         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
13045         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
13046         test.
13047         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
13048         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
13049         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
13050         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
13051         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13052         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
13053         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
13054         * NEWS: Mention addition of x86_64 vector sin.
13056 2015-06-11  Florian Weimer  <fweimer@redhat.com>
13058         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
13059         comment.
13061 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
13063         [BZ #18479]
13064         * nptl/pt-interp.c: New file.
13065         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
13066         Add pt-interp.
13067         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
13068         $(common-objpfx)runtime-linker.h.
13070 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
13072         * Makeconfig (+interp): Remove unused variable.
13073         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
13074         only.  Depend on $(common-objpfx)runtime-linker.h instead of
13075         $(elf-objpfx)runtime-linker.h.
13076         ($(elf-objpfx)runtime-linker.h): Rename to
13077         $(common-objpfx)runtime-linker.h and move ...
13078         * Makerules [$(build-shared) = yes]: ... here.
13079         * elf/interp.c: Include <runtime-linker.h> instead of
13080         <elf/runtime-linker.h>.
13082 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13084         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
13085         (__gettimeofday_syscall): Remove vsyscall fallback.
13086         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
13087         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
13088         Add syscall fallback function.
13089         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
13090         if vDSO is not present.
13091         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
13092         fallback function.
13093         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
13094         present.
13095         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
13096         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13098 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
13100         [BZ #18497]
13101         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
13102         of wcscmp.
13103         (wcscmp): Define as weak alias of WCSCMP.
13104         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
13105         wcscoll.
13106         (USE_HIDDEN_DEF): Define.
13107         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
13108         __wcscoll.  Don't use libc_hidden_weak.
13109         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
13110         wcscmp.
13111         * sysdeps/i386/i686/multiarch/wcscmp-c.c
13112         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
13113         __GI_wcscmp.
13114         (weak_alias): Undefine and redefine.
13115         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
13116         __wcscmp and define as weak alias of __wcscmp.
13117         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
13118         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
13119         (__wcscoll): Likewise.
13120         (wcscmp): Don't use libc_hidden_proto.
13121         (wcscoll): Likewise.
13122         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
13123         wcscoll.
13124         * posix/regexec.c (check_node_accept_bytes): Likewise.
13125         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
13126         variable.
13127         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13128         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13130         [BZ #18507]
13131         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
13132         __fstatvfs and define as weak alias of __fstatvfs.  Use
13133         libc_hidden_weak.
13134         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
13135         and define as weak alias of __statvfs.  Use libc_hidden_weak.
13136         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
13137         Define as alias of __fstatvfs, not fstatvfs.
13138         (fstatvfs64): Likewise.
13139         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
13140         Define as alias of __statvfs, not statvfs.
13141         (statvfs64): Likewise.
13142         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
13143         Remove variable.
13145 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13148         (HAVE_GETCPU_VSYSCALL): Define.
13149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13150         (HAVE_GETCPU_VSYSCALL): Likewise.
13151         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
13152         * sysdeps/unix/sysv/linux/sched_getcpu.c
13153         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
13154         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
13155         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
13156         prototype.
13157         * sysdeps/unix/sysv/linux/x86_64/init-first.c
13158         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
13159         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
13160         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
13161         Define.
13162         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
13163         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
13164         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
13165         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13167 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
13169         * sysdeps/x86_64/fpu/Makefile: New file.
13170         * sysdeps/x86_64/fpu/Versions: New file.
13171         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
13172         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
13173         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
13174         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
13175         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
13176         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
13177         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
13178         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
13179         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
13180         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
13181         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
13182         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
13183         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
13184         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13185         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13186         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
13187         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
13188         * sysdeps/x86_64/configure.ac: Options for libmvec build.
13189         * sysdeps/x86_64/configure: Regenerated.
13190         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
13191         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
13192         * manual/install.texi (Configuring and compiling): Document
13193         --disable-mathvec.
13194         * INSTALL: Regenerated.
13195         * NEWS: Mention addition of libmvec and x86_64 vector cos.
13197         * math/Makefile: Added rules for vector tests.
13198         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
13199         declaration under condition.
13200         * math/test-double-vlen2.h: New file.
13201         * math/test-double-vlen4.h: New file.
13202         * math/test-double-vlen8.h: New file.
13203         * math/test-vec-loop.h: Added initialization macro.
13204         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
13205         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
13206         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
13207         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
13208         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
13209         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
13210         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
13211         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
13212         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
13213         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
13214         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
13216         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
13217         * sysdeps/x86_64/fpu/Versions: New versions added.
13218         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
13219         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
13220         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
13221         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
13222         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
13223         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
13224         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
13225         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
13226         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
13227         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
13228         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
13229         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
13230         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
13231         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
13232         Added build of SSE, AVX2 and AVX512 IFUNC versions.
13233         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
13234         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
13235         * NEWS: Mention addition of x86_64 vector cosf.
13237         * math/Makefile: Added CFLAGS for new tests.
13238         * math/test-float-vlen16.h: New file.
13239         * math/test-float-vlen4.h: New file.
13240         * math/test-float-vlen8.h: New file.
13241         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
13242         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
13243         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13244         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
13245         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
13246         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
13247         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
13248         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
13249         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
13250         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
13251         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
13253 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
13255         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
13256         * locale/programs/ld-ctype.c: Likewise.
13258 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
13260         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
13261         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
13262         bit_ZMM16_31_state): New macro.
13263         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13264         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
13266 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
13268         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
13270 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
13272         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
13274 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
13276         [BZ #18498]
13277         * libio/memstream.c (open_memstream): Rename to __open_memstream
13278         and define as weak alias of __open_memstream.
13279         * include/stdio.h (__open_memstream): Declare.  Use
13280         libc_hidden_proto.
13281         (open_memstream): Don't use libc_hidden_proto.
13282         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
13283         open_memstream.
13284         * posix/getopt.c (_getopt_internal_r): Likewise.
13285         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
13286         variable.
13287         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13288         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13289         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13291         [BZ #18496]
13292         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
13293         instead of wcrtomb.
13295         [BZ #18483]
13296         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
13297         [__USE_XOPEN2K8].  Remove redundant #endif.
13298         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
13299         Remove redundant #if.
13300         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
13301         Remove variable.
13302         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13303         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13305         [BZ #18495]
13306         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
13307         (__iswlower): Likewise.
13308         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
13309         (__iswlower): Likewise.
13310         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
13311         instead of towlower.
13312         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
13313         instead of iswlower.  Call __towupper instead of towupper.
13314         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
13315         instead of iswalnum.
13317 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13319         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
13320         errors to stderr.
13322 2015-06-05  Florian Weimer  <fweimer@redhat.com>
13324         [BZ #15661]
13325         [BZ #17322]
13326         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
13327         Check for overflow properly.  Check for O_APPEND.  Ignore large
13328         file system block sizes.  Add comments about problems.
13329         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
13330         * manual/filesys.texi (Storage Allocation): New node.
13332 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13334         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
13335         cancellable syscalls.
13336         (SYS_ify): Add guard to no redefine it.
13337         (INLINE_SYSCALL): Likewise.
13338         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
13339         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
13340         SYSCALL_CANCEL instead.
13341         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
13342         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
13343         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
13344         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
13345         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
13346         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
13347         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
13348         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
13349         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
13350         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
13351         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
13352         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
13353         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
13354         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
13355         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
13356         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
13357         Likewise.
13358         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
13359         (__libc_pread64): Likewise.
13360         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
13361         (__libc_preadv): Likewise.
13362         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
13363         (__libc_readv64): Likewise.
13364         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
13365         (__libc_pwrite): Likewise.
13366         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
13367         (__libc_pwrite64): Likewise.
13368         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
13369         (__libc_pwritev): Likewise.
13370         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
13371         (__libc_pwritev64): Likewise.
13372         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
13373         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
13374         (sync_file_range): Likewise.
13375         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
13376         Likewise.
13377         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
13378         Likewise.
13379         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
13380         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
13381         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
13382         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
13383         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
13384         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
13385         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
13386         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
13387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
13388         Likewise.
13389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13390         (__libc_read64): Likewise.
13391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
13392         Likewise.
13393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
13394         Likewise.
13395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
13396         Likewise.
13397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
13398         Likewise.
13399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13400         (__libc_pread64): Likewise.
13401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
13402         Likewise.
13403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13404         (__libc_pwrite64): Likewise.
13405         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
13406         (sync_file_range): Likewise.
13407         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
13408         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
13409         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
13410         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
13411         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
13412         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
13413         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
13414         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
13415         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
13416         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
13417         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13418         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
13419         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
13420         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
13421         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
13422         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
13423         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
13424         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
13425         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
13426         Likewise.
13427         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
13428         Likewise.
13429         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
13430         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
13431         Likewise.
13432         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
13433         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
13434         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
13435         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
13436         Likewise.
13437         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
13438         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
13439         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
13440         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
13441         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
13443 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
13445         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
13446         Include dl-vdso.
13447         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
13448         Use VDSO routines for gettimeofday, clock_gettime if
13449         available.
13450         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
13451         Declare VDSO symbols.
13452         * sysdeps/unix/sysv/linux/arm/sysdep.h:
13453         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
13454         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13455         * sysdeps/unix/sysv/linux/arm/Versions: Add
13456         __vdso_clock_gettime.
13458 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13460         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
13461         be an inline implementation regardless of library is built within.
13462         (open_not_cancel_2): Likewise.
13463         (__read_nocancel): Likewise.
13464         (__write_nocancel): Likewise.
13465         (openat_not_cancel): Likewise.
13466         (openat_not_cancel_3): Likewise.
13467         (openat64_not_cancel): Likewise.
13468         (openat64_not_cancel_3): Likewise.
13469         (__close_nocancel): Likewise.
13470         (pause_not_cancel): Likewise.
13471         (nanosleep_not_cancel): Likewise.
13472         (sigsuspend_not_cancel): Likewise.
13474 2015-06-04  Torvald Riegel  <triegel@redhat.com>
13476         [BZ #14958]
13477         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
13478         wake-up.
13479         (__pthread_rwlock_rdlock_slow): Likewise.
13480         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13481         Likewise.
13482         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
13483         Likewise.
13484         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
13485         * nptl/tst-rwlock16.c: New file.
13486         * nptl/Makefile (tests): Add new test.
13488 2015-06-04  Torvald Riegel  <triegel@redhat.com>
13490         [BZ #18324]
13491         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
13492         missing wake-up of readers.
13493         * nptl/tst-rwlock15.c: New file.
13494         * nptl/Makefile (tests): Add new test.
13496 2015-06-03  Roland McGrath  <roland@hack.frob.com>
13498         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
13499         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
13500         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
13501         and __nacl_supply_interface_rtld.
13502         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
13503         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
13504         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
13505         Add __nacl_supply_interface_rtld.
13506         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
13508 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
13510         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
13511         isfinite.
13512         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13513         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
13515 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
13517         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
13518         __signbit* with standard C99 macros.
13519         * math/e_exp10l.c: Likewise.
13520         * math/e_exp2l.c: Likewise.
13521         * math/e_scalb.c: Likewise.
13522         * math/e_scalbf.c: Likewise.
13523         * math/e_scalbl.c: Likewise.
13524         * math/s_ldexp.c: Likewise.
13525         * math/s_ldexpf.c: Likewise.
13526         * math/s_ldexpl.c: Likewise.
13527         * math/w_atan2.c: Likewise.
13528         * math/w_atan2f.c: Likewise.
13529         * math/w_atan2l.c: Likewise.
13530         * math/w_cosh.c: Likewise.
13531         * math/w_coshf.c: Likewise.
13532         * math/w_coshl.c: Likewise.
13533         * math/w_exp10.c: Likewise.
13534         * math/w_exp10f.c: Likewise.
13535         * math/w_exp10l.c: Likewise.
13536         * math/w_exp2.c: Likewise.
13537         * math/w_exp2f.c: Likewise.
13538         * math/w_exp2l.c: Likewise.
13539         * math/w_fmod.c: Likewise.
13540         * math/w_fmodf.c: Likewise.
13541         * math/w_fmodl.c: Likewise.
13542         * math/w_hypot.c: Likewise.
13543         * math/w_hypotf.c: Likewise.
13544         * math/w_hypotl.c: Likewise.
13545         * math/w_jnl.c: Likewise.
13546         * math/w_lgamma.c: Likewise.
13547         * math/w_lgamma_r.c: Likewise.
13548         * math/w_lgammaf.c: Likewise.
13549         * math/w_lgammaf_r.c: Likewise.
13550         * math/w_lgammal.c: Likewise.
13551         * math/w_lgammal_r.c: Likewise.
13552         * math/w_pow.c: Likewise.
13553         * math/w_powf.c: Likewise.
13554         * math/w_powl.c: Likewise.
13555         * math/w_remainder.c: Likewise.
13556         * math/w_remainderf.c: Likewise.
13557         * math/w_remainderl.c: Likewise.
13558         * math/w_scalb.c: Likewise.
13559         * math/w_scalbf.c: Likewise.
13560         * math/w_scalbl.c: Likewise.
13561         * math/w_scalbln.c: Likewise.
13562         * math/w_scalblnf.c: Likewise.
13563         * math/w_scalblnl.c: Likewise.
13564         * math/w_sinh.c: Likewise.
13565         * math/w_sinhf.c: Likewise.
13566         * math/w_sinhl.c: Likewise.
13567         * math/w_tgamma.c: Likewise.
13568         * math/w_tgammaf.c: Likewise.
13569         * math/w_tgammal.c: Likewise.
13570         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13571         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
13572         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13573         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13574         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13575         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13576         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
13577         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
13578         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
13579         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13580         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
13581         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
13582         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13583         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
13584         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
13585         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13586         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
13587         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
13588         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
13589         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
13590         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
13591         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13592         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13593         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13594         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
13595         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
13596         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
13597         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
13598         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13599         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
13600         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
13601         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
13602         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
13603         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
13604         * stdio-common/printf_fp.c: Likewise.
13605         * stdio-common/printf_fphex.c: Likewise.
13606         * stdio-common/printf_size.c: Likewise.
13608 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
13610         [BZ #18470]
13611         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
13612         strnlen.
13613         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
13614         Remove variable.
13615         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13616         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13617         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13618         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13619         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13620         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13621         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13622         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13623         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13624         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13626         [BZ #18468]
13627         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
13628         weak alias of __wmemchr.  Use libc_hidden_weak.
13629         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
13630         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
13631         instead of wmemchr.
13633 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13635         [BZ #18383]
13636         * elf/tst-tlsalign-extern.c: New file.
13637         * elf/tst-tlsalign-extern-static.c: New file.
13638         * elf/tst-tlsalign-vars.c: New file.
13639         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
13640         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
13641         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
13642         ($(objpfx)tst-tlsalign-extern-static): Likewise.
13643         (test-xfail-tst-tlsalign-extern-static): New variable.
13645 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
13647         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
13648         Use variable name _sc_err instead of err.
13649         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
13650         instead of ret.
13651         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
13652         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
13653         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
13654         (INLINE_SYSCALL): Likewise.
13656         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
13657         * include/string.h (__strnlen): Use libc_hidden_proto.
13658         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
13659         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
13660         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
13661         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
13662         (libc_hidden_def): Undefine and redefine.
13663         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
13664         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
13665         __GI_strnlen.
13666         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
13667         libc_hidden_def.
13668         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
13670         [BZ #18469]
13671         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
13672         weak alias of __towlower.  Use libc_hidden_weak.
13673         (towupper): Rename to __towupper and define as weak alias of
13674         __towupper.  Use libc_hidden_weak.
13675         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
13676         (__towupper): Likewise.
13677         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
13678         __towlower instead of towlower.
13680 2015-06-02  Roland McGrath  <roland@hack.frob.com>
13682         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
13683         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
13685 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13687         * sysdeps/aarch64/libm-test-ulps: Update.
13689 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13691         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
13692         Define.
13693         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13694         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
13695         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13696         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13697         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
13698         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
13699         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
13701 2015-06-01  Martin Sebor  <msebor@redhat.com>
13703         [BZ #18116]
13704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
13705         (__setcontext): Use extended four-operand version of mtsf whenever
13706         possible.
13707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
13708         (__novec_swapcontext): Likewise.
13710 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
13712         * benchtests/scripts/compare_bench.py: New file.
13713         * benchtests/scripts/import_bench.py (mean): New function.
13714         (split_list): Likewise.
13715         (do_for_all_timings): Likewise.
13716         (compress_timings): Likewise.
13718         * benchtests/scripts/import_bench.py: New file.
13719         * benchtests/scripts/validate_benchout.py: Import import_bench
13720         instead of jsonschema.
13721         (validate_bench): Remove function.
13722         (main): Use import_bench.
13724 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
13726         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
13727         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
13729 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13733 2015-05-28  Roland McGrath  <roland@hack.frob.com>
13735         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
13736         set THREAD_SELF->tid to a magic value and futex-wake it.
13737         Pass its address to the thread_exit system call.
13738         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
13739         bit is clear.
13740         * sysdeps/nacl/lowlevellock.h: New file.
13741         * sysdeps/nacl/lll_timedwait_tid.c: New file.
13743         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
13744         Add TIMEOUT to current time, don't subtract it.
13746 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
13748         [BZ #2981]
13749         [BZ #18422]
13750         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
13751         ($(objpfx)tst-audit2.out): Also depend on
13752         $(objpfx)tst-auditmod9b.so.
13753         * elf/tst-audit2.c: Include <dlfcn.h>.
13754         (calloc_called): New.
13755         (calloc): Allow to be called more than once.
13756         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
13758 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
13760         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
13761         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
13763 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
13765         * stdlib/monetary.h: Fix comment.
13767 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
13769         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
13770         Avoid using variables in #defines that might cause shadowing.
13771         (INTERNAL_VSYSCALL_CALL): Likewise.
13773 2015-05-26  Roland McGrath  <roland@hack.frob.com>
13775         * sysdeps/nacl/lll_timedlock_wait.c: New file.
13777         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
13778         * nptl/lll_timedlock_wait.c: ... to this new file.
13779         * nptl/Makefile (libpthread-routines): Add it.
13780         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
13781         * nptl/lll_timedwait_tid.c: ... to this new file.
13782         * nptl/Makefile (libpthread-routines): Add it.
13783         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
13784         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
13785         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
13786         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
13787         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
13788         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
13789         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
13790         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
13791         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
13792         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
13794 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13796         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
13797         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
13798         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
13799         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
13800         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
13801         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13802         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13803         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13804         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13805         * sysdeps/unix/sysv/linux/tile/sysdep.h
13806         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
13807         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
13808         using vDSO syscall macro.
13810 2015-05-26  Andriy Rysin  <arysin@gmail.com>
13812         [BZ #17293]
13813         * uk_UA: Fix sorting order for Ukrainian locale
13815 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
13817         * stdlib/monetary.h: Fix comment.
13819 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13821         [BZ #18234]
13822         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
13823         st_mtim and st_ctim members.
13824         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
13825         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
13826         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
13827         (struct stat64): Likewise.
13828         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
13829         (struct stat64): Likewise.
13830         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
13831         (struct stat64): Likewise.
13833 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13835         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
13836         Define and include sysdep-vdso.h.
13837         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
13838         Likewise.
13839         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
13840         Likewise.
13841         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
13842         Define with VDSO_SYMBOL and use PTR_MANGLE.
13843         (__vdso_clock_gettime): Likewise.
13844         (__vdso_clock_getres): Likewise.
13845         (_libc_vdso_platform_setup): Likewise.
13846         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
13847         Likewise.
13848         (_libc_vdso_platform_setup): Likewise.
13849         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
13850         Likewise.
13851         (__vdso_clock_gettime): Likewise.
13852         (__vdso_clock_getres): Likewise.
13853         (__vdso_get_tbfreq): Likewise.
13854         (__vdso_getcpu): Likewise.
13855         (__vdso_time): Likewise.
13856         (__vdso_sigtramp_rt64): Likewise.
13857         (__vdso_signtramp32): Likewise.
13858         (__vdso_sigtramp_rt32): Likewise.
13859         (_libc_vdso_platform_setup): Likewise.
13860         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
13861         Likewise.
13862         (__vdso_clock_gettime): Likewise.
13863         (__vdso_clock_getres): Likewise.
13864         (_libc_vdso_platform_setup): Likewise.
13865         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
13866         Likewise.
13867         (__vdso_clock_gettime): Likewise.
13868         (_libc_vdso_platform_setup): Likewise.
13869         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
13870         Likewise.
13871         (__vdso_getcpu): Likewise.
13872         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
13873         Use VDSO_SYMBOL macro to define.
13874         (__vdso_clock_gettime): Likewise.
13875         (__vdso_clock_getres): Likewise.
13876         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
13877         Likewise.
13878         (__vdso_clock_gettime): Likewise.
13879         (__vdso_clock_getres): Likewise.
13880         (__vdso_get_tbfreq): Likewise.
13881         (__vdso_getcpu): Likewise.
13882         (__vdso_time): Likewise.
13883         (__vdso_sigtramp_rt64): Likewise.
13884         (__vdso_signtramp32): Likewise.
13885         (__vdso_sigtramp_rt32): Likewise.
13886         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
13887         Likewise.
13888         (__vdso_clock_gettime): Likewise.
13889         (__vdso_clock_getres): Likewise.
13890         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
13891         Likewise.
13892         (__vdso_clock_gettime): Likewise.
13893         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
13894         Likewise.
13895         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
13896         macro.
13897         (INTERNAL_VSYSCALL): Likewise.
13898         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
13899         Remove macro.
13900         (INTERNAL_VSYSCALL): Likewise.
13901         (INTERNAL_VSYSCALL_NCS): Likewise.
13902         (INTERNAL_VSYSCALL_CALL): New macro.
13903         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13904         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
13905         Likewise.
13906         (INTERNAL_VSYSCALL): Likewise.
13907         (INTERNAL_VSYSCALL_NCS): Likewise.
13908         (INTERNAL_VSYSCALL_CALL): New macro.
13909         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
13910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13911         (INLINE_VSYSCALL): Remove macro.
13912         (INTERNAL_VSYSCALL): Remove macro.
13913         (INTERNAL_VSYSCALL_NCS): Remove macro.
13914         (INTERNAL_VSYSCALL_CALL): New macro.
13915         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
13916         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
13917         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13918         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
13919         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
13920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13921         (INLINE_VSYSCALL): Remove macro.
13922         (INTERNAL_VSYSCALL): Likewise.
13923         (INTERNAL_VSYSCALL_NCS): Likewise.
13924         (INTERNAL_VSYSCALL_CALL): New macro.
13925         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
13926         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
13927         PTR_DEMANGLE on vDSO pointer.
13928         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
13929         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
13930         macro.
13931         (INTERNAL_SYSCALL): Likewise.
13932         (INTERNAL_VSYSCALL_NCS): Remove macro.
13933         (INTERNAL_VSYSCALL_CALL): New macro.
13934         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
13935         Remove macro.
13936         (INTERNAL_VSYSCALL): Likewise.
13937         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
13938         sysdep-vdso.h instead of libc-vdso.h.
13939         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
13940         definition.
13941         (INLINE_VSYSCALL): Likewise.
13942         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
13943         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
13944         definition.
13945         (INLINE_VSYSCALL): Likewise.
13946         (INTERNAL_VSYSCALL): Likewise.
13947         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13948         * sysdeps/unix/sysv/linux/timespec_get.c
13949         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
13950         (timespec_get): Use ANSI prototype.
13951         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
13952         and definition for Linux.
13954 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
13956         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
13957         * include/libc-symbols.h: libmvec_hidden_* macro series added.
13959 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
13961         [BZ #2981]
13962         [BZ #18410]
13963         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
13964         for missing DT_PLTRELSZ.
13966 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
13968         Remove obsolete aliases that broke 'locale -a'
13969         [BZ #18412]
13970         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
13971         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
13972         breaking some applications that use 'locale -a' output.
13973         Change the encoding of this file from Latin-1 to ASCII to avoid
13974         other potential problems with people grepping this file.
13976 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13978         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
13979         -fasynchronous-unwind-tables.
13980         (CFLAGS-sendto.c): Likewise.
13981         (CFLAGS-sendmsg.c): Likewise.
13982         (CFLAGS-connect.c): Likewise.
13983         (CFLAGS-recvmsg.c): Likewise.
13984         (CFLAGS-recvfrom.c): Likewise.
13985         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
13986         (SOCKETCALL): New macro: non-cancellable socketcall.
13987         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
13988         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
13989         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
13990         * sysdeps/unix/sysv/linux/accept.c: New file.
13991         * sysdeps/unix/sysv/linux/bind.c: Likewise.
13992         * sysdeps/unix/sysv/linux/connect.c: Likewise.
13993         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
13994         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
13995         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
13996         * sysdeps/unix/sysv/linux/listen.c: Likewise.
13997         * sysdeps/unix/sysv/linux/recv.c: Likewise.
13998         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
13999         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
14000         * sysdeps/unix/sysv/linux/send.c: Likewise.
14001         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
14002         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
14003         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
14004         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
14005         * sysdeps/unix/sysv/linux/socket.c: Likewise.
14006         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
14007         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
14008         prototype.
14009         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
14010         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14011         instead of __internal_xxx function.
14012         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
14013         prototype.
14014         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
14015         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14016         instead of __internal_xxx function.
14017         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
14018         prototype.
14019         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
14020         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
14021         instead of __internal_xxx function.
14022         * sysdeps/unix/sysv/linux/accept.S: Remove file.
14023         * sysdeps/unix/sysv/linux/bind.S: Likewise.
14024         * sysdeps/unix/sysv/linux/connect.S: Likewise.
14025         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
14026         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
14027         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
14028         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
14029         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
14030         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
14031         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
14032         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
14033         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14034         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
14035         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
14036         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
14037         * sysdeps/unix/sysv/linux/listen.S: Likewise.
14038         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
14039         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
14040         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
14041         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
14042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
14043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
14044         * sysdeps/unix/sysv/linux/recv.S: Likewise.
14045         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
14046         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
14047         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
14048         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14049         * sysdeps/unix/sysv/linux/send.S: Likewise.
14050         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
14051         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
14052         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
14053         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
14054         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
14055         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
14056         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
14057         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
14058         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
14059         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
14060         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
14061         socketcall is implemented in GLIBC.
14063 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
14065         * soft-fp/fmadf4.c: Include <libc-internal.h>.
14066         (__fma): Ignore uninitialized warnings around packing.
14067         * soft-fp/fmasf4.c: Include <libc-internal.h>.
14068         (__fmaf): Ignore uninitialized warnings around packing.
14069         * soft-fp/fmatf4.c: Include <libc-internal.h>.
14070         (__fmal): Ignore uninitialized warnings around packing.
14072         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
14073         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14074         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
14075         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14077         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
14078         switch statement into default case.
14079         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
14081         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
14082         a conditional in forcing "inexact".
14083         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14084         Likewise.
14086 2015-05-22  Roland McGrath  <roland@hack.frob.com>
14088         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14089         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
14090         for each INTERNAL_SYSCALL use.
14092 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
14094         [BZ #438]
14095         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
14096         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
14097         variable.
14099         [BZ #18444]
14100         * string/basename.c (basename): Rename to __basename and define as
14101         weak alias of __basename.  Use libc_hidden_weak.
14102         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
14103         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
14104         __basename instead of basename.
14105         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
14106         Remove variable.
14107         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
14109 2015-05-18  Florian Weimer  <fweimer@redhat.com>
14111         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
14112         (_IO_JUMPS_FILE_plus): New.
14113         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
14114         _IO_CAST_FIELD_ACCESS.
14115         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
14116         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
14117         * libio/freopen.c (freopen): Likewise.
14118         * libio/freopen64.c (freopen64): Likewise.
14119         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
14120         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
14121         * libio/iofwide.c (_IO_fwide): Likewise.
14122         * libio/memstream.c (open_memstream): Likewise.
14123         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
14124         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
14125         * libio/oldiopopen.c (_IO_old_popen): Likewise.
14127 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
14129         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
14130         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
14131         NADJ.
14132         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
14133         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
14134         NADJ.
14135         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
14136         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
14137         NADJ.
14139         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
14140         (p == 4) case.
14142         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
14143         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
14144         Remove variable.
14145         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14146         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14147         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
14149 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14151         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
14152         Adjust jump table label generation macros.
14154 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14156         * stdio-common/vfprintf.c (vfprintf): Move local variables
14157         args_malloced, specs, specs_malloced, and the code after
14158         do_positional to the printf_positional function.
14159         (printf_positional): New function.
14161 2015-05-21  Florian Weimer  <fweimer@redhat.com>
14163         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
14164         function.
14165         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
14166         STEP4_TABLE, process_arg): Move macro definitions
14167         out of the vfprintf function.  (Cosmetic change only.)
14169 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
14171         * benchtests/Makefile (stdio-common-bench): Define.
14172         (benchset): Add stdio-common-bench.
14173         * sprintf-inputs: New file.
14174         * sprintf-source.c: New file.
14176 2015-05-21  Andreas Schwab  <schwab@suse.de>
14178         [BZ #13028]
14179         [BZ #17053]
14180         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
14181         of struct __res_state.
14182         * resolv/res_send.c (__libc_res_nsend): Likewise.
14183         (get_nsaddr): New function.
14184         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
14185         statp directly.
14187 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
14189         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
14190         -D_POSIX_C_SOURCE=199506L.
14192         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
14194         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
14195         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
14196         Do not mention otherwise.
14197         [POSIX] (_XOPEN_VERSION): Do not expect.
14198         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
14199         [POSIX] (_POSIX2_C_BIND): Likewise.
14200         [POSIX] (_POSIX2_VERSION): Likewise.
14201         [POSIX] (_XOPEN_XPG2): Likewise.
14202         [POSIX] (_XOPEN_XPG3): Likewise.
14203         [POSIX] (_XOPEN_XPG4): Likewise.
14204         [POSIX] (_XOPEN_UNIX): Likewise.
14205         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
14206         [POSIX] (_POSIX_BARRIERS): Likewise.
14207         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
14208         [POSIX] (_POSIX_CPUTIME): Likewise.
14209         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
14210         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
14211         [POSIX] (_POSIX_SHELL): Likewise.
14212         [POSIX] (_POSIX_SPAWN): Likewise.
14213         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
14214         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
14215         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
14216         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
14217         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
14218         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
14219         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
14220         [POSIX] (_XBS5_LP64_OFF64): Likewise.
14221         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
14222         [POSIX] (_POSIX_TIMEOUTS): Likewise.
14223         [POSIX] (_POSIX2_PBS): Likewise.
14224         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
14225         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
14226         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
14227         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
14228         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
14229         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
14230         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
14231         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
14232         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
14233         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
14234         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
14235         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
14236         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
14237         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
14238         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
14239         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
14240         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
14241         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
14242         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
14243         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
14244         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
14245         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
14246         [POSIX] (_SC_2_C_BIND): Likewise.
14247         [POSIX] (_SC_2_C_VERSION): Likewise.
14248         [POSIX] (_SC_2_PBS): Likewise.
14249         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
14250         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
14251         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
14252         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
14253         [POSIX] (_SC_2_PBS_TRACK): Likewise.
14254         [POSIX] (_SC_ATEXIT_MAX): Likewise.
14255         [POSIX] (_SC_BARRIERS): Likewise.
14256         [POSIX] (_SC_BASE): Likewise.
14257         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
14258         [POSIX] (_SC_DEVICE_IO): Likewise.
14259         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
14260         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
14261         [POSIX] (_SC_FD_MGMT): Likewise.
14262         [POSIX] (_SC_FIFO): Likewise.
14263         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
14264         [POSIX] (_SC_FILE_LOCKING): Likewise.
14265         [POSIX] (_SC_FILE_SYSTEM): Likewise.
14266         [POSIX] (_SC_IOV_MAX): Likewise.
14267         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
14268         [POSIX] (_SC_NETWORKING): Likewise.
14269         [POSIX] (_SC_PAGE_SIZE): Likewise.
14270         [POSIX] (_SC_PASS_MAX): Likewise.
14271         [POSIX] (_SC_PIPE): Likewise.
14272         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
14273         [POSIX] (_SC_REGEXP): Likewise.
14274         [POSIX] (_SC_SHELL): Likewise.
14275         [POSIX] (_SC_SIGNALS): Likewise.
14276         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
14277         [POSIX] (_SC_SPIN_LOCKS): Likewise.
14278         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
14279         [POSIX] (_SC_USER_GROUPS): Likewise.
14280         [POSIX] (_SC_USER_GROUPS_R): Likewise.
14281         [POSIX] (_SC_STREAMS): Likewise.
14282         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
14283         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
14284         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
14285         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
14286         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
14287         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
14288         [POSIX] (_PC_FILESIZEBITS): Likewise.
14289         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
14290         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
14291         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
14292         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
14293         [POSIX] (uid_t): Likewise.
14294         [POSIX] (gid_t): Likewise.
14295         [POSIX] (off_t): Likewise.
14296         [POSIX] (pid_t): Likewise.
14297         [POSIX] (cuserid): Allow.
14298         (_SC_2_CHAR_TERM): Require constant.
14299         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
14300         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
14301         variable.
14303 2015-05-20  Roland McGrath  <roland@hack.frob.com>
14305         * sysdeps/nacl/pthread-pids.h: New file.
14306         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
14307         (create_thread): Use __nacl_get_tid to initialize PD->tid.
14309         * nptl/pthread-pids.h: New file.
14310         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
14311         * nptl/nptl-init.c: Include <pthread-pids.h>.
14312         (__pthread_initialize_minimal_internal):
14313         Call __pthread_initialize_pids instead of set_tid_address syscall.
14315         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
14316         * sysdeps/posix/usleep.c: ... here.
14318 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14320         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
14321         call_pselect6 object.
14322         [$(subdir) = io]: Remove call_sync_file_range object.
14323         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
14324         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
14325         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
14326         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
14328 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
14330         * math/s_cproj.c: Add include "math_private.h".
14331         * math/s_cprojf.c: Likewise.
14332         * math/s_cprojl.c: Likewise.
14334 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
14336         [BZ #18244]
14337         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
14338         high mantissa bit when testing whether P is a NaN.
14339         * math/libm-test.inc (remainder_test_data): Add more tests.
14340         (remquo_test_data): Likewise.
14342         [BZ #18049]
14343         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
14344         below -32, return the argument, with underflow if subnormal.
14345         * math/auto-libm-test-in: Add more tests of atanh.
14346         * math/auto-libm-test-out: Regenerated.
14348 2015-05-19  Roland McGrath  <roland@hack.frob.com>
14350         [BZ #18434]
14351         * nptl/tst-sem15.c: New file.
14352         * nptl/Makefile (tests): Add it.
14353         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
14354         s/<</>>/ to fix typo in EOVERFLOW check.
14355         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
14357 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14359         * manual/strings.texi (envz_remove): Fix typo in safety
14360         annotations.
14362 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
14363             Steve Ellcey  <sellcey@imgtec.com>
14365         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
14366         in order to avoid strict alias warnings.
14367         (iruserok_af): Ditto for ra.
14369 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
14371         [BZ #17581]
14372         * malloc/hooks.c
14373         (magicbyte): Convert to a function and avoid returning 0x01.
14374         (mem2mem_check): Avoid using a length byte equal to the magic byte.
14375         (mem2chunk_check): Fix unsigned comparisons to zero.
14376         Hoist defs of sz and magic.
14378 2015-05-19  Richard Henderson  <rth@redhat.com>
14380         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
14382         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14384 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14386         [BZ #16159]
14387         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
14388         * malloc/arena.c (arena_lock): Check if arena is corrupt.
14389         (reused_arena): Find a non-corrupt arena.
14390         (heap_trim): Pass arena to unlink.
14391         * malloc/hooks.c (malloc_check_get_size): Pass arena to
14392         malloc_printerr.
14393         (top_check): Likewise.
14394         (free_check): Likewise.
14395         (realloc_check): Likewise.
14396         * malloc/malloc.c (malloc_printerr): Add arena argument.
14397         (unlink): Likewise.
14398         (munmap_chunk): Adjust.
14399         (ARENA_CORRUPTION_BIT): New macro.
14400         (arena_is_corrupt): Likewise.
14401         (set_arena_corrupt): Likewise.
14402         (sysmalloc): Use mmap if there are no usable arenas.
14403         (_int_malloc): Likewise.
14404         (__libc_malloc): Don't fail if arena_get returns NULL.
14405         (_mid_memalign): Likewise.
14406         (__libc_calloc): Likewise.
14407         (__libc_realloc): Adjust for additional argument to
14408         malloc_printerr.
14409         (_int_free): Likewise.
14410         (malloc_consolidate): Likewise.
14411         (_int_realloc): Likewise.
14412         (_int_memalign): Don't touch corrupt arenas.
14413         * malloc/tst-malloc-backtrace.c: New test case.
14415         * Makefile (summarize-tests): Fix return value on success.
14417         * manual/string.texi (Envz Functions): Add envz_remove.
14419 2015-05-18  Roland McGrath  <roland@hack.frob.com>
14421         * sysdeps/posix/opendir.c: Include <stdbool.h>.
14422         (invalid_name): New function, broken out of ...
14423         (__opendirat): ... here.  Call it.
14424         (need_isdir_precheck): New function, broken out of ...
14425         (__opendirat): ... here.  Call it.
14426         Use __fxstatat64, not __xstatat64.
14427         (opendir_oflags): New function, broken out of ...
14428         (__opendirat): ... here.  Call it.
14429         (opendir_tail): New function, broken out of ...
14430         (__opendirat): ... here.  Call it.
14431         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
14432         opendir_tail, rather than punting to __opendirat.
14433         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
14435 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
14437         * .gitignore: Ignore generated *.pyc.
14439 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
14441         * include/stdio.h: Define __need_wint_t.
14442         * test-skeleton.c: Avoid `for' loop initial declaration.
14443         * nptl/tst-initializers1.c: Use test-skeleton.c.
14445 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14447         [BZ #18418]
14448         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
14450 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
14452         [BZ #16352]
14453         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
14454         (__ieee754_atanh): Force underflow exception for results with
14455         small absolute value.
14456         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
14457         (__ieee754_atanhf): Force underflow exception for results with
14458         small absolute value.
14459         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
14460         (__ieee754_atanh): Force underflow exception for results with
14461         small absolute value.
14462         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
14463         (__ieee754_atanhf): Force underflow exception for results with
14464         small absolute value.
14465         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
14466         (__ieee754_atanhl): Force underflow exception for results with
14467         small absolute value.
14468         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
14469         (__ieee754_atanhl): Force underflow exception for results with
14470         small absolute value.
14471         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
14472         (__ieee754_atanhl): Force underflow exception for results with
14473         small absolute value.
14474         * math/auto-libm-test-in: Do not allow missing underflow
14475         exceptions from atanh.
14476         * math/auto-libm-test-out: Regenerated.
14478         [BZ #18221]
14479         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
14480         2**-28 as threshold for returning x or +/- 1/x.
14481         * math/auto-libm-test-in: Add more tests of tan.
14482         * math/auto-libm-test-out: Regenerated.
14484         [BZ #18220]
14485         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14486         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
14487         * math/auto-libm-test-in: Add another test of lgamma.
14488         * math/auto-libm-test-out: Regenerated.
14490 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
14492         * stdio-common/printf_fp.c (___printf_fp): Use abs.
14493         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
14494         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
14495         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
14496         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
14497         (ADD2A): Use fabs.  (SUB2A): Use fabs.
14498         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
14499         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
14500         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
14501         (log1): Use fabs.  (my_log2): Use fabs.
14502         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
14503         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
14504         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
14505         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
14506         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
14507         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
14508         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
14509         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
14510         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
14511         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
14512         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
14514 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
14516         [BZ #18217]
14517         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
14518         as threshold for returning 1 - x.
14519         * math/auto-libm-test-in: Add more tests of erfc.
14520         * math/auto-libm-test-out: Regenerated.
14522 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
14524         [BZ #18196]
14525         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
14526         threshold for large arguments.
14527         * math/auto-libm-test-in: Add another test of atan.
14528         * math/auto-libm-test-out: Regenerated.
14530         [BZ #16339]
14531         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
14532         (__log1p): Force underflow exception for results with small
14533         absolute value.
14534         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
14535         (__log1pf): Force underflow exception for results with small
14536         absolute value.
14537         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
14538         (__log1p): Force underflow exception for results with small
14539         absolute value.
14540         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
14541         (__log1pf): Force underflow exception for results with small
14542         absolute value.
14543         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
14544         (__log1pl): Force underflow exception for results with small
14545         absolute value.
14546         * math/auto-libm-test-in: Do not allow missing underflow
14547         exceptions from log1p.
14548         * math/auto-libm-test-out: Regenerated.
14550 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
14551             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14553         [BZ #16704]
14554         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
14556 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
14558         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
14559         (libmvec): New variable.
14560         * configure.ac: Added option for mathvec build.
14561         * configure: Regenerated.
14562         * mathvec/Depend: New file.
14563         * mathvec/Makefile: New file.
14564         * shlib-versions: Added libmvec.
14565         * math/Makefile: Added rule for libm.so installation.
14567         * bits/math-vector.h: New file.
14568         * bits/libm-simd-decl-stubs.h: New header.
14569         * math/Makefile (headers): Added new header
14570         libm-simd-decl-stubs.h.
14571         * math/math.h (__MATHCALL_VEC): New macro.
14573         * math/gen-libm-have-vector-test.sh: Script generates series of macros
14574         for conditions in testing functions.
14575         * math/Makefile: Added call of libm-have-vector-test.sh.
14576         * math/libm-test.inc (HAVE_VECTOR): New macros.
14578         * math/libm-test.inc: START refactored.
14579         * math/test-double.c (TEST_MATHVEC): Add define.
14580         * math/test-float.c: Likewise.
14581         * math/test-idouble.c: Likewise.
14582         * math/test-ifloat.c: Likewise.
14583         * math/test-ildoubl.c: Likewise.
14584         * math/test-ldouble.c: Likewise.
14585         * sysdeps/generic/math-tests-arch.h
14586         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
14587         architecture check.
14589         * math/test-double.c (FUNC_TEST): New macro.
14590         * math/test-float.c: Likewise.
14591         * math/test-idouble.c: Likewise.
14592         * math/test-ifloat.c: Likewise.
14593         * math/test-ildoubl.c: Likewise.
14594         * math/test-ldouble.c: Likewise.
14595         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
14597 2015-05-13  Roland McGrath  <roland@hack.frob.com>
14599         * sysdeps/nacl/fdopendir.c: New file.
14601         * dirent/scandir-tail.c: New file.
14602         * dirent/scandir64-tail.c: New file.
14603         * dirent/Makefile (routines): Add them.
14604         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
14605         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
14606         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
14607         [!SCANDIR] (SCANDIR_TAIL): New macro.
14608         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
14609         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
14610         (SCANDIRAT): Macro removed.
14611         (SCANDIR_TAIL): New macro.
14612         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
14613         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
14614         (SCANDIRAT): Just call __opendirat and __scandir_tail.
14615         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
14616         (READDIR): Macro removed.
14617         (SCANDIR_TAIL): New macro.
14618         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
14619         (SCANDIR_TAIL): New macro.
14621         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
14622         * dirent/scandir-cancel.c: ... to this new file.
14623         * dirent/Makefile (routines): Add it.
14624         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
14625         * sysdeps/unix/sysv/linux/i386/scandir64.c
14626         (SKIP_SCANDIR_CANCEL): Macro removed.
14627         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
14629         * dirent/tst-scandir.c: New file.
14630         * dirent/tst-scandir64.c: New file.
14631         * dirent/Makefile (tests): Add them.
14633 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
14635         [BZ #18409]
14636         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
14638 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14640         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
14641         list.
14643 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
14645         * benchtests/bench-strcoll.c: New benchmark.
14646         * benchtests/Makefile: Generate locales and run benchmark.
14647         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
14648         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
14649         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
14650         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
14651         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
14652         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
14653         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
14654         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
14655         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
14656         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
14657         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
14658         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
14659         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
14660         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
14661         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
14662         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
14663         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
14664         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
14665         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
14666         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
14667         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
14668         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
14669         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
14670         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
14672 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
14674         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
14675         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14677 2015-05-12  Roland McGrath  <roland@hack.frob.com>
14679         * posix/uname-values.h: New file.
14680         * posix/uname.c: Include that instead of <config-name.h>.
14681         * sysdeps/nacl/uname-values.h: New file.
14682         * sysdeps/arm/nacl/uname-values.h: New file.
14684 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
14686         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
14687         splitting into fields.
14689 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
14691         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
14692         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
14693         * locale/localeinfo.h: Add enum collation_encoding_type.
14694         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
14695         * programs/ld-collate.c (collate_output): Add encoding type info.
14696         * string/strcoll_l.c (STRDIFF): New function.
14697         * (STRCOLL): Use STRDIFF to skip over equal prefix.
14698         * wcsmbs/wcscoll_l.c: Define STRDIFF.
14700 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
14702         [BZ #18397]
14703         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
14704         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
14705         <fpu_control.h> instead of <math/fpu_control.c>.
14706         * sysdeps/mips/mips32/fpu/Makefile: New file.
14708 2015-05-11  Andreas Schwab  <schwab@suse.de>
14710         [BZ #18007]
14711         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
14712         nss_endgrent.
14713         (_nss_compat_endgrent): Call nss_endgrent.
14714         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
14715         nss_endpwent.
14716         (_nss_compat_endpwent): Call nss_endpwent.
14717         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
14718         needent, call nss_setspent only if non-zero.
14719         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
14720         (internal_endspent): Don't call nss_endspent.
14721         (_nss_compat_endspent): Call nss_endspent.
14722         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
14723         Remove.  All uses removed.
14724         (internal_setent): Remove parameter stayopen, add parameter
14725         stream.  Use it instead of global variable.
14726         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
14727         (internal_endent, internal_getent): Add parameter stream.  Use it
14728         instead of global variable.
14729         (CONCAT(_nss_files_end,ENTNAME))
14730         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
14731         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
14732         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
14733         uses removed.
14734         (internal_setent, internal_endent): Add parameter stream.  Use it
14735         instead of global variable.
14736         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
14737         stream.
14738         (get_next_alias): Add parameter stream.
14739         (_nss_files_getaliasent_r): Pass global stream.
14740         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
14741         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
14742         (_nss_files_gethostbyname4_r): Pass local stream to
14743         internal_setent, internal_getent and internal_endent.  Remove
14744         locking.
14746 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14748         * tst-strfmon1.c (tests): Update expected currency symbol.
14750 2015-05-08  Roland McGrath  <roland@hack.frob.com>
14752         * sysdeps/nacl/gethostname.c: New file.
14754 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
14756         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
14757         and sinh.
14758         * math/auto-libm-test-out: Regenerated.
14759         * sysdeps/i386/fpu/libm-test-ulps: Update.
14760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14762 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
14764         [BZ #18125]
14765         * stdlib/tst-setcontext3.c: New file.
14766         * stdlib/tst-setcontext3.sh: New file.
14767         * stdlib/Makefile (tests): Add tst-setcontext3.
14768         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
14769         to verify test program created output file.
14770         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
14771         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
14772         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
14773         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
14775 2015-05-06  Roland McGrath  <roland@hack.frob.com>
14777         [BZ #18383]
14778         * elf/tst-tlsalign.c: New file.
14779         * elf/tst-tlsalign-static.c: New file.
14780         * elf/tst-tlsalign-lib.c: New file.
14781         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
14782         (tests-static): Add tst-tlsalign-static.
14783         (modules-names): Add tst-tlsalign-lib.
14784         (test-xfail-tst-tlsalign): New variable.
14785         (test-xfail-tst-tlsalign-static): New variable.
14787         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
14788         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
14790 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
14792         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
14793         csqrt, erfc, sin and sincos.
14794         * math/auto-libm-test-out: Regenerated.
14795         * sysdeps/i386/fpu/libm-test-ulps: Update.
14796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14798 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14800         * sysdeps/aarch64/libm-test-ulps: Update.
14802 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
14804         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
14805         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
14806         * math/auto-libm-test-out: Regenerated.
14807         * sysdeps/i386/fpu/libm-test-ulps: Update.
14808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14810 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
14812         [BZ #18265]
14813         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
14814         (wcsncpy): Likewise.
14816 2015-05-05  Florian Weimer  <fweimer@redhat.com>
14818         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14819         Assume __ASSUME_FALLOCATE is always true.
14820         * sysdeps/unix/sysv/linux/posix_fallocate64.c
14821         (__posix_fallocate64_l64): Likweise.
14822         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
14823         (posix_fallocate): Likewise.
14824         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
14825         (__posix_fallocate64_l64): Likewise.
14826         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14827         [!__ASSUME_FALLOCATE]: Add comment.
14829 2015-05-05  Florian Weimer  <fweimer@redhat.com>
14831         * sysdeps/unix/sysv/linux/i386/Makefile
14832         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
14833         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
14834         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
14835         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
14836         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
14837         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
14838         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
14840 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
14842         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
14843         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
14844         tgamma.
14845         * math/auto-libm-test-out: Regenerated.
14846         * sysdeps/i386/fpu/libm-test-ulps: Update.
14847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14849 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
14851         * math/auto-libm-test-in: Add more tests of tgamma.
14852         * math/auto-libm-test-out: Regenerated.
14853         * sysdeps/i386/fpu/libm-test-ulps: Update.
14854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14856         * math/auto-libm-test-in: Add more tests of tanh.
14857         * math/auto-libm-test-out: Regenerated.
14858         * sysdeps/i386/fpu/libm-test-ulps: Update.
14859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14861         * math/auto-libm-test-in: Add more tests of tan.
14862         * math/auto-libm-test-out: Regenerated.
14863         * sysdeps/i386/fpu/libm-test-ulps: Update.
14864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14866         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
14867         * math/auto-libm-test-out: Regenerated.
14868         * sysdeps/i386/fpu/libm-test-ulps: Update.
14869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14871         * math/auto-libm-test-in: Add another test of pow.
14872         * math/auto-libm-test-out: Regenerated.
14873         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14875         * math/auto-libm-test-in: Add more tests of lgamma.
14876         * math/auto-libm-test-out: Regenerated.
14877         * sysdeps/i386/fpu/libm-test-ulps: Update.
14878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14880         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
14881         log1p.
14882         * math/auto-libm-test-out: Regenerated.
14883         * sysdeps/i386/fpu/libm-test-ulps: Update.
14884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14886 2015-05-01  Mark Wielaard  <mjw@redhat.com>
14888         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
14889         Elf64_Chdr structs and ELFCOMPRESS constants.
14891 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
14893         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
14894         expm1.
14895         * math/auto-libm-test-out: Regenerated.
14896         * sysdeps/i386/fpu/libm-test-ulps: Update.
14897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14899         * math/auto-libm-test-in: Add more tests of erf and erfc.
14900         * math/auto-libm-test-out: Regenerated.
14901         * sysdeps/i386/fpu/libm-test-ulps: Update.
14902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14904 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14906         * config.h.in (HAVE_AARCH64_BE): Add.
14908 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
14910         * math/auto-libm-test-in: Add more tests of csqrt.
14911         * math/auto-libm-test-out: Regenerated.
14912         * sysdeps/i386/fpu/libm-test-ulps: Update.
14913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14915         * math/auto-libm-test-in: Add more tests of cosh and sinh.
14916         * math/auto-libm-test-out: Regenerated.
14917         * sysdeps/i386/fpu/libm-test-ulps: Update.
14918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14920         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
14922 2015-04-29  Roland McGrath  <roland@hack.frob.com>
14924         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
14925         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
14927         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
14928         (euidaccess, eaccess): Define as weak aliases.
14930         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
14931         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
14932         but __suseconds_t is often 'long int' so some sources assume that
14933         type is being used (e.g. they use %ld to print tv_usec).
14935 2015-04-29  Florian Weimer  <fweimer@redhat.com>
14937         [BZ #18007]
14938         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
14939         (CVE-2014-8121)
14940         * nss/tst-nss-getpwent.c: New file.
14941         * nss/Makefile (tests): Add new test.
14943 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
14945         [BZ #18346]
14946         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
14947         exponents less than 48 as cases where high part of mantissa needs
14948         examining to determine whether argument is integral.
14949         * math/libm-test.inc (round_test_data): Add more tests.
14951 2015-04-28  Mark Wielaard  <mjw@redhat.com>
14953         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
14955 2015-04-27  David S. Miller  <davem@davemloft.net>
14957         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
14958         __tls_get_addr.
14959         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
14961 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
14963         [BZ#18333]
14964         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
14966 2015-04-27  Florian Weimer  <fweimer@redhat.com>
14968         [BZ#18333]
14969         * time/tzset.c (parse_tzname): Return error on memory allocation
14970         failure.
14971         * test-skeleton.c (struct temp_name_list): Change type of name
14972         member to non-const.
14973         (add_temp_file): Create a copy of the file name.
14974         (delete_temp_files): Deallocate memory.
14975         (create_temp_file): Add comment.
14977 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14979         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
14980         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
14982 2015-04-24  Roland McGrath  <roland@hack.frob.com>
14984         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
14985         * sysdeps/arm/configure: Regenerated.
14987 2015-04-24  Florian Weimer  <fweimer@redhat.com>
14989         [BZ #17715]
14990         * time/tzfile.c (__tzfile_read): Check for large values of
14991         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
14992         * time/tzset.c (__tzstring_len): New function, based on the old
14993         __tzstring function.
14994         (__tzstring): Call __tzstring_len.
14995         (parse_tzname): New helper function extracted from
14996         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
14997         the input string.
14998         (parse_offset): New helper function extracted from
14999         __tzset_parse_tz.  Replace switch with fallthrough with
15000         initialization before sscanf.
15001         (parse_rule): Likewise.
15002         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
15003         new-style function definition.
15004         * timezone/Makefile (tests): Add tst-tzset.
15005         (tst-tzset.out): Dependencies on time zone files.
15006         (tst-tzset-ENV): Set TZDIR.
15007         (testdata/XT%): Copy crafted time zone files.
15008         * timezone/README: Mention crafted time zone files.
15009         * timezone/testdata/XT1, timezone/testdata/XT2,
15010         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
15011         files.
15012         * timezone/tst-tzset.c: New test.
15014 2015-04-24  Florian Weimer  <fweimer@redhat.com>
15016         * Makeconfig (+gccwarn): Remove -Winline.
15018 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15020         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
15022 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
15024         * NEWS: Mention sysconf() cache information support for s390.
15025         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
15027 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
15029         * math/k_casinh.c (__kernel_casinh): Use __copysign.
15030         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
15031         (__nearbyint): Likewise.
15032         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
15033         (copysignl): Likewise.
15035 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
15037         [BZ #18287]
15038         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
15039         based on padding.  (CVE-2015-1781)
15041 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15043         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
15044         libc-vdso.h.
15045         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
15046         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
15047         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
15048         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
15049         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
15050         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
15051         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
15052         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
15053         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
15054         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
15055         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15056         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15057         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
15058         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
15059         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
15060         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
15061         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
15062         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
15063         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
15064         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
15065         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
15066         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
15067         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
15069 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
15071         * stdlib/setenv.c (__add_to_environ):
15072         Dump core quickly if setenv (..., NULL, ...) is called.
15073         This time, do it the right way, and pacify GCC with a pragma.
15075 2015-04-17  Roland McGrath  <roland@hack.frob.com>
15077         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
15078         IMAP->l_prev cannot be null, and #if out the code for the contrary
15079         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
15080         believe that NS (&_dl_ns[NSID]) could point outside the array.
15082         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
15083         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
15084         before using NSID as an index.
15086 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
15088         [BZ #17825]
15089         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
15090         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
15091         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
15093 2015-04-17  Roland McGrath  <roland@hack.frob.com>
15095         Add preliminary port to Google Native Client on ARM.
15096         * abi-tags (.*-.*-nacl.*): New entry.
15097         * sysdeps/arm/nacl: New directory.
15098         * sysdeps/nacl: New directory.
15100 2015-04-16  David S. Miller  <davem@davemloft.net>
15102         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
15103         lowlevellock-futex.h
15105 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
15107         * sysdeps/tile/configure.ac: New file.
15108         * sysdeps/tile/configure: Regenerated.
15110 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15112         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
15113         conditionals for weak_alias and libc_hidden_weak.
15114         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
15115         libc_hidden_weak and weak_alias.
15116         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
15117         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
15118         and weak_alias for static one.
15120 2015-04-15  David S. Miller  <davem@davemloft.net>
15122         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
15124 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15126         [BZ #18206]
15127         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
15128           Use signed comparision instead of substraction to avoid
15129           overflow bug.
15130         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
15131           Take the sign of ret.
15132         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
15133           Do not expect precise return values. Only the sign matters.
15134         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
15135         * wcsmbs/test-wcsncmp.c: New File.
15136         * string/test-strncmp.c: Add wcsncmp support.
15138 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
15140         [BZ #6792]
15141         * math/w_log1p.c: New file.
15142         * math/w_log1pf.c: Likewise.
15143         * math/w_log1pl.c: Likewise.
15144         * math/Makefile (libm-calls): Add w_log1p.
15145         * math/s_log1pl.c (log1pl): Remove weak_alias.
15146         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
15147         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
15148         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
15149         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
15150         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
15151         [NO_LONG_DOUBLE] (log1pl): Likewise.
15152         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
15153         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
15154         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
15155         (log1p): Remove long_double_symbol.
15156         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
15157         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
15158         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
15159         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
15160         remove weak_alias for corresponding log1p function.
15161         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
15162         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
15163         * sysdeps/ia64/fpu/w_log1p.c: New file.
15164         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
15165         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
15166         * math/libm-test.inc (log1p_test_data): Add errno expectations.
15168 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
15170         [BZ #18247]
15171         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
15172         decimal exponent by 1.
15173         * stdlib/tst-strtod-round-data: Add more tests.
15174         * stdlib/tst-strtod-round.c (tests): Regenerated.
15176 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
15178         * math/auto-libm-test-in: Add more tests of clog and clog10.
15179         * math/auto-libm-test-out: Regenerated.
15180         * sysdeps/i386/fpu/libm-test-ulps: Update.
15181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15183 2015-04-09  Roland McGrath  <roland@hack.frob.com>
15185         * Makeconfig (module-cppflags): Exclude all .v.i files.
15186         (skip-module-cppflags): Variable removed.
15188         * configure.ac (libc_config_ok): Initialize before reading
15189         preconfigure scripts, not after.
15190         * configure: Regenerated.
15192         * test-skeleton.c (TIMEOUT): Move #define to top level.
15193         (main): Grok environment variable TEST_DIRECT.  If set, print
15194         test expectation details into that file and then behave as if
15195         given --direct.
15197 2015-04-09  Florian Weimer  <fweimer@redhat.com>
15199         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
15200         warning on 32-bit.
15202 2015-04-08  David S. Miller  <davem@davemloft.net>
15204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15206 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
15208         * math/auto-libm-test-in: Add more tests of atanh.
15209         * math/auto-libm-test-out: Regenerated.
15210         * sysdeps/i386/fpu/libm-test-ulps: Update.
15211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15213         * math/auto-libm-test-in: Add more tests of atan.
15214         * math/auto-libm-test-out: Regenerated.
15215         * sysdeps/i386/fpu/libm-test-ulps: Update.
15216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15218 2015-04-08  Florian Weimer  <fweimer@redhat.com>
15220         * elf/pldd.c (main): Rewrite to use struct
15221         scratch_buffer instead of extend_alloca.
15222         * elf/pldd-xx.c (find_maps): Likewise.
15223         * grp/initgroups.c: Include <scratch_buffer.h> instead of
15224         <alloca.h>.
15225         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
15226         scratch_buffer instead of extend_alloca.
15227         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
15228         grp/compat-initgroups.c.
15229         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
15230         Rewrite to use struct scratch_buffer instead of extend_alloca.
15231         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
15232         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15234 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
15236         * math/auto-libm-test-in: Add more tests of cbrt.
15237         * math/auto-libm-test-out: Regenerated.
15238         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15240         * math/auto-libm-test-in: Add more tests of cabs.
15241         * math/auto-libm-test-out: Regenerated.
15242         * sysdeps/i386/fpu/libm-test-ulps: Update.
15243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15245         [BZ #18210]
15246         [BZ #18211]
15247         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
15248         (__ieee754_atan2): Set FE_TONEAREST mode for internal
15249         computations.
15250         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
15251         clog10.
15252         * math/auto-libm-test-out: Regenerated.
15253         * sysdeps/i386/fpu/libm-test-ulps: Update.
15254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15256         [BZ #18197]
15257         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
15258         (atan): Set FE_TONEAREST mode for internal computations.
15259         * math/auto-libm-test-in: Add more tests of atan.
15260         * math/auto-libm-test-out: Regenerated.
15262 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
15264         [BZ #17930]
15265         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
15267 2015-04-07  Florian Weimer  <fweimer@redhat.com>
15269         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
15271 2015-04-07  Florian Weimer  <fweimer@redhat.com>
15273         * include/scratch_buffer.h: New file.
15274         * malloc/scratch_buffer_grow.c: Likewise.
15275         * malloc/scratch_buffer_grow_preserve.c: Likewise.
15276         * malloc/scratch_buffer_set_array_size.c: Likewise.
15277         * malloc/tst-scratch_buffer.c: Likewise.
15278         * malloc/Makefile (routines): Add scratch_buffer_grow.
15279         (tests): Add test case.
15280         * malloc/Versions (GLIBC_PRIVATE): Export
15281         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
15282         __libc_scratch_buffer_set_array_size.
15284 2015-04-06  Richard Henderson  <rth@redhat.com>
15286         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
15287         * sysdeps/alpha/fpu/libm-test-ulps: Update.
15289         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
15290         unsigned int before printing.
15292 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15294         [BZ #17596]
15295         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
15296         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15298 2015-04-02  Florian Weimer  <fweimer@redhat.com>
15300         * include/libc-internal.h (libc_max_align_t): Define.
15302 2015-04-02  Andreas Schwab  <schwab@suse.de>
15304         [BZ #16850]
15305         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
15307 2015-04-02  Mel Gorman  <mgorman@suse.de>
15309         [BZ #17195]
15310         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
15311         as well as the main arena.
15313 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15315         [BZ #18185]
15316         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
15317         sharing L2 cache to 2 for Silvermont/Knights Landing.
15319 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15321         [BZ #17711]
15322         * config.make.in (have-protected-data): New.
15323         * configure.ac: Check linker support for protected data symbol.
15324         * configure: Regenerated.
15325         * elf/Makefile (modules-names): Add tst-protected1moda and
15326         tst-protected1modb if $(have-protected-data) is yes.
15327         (tests): Add tst-protected1a and tst-protected1b if
15328         $(have-protected-data) is yes.
15329         ($(objpfx)tst-protected1a): New.
15330         ($(objpfx)tst-protected1b): Likewise.
15331         (tst-protected1modb.so-no-z-defs): Likewise.
15332         * elf/tst-protected1a.c: New file.
15333         * elf/tst-protected1b.c: Likewise.
15334         * elf/tst-protected1mod.h: Likewise.
15335         * elf/tst-protected1moda.c: Likewise.
15336         * elf/tst-protected1modb.c: Likewise.
15338 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
15340         [BZ #17711]
15341         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
15342         indicates it is called from do_lookup_x on relocation against
15343         protected data, skip the data definion in the executable from
15344         copy reloc.
15345         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
15346         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
15347         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
15348         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
15349         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
15350         otherwise to 0.
15351         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15352         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
15353         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
15354         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
15355         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
15356         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
15358 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
15360         * sysdeps/nptl/pthread.h: Remove duplicate definition of
15361         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
15363 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
15365         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
15366         THREAD_SETMEM_NC.
15367         * sysdeps/x86_64/nptl/tls.h: Ditto.
15369 2015-03-27  Roland McGrath  <roland@hack.frob.com>
15371         * dlfcn/tststatic.c (main): Converted to ...
15372         (do_test): ... this.
15373         (TEST_FUNCTION): New macro.
15374         Include test-skeleton.c.
15376 2015-03-26  Alan Modra  <amodra@gmail.com>
15378         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
15379         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
15380         zero for undefined weak.
15381         (elf_machine_plt_conflict): Similarly.
15383 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
15385         * math/auto-libm-test-in: Add more tests of acosh, asinh and
15386         atanh.
15387         * math/auto-libm-test-out: Regenerated.
15388         * sysdeps/i386/fpu/libm-test-ulps: Update.
15389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15391         * math/auto-libm-test-in: Add another test of asin.
15392         * math/auto-libm-test-out: Regenerated.
15393         * sysdeps/i386/fpu/libm-test-ulps: Update.
15394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15396         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
15397         Remove macro.
15398         (LLL_EBX_REG): Likewise.
15399         (LLL_ENTER_KERNEL): Likewise.
15401         * math/auto-libm-test-in: Add more tests of asin.
15402         * math/auto-libm-test-out: Regenerated.
15403         * sysdeps/i386/fpu/libm-test-ulps: Update.
15404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15406         [BZ #18138]
15407         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
15408         libc_do_syscall_args): New structure.
15409         (INTERNAL_SYSCALL_MAIN_0): New macro.
15410         (INTERNAL_SYSCALL_MAIN_1): Likewise.
15411         (INTERNAL_SYSCALL_MAIN_2): Likewise.
15412         (INTERNAL_SYSCALL_MAIN_3): Likewise.
15413         (INTERNAL_SYSCALL_MAIN_4): Likewise.
15414         (INTERNAL_SYSCALL_MAIN_5): Likewise.
15415         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
15416         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
15417         Replace conditional definitions by conditional definitions of ....
15418         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
15419         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
15420         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
15421         (libpthread-sysdep_routines): Add libc-do-syscall.
15422         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
15423         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
15424         to __NR_futex not 240.
15426 2015-03-25  Alan Modra  <amodra@gmail.com>
15428         * NEWS: Advertise TLS optimization.
15429         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
15430         (DT_PPC_NUM): Increment.
15431         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
15432         (CHECK_STATIC_TLS): Use here.
15433         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
15434         TLS descriptors.
15435         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15436         * sysdeps/powerpc/dl-tls.c: New file.
15437         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
15438         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
15439         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
15440         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
15441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
15442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15445 2015-03-25  Alan Modra  <amodra@gmail.com>
15447         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
15448         for overlapping .opd entries" to "support...".
15449         * sysdeps/powerpc/powerpc64/configure: Regenerate
15451 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
15453         * math/auto-libm-test-in: Add more tests of acos.
15454         * math/auto-libm-test-out: Regenerated.
15455         * sysdeps/i386/fpu/libm-test-ulps: Update.
15456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15458         * math/auto-libm-test-in: Add more tests of expm1.
15459         * math/auto-libm-test-out: Regenerated.
15460         * sysdeps/i386/fpu/libm-test-ulps: Update.
15461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15463 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
15465         * math/auto-libm-test-in: Add more tests of cosh and sinh.
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/i386/fpu/libm-test-ulps: Regenerated.
15471         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15473         * math/auto-libm-test-in: Add more tests of log2.
15474         * math/auto-libm-test-out: Regenerated.
15475         * sysdeps/i386/fpu/libm-test-ulps: Update.
15476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15478 2015-03-23  Roland McGrath  <roland@hack.frob.com>
15480         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
15481         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
15482         _IO_IS_APPENDING bit in READ_WRITE instead.
15484 2015-03-23  Florian Weimer  <fweimer@redhat.com>
15486         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15487         (__determine_cpumask_size): Replace extend_alloca with a
15488         variable-length array.  Do not treat res == 0 as an error.
15490 2015-03-23  Florian Weimer  <fweimer@redhat.com>
15492         [BZ #18100]
15493         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
15494         and integer overflow.
15495         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
15496         (main): Add integer overflow tests.
15497         * manual/pattern.texi (Calling Wordexp): Document additional use
15498         for WRDE_SYNTAX.
15500 2015-03-23  Alan Modra  <amodra@gmail.com>
15502         * config.h.in: Remove HAVE_ASM_PPC_REL16.
15503         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
15504         and false branch of conditional.
15505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15506         Likewise.
15508 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
15510         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
15511         libc-modules.h
15512         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
15513         unused declaration of _hurd_intr_rpc_msg_in_trap.
15514         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
15515         defined instead of whether it is non-zero.
15516         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
15517         input constraint instead of both input and output constraint.  Use ecx
15518         clobber instead of %ecx.
15519         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
15520         mutex_unlock): Use a statement expression instead of an expression list.
15521         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
15522         type to vm_size_t instead of vm_address_t.
15523         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
15524         defined instead of whether it is non-zero.
15525         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
15526         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
15527         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
15528         comparisons with mapaddr.
15529         * nscd/nscd-client.h: Include <time.h>.
15530         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
15531         9th parameter to __vm_region instead of int.
15532         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
15533         * scripts/check-local-headers.sh (exclude): Add device/,
15534         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
15535         cthreads.h.
15537 2015-03-19  Roland McGrath  <roland@hack.frob.com>
15539         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
15540         to account for alignment padding.
15541         * sysdeps/arm/memmove.S: Likewise.
15543 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
15545         * sysdeps/unix/sysv/linux/generic/README: New file.
15547 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
15549         [BZ #18138]
15550         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
15551         (futex_abstimed_wait)
15552         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
15553         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
15554         of lll_futex_timed_wait.
15556 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
15558         [BZ #17542]
15559         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
15561 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
15563         [BZ #17090]
15564         [BZ #17620]
15565         [BZ #17621]
15566         [BZ #17628]
15567         * NEWS: Update.
15568         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
15569         entries with Static TLS too.  Skip entries past the end of the
15570         allocated DTV, from Alan Modra.
15571         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
15572         Static TLS DTV entry set up from...
15573         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
15574         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
15575         * nptl/allocatestack.c (init_one_static_tls): ... and here...
15576         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
15577         for Static TLS.
15578         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
15579         that the slot we find is associated with the given map before
15580         using its generation count.
15581         * nptl_db/db_info.c: Include ldsodefs.h.
15582         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
15583         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
15584         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
15585         (link_map::l_tls_offset): New struct field.
15586         (dtv_t::counter): Likewise.
15587         (rtld_global): New struct.
15588         (_rtld_global): New rtld variable.
15589         (dl_tls_dtv_slotinfo_list): New rtld global field.
15590         (dtv_slotinfo_list): New struct.
15591         (dtv_slotinfo): Likewise.
15592         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
15593         (td_lookup): Rename to...
15594         (td_mod_lookup): ... this.  Use new mod parameter instead of
15595         LIBPTHREAD_SO.
15596         * nptl_db/td_thr_tlsbase.c: Include link.h.
15597         (dtv_slotinfo_list, dtv_slotinfo): New functions.
15598         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
15599         addresses even if the DTV is out of date or missing them.
15600         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
15601         index zero-length arrays.
15602         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
15603         (td_lookup): Make it a macro implemented in terms of...
15604         (td_mod_lookup): ... this declaration.
15605         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
15606         (DB_MAIN_VARIABLE): Likewise.
15608 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
15610         [BZ #18134]
15611         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
15613 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
15615         * stdlib/setenv.c (__add_to_environ): Revert previous change.
15617 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
15619         [BZ #18128]
15620         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
15621         (atomic_add, atomic_increment_and_test)
15622         (atomic_decrement_and_test): Fix 64-bit arithmetic.
15624 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
15626         * stdlib/setenv.c (__add_to_environ):
15627         Dump core quickly if setenv (..., NULL, ...) is called.
15629 2015-03-13  Roland McGrath  <roland@hack.frob.com>
15631         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
15632         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
15633         all the necessary asm magic in one place.
15634         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
15635         using those.
15637 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
15639         [BZ #14906]
15640         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
15641         traced file mtime. Use consistent log message.
15642         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
15643         (register_traced_file): Call install_watches. Always set mtime.
15644         (invalidate_cache): Iterate over all trace files. Call install_watches.
15645         (inotify_check_files): Don't inline. Handle watching parent
15646         directories and configuration file movement in and out.
15647         (handle_inotify_events): New function.
15648         (main_loop_poll): Call handle_inotify_events.
15649         (main_loop_epoll): Likewise.
15650         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
15651         (struct traced_file): Use array of inotify fds. Add parent directory,
15652         and basename.
15653         (struct database_dyn): Remove unused file_mtime.
15654         (init_traced_file): New inline function.
15655         (define_traced_file): New macro.
15656         * nss/nss_db/db-init.c: Use define_traced_file.
15657         (_nss_db_init): Use init_traced_file.
15658         * nss/nss_files/files-init.c: Use define_traced_file.
15659         (_nss_files_init): Use init_traced_file.
15661 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
15663         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
15664         [_LIBC]: Do not include <stdlib.h>.
15665         [!_LIBC] (abort): Remove declaration.
15666         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
15667         _FP_STATIC_ASSERT instead of conditionally calling abort.
15668         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
15669         (_FP_EXTEND_CNAN): Likewise.
15670         (FP_TRUNC): Likewise.
15671         (__FP_CLZ): Likewise.
15672         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
15674 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
15676         * manual/string.texi (XPG basename): Fix prototype.
15678 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15680         [BZ #18080]
15681         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
15682         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15683         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
15684         (__setcontext): Likewise.
15685         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
15686         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
15687         Call rt_sigprocmask syscall one time to set new signal mask
15688         and retrieve the current signal mask instead of two calls.
15689         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
15690         (__swapcontext): Likewise.
15691         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
15692         * stdlib/tst-setcontext2.c: New file.
15694 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15696         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15698 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
15700         [BZ #18093]
15701         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
15702         the wrong size.
15704 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15706         [BZ #18043]
15707         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
15709 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15711         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
15712         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
15713         Remove define.
15714         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
15715         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
15716         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
15717         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
15718         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
15719         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
15720         define.
15721         * nptl_db/td_symbol_list.c (td_lookup): Remove
15722         HAVE_ASM_GLOBAL_DOT_NAME code.
15723         * sysdeps/powerpc/powerpc64/configure.ac: Remove
15724         HAVE_ASM_GLOBAL_DOT_NAME check.
15725         * sysdeps/powerpc/powerpc64/configure: Regenerate.
15726         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
15727         (DOT_LABEL): Remove define.
15728         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
15729         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
15730         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
15731         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
15732         (__TLS_GET_ADDR): Likewise.
15733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
15734         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
15736 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
15738         [BZ #18111]
15739         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
15740         (_FPU_SETCW): Initialize cw from fpsr before storing.
15741         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
15742         (fesetexceptflag): Rewrite using fpu_control.h.
15743         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
15745 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
15747         [BZ #18110]
15748         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
15749         asms.
15750         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
15752 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
15754         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
15755         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
15756         abort.
15757         (_FP_FMA): Likewise.
15758         (_FP_DIV): Likewise.
15760 2015-03-10  Roland McGrath  <roland@hack.frob.com>
15762         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
15763         with 0 in that case.
15764         * Makefile (summarize-tests): New canned sequence, factored out of
15765         commands for targets tests and xtests.  Display summary lines that
15766         don't start with PASS: or XFAIL: rather than ones that do start with
15767         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
15768         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
15769         do start with ERROR: or FAIL:.
15770         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
15771         (except for [$(build-shared) = yes]).
15772         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
15773         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
15774         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
15775         * nptl/Makefile: Revert 2015-03-04 changes.
15776         [$(CXX) empty] (tests-unsupported): New variable.
15777         * debug/Makefile: Likewise.
15779         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
15780         gnulib file.  Replace __attribute with __attribute__ throughout.
15782 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
15784         * sysdeps/hppa/fpu/libm-test-ulps: Update.
15786 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
15788         [BZ #18104]
15789         * math/auto-libm-test-in: Add another test of pow.
15790         * math/auto-libm-test-out: Regenerated.
15792 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15794         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
15795         $(config-cflags-nofma).
15797 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
15799         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
15800         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
15801         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
15802         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
15803         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
15804         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
15805         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
15806         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
15807         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
15808         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
15809         Add comment on closing #endif.
15811 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15813         * posix/wordexp.c (CHAR_IN_SET): New macro.
15814         (parse_param): Use it.
15816 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15818         * sysdeps/powerpc/fpu/libm-test-ulps: update.
15820 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15822         [BZ #18043]
15823         * posix/wordexp.c (parse_param): Fix buffer overflow.
15824         * posix/wordexp-test.c (test_case): Add test case.
15826 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15828         [BZ #18042]
15829         * posix/wordexp.c (parse_backtick): Fix off-by-one.
15830         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
15832 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
15834         [BZ #18043]
15835         * posix/wordexp-test.c (test_case): Add test for BZ #18043
15836         (do_bz18043): Delete.
15837         (at_page_end): New.
15838         (testit): Refactor to have words at the edge of unreadable page.
15840 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15842         [BZ #16734]
15843         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
15844         Cleanup read-only streams as well.
15845         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
15847 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15849         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
15850         <bits/libc-lockP.h>
15852 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
15854         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
15855         on [__KERNEL__].
15856         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
15857         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
15858         * soft-fp/op-common.h (_FP_DECL): Likewise.
15860 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
15862         * elf/ifuncdep2.c (global): Replace
15863         __attribute__((visibility("protected"))) with
15864         asm (".protected global").
15865         * elf/ifuncmod1.c (global): Likewise.
15866         * elf/ifuncmod5.c (global): Likewise.
15868 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
15870         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
15871         <asm/sfp-machine.h> instead of <sfp-machine.h>.
15873 2015-03-06  Roland McGrath  <roland@hack.frob.com>
15875         * manual/install.texi (Configuring and compiling):
15876         Document test-wrapper-env-only.
15877         * INSTALL: Regenerated.
15879 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15881         [BZ #18043]
15882         * posix/wordexp.c (parse_param): Fix buffer overflow.
15883         * posix/wordexp-test.c (do_bz18043): Add test case.
15885 2015-03-06  Vincent Bernat  <vincent@bernat.im>
15887         * time/tst-strptime2.c (do_test): Ensure failing tests are
15888         reported correctly.
15889         * time/tst-strptime3.c (do_test): Likewise.
15891 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
15893         Fix aio_error thread-safety.
15894         * sysdeps/pthread/aio_error.c: New file
15895         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
15896         synchronization.
15898 2015-03-06  Florian Weimer  <fweimer@redhat.com>
15900         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
15901         (group_number, vfprintf): Use it.
15902         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
15903         (JUMP, REF): Use it.
15904         (WORK_BUFFER_SIZE): New enum constant.
15905         (process_arg, vfprintf): Use it.
15907 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
15909         * manual/errno.texi (Error Messages): Complete example function
15910         by adding missing #define.
15911         (program_invocation_name): Add statement indicating GNU
15912         extension and reference which header file declares the variable.
15913         (program_invocation_short_name): Likewise.
15915 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
15917         * manual/errno.texi (Error Messages): Delete strerror ISO C89
15918         compatibility note.
15920 2015-03-05  Roland McGrath  <roland@hack.frob.com>
15922         * Makeconfig (test-wrapper-env-only): New variable.
15923         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
15924         then use that with $(test-wrapper-env-only) rather than using
15925         $(test-wrapper-env) $(run-program-env) $($*-ENV).
15927 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
15929         [BZ #18082]
15930         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
15931         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
15932         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
15933         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
15934         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
15935         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
15936         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
15937         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
15938         Likewise.
15939         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
15940         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
15941         Likewise.
15942         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
15943         Likewise.
15944         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
15945         Likewise.
15946         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
15947         Likewise.
15948         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
15949         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
15950         Likewise.
15951         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
15952         Likewise.
15953         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
15954         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
15956 2015-03-04  Roland McGrath  <roland@hack.frob.com>
15958         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
15959         (ETH_ALEN): New macro.
15960         (struct ether_addr): Use it for length of ether_addr_octet.
15962         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
15963         (setdb): Don't call __nss_configure_lookup for "rpc".
15964         (do_test): Don't call test_rpc.
15965         (output_rpcent, test_rpc): Functions moved ...
15966         * sunrpc/test-rpcent.c: ... to this new file.
15967         * sunrpc/Makefile (tests): Add it.
15969         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
15970         __xpg_sigpause.
15971         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
15972         * nptl/tst-signal6.c: Likewise.
15973         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
15974         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
15976         * configure.ac (libc_cv_cxx_link_ok): New check.
15977         Reset CXX to empty if it fails to link.
15978         * configure: Regenerated.
15979         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
15980         bug-atexit3-lib only if $(CXX) is nonempty.
15981         * nptl/Makefile (tests): Likewise for tst-cancel24.
15982         (tests, tests-static): Likewise for tst-cancel24-static.
15983         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
15984         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
15985         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
15986         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
15988 2015-03-04  Andreas Schwab  <schwab@suse.de>
15990         [BZ #17631]
15991         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
15992         for non-GCC compilers.
15993         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15994         Likewise.
15996 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
15998         [BZ #17776]
15999         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
16000         integer before bitwise and assembly operations.
16001         (feclearexcept): Likewise.
16002         * math/test-fenvinline.c: New file.
16003         * math/Makefile: Add test-fenvinline test.
16005 2015-03-03  Alan Modra  <amodra@gmail.com>
16007         [BZ #16512]
16008         * scripts/localplt.awk: Strip off symbol version.
16009         * NEWS: Mention bug fix.
16011 2015-03-02  Roland McGrath  <roland@hack.frob.com>
16013         * sysdeps/pthread/timer_routines.c
16014         (timer_free_list, thread_free_list, thread_active_list): Make static.
16016 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
16018         [BZ #17779]
16019         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16020         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16021         Undefine.
16022         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16023         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16024         Likewise.
16025         * sysdeps/unix/sysv/linux/sh/kernel-features.h
16026         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
16027         Likewise.
16029 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
16031         [BZ #18036]
16032         * posix/fnmatch_loop.c (END): Detect invalid pattern.
16033         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
16035 2015-03-02  Andreas Schwab  <schwab@suse.de>
16037         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
16038         variable name.
16040 2015-03-02  Florian Weimer  <fweimer@redhat.com>
16042         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
16043         Return error status.
16045 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
16047         [BZ #15969]
16048         * locale/findlocale.c (_nl_find_locale): Introduce const
16049         version of loc_name and drop unsafe type casts.
16051 2015-02-27  Roland McGrath  <roland@hack.frob.com>
16053         * dlfcn/tststatic2.c (main): Converted to ...
16054         (do_test): ... this.
16055         (TEST_FUNCTION): New macro.
16056         Include test-skeleton.c.
16058 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
16060         [BZ #17711]
16061         * elf/Makefile (tests): Add vismain only if PIE is enabled.
16062         (tests-pie): Add vismain.
16063         (CFLAGS-vismain.c): New.
16064         * elf/vismain.c: Add comments for PIE requirement.
16066 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
16068         [BZ #18046]
16069         [BZ #18047]
16070         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
16071         0x1p-56L as threshold for just returning the argument.
16072         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
16073         0x1p-32L as threshold for just returning the argument.
16074         * math/auto-libm-test-in: Add more tests of atanh.
16075         * math/auto-libm-test-out: Regenerated.
16076         * sysdeps/i386/fpu/libm-test-ulps: Update.
16077         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
16079 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
16081         * string/bcopy.c (bcopy): Call memmove for performance.
16083 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
16085         * string/bzero.c (__bzero): Call memset for performance.
16087 2015-02-27  John David Anglin  <dave.anglin@bell.net>
16089         [BZ #18068]
16090         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
16091         to 00100000.
16093 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
16095         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
16097 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
16099         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
16100         (__kernel_standard): Use CSTR macro when setting exc.name.
16101         * sysdeps/ieee754/Makefile [$(subdir) = math]
16102         (CFLAGS-k_standard.c): Remove variable.
16104         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
16105         setting p and q from "else if" to "else".
16106         (qzero): Likewise.
16107         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
16108         (qone): Likewise.
16109         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
16110         (qzerof): Likewise.
16111         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
16112         (qonef): Likewise.
16113         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
16114         (qzero): Likewise.
16115         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
16116         (qone): Likewise.
16118         [BZ #18038]
16119         [BZ #18039]
16120         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
16121         return pi/2 for arguments below 0x1p-113L.
16122         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
16123         return pi/2 for arguments below 0x1p-106L.
16124         * math/auto-libm-test-in: Add more tests of acos.
16125         * math/auto-libm-test-out: Regenerated.
16127         [BZ #16351]
16128         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
16129         (MO): New macro.
16130         (__ieee754_asin): Force underflow exception for results with small
16131         absolute value.
16132         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
16133         (MO): New macro.
16134         (__ieee754_asinf): Force underflow exception for results with
16135         small absolute value.
16136         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
16137         (__ieee754_asin): Force underflow exception for results with small
16138         absolute value.
16139         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
16140         (__ieee754_asinf): Force underflow exception for results with
16141         small absolute value.
16142         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
16143         (__ieee754_asinl): Force underflow exception for results with
16144         small absolute value.
16145         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
16146         (__ieee754_asinl): Force underflow exception for results with
16147         small absolute value.
16148         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
16149         (__ieee754_asinl): Force underflow exception for results with
16150         small absolute value.
16151         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16152         Include <math.h>.
16153         * math/auto-libm-test-in: Do not mark underflow exceptions as
16154         possibly missing for bug 16351.
16155         * math/auto-libm-test-out: Regenerated.
16157         [BZ #18030]
16158         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
16159         of power of 2 down when low part has opposite sign.
16160         * math/libm-test.inc (logb_test_data): Add more tests.
16162 2015-02-26  Andreas Schwab  <schwab@suse.de>
16164         [BZ #18032]
16165         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
16166         over collating symbol inside a bracket expression.  Minor cleanup.
16167         * posix/tst-fnmatch3.c (do_test): Add test case.
16169 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
16171         [BZ #18029]
16172         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
16173         Adjust exponent of power of 2 down when low part has opposite
16174         sign.
16175         * math/libm-test.inc (ilogb_test_data): Add more tests.
16177 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
16179         [BZ #15969]
16180         * locale/findlocale.c (_nl_find_locale): Fix constness error in
16181         the previous change.
16183         [BZ #15969]
16184         * locale/findlocale.c (_nl_find_locale): Retry archive search
16185         after alias expansion.
16187 2015-02-25  Roland McGrath  <roland@hack.frob.com>
16189         * iconv/tst-iconv3.c (main): Converted to ...
16190         (do_test): ... this.
16191         (TEST_FUNCTION): New macro.
16192         Include test-skeleton.c.
16194         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
16195         (convert): Make function static.
16196         (test_unalign): Likewise.  Add const to argument pointee types.
16197         (main): Replace with static function do_test.
16198         Print "Succeeded." only if RET is zero.
16199         (TEST_FUNCTION): New macro.
16200         Include test-skeleton.c.
16202         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
16203         returns a null pointer.
16205 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16207         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
16208         to __memcpy_ppc only for static builds.
16210 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
16212         [BZ #18020]
16213         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
16214         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
16215         * math/auto-libm-test-in: Add more tests of asinh.
16216         * math/auto-libm-test-out: Regenerated.
16217         * sysdeps/i386/fpu/libm-test-ulps: Update.
16218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16220 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
16222         [BZ #15850]
16223         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
16224         and ip6_mtuinfo definitions here.
16225         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
16226         in this define too.  Update comment.
16228 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
16230         * elf/sprof.c (load_shobj): Tweak error message to match others.
16232 2015-02-24  Kevin Easton  <kevin@guarana.org>
16234         [BZ #16145] (partial fix)
16235         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
16236         to reduce lock contention.
16238 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
16240         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
16241         (struct timex): Update time comment.
16242         (ADJ_SETOFFSET): Define.
16244 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
16246         [BZ #18019]
16247         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16248         2**56 not 2**28 as threshold for log (2x) formula.
16249         * math/auto-libm-test-in: Add more tests of acosh.
16250         * math/auto-libm-test-out: Regenerated.
16251         * sysdeps/i386/fpu/libm-test-ulps: Update.
16252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16254 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
16256         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
16257         parenthesis around the buf assignment.
16258         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
16260 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
16262         [BZ #16783]
16263         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
16264         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
16265         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
16266         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16267         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16268         * math/libm-test.inc (scalb_test_data): Add more tests.
16270 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
16272         [BZ #17916]
16273         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
16274         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
16276 2015-02-24  Eric Rannaud  <e@nanocritical.com>
16278         [BZ #17523]
16279         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
16280         * io/bits/fcntl2.h (open): Use it.
16281         (openat): Likewise.
16282         * io/open.c (__libc_open): Likewise.
16283         * io/open64.c (__libc_open64): Likewise.
16284         * io/open64_2.c (__open64_2): Likewise.
16285         * io/open_2.c (__open_2): Likewise.
16286         * io/openat.c (__openat): Likewise.
16287         * io/openat64.c (__openat64): Likewise.
16288         * io/openat64_2.c (__openat64_2): Likewise.
16289         * io/openat_2.c (__openat_2): Likewise.
16290         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
16291         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
16292         * sysdeps/posix/open64.c (__libc_open64): Likewise.
16293         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16294         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
16295         (__open_nocancel): Likewise.
16296         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
16297         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
16298         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
16300 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16302         [BZ #14841]
16303         * resolv/gethnamaddr.c (getanswer): Skip logging if
16304         RES_USE_DNSSEC is set.
16305         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
16307 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
16309         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
16311 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
16313         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
16314         201304L, for Unicode 7.
16316 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
16318         [BZ #17836]
16319         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
16320         shared library.  Add gmon-start.os otherwise.
16321         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
16322         $(objpfx)gmon-start.os if builing shared library.
16323         ($(objpfx)g$(static-start-installed-name)): Likewise.
16325 2015-02-23  Andreas Schwab  <schwab@suse.de>
16327         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
16329 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
16331         [BZ #17269]
16332         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
16333         (enlarge_userbuf): Likewise.
16335 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
16337         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
16338         * math/atest-exp.c (TIMEOUT): Adjust to 200.
16339         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
16340         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
16342 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
16344         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
16345         expression inside statement expression.
16347 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16349         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
16350         <sysdeps/nptl/lowlevellock.h> and remove macros and
16351         functions that are now defined there.
16352         (SYS_futex): Remove.
16353         (lll_compare_and_swap): Remove.
16354         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
16356 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
16358         [BZ #17999]
16359         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
16360         instead of scandirat.
16361         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
16362         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
16363         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
16364         __scandirat.
16365         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
16366         (__scandirat): Declare.  Use libc_hidden_proto.
16367         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
16368         Remove variable.
16369         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
16371 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
16373         [BZ #15319]
16374         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
16375         (MO): New macro.
16376         (__ieee754_atan2): For results with small absolute value, force
16377         underflow exception and remove excess range and precision from
16378         return value.
16379         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
16380         (MO): New macro.
16381         (__ieee754_atan2f): For results with small absolute value, force
16382         underflow exception and remove excess range and precision from
16383         return value.
16384         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
16385         (MO): New macro.
16386         (__atan): For results with small absolute value, force underflow
16387         exception and remove excess range and precision from return value.
16388         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
16389         (MO): New macro.
16390         (__atanf): For results with small absolute value, force underflow
16391         exception and remove excess range and precision from return value.
16392         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
16393         <math.h>.
16394         (__ieee754_atan2): Force underflow exception for results with
16395         small absolute value.
16396         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
16397         <math_private.h>.
16398         (atan): Force underflow exception for results with small absolute
16399         value.
16400         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
16401         (__atanf): Force underflow exception for results with small
16402         absolute value.
16403         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
16404         <math.h>.
16405         (__atanl): Force underflow exception for results with small
16406         absolute value.
16407         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
16408         (__atanl): Force underflow exception for results with small
16409         absolute value.
16410         * sysdeps/x86/fpu/bits/mathinline.h
16411         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
16412         (__ieee754_atan2): Only define inline for long double.
16413         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16414         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
16415         * math/auto-libm-test-in: Do not mark underflow exceptions as
16416         possibly missing for bug 15319.  Add more tests of atan2.
16417         * math/auto-libm-test-out: Regenerated.
16418         * math/libm-test.inc (casin_test_data): Do not mark underflow
16419         exceptions as possibly missing for bug 15319.
16420         (casinh_test_data): Likewise.
16421         * sysdeps/i386/fpu/libm-test-ulps: Update.
16423 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
16425         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
16426         * sysdeps/mips/bits/endian.h: Fix comments.
16428 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
16430         [BZ #17996]
16431         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
16432         (hdestroy_r): Likewise.
16433         (hsearch_r): Likewise.
16434         (__hcreate_r): Declare and use libc_hidden_proto.
16435         (__hdestroy_r): Likewise.
16436         (__hsearch_r): Likewise.
16437         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
16438         (hcreate): Call __hcreate_r instead of hcreate_r.
16439         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
16440         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
16441         as weak alias of __hcreate_r.
16442         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
16443         __hdestroy_r.
16444         (hsearch_r): Rename to __hsearch_r and define as weak alias of
16445         __hsearch_r.
16446         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
16447         Remove variable.
16448         (test-xfail-XPG4/search.h/linknamespace): Likewise.
16449         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
16450         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
16451         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
16453 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16455         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
16456         arena_lock into a single arena_get.
16458 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
16460         * dl-reloc.c: Inlucde libc-internal.h.
16461         (_dl_try_allocate_static_tls): Call ALIGN_UP.
16462         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
16463         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
16464         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
16465         (grow_heap): Likewise.
16466         * malloc/malloc.c: Include libc-internal.h.
16467         (do_check_malloc): Call powerof2.
16468         (sysmalloc): Use pagesize. Call ALIGN_UP.
16469         (systrim): Use pagesize.
16470         (mremap_chunk): Use pagesize. Call ALIGN_UP.
16471         (__libc_valloc): Use pagesize.
16472         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
16474 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
16476         [BZ #17991]
16477         * include/sys/resource.h (__getrlimit64): Declare.  Use
16478         libc_hidden_proto.
16479         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
16480         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
16481         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
16482         getrlimit64.
16483         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
16484         __getrlimit64.
16485         [!getrlimit64] (getrlimit64): Define as weak alias of
16486         __getrlimit64.  Use libc_hidden_weak.
16487         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
16488         using __getrlimit64 not __new_getrlimit64.
16489         (__GI_getrlimit64): Likewise.
16490         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
16491         Likewise.
16492         (__GI_getrlimit64): Likewise.
16493         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
16494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
16495         (getrlimit): Add __getrlimit64 alias.
16496         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
16497         Likewise.
16498         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
16499         Remove variable.
16500         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
16501         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
16503 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
16505         * libio/fileops.c: Add missing sys/mman.h
16506         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
16508 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
16510         * manual/math.texi (Errors in Math Functions): Clarify goals
16511         regarding inexact and underflow exceptions.
16513 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
16515         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
16516         * sysdeps/mips/memset.S: Ditto.
16518 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
16520         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
16522 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
16524         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
16525         (__v1longjmp): Remove versioned symbol.
16526         (__v1siglongjmp): Remove alias and versioned symbol.
16527         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
16528         (__v2siglongjmp): Likewise.
16530 2015-02-16  Torvald Riegel  <triegel@redhat.com>
16532         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
16534 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
16536         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
16538 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
16540         [BZ #17987]
16541         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
16542         zero result does not depend on the sign resulting from
16543         subtraction.
16544         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16545         Likewise.
16546         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16547         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16548         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16549         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16550         * math/libm-test.inc (remquo_test_data): Add more tests.
16552 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
16554         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
16555         Problem reported by J William Piggott.
16557 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
16559         [BZ #17978]
16560         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
16561         products 4 * y and 2 * y where those would overflow.
16562         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16563         Likewise.
16564         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
16565         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
16566         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16567         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
16568         * math/libm-test.inc (remquo_test_data): Add more tests.
16570         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
16572         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
16573         [defined _COMPILING_NEWLIB].
16574         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
16575         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
16577         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
16578         [!defined __mips_isa_rev || __mips_isa_rev < 6].
16580 2015-02-16  Torvald Riegel  <triegel@redhat.com>
16582         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
16583         acquired.
16585 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
16587         [BZ #17792]
16588         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
16589         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
16590         HOST_STACK_END_ADDR): Likewise.
16592 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
16594         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
16595         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
16596         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
16598 2015-02-13  Roland McGrath  <roland@hack.frob.com>
16600         * sysdeps/generic/c++-types.data: New file.
16601         * sysdeps/generic/ld.abilist: New file.
16602         * sysdeps/generic/libBrokenLocale.abilist: New file.
16603         * sysdeps/generic/libanl.abilist: New file.
16604         * sysdeps/generic/libc.abilist: New file.
16605         * sysdeps/generic/libcrypt.abilist: New file.
16606         * sysdeps/generic/libdl.abilist: New file.
16607         * sysdeps/generic/libm.abilist: New file.
16608         * sysdeps/generic/libpthread.abilist: New file.
16609         * sysdeps/generic/libresolv.abilist: New file.
16610         * sysdeps/generic/librt.abilist: New file.
16612 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
16614         [BZ #17569]
16615         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
16616         Compute absolute value of x as modified by fmod, not original
16617         value of x.
16618         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
16619         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
16620         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
16621         RUN_TEST_ffI_f1_mod8.
16622         (remquo_test_data): Add more tests.
16624 2015-02-13  Roland McGrath  <roland@hack.frob.com>
16626         * sysdeps/init_array/pt-crti.S: New file.
16628 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
16630         [BZ #17967]
16631         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
16632         __builtin_fmaf instead of relying on contraction of a * b + c.
16634 2015-02-12  J William Piggott  <elseifthen@gmx.com>
16636         [BZ #17969]
16637         * manual/time.texi: correct the zoneinfo path in the TZ Variable
16638         node.
16640 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16642         [BZ #17964]
16643         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
16644         __builtin_fma instead of relying on contraction of a * b + c.
16646 2015-02-12  Roland McGrath  <roland@hack.frob.com>
16648         * Makeconfig (ASFLAGS): Add -Werror=undef.
16649         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
16650         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
16651         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
16653         * Makeconfig (after-link): New variable.
16654         (+link-pie, +link-pie-tests): Use it.
16655         (+link-static, +link-static-tests): Likewise.
16656         (+link, +link-tests): Likewise.
16657         * Makerules (build-module, build-module-asneeded): Likewise.
16658         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
16659         Likewise.
16660         * elf/Makefile ($(objpfx)ld.so): Likewise.
16662 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
16664         [BZ #17965]
16665         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
16666         both struct timeval and struct timespec.
16668 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
16670         [BZ #16560]
16671         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16672         and redefine.
16673         (__ieee754_exp2l): Do not multiply small fractional parts by
16674         M_LN2l.
16675         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
16676         small argument.
16677         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16678         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16679         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
16680         * math/auto-libm-test-in: Add more tests of exp2.
16681         * math/auto-libm-test-out: Regenerated.
16683 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16685         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
16686         unaligned path.
16688 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16690         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
16691         little endian.
16693 2015-02-12  Andreas Schwab  <schwab@suse.de>
16695         [BZ #15790]
16696         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
16697         Filter out elision flags from value returned in kind.
16698         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
16699         * nptl/tst-pthread-mutexattr.c: New file.
16701 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16703         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
16704         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
16705         into gnu-gnu, and update comment to refer to abi-tags.
16707 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
16709         [BZ #15467]
16710         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
16711         (__sincos): Set errno to EDOM for infinite argument.
16712         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
16713         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
16714         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
16715         (__sincosl): Set errno to EDOM for infinite argument.
16716         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
16717         (__sincosl): Set errno to EDOM for infinite argument.
16718         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
16719         (__sincosl): Set errno to EDOM for infinite argument.
16720         * math/libm-test.inc (sincos_test_data): Test errno setting.
16722 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
16724         * string/strxfrm_l.c: Remove #define STRCMP.
16725         * string/strcoll_l.c: Remove #define STRLEN.
16726         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
16727         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
16729 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
16731         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
16732         * sysdeps/mips/mips32/sfp-machine.h: ... here.
16733         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
16734         * sysdeps/mips/mips64/Makefile: ... here.
16735         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
16736         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
16737         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
16738         * sysdeps/mips/mips64/sfp-machine.h: ... here.
16739         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
16740         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
16741         * sysdeps/mips/mips64/n64/Implies: Likewise.
16743 2015-02-10  Roland McGrath  <roland@hack.frob.com>
16745         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
16746         <sys/time.h>, <string.h>, and <errno.h>.
16747         (dest_offset, dest_address, value, zero): Remove unused variables.
16748         (ldouble): Remove typedef.
16749         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
16750         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
16751         1).  Fix code style.
16752         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
16753         (check): Function removed.
16754         (CHECK): New macro.
16755         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
16756         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
16757         Don't call set_sigaction_FP and remove_sigaction_FP here.
16758         (ldouble_test): Just use 'long double' as macro argument, no need for
16759         the 'ldouble' typedef.
16760         (do_test): Set up SIGFPE handler at start, using plain signal rather
16761         than sigaction.  Fix code style.
16763 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
16765         [BZ #17949]
16766         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
16767         jump label.
16769 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
16771         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
16772         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16774         * sysdeps/powerpc/configure.ac: Remove file.
16775         * sysdeps/powerpc/configure: Likewise.
16777         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16778         [sysdep_routines]: Remove wordcopy-power6 object.
16779         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16780         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
16781         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
16782         (__memmove_ppc32): Likewise.
16783         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
16784         file.
16785         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
16786         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
16787         Remove preprocessor.
16789         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
16790         [sysdep_routines]: Remove wide chars objects.
16791         [wcsmbs]: New rule for wide char objects.
16793         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16794         Remove wordcopy-power6 obejct.
16795         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
16796         Use local call for wordcopy and memcpy symbols.
16797         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
16798         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
16799         implementation for loader.
16800         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
16802         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16803         Remove wordcopy-power7 object.
16804         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
16805         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
16806         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
16807         (_wordcopy_fwd_dest_aligned): Likewise.
16808         (_wordcopy_bwd_aligned): Likewise.
16809         (_wordcopy_bwd_dest_aligned): Likewise.
16811         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
16812         Rewrite to call __memmove_ppc instead of include default
16813         implementation.
16815         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
16816         Remove wide chars objects.
16817         [wcsmbs]: New rule for wide char objects.
16819 2015-02-09  Andreas Schwab  <schwab@suse.de>
16821         [BZ #17912]
16822         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
16823         in terms of __O_DIRECTORY.
16825 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16827         * time/getdate.c: Include <stdbool.h>.
16828         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
16829         call PTR_MANGLE.
16830         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
16831         PTR_DEMANGLE.
16833 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
16835         Add ersatz _Static_assert on older C hosts
16836         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
16837         pre-C11 C platform that is not known to support _Static_assert.
16839 2015-02-07  Richard Braun  <rbraun@sceen.net>
16841         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
16842         sigstate.
16843         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
16845 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16847         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
16848         priority against unexistent AIO_PRIO_DELTA_MAX.
16849         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
16850         instead of int.
16851         * misc/fchflags.c (fchflags): Likewise.
16852         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
16853         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
16854         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
16855         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
16856         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
16857         Declare macros.
16858         [__USE_MISC] (chflags, fchflags): Declare functions.
16859         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
16860         EINVAL when nfds is greater than FD_SETSIZE.
16861         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
16862         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
16863         45.
16864         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
16865         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
16866         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
16867         MACH_RCV_TIMED_OUT.
16868         * hurd/hurd/signal.h (_hurd_self_sigstate,
16869         _hurd_critical_section_lock, _hurd_critical_section_unlock):
16870         Explicit casts from void *.
16871         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
16872         * abi-tags: Rename gnu-gnu os into gnu.
16874         [BZ #4719]
16875         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
16876         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
16877         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
16878         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
16879         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
16880         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
16882         [BZ #17944]
16883         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
16884         duplicates ADDR->sun_path with sockaddr LEN limitation.
16885         * sysdeps/mach/hurd/connect.c: Include <string.h>
16886         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
16887         * sysdeps/mach/hurd/sendmsg.c: Likewise.
16888         * sysdeps/mach/hurd/sendto.c: Likewise.
16889         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
16890         implementing it by hand.
16892 2015-02-06  Roland McGrath  <roland@hack.frob.com>
16894         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
16895         Use sfi_breg on ldr.
16896         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
16897         Likewise.
16899         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
16900         it's defined.
16901         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
16902         Test SIGSETXID only if it's defined.
16904         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
16906         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
16907         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
16909         * nptl/tst-align2.c: Moved ...
16910         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
16911         * nptl/Makefile (tests): Remove tst-align2.
16912         * sysdeps/unix/sysv/linux/Makefile
16913         [$(subdir) = nptl] (tests): Add tst-align-clone.
16914         * nptl/tst-getpid1.c: Moved ...
16915         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
16916         * nptl/tst-getpid2.c: Moved ...
16917         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
16918         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
16919         * sysdeps/unix/sysv/linux/Makefile
16920         [$(subdir) = nptl] (tests): ... here.
16921         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
16922         * sysdeps/unix/sysv/linux/Makefile
16923         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
16925         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
16926         Drop trailing \n from perror argument.  Use return rather than exit.
16928         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
16929         on [SA_SIGINFO].
16930         * nptl/tst-cancel21.c (do_test): Likewise.
16931         * debug/tst-backtrace6.c: Include <signal.h> first thing.
16932         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
16933         [!SA_SIGINFO]: Make it a stub test.
16935         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
16936         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
16938         * posix/tst-getlogin.c: Move to ...
16939         * login/tst-getlogin.c: ... here.
16940         * posix/Makefile (tests): Move tst-getlogin to ...
16941         * login/Makefile (tests): ... here.
16943         * libio/tst-atime.c (do_test): Move local variables SV and E
16944         inside [ST_NOATIME] conditional.
16946         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
16948         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
16950         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
16951         (wait_code): New function replaces macro.
16952         Call nanosleep rather than syscall.
16954         * nptl/pt-system.c: Rewritten.  Put everything under
16955         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16956         Use IFUNC to redirect when possible.
16958         * nptl/pt-longjmp.c: Rewritten.  Put everything under
16959         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16960         Use IFUNC to redirect when possible.
16962         * nptl/pt-fork.c: Rewritten.  Put everything under
16963         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
16964         Use IFUNC to redirect when possible.
16965         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
16967         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
16968         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
16969         unconditionally nowadays.  This included the only reference to
16970         __vdso_clock_gettime that appears outside libc proper.
16971         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
16972         Remove version set (containing only __vdso_clock_gettime).
16973         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16974         Add attribute_hidden.
16975         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16976         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
16977         libc_hidden_data_def.
16978         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16979         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16981         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
16982         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
16983         setrpcent, and getrpcport to ...
16984         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
16985         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
16986         getrpcbynumber_r, and getrpcent_r to ...
16987         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
16988         * inet/getrpcbyname.c: Moved ...
16989         * sunrpc/getrpcbyname.c: ... here.
16990         * inet/getrpcbyname_r.c: Moved ...
16991         * sunrpc/getrpcbyname_r.c: ... here.
16992         * inet/getrpcbynumber.c: Moved ...
16993         * sunrpc/getrpcbynumber.c: ... here.
16994         * inet/getrpcbynumber_r.c: Moved ...
16995         * sunrpc/getrpcbynumber_r.c: ... here.
16996         * inet/getrpcent.c: Moved ...
16997         * sunrpc/getrpcent.c: ... here.
16998         * inet/getrpcent_r.c: Moved ...
16999         * sunrpc/getrpcent_r.c: ... here.
17000         * inet/Makefile (routines): Move those to ...
17001         * sunrpc/Makefile (routines): ... here.
17002         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
17003         the $(subdirs) list.
17004         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
17005         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
17006         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
17007         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
17009         * elf/Makefile (routines): Include $(all-dl-routines), not just
17010         $(dl-routines).
17011         (rtld-routines): Likewise.  Use = rather than :=.
17012         * sysdeps/aarch64/Makefile [$(subdir) = elf]
17013         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
17014         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
17015         * sysdeps/arm/Makefile: Likewise.
17016         * sysdeps/i386/Makefile: Likewise.
17017         * sysdeps/x86_64/Makefile: Likewise.
17018         * sysdeps/hppa/Makefile [$(subdir) = elf]
17019         (sysdep_routines, sysdep-rtld-routines): Don't add
17020         $(sysdep-dl-routines) to these.
17021         * sysdeps/ia64/Makefile: Likewise.
17022         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
17023         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
17024         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
17025         Don't add dl-static to these; sysdep-dl-routines alone is enough.
17026         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
17027         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
17028         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
17029         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
17030         * sysdeps/powerpc/Makefile [$(subdir) = elf]
17031         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
17032         these; sysdep-dl-routines alone is enough.
17034 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
17036         [BZ #17932]
17037         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
17038         where multiplication results in zero and third argument is finite
17039         and nonzero.
17040         * math/auto-libm-test-in: Add more tests of fma.
17041         * math/auto-libm-test-out: Regenerated.
17043         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
17044         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
17045         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
17046         (_FP_CMP_EQ): Likewise.
17047         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
17049         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
17050         extra argument CHECK_NAN.  Redefine as wrapper around
17051         _FP_EXTEND_CNAN.
17053 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
17055         * version.h (RELEASE): Set to "stable".
17056         (VERSION): Set to "2.21"
17057         * include/features.h (__GLIBC_MINOR__): Set to 21.
17059         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
17061 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17062             Paul Eggert  <eggert@cs.ucla.edu>
17064         [BZ #16618]
17065         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
17066         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
17067         size in bytes. Store needed elements in wpmax. Use needed size
17068         in bytes for extend_alloca.
17070 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
17072         * manual/install.texi: Latest tested versions are GCC 4.9.2,
17073         binutls 2.25, and texinfo 5.2.
17074         * INSTALL: Regenerate.
17075         * sysdeps/nios2/configure: Regenerate.
17076         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
17077         * manual/contrib.texi: Update.
17078         * po/be.po: Update.
17079         * po/bg.po: Update.
17080         * po/ca.po: Update.
17081         * po/cs.po: Update.
17082         * po/da.po: Update.
17083         * po/de.po: Update.
17084         * po/el.po: Update.
17085         * po/eo.po: Update.
17086         * po/es.po: Update.
17087         * po/fi.po: Update.
17088         * po/fr.po: Update.
17089         * po/gl.po: Update.
17090         * po/hr.po: Update.
17091         * po/hu.po: Update.
17092         * po/ia.po: Update.
17093         * po/id.po: Update.
17094         * po/it.po: Update.
17095         * po/ja.po: Update.
17096         * po/ko.po: Update.
17097         * po/lt.po: Update.
17098         * po/nb.po: Update.
17099         * po/nl.po: Update.
17100         * po/pl.po: Update.
17101         * po/pt_BR.po: Update.
17102         * po/ru.po: Update.
17103         * po/rw.po: Update.
17104         * po/sk.po: Update.
17105         * po/sl.po: Update.
17106         * po/sv.po: Update.
17107         * po/tr.po: Update.
17108         * po/uk.po: Update.
17109         * po/vi.po: Update.
17110         * po/zh_CN.po: Update.
17111         * po/zh_TW.po: Update.
17113         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
17114         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
17115         * sysdeps/hppa/dl-irel.h: Remove #warning.
17116         * sysdeps/hppa/entry.h: Provide prototype for
17117         __canonicalize_funcptr_for_compare and cast argument.
17118         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
17119         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
17120         * sysdeps/hppa/sotruss-lib.c: New file.
17121         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
17122         (atomic_compare_and_exchange_val_acq): Use __typeof__.
17123         (atomic_compare_and_exchange_bool_acq): Likewise.
17124         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
17125         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
17127         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
17128         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
17129         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
17131 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
17133         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
17134         called function in non-PIC case.
17136 2015-01-31  David S. Miller  <davem@davemloft.net>
17138         * sysdeps/sparc/sparc32/bits/atomic.h
17139         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
17140         unlock not after it.
17141         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
17142         volatile register usage warnings from the compiler.
17144         * sysdeps/sparc/nptl/sem_init.c: Delete.
17145         * sysdeps/sparc/nptl/sem_post.c: Delete.
17146         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
17147         * sysdeps/sparc/nptl/sem_wait.c: Delete.
17148         * sysdeps/sparc/sparc32/sem_init.c: New file.
17149         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
17150         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
17151         padding explicitly initialized.
17152         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
17153         padding for in-semaphore spinlock.
17154         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
17155         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
17156         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
17157         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
17158         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
17159         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
17160         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
17161         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
17162         version.
17163         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
17164         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
17166 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
17168         [BZ #17801]
17169         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17170         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
17171         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
17172         New.
17173         (index_AVX_Fast_Unaligned_Load): Likewise.
17174         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
17175         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
17176         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
17177         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
17178         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
17179         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
17180         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
17181         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
17182         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
17184 2015-01-29  Andreas Schwab  <schwab@suse.de>
17186         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
17188 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
17190         [BZ #17892]
17191         * nscd/nscd_stat.c (send_stats): Initialize DATA.
17193 2015-01-28  Martin Sebor  <msebor@redhat.com>
17195         * math/README.libm-test: Clarify. Add "How to read the test output."
17197 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
17199         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
17200         Define to 0.
17202 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
17204         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
17205         (__HAVE_64B_ATOMICS): Define to 0.
17207 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17209         [BZ #17885]
17210         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
17211         value to set as new flag.
17213         [BZ #16576]
17214         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
17215         and use _ARCH_PPCSQ instead.
17216         (__ieee754_sqrt): Likewise.
17217         (__ieee754_sqrtf): Likewise.
17218         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
17219         _ARCH_PPCSQ is defined.
17220         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
17221         fsqrt instruction.
17222         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
17223         _ARCH_PPCSQ is defined.
17224         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
17225         fsqrts instruction.
17226         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
17228 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17230         * iconv/loop.c: Suppress array out of bound warning caused by GCC
17231         bug (GCC BZ #64739).
17233 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
17235         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
17236         Mark _retval as used.
17237         (lll_futex_wake_unlock): Likewise.
17238         (lll_futex_timed_wait_requeue_pi): Likewise.
17240         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
17241         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
17242         register variables.
17244         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
17245         libm_hidden_def.
17247         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
17248         (__bswap_64): Mark as __always_inline.
17250 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
17252         [BZ #15378]
17253         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
17254         when none of the search directories exist.
17256 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
17258         [BZ #17869]
17259         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
17260         power8 in .machine directive.
17262         [BZ #17868]
17263         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
17264         set dependency from opd value.
17266 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
17268         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17269         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
17270         architecture.
17272 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
17274         [BZ #17870]
17275         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
17276         with uint64_t.
17277         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
17278         (uint64_t) 1.
17279         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
17280         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
17281         Replace 1UL with (uint64_t) 1.
17282         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
17283         int with uint64_t.
17285 2015-01-23  Roland McGrath  <roland@hack.frob.com>
17287         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
17288         (if_freenameindex): Likewise.
17290         * resource/getrlimit64.c: Add missing libc_hidden_def.
17292 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
17294         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
17295         __label__.
17296         (_FP_FMA): Likewise.
17297         (_FP_TO_INT_ROUND): Likewise.
17298         (_FP_FROM_INT): Likewise.
17300 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17302         [BZ #16418]
17303         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
17304         Make code racy and cancel safe.
17306 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
17308         * sysdeps/arm/unwind-resume.h: Fix copyright year.
17309         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
17310         attribution.
17312         * pwd/tst-getpw.c: Rewrite.
17314         [BZ #17702]
17315         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
17316         (modules-names): Add moddummy1 and moddummy2.
17317         ($(objpfx)tst-rec-dlopen): Define.
17318         * dlfcn/moddummy1.c: New file.
17319         * dlfcn/moddummy2.c: New file.
17320         * dlfcn/tst-rec-dlopen.c: New file.
17321         * elf/dl-cache.c (_dl_load_cache_lookup):
17322         Return char*. Copy result with alloca/strcpy/strdup.
17323         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
17324         returns char*. Free cached. If not saving realname
17325         free cached.
17326         * elf/dl-open.c (dl_open_worker): Do not assert that
17327         _r_debug->r_state is RT_CONSISTENT.
17328         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
17329         returns char*.
17331 2015-01-21  Torvald Riegel  <triegel@redhat.com>
17332             Carlos O'Donell  <carlos@redhat.com>
17334         [BZ #12674]
17335         * nptl/sem_waitcommon.c: New file.
17336         * nptl/sem_wait.c: Include sem_waitcommon.c.
17337         (__sem_wait_cleanup, do_futex_wait): Remove.
17338         (__new_sem_wait): Adapt.
17339         (__new_sem_trywait): New function.
17340         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
17341         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
17342         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
17343         (sem_timedwait): Adapt.
17344         * nptl/sem_post.c (__new_sem_post): Adapt.
17345         (futex_wake): New function.
17346         (__old_sem_post): Add release MO fence.
17347         * nptl/sem_open.c (sem_open): Adapt.
17348         * nptl/sem_init.c (__new_sem_init): Adapt.
17349         (futex_private_if_supported): New function.
17350         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
17351         (__old_sem_getvalue): Add using previous code.
17352         * sysdeps/nptl/internaltypes.h: Adapt.
17353         * nptl/tst-sem13.c (do_test): Adapt.
17354         * nptl/tst-sem11.c (main): Adapt.
17355         * nptl/sem_trywait.c: Remove.
17356         * nptl/DESIGN-sem.txt: Remove.
17357         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
17358         (gen-as-const-headers): Remove structsem.sym.
17359         * nptl/structsem.sym: Remove.
17360         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
17361         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
17362         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
17363         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
17364         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
17365         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
17366         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
17367         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
17368         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
17369         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
17370         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
17371         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
17372         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
17373         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
17374         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
17375         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
17376         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
17377         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
17378         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
17379         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
17380         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
17381         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
17383 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
17385         * INSTALL: Regenerated.
17387         * po/libc.pot: Regenerated.
17389 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
17390             Sandra Loosemore  <sandra@codesourcery.com>
17391             Andrew Jenner  <andrew@codesourcery.com>
17392             Joseph Myers  <joseph@codesourcery.com>
17393             Nathan Sidwell  <nathan@codesourcery.com>
17395         * NEWS: Mention new Nios II port.
17396         * sysdeps/nios2/Implies: New file.
17397         * sysdeps/nios2/Makefile: New file.
17398         * sysdeps/nios2/Subdirs: New file.
17399         * sysdeps/nios2/Versions: New file.
17400         * sysdeps/nios2/__longjmp.S: New file.
17401         * sysdeps/nios2/abort-instr.h: New file.
17402         * sysdeps/nios2/backtrace.c: New file.
17403         * sysdeps/nios2/bits/endian.h: New file.
17404         * sysdeps/nios2/bits/fenv.h: New file.
17405         * sysdeps/nios2/bits/link.h: New file.
17406         * sysdeps/nios2/bits/setjmp.h: New file.
17407         * sysdeps/nios2/bsd-_setjmp.S: New file.
17408         * sysdeps/nios2/bsd-setjmp.S: New file.
17409         * sysdeps/nios2/configure: New generated file.
17410         * sysdeps/nios2/configure.ac: New file.
17411         * sysdeps/nios2/crti.S: New file.
17412         * sysdeps/nios2/crtn.S: New file.
17413         * sysdeps/nios2/dl-init.c: New file.
17414         * sysdeps/nios2/dl-machine.h: New file.
17415         * sysdeps/nios2/dl-sysdep.h: New file.
17416         * sysdeps/nios2/dl-tls.h: New file.
17417         * sysdeps/nios2/dl-trampoline.S: New file.
17418         * sysdeps/nios2/gccframe.h: New file.
17419         * sysdeps/nios2/gmp-mparam.h: New file.
17420         * sysdeps/nios2/jmpbuf-offsets.h: New file.
17421         * sysdeps/nios2/jmpbuf-unwind.h: New file.
17422         * sysdeps/nios2/ldsodefs.h: New file.
17423         * sysdeps/nios2/libc-tls.c: New file.
17424         * sysdeps/nios2/libm-test-ulps: New file.
17425         * sysdeps/nios2/machine-gmon.h: New file.
17426         * sysdeps/nios2/math-tests.h: New file.
17427         * sysdeps/nios2/math_private.h: New file.
17428         * sysdeps/nios2/memusage.h: New file.
17429         * sysdeps/nios2/nptl/Makefile: New file.
17430         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
17431         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
17432         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
17433         * sysdeps/nios2/nptl/pthreaddef.h: New file.
17434         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
17435         * sysdeps/nios2/nptl/tls.h: New file.
17436         * sysdeps/nios2/preconfigure: New file.
17437         * sysdeps/nios2/s_fma.c: New file.
17438         * sysdeps/nios2/s_fmaf.c: New file.
17439         * sysdeps/nios2/setjmp.S: New file.
17440         * sysdeps/nios2/sfp-machine.h: New file.
17441         * sysdeps/nios2/sotruss-lib.c: New file.
17442         * sysdeps/nios2/stackguard-macros.h: New file.
17443         * sysdeps/nios2/stackinfo.h: New file.
17444         * sysdeps/nios2/start.S: New file.
17445         * sysdeps/nios2/sysdep.h: New file.
17446         * sysdeps/nios2/tls-macros.h: New file.
17447         * sysdeps/nios2/tst-audit.h: New file.
17448         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
17449         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
17450         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
17451         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
17452         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
17453         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
17454         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
17455         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
17456         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
17457         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
17458         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
17459         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
17460         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
17461         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
17462         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
17463         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
17464         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
17465         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
17466         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
17467         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
17468         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
17469         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
17470         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
17471         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
17472         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
17473         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
17474         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
17475         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
17476         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
17477         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
17478         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
17479         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
17480         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
17481         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
17482         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
17483         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
17484         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
17485         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
17486         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
17487         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
17488         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
17489         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
17490         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
17491         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
17493 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17495         [BZ #17844]
17496         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
17497         (getutent): Use weak_alias in non SHARED case
17498         and default_symbol_version in SHARED case.
17499         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
17500         (getutent_r, pututline): Likewise.
17501         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
17502         (getutid): Likewise.
17503         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
17504         (getutid_r): Likewise.
17505         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
17506         (getutline): Likewise.
17507         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
17508         (getutline_r): Likewise.
17509         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
17510         (updwtmp): Likewise.
17512 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17514         [BZ #17848]
17515         * sysdeps/s390/s390-32/memcmp.S
17516         (memcmp_g5): Rename to __memcmp_g5.
17517         * sysdeps/s390/s390-32/memcpy.S
17518         (memcpy_g5): Rename to __memcpy_g5.
17519         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17520         (memcpy_mvcle) Rename to __memcpy_mvcle.
17521         * sysdeps/s390/s390-32/memset.S
17522         (memset_g5): Rename to __memset_g5.
17523         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17524         (IFUNC_RESOLVE): Prefix ifunc-resolve function
17525         and use prefixed functions.
17526         * sysdeps/s390/s390-32/multiarch/memcmp.S
17527         (memcmp_z196): Rename to __memcmp_z196.
17528         (memcmp_z10): Rename to __memcmp_z10.
17529         (memcmp): Set alias to __memcmp_g5.
17530         (bcmp): Set alias to __memcmp_g5.
17531         * sysdeps/s390/s390-32/multiarch/memcpy.S
17532         (memcpy_z196): Rename to __memcpy_z196.
17533         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17534         (memcpy_z10): Rename to __memcpy_z10.
17535         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17536         (memcpy): Set alias to __memcpy_g5.
17537         * sysdeps/s390/s390-32/multiarch/memset.S
17538         (memset_z196): Rename to __memset_z196.
17539         Jump to __memset_mvcle instead of memset_mvcle.
17540         (memset_z10): Rename to __memset_z10.
17541         Jump to __memset_mvcle instead of memset_mvcle.
17542         (memset_mvcle) Rename to __memset_mvcle.
17543         (memset): Set alias to __memset_g5.
17544         * sysdeps/s390/s390-64/memcmp.S
17545         (memcmp_z900): Rename to __memcmp_z900.
17546         * sysdeps/s390/s390-64/memcpy.S
17547         (memcpy_z900): Rename to __memcpy_z900.
17548         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17549         (memcpy_mvcle) Rename to __memcpy_mvcle.
17550         * sysdeps/s390/s390-64/memset.S
17551         (memset_z900): Rename to __memset_z900.
17552         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
17553         (IFUNC_RESOLVE): Prefix ifunc-resolve function
17554         and use prefixed functions.
17555         * sysdeps/s390/s390-64/multiarch/memcmp.S
17556         (memcmp_z196): Rename to __memcmp_z196.
17557         (memcmp_z10): Rename to __memcmp_z10.
17558         (memcmp): Set alias to __memcmp_z900.
17559         (bcmp): Set alias to __memcmp_z900.
17560         * sysdeps/s390/s390-64/multiarch/memcpy.S
17561         (memcpy_z196): Rename to __memcpy_z196.
17562         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17563         (memcpy_z10): Rename to __memcpy_z10.
17564         Jump to __memcpy_mvcle instead of memcpy_mvcle.
17565         (memcpy): Set alias to __memcpy_z900.
17566         * sysdeps/s390/s390-64/multiarch/memset.S
17567         (memset_z196): Rename to __memset_z196.
17568         Jump to __memset_mvcle instead of memset_mvcle.
17569         (memset_z10): Rename to __memset_z10.
17570         Jump to __memset_mvcle instead of memset_mvcle.
17571         (memset_mvcle) Rename to __memset_mvcle.
17572         (memset): Set alias to __memset_z900.
17574 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
17576         [BZ #17748]
17577         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
17578         __fesetenv instead of fesetenv.
17580 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17582         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
17583         macro.
17585 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17587         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
17588         regression on LE.
17590         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
17591         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
17592         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17593         strncmp-power8 object.
17594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17595         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
17596         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
17597         * NEWS: Update.
17599 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17600             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17602         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
17603         trailing byte check.
17605 2015-01-13  David S. Miller  <davem@davemloft.net>
17607         * include/signal.h (__sigreturn): Guard with __USE_MISC.
17609 2015-01-13  Roland McGrath  <roland@hack.frob.com>
17611         * login/logout.c (logout): Use memset rather than bzero.
17612         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
17613         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
17614         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
17615         (_gethtbyaddr): Likewise.
17616         * locale/programs/simple-hash.c (bcopy): Macro removed.
17618 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17620         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17621         Add strcmp-power8 object.
17622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17623         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
17624         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
17625         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
17626         __strcmp_power8 implementation.
17627         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
17628         * NEWS: Update.
17630         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17631         Add strncpy-power8 and stpncpy-power8 objects.
17632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17633         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
17634         implementations.
17635         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
17636         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
17637         __stpncpy_power8 implementation.
17638         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
17639         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
17640         __strncpy_power8 implementation.
17641         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
17642         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
17643         * NEWS: Update.
17645         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
17646         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
17647         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
17649         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17650         strncat-power8 object.
17651         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
17652         __strcat_power8 implementation.
17653         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17654         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
17655         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
17656         optimized strcat for power8.
17658         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
17659         strcpy-power8 and stpcpy-power8 objects.
17660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17661         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
17662         implementations.
17663         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
17664         multiarch stpcpy implementation for POWER8.
17665         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
17666         multiarch strcpy implementation for POWER8.
17667         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
17668         __strcpy_power8 function.
17669         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
17670         stpcpy for POWER8.
17671         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
17672         strcpy for POWER8.
17673         * NEWS: Update.
17675 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
17677         [BZ #16009]
17678         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
17679         weights and rules. Use do_xfrm_cached if data fits in cache,
17680         do_xfrm otherwise.  Moved former main loop to...
17681         * (do_xfrm_cached): New function.
17682         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
17683         find_idx, find_position and stack_push.
17684         * (find_idx): New function.
17685         * (find_position): Likewise.
17686         * localedata/sort-test.sh: Added test run for do_xfrm.
17687         * localedata/xfrm-test.c (main): Added command line option
17688         -nocache to run the test with strings that are too large for
17689         the STRXFRM cache.
17691 2015-01-13  Torvald Riegel  <triegel@redhat.com>
17693         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
17694         variable to lll_futex_wake call, not the value itself.
17696 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
17698         [BZ #17803]
17699         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
17700         twom64.  Adjust value to 0x1p-64L.
17701         (__scalblnl): Only return standard underflowing result for K <=
17702         -64 not K <= -63; adjust exponent for underflowing result by 64
17703         not 63.
17704         * math/libm-test.inc (scalbn_test_data): Add more tests.
17705         (scalbln_test_data): Likewise.
17707         [BZ #17834]
17708         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
17709         0x1p63L.
17710         (__scalblnl): Get new exponent of adjusted subnormal value from ES
17711         not HX.
17712         * math/libm-test.inc (scalbn_test_data): Add more tests.
17713         (scalbln_test_data): Likewise.
17715 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17716             Stefani Seibold  <stefani@seibold.net>
17718         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
17719         (sysdep_routines): Add dl-vdso here, ...
17720         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
17721         (sysdep_routines): ... not here.
17722         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
17723         fallback when vDSO is not presented.
17724         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
17725         Define with libc_hidden_proto/libc_hidden_data_def definitions.
17726         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
17727         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
17728         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
17729         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
17730         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
17731         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
17732         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
17733         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
17734         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
17735         fallback configurable symbol when vDSO is not available.
17736         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
17737         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
17738         be able to redefine fallback symbol when vDSO is not available.
17739         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
17740         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
17742 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17744         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
17745         (TLS_INIT_TP): Add tm_capable initialization.
17746         (TLS_DEFINE_INIT_TP): Likewise.
17747         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
17748         TCB.
17749         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
17750         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
17751         calculation.
17752         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
17753         transactoion is lock elision is built and TCB tm_capable is set.
17754         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
17755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17756         (INTERNAL_SYSCALL_NCS): Likewise.
17757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17758         (INTERNAL_SYSCALL_NCS): Likewise.
17759         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
17761         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
17762         for powerpc.
17763         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17764         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
17765         and remove it for 32 bits case.
17766         [pthread_rwlock_t] (__rwelision): New field for lock elision.
17767         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
17768         initialization.
17769         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
17770         Disable lock elision with rdlocks if elision is not available.
17772         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
17773         (sysdep_routines): Add lock elision objects.
17774         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17775         [pthread_mutex_t] (__spins): Rework to add lock elision field.
17776         [pthread_mutex_t] (__elision): Add field.
17777         [__PTHREAD_SPINS]: Adjust to init lock elision field.
17778         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
17779         elision definitions for powerpc.
17780         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
17781         implementation of lock elision for powerpc.
17782         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
17783         implementation of timed lock elision for powerpc.
17784         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
17785         implementation of trylock with lock elision for powerpc.
17786         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
17787         implementaion of unlock for lock elision for powerpc.
17788         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
17789         automatic enable lock elision for mutexes.
17790         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
17791         transaction execution definitions for powerpc.
17792         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
17793         definitions.
17794         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
17795         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
17796         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
17797         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
17798         * NEWS: Update.
17800 2015-01-09  Roland McGrath  <roland@hack.frob.com>
17802         * sysdeps/posix/shm-directory.c: Use <> rather than ""
17803         for #include of <shm-directory.h>.
17805 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
17807         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
17808         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
17810 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
17812         [BZ #17791]
17813         * NEWS: Mention bug fix.
17814         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
17815         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
17816         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
17818 2015-01-09  Torvald Riegel <triegel@redhat.com>
17820         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
17822 2015-01-09  Torvald Riegel <triegel@redhat.com>
17824         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
17826 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17828         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
17829         pointer and cast to uintptr_t.
17831 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17833         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
17834         removed.
17835         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
17837 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
17839         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
17840         of 0.
17842 2015-01-08  Roland McGrath  <roland@hack.frob.com>
17844         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
17845         <nptl/pthreadP.h> instead.
17846         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
17848         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
17849         already defined.
17850         [__SIGRTMIN] (init): Function removed.
17851         [__SIGRTMIN] (initialized): Variable removed.
17852         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
17853         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
17854         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
17855         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
17856         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
17857         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
17858         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
17859         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
17860         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
17861         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
17862         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
17863         * sysdeps/nptl/allocrtsig.c: New file.
17864         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
17865         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
17866         * sysdeps/generic/testrtsig.h: File removed.
17868         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
17869         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
17871         * nptl/nptl-init.c (pthread_functions): Conditionalize
17872         .ptr__nptl_setxid initialization on [SIGSETXID].
17874         * sysdeps/nptl/sys/procfs.h: New file.
17875         * nptl_db/Makefile (headers): Add it.
17876         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
17878         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
17879         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
17880         * nptl/pthread_attr_setaffinity.c: Include it.
17881         * nptl/pthread_setattr_default_np.c: Likewise.
17882         * nptl/check-cpuset.h: New file.
17884 2015-01-08  Richard Henderson  <rth@redhat.com>
17886         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
17887         (CFLAGS-tst-execstack-prog.c): Likewise.
17888         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
17890 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
17891             Sandra Loosemore  <sandra@codesourcery.com>
17892             Andrew Jenner  <andrew@codesourcery.com>
17893             Joseph Myers  <joseph@codesourcery.com>
17894             Nathan Sidwell  <nathan@codesourcery.com>
17896         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
17897         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
17898         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
17899         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
17900         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
17901         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
17902         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
17903         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
17904         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
17905         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
17906         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
17907         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
17908         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
17909         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
17910         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
17911         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
17912         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
17914 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17916         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
17917         timespec struct member in syscall macro.
17918         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
17919         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
17920         first timeval struct member in syscall macro.
17921         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
17923 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
17925         [BZ #17748]
17926         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
17927         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
17928         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
17929         __feupdateenv and define as weak alias of __feupdateenv.  Use
17930         libm_hidden_weak.
17931         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
17932         libm_hidden_def.
17933         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
17934         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
17935         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
17936         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
17937         libm_hidden_def.
17938         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
17939         __feupdateenv and define as weak alias of __feupdateenv.  Use
17940         libm_hidden_weak.
17941         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
17942         libm_hidden_def.
17943         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
17944         __feupdateenv and define as weak alias of __feupdateenv.  Use
17945         libm_hidden_weak.
17946         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
17947         libm_hidden_def.
17948         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
17949         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
17950         (__feupdateenv): Likewise.
17951         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
17952         __feupdateenv and define as weak alias of __feupdateenv.  Use
17953         libm_hidden_weak.
17954         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
17955         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
17956         libm_hidden_def.
17957         * sysdeps/tile/math_private.h (__feupdateenv): New inline
17958         function.
17959         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
17960         libm_hidden_def.
17961         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
17962         __feupdateenv instead of feupdateenv.
17963         (default_libc_feupdateenv_test): Likewise.
17964         (libc_feresetround_ctx): Likewise.
17966 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17968         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
17969         prototype.
17971 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
17973         * posix/regcomp.c (parse_bracket_exp): Initialize type to
17974         COLL_SYM in a couple of places to avoid uninitialized variable
17975         wanings on tilegx gcc 4.8.2.
17977 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
17979         * sysdeps/aarch64/strcpy.S: New file.
17980         * sysdeps/aarch64/stpcpy.S: New file.
17981         * NEWS: Updated.
17983 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
17985         * sysdeps/aarch64/strrchr.S: New file.
17986         * NEWS: Updated.
17988 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
17990         [BZ #17658]
17991         * stdlib/setenv.c: Fix memory leak when setting large,
17992         duplicate string.
17994 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
17996         [BZ #17273]
17997         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
17998         and tabs from buffer before parsing fstab entry.
17999         * misc/tst-mntent.c (main): Add test for mount entry with
18000         trailing spaces and tabs.
18002 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
18004         [BZ #17748]
18005         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
18006         * math/fesetround.c (fesetround): Rename to __fesetround and
18007         define as weak alias of __fesetround.  Use libm_hidden_weak.
18008         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
18009         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
18010         * sysdeps/arm/fesetround.c (fesetround): Likewise.
18011         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
18012         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
18013         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
18014         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
18015         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
18016         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
18017         __fesetround_inline.
18018         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
18019         __fesetround_inline instead of __fesetround.
18020         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
18021         __fesetround and define as weak alias of __fesetround.  Use
18022         libm_hidden_weak.  Call __fesetround_inline instead of
18023         __fesetround.
18024         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
18025         __fesetround and define as weak alias of __fesetround.  Use
18026         libm_hidden_weak.
18027         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
18028         Likewise.
18029         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
18030         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18031         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
18032         * sysdeps/tile/math_private.h (__fesetround): New inline function.
18033         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
18034         __fesetround and define as weak alias of __fesetround.  Use
18035         libm_hidden_weak.
18036         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
18037         __fesetround instead of fesetround.
18038         (default_libc_feholdexcept_setround): Likewise.
18039         (libc_feholdsetround_ctx): Likewise.
18040         (libc_feholdsetround_noex_ctx): Likewise.
18042         [BZ #17748]
18043         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
18044         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
18045         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18046         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
18047         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18048         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
18049         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18050         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18051         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18052         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18053         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18054         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18055         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18056         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18057         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
18058         libm_hidden_def.
18059         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
18060         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
18061         Likewise.
18062         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
18063         define as weak alias of __fesetenv.  Use libm_hidden_weak.
18064         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18065         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
18066         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
18067         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
18068         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
18069         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
18070         __fesetenv instead of fesetenv.
18071         (libc_feresetround_noex_ctx): Likewise.
18072         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18073         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
18074         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
18075         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18076         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18077         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18078         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18079         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
18080         (__feupdateenv): Likewise.
18081         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18082         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18083         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18084         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
18086 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
18088         [BZ #17806]
18089         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
18090         addresses have been freed.
18092 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
18094         * resolv/res_init.c (__res_vinit): Improve comments about nserv
18095         and nservall.
18097 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
18099         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
18100         Clean up check_pf allocation pattern. addresses
18102 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18104         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
18105         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
18106         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
18107         * nptl/pthread_exit.c (__pthread_exit): Likewise.
18108         * nptl/pthread_join.c (pthread_join): Likewise.
18109         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
18110         * sysdeps/posix/waitid.c (__waitid): Likewise.
18111         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18112         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18113         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18114         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18115         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18116         Likewise.
18117         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18118         (__libc_pread64): Likewise.
18119         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18120         (__libc_pwrite): Likewise.
18121         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18122         (__libc_pwrite64): Likewsie.
18123         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18124         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18125         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18126         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18127         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18128         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18129         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18131         Likewise.
18132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18133         (__libc_pread64): Likewise.
18134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
18135         Likewise.
18136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18137         (__libc_pwrite64): Likewise.
18138         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18139         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18140         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
18141         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
18142         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18143         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18144         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
18145         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18146         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18147         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18148         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
18149         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18150         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18151         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
18152         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18153         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18154         Likewise.
18156 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
18158         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
18159         (CFLAGS-test-double.c): Likewise.
18160         (CFLAGS-test-ldouble.c): Likewise.
18161         (CPPFLAGS-test-ifloat.c): Likewise.
18162         (CPPFLAGS-test-idouble.c): Likewise.
18163         (CPPFLAGS-test-ildoubl.c): Likewise.
18164         (CFLAGS-test-test-fenv.c): Remove variable.
18165         (CFLAGS-test-misc.c): Likewise.
18167 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
18169         [BZ #17797]
18170         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
18171         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
18172         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
18173         CLOCKS_PER_SEC == 1000000.
18174         * time/clocktest.c (main): Replace %ld with %jd and cast to
18175         intmax_t.
18177 2015-01-05  Roland McGrath  <roland@hack.frob.com>
18179         * sysdeps/generic/unwind-resume.h: New file.
18180         * sysdeps/gnu/unwind-resume.c: Include it.
18181         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
18182         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
18183         argument list.
18184         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
18185         global rather than static.
18186         (_Unwind_Resume): Update user.
18187         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
18188         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
18189         rather than static.  Add __attribute__ ((cold)).
18190         (_Unwind_Resume, __gcc_personality_v0): Update callers.
18191         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
18192         * sysdeps/arm/arm-unwind-resume.S: New file.
18193         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
18194         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
18195         * sysdeps/arm/Makefile [$(subdir) = csu]
18196         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
18197         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
18198         Add rt-arm-unwind-resume.
18199         [$(subdir) = nptl]
18200         (libpthread-sysdep_routines, libpthread-shared-only-routines):
18201         Add pt-arm-unwind-resume.
18202         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
18203         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
18205 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18207         [BZ #17748]
18208         * include/fenv.h (__feholdexcept): Declare.  Use
18209         libm_hidden_proto.
18210         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
18211         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
18212         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18213         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
18214         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
18215         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
18216         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
18217         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18218         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
18219         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
18220         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18221         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
18222         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
18223         (feholdexcept): Likewise.
18224         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18225         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18226         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
18227         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
18228         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
18229         __feholdexcept instead of feholdexcept.
18230         (default_libc_feholdexcept_setround): Likewise.
18232 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18234         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
18235         to avoid using stl/str to align destination.
18237 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18239         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
18241 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18243         [BZ #17796]
18244         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
18245         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
18246         Define as weak alias not strong alias.
18248 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
18250         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
18251         bltzal with addiupc.
18252         (RTLD_START): Ditto.
18254 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
18256         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
18257         for __vdso_* functions in declarations.
18258         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
18259         definitions.
18260         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
18261         INTERNAL_VSYSCALL): Use struct return types to check for error.
18263         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
18264         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
18265         function with cast from llround().
18266         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
18267         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
18268         Define.
18270 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
18272         [BZ #17793]
18273         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
18274         Define as weak alias not strong alias.
18276         [BZ #17635]
18277         * ctype/ctype-c99.c: New file.  isblank implementation moved from
18278         ...
18279         * ctype/ctype-extn.c: ... here.
18280         (__isblank_l): Move to ...
18281         * ctype/ctype-c99_l.c: ... here.  New file.
18282         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
18283         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
18284         Remove variable.
18285         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
18286         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
18287         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
18288         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
18289         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
18291         [BZ #17777]
18292         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
18293         (posix_fadvise64): Define as weak alias not strong alias.
18294         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18295         (posix_fallocate64): Likewise.
18296         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
18297         Remove variable.
18298         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
18299         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
18300         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
18301         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
18302         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
18304 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
18306         [BZ #16191]
18307         * NEWS: Mention bug fix.
18308         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
18309         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
18310         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
18311         (HOST_STACK_END_ADDR): Likewise.
18313 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
18315         [BZ #17748]
18316         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
18317         * math/fegetround.c (fegetround): Rename to __fegetround and
18318         define as weak alias of __fegetround.  Use libm_hidden_weak.
18319         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
18320         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
18321         * sysdeps/arm/fegetround.c (fegetround): Likewise.
18322         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
18323         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
18324         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
18325         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
18326         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
18327         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
18328         Undefine after rather than before function definition; use
18329         parentheses around function name in definition.
18330         (__fegetround): Also undefine macro after function definition.
18331         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
18332         __fegetround and define as weak alias of __fegetround.  Use
18333         libm_hidden_weak.  Do not undefine as macro.
18334         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
18335         Likewise.
18336         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
18337         __fegetround and define as weak alias of __fegetround.  Use
18338         libm_hidden_weak.
18339         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18340         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
18341         * sysdeps/tile/math_private.h (__fegetround): New inline function.
18342         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
18343         __fegetround and define as weak alias of __fegetround.  Use
18344         libm_hidden_weak.
18345         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
18346         __fegetround instead of fegetround.
18348         [BZ #17782]
18349         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
18350         Condition macro definition on [__USE_MISC].
18352         [BZ #17781]
18353         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
18354         (struct sigaction): Change type of sa_flags field to int.
18356         [BZ #17780]
18357         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
18358         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
18359         __glibc_reserved0.
18361         * nptl/version.c (banner): Use single year in copyright notice.
18363         * NEWS: Update copyright dates.
18364         * catgets/gencat.c (print_version): Likewise.
18365         * csu/version.c (banner): Likewise.
18366         * debug/catchsegv.sh: Likewise.
18367         * debug/pcprofiledump.c (print_version): Likewise.
18368         * debug/xtrace.sh (do_version): Likewise.
18369         * elf/ldconfig.c (print_version): Likewise.
18370         * elf/ldd.bash.in: Likewise.
18371         * elf/pldd.c (print_version): Likewise.
18372         * elf/sotruss.sh: Likewise.
18373         * elf/sprof.c (print_version): Likewise.
18374         * iconv/iconv_prog.c (print_version): Likewise.
18375         * iconv/iconvconfig.c (print_version): Likewise.
18376         * locale/programs/locale.c (print_version): Likewise.
18377         * locale/programs/localedef.c (print_version): Likewise.
18378         * login/programs/pt_chown.c (print_version): Likewise.
18379         * malloc/memusage.sh (do_version): Likewise.
18380         * malloc/memusagestat.c (print_version): Likewise.
18381         * malloc/mtrace.pl: Likewise.
18382         * manual/libc.texinfo: Likewise.
18383         * nptl/version.c (banner): Likewise.
18384         * nscd/nscd.c (print_version): Likewise.
18385         * nss/getent.c (print_version): Likewise.
18386         * nss/makedb.c (print_version): Likewise.
18387         * posix/getconf.c (main): Likewise.
18388         * scripts/test-installation.pl: Likewise.
18389         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
18391 2015-01-02  Will Newton  <will.newton@linaro.org>
18393         * sysdeps/arm/armv7/configure: Removed.
18394         * sysdeps/arm/armv7/configure.ac: Likewise.
18396 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
18398         * All files with FSF copyright notices: Update copyright dates
18399         using scripts/update-copyrights.
18400         * intl/plural.c: Regenerated.
18401         * locale/programs/charmap-kw.h: Likewise.
18402         * locale/programs/locfile-kw.h: Likewise.
18404 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18406         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
18408 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
18410         [BZ #17748]
18411         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
18412         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
18413         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18414         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
18415         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18416         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
18417         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18418         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
18419         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18420         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18421         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18422         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18423         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18424         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18425         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
18426         libm_hidden_def.
18427         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
18428         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
18429         Likewise.
18430         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
18431         define as weak alias of __fegetenv.  Use libm_hidden_weak.
18432         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18433         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
18434         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
18435         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
18436         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
18437         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
18438         __fegetenv instead of fegetenv.
18439         (libc_feholdsetround_noex_ctx): Likewise.
18441 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
18443         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
18444         (Elf_MIPS_ABIFlags_v0): New structure.
18445         (EF_MIPS_FP64): Define.
18446         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
18447         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
18448         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
18449         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
18450         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
18451         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
18452         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
18453         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
18454         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
18455         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
18456         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
18457         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
18458         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
18459         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
18460         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
18461         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
18462         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
18463         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
18464         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
18465         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
18466         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
18467         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
18468         field.
18469         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
18470         EF_MIPS_FP64.
18471         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
18472         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
18473         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
18474         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
18475         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
18476         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
18477         * sysdeps/mips/tst-abi-interlink.c: Likewise.
18478         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
18479         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
18480         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
18481         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
18482         record the current FP ABI extension.
18483         (mips-mode-switch): Define to show if kernel headers support mode
18484         switching.
18485         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
18486         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
18487         supported SYSV ABI version to 3.
18488         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
18489         feature.
18491 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18492             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18494         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
18495         path.
18496         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
18498 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
18500         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
18501         __fegetround and redefine to call __fegetround.  Remove condition
18502         on [!__NO_MATH_INLINES].
18503         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
18504         function.
18505         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
18506         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
18507         Remove macro.
18508         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
18509         instead of <fenv_libc.h>.
18510         (__llrintl): Call fegetround instead of __fegetround.
18511         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
18512         instead of <fenv_libc.h>.
18513         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
18514         (__lrintl): Call fegetround instead of __fegetround.
18515         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
18516         instead of <fenv_libc.h>.
18517         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
18518         (__rintl): Call fegetround instead of __fegetround.
18520 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18522         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
18523         arrays.
18525 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
18527         [BZ #17775]
18528         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
18529         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
18530         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
18532 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18534         * sysdeps/i386/tls-macros.h: Include <features.h>.
18535         (TLS_LE): Use non-PIC version for GCC >= 5.0.
18536         (TLS_IE): Likewise.
18537         (TLS_LD): Likewise.
18538         (TLS_GD): Likewise.
18539         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
18540         define for GCC >= 5.0.
18542 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
18544         * math/test-fenv.c (test_single_exception, set_single_exc,
18545         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
18546         feexcp_mask_test, feenable_test, fe_single_test): Add
18547         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
18548         case where they are not used.
18549         * math/libm-test.inc: Likewise.
18550         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
18551         unused in the absence of FP rounding/exception support.
18552         * stdio-common/tst-printf-round.c: Likewise.
18553         * stdlib/tst-strtod-round.c: Likewise.
18554         * stdlib/tst-strtod-underflow.c: Likewise.
18556 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
18558         [BZ #17723]
18559         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
18560         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
18561         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18562         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18563         libm_hidden_weak.
18564         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
18565         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18566         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
18567         libm_hidden_def.
18568         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18569         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18570         libm_hidden_weak.
18571         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
18572         Likewise.
18573         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
18574         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18575         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18576         libm_hidden_weak.
18577         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18578         libm_hidden_def.
18579         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18580         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
18581         (__feraiseexcept): Likewise.
18582         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
18583         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
18584         libm_hidden_weak.
18585         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
18586         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
18587         libm_hidden_def.
18588         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
18589         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
18590         Use libm_hidden_def.
18591         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
18592         libm_hidden_def.
18593         (feraiseexcept): Define as weak not strong alias.  Use
18594         libm_hidden_weak.
18595         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
18596         New inline function.  Factored out of ...
18597         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
18598         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
18599         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
18600         feraiseexcept.
18601         * math/w_acos.c (__acos): Likewise.
18602         * math/w_asin.c (__asin): Likewise.
18603         * math/w_ilogb.c (__ilogb): Likewise.
18604         * math/w_j0.c (y0): Likewise.
18605         * math/w_j1.c (y1): Likewise.
18606         * math/w_jn.c (yn): Likewise.
18607         * math/w_log.c (__log): Likewise.
18608         * math/w_log10.c (__log10): Likewise.
18609         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
18610         * sysdeps/aarch64/fpu/math_private.h
18611         (libc_feupdateenv_test_aarch64): Likewise.
18612         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
18613         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
18614         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
18615         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
18616         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
18617         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
18618         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
18619         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
18620         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18621         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
18623 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
18625         [BZ #17732]
18626         * io/test-utime.c (main): Replace %ld with %jd and cast to
18627         intmax_t.
18628         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
18629         * nptl/tst-mutex5.c: Include <stdint.h>.
18630         (do_test): Replace %ld with %jd and cast to intmax_t.
18631         * posix/tst-regex.c (run_test): Likewise.
18632         (run_test_backwards): Likewise.
18633         * rt/tst-clock.c: Include <stdint.h>.
18634         (clock_test): Replace %ld with %jd and cast to intmax_t.
18635         * rt/tst-cpuclock1.c: Include <stdint.h>.
18636         (do_test): Replace %lu with %ju and cast to uintmax_t.
18637         * rt/tst-cpuclock2.c: Include <stdint.h>.
18638         (do_test): Replace %lu with %ju and cast to uintmax_t.
18639         * rt/tst-mqueue1.c: Include <stdint.h>.
18640         (check_attrs): Replace %ld with %jd and cast to intmax_t.
18641         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
18642         intmax_t.
18643         * rt/tst-mqueue4.c (do_test): Likewise.
18644         * rt/tst-timer4.c: Include <stdint.h>.
18645         (check_ts): Replace %ld with %jd and cast to intmax_t.
18646         (do_test): Likewise.
18647         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
18648         and cast to intmax_t.
18649         * sysdeps/pthread/tst-timer.c (main): Likewise.
18650         * time/clocktest.c (main): Likewise.
18651         * time/tst-posixtz.c (do_test): Likewise.
18652         * timezone/tst-timezone.c (main): Likewise.
18654 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18655             H.J. Lu  <hongjiu.lu@intel.com>
18657         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
18658         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
18659         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
18660         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
18661         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
18662         version if bit_Fast_Unaligned_Load is set.
18663         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18664         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18665         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18666         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18667         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18668         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18669         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
18670         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
18671         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
18672         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
18673         to 4.
18674         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
18675         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
18676         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
18677         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
18679 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
18681         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
18682         instead of #if to avoid a Wundef warning.
18683         * stdlib/tst-limits.c (do_test): Likewise.
18685         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
18686         parallel other exception macros.
18687         (fegetenv): Convert from macro to extern inline so that it applies
18688         retroactively to inline functions already seen by the compiler.
18689         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
18691         * posix/Makefile (before-compile): Use $(objpfx) for
18692         posix-conf-vars-def.h.
18694 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18696         * posix/getconf.c (main): Use size_t for type of I.
18697         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
18698         NSPEC.
18700         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
18701         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
18702         * posix/posix-envs.def: Likewise.
18703         * sysdeps/posix/sysconf.c: Likewise.
18704         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
18705         (specs): Remove array.
18706         * scripts/gen-posix-conf-vars.awk: Support generation of specs
18707         array.
18709         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
18710         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
18711         (__sysconf): Use CONF_IS_* macros.
18713         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
18714         ($(objpfx)posix-conf-vars-def.h): New target.
18715         * posix/posix-conf-vars.list: New file.
18716         * posix/posix-conf-vars.h: New file.
18717         * posix/confstr.c: Include posix-conf-vars.h.
18718         (confstr): Use CONF_IS_* macros.
18719         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
18720         CONF_IS_* macros.
18721         * scripts/gen-posix-conf-vars.awk: New file.
18723 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
18725         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
18726         fegetround): Add no-op macros to avoid linknamespace issues.
18728         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
18729         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
18731         * sysdeps/unix/sysv/linux/tile/sysdep.h
18732         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
18733         assembly-specific section to avoid a redefinition warning.
18735         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
18736         long before casting to pointer to avoid a cast warning.
18738 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
18740         * sysdeps/tile/tilegx/Implies: New file.
18742 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
18744         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
18746 2014-12-23  Florian Weimer  <fweimer@redhat.com>
18748         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
18750 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18752         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
18753         not define.
18754         * sysdeps/unix/sysv/linux/utimes.c: Do not include
18755         <kernel-features.h>.
18756         (__utimes) [__NR_utimes]: Make code unconditional.
18757         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
18758         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18759         (__ASSUME_UTIMES): Do not undefine.
18760         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18761         (__ASSUME_UTIMES): Likewise.
18762         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18763         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
18764         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
18765         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
18767 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
18769         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
18771 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
18773         [BZ #17747]
18774         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
18775         alias to weak alias for j0l, y0l.
18776         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
18777         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
18779         [BZ #17746]
18780         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
18781         conversion.
18783 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
18785         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
18786         to zero if not already defined.
18788 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18790         [BZ #17724]
18791         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
18792         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
18793         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
18794         (char *) casts added.
18795         * sysdeps/ieee754/k_standardf.c: New file.
18796         * sysdeps/ieee754/k_standardl.c: Likewise.
18797         * math/Makefile (libm-support): Remove k_standard.
18798         (libm-calls): Add k_standard.
18800 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18802         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18803         Optimize to avoid an unnecessary FPCR read.
18805 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18807         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18808         Optimize to reduce FPCR/FPSR accesses.
18810 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18812         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
18813         Call libc_fetestexcept_aarch64.
18815 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
18817         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
18818         Call libc_fesetround_aarch64.
18820 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
18822         [BZ #17733]
18823         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
18824         (__bind): Do not define as weak alias.
18825         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
18826         define.
18827         (__getsockname): Do not define as weak alias.
18829 2014-12-22  Will Newton  <will.newton@linaro.org>
18831         * manual/install.texi: Document that we require bison 2.7
18832         or above.
18833         * INSTALL: Regenerate.
18834         * configure.ac: Use AC_CHECK_PROG_VER instead of
18835         AC_PATH_PROG when checking for bison and check for
18836         version 2.7 or above.
18837         * configure: Regenerate.
18839 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
18841         [BZ #17745]
18842         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
18843         * sysdeps/tile/ffsll.c (ffsll): To here.
18845         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
18847 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
18849         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
18850         if not defined.
18851         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
18852         definition.
18853         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18854         hidden ___tls_get_addr.
18855         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
18856         hidden __tls_get_addr.
18857         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
18858         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
18859         Likewise.
18861 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
18863         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
18864         _dl_init call.
18866 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
18868         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
18869         from "call _dl_init@PLT".
18870         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
18872 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
18874         * manual/search.texi: (Array Sort Function): Clarify stable sorting
18875         guarantees.
18877 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
18879         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
18881 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
18883         [BZ #17744]
18884         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
18885         strnlen.
18887 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
18889         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
18890         of multu on MIPSr6.
18891         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
18892         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
18893         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
18894         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
18895         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
18897 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
18899         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
18900         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
18901         (PTR_SUBU): Use subu for mips32r6/mips64r6.
18902         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
18903         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
18904         mips32r6/mips64r6.
18905         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
18907 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
18909         * string/strncat.c (STRNCAT): Simplify implementation.
18911 2014-12-19  David S. Miller  <davem@davemloft.net>
18913         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
18914         access the quad as both a long double and as a series of 4 words.
18916         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
18917         link_map->l_info array access.
18919 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
18921         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
18923         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
18924         * math/atest-exp2.c (TIMEOUT): Likewise.
18925         * math/atest-sincos.c (TIMEOUT): Likewise.
18927 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18929         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
18930         -Wno-error with -fno-builtin-lround.
18932 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18934         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
18935         Contains futex constants and functions moved over from ...
18936         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
18937         <lowlevellock-futex.h>.
18938         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
18939         (lll_timedwait_tid): Add comments and parentheses around macro
18940         arguments.
18942 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18944         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
18945         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
18946         (__lll_private_flag): Remove.
18947         (lll_futex_wait): Likewise.
18948         (lll_futex_timed_wait): Likewise.
18949         (lll_futex_wake): Likewise.
18950         (lll_futex_requeue): Likewise.
18951         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
18952         (__lll_timedwait_tid): Spell out argument names.
18953         (lll_timedwait_tid): Add comments and parentheses around macro
18954         arguments.
18955         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
18956         LLL_SHARED and LLL_PRIVATE usable from assembly code.
18958 2014-12-19  Torvald Riegel  <triegel@redhat.com>
18960         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
18961         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
18962         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
18963         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
18964         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
18965         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
18966         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
18967         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
18968         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
18969         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
18970         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
18971         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
18972         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
18973         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
18974         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
18975         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
18976         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
18977         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
18978         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
18980 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18982         * sysdeps/x86_64/x32/Makefile: New file.
18984 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
18986         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
18987         1L with (mp_limb_t) 1.
18989 2014-12-17  Roland McGrath  <roland@hack.frob.com>
18991         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
18992         * nptl/libc_pthread_init.c: ... here.
18993         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
18994         * nptl/register-atfork.c: ... here.
18996         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
18997         Use pthread_sigmask rather than INTERNAL_SYSCALL.
18998         Use assert_perror to check its return value.
18999         (__gai_create_helper_thread): Likewise.
19001         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
19003         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
19005 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
19007         [BZ #17725]
19008         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
19009         __profil_counter.
19010         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
19011         Likewise.
19012         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
19013         Likewise.
19014         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
19015         Likewise.
19016         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
19017         (profil_counter): Likewise.
19018         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
19019         (profil_counter): Likewise.
19020         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
19021         Likewise.
19022         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
19023         Likewise.
19024         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
19025         (profil_counter): Likewise.
19026         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
19027         Likewise.
19028         [!__profil_counter] (profil_counter): Define as weak alias of
19029         __profil_counter.
19030         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
19031         (profil_counter): Rename to __profil_counter.
19032         [!__profil_counter] (profil_counter): Define as weak alias of
19033         __profil_counter.
19034         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
19035         (profil_counter): Rename to __profil_counter.
19036         [!__profil_counter] (profil_counter): Define as weak alias of
19037         __profil_counter.
19038         * sysdeps/posix/profil.c: Update comment referring to
19039         profil_counter.
19040         (__profil): Use __profil_counter instead of profil_counter.
19041         * sysdeps/posix/sprofil.c (profil_counter): Rename to
19042         __profil_counter.  Use __profil_counter_ushort and
19043         __profil_counter_uint in definitions.
19044         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
19045         instead of profil_counter_uint and profil_counter_ushort.
19047         [BZ #17722]
19048         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
19049         define as weak alias of __inet_makeaddr.
19050         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
19051         as weak alias of __inet_addr.
19052         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
19053         as weak alias of __inet_pton.  Use libc_hidden_weak.
19054         * include/arpa/inet.h (__inet_pton): Declare.  Use
19055         libc_hidden_proto.
19056         (inet_makeaddr): Don't use libc_hidden_proto.
19057         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
19058         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
19059         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
19060         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
19061         Remove variable.
19062         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
19063         (test-xfail-POSIX/time.h/linknamespace): Likewise.
19065 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
19067         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
19069 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19071         * stdio-common/bug-vfprintf-nargs.c (do_test):
19072         Cast value to intptr_t to avoid format warning
19073         for usage with PRIdPTR printing macro.
19075 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
19077         * libio/tst-widetext.c (do_test):
19078         Use format type %td instead of %Zd for ptrdiff_t
19079         in order to avoid format warning.
19081 2014-12-17  Andreas Schwab  <schwab@suse.de>
19083         * nscd/mem.c (gc): Add size_t cast to match printf format.
19085 2014-12-16  Roland McGrath  <roland@hack.frob.com>
19087         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
19088         (init): Apply PTR_MANGLE to pointers before storing them.
19089         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
19090         before using them.
19092 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
19094         [BZ #17719]
19095         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
19096         define as weak alias of __memrchr.
19097         (__memrchr): Do not define as strong alias of memrchr.
19098         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
19099         Remove variable.
19100         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
19101         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
19102         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
19104         [BZ #17717]
19105         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
19106         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
19107         (if_indextoname): Rename to __if_indextoname and define as weak
19108         alias of __if_indextoname.  Use libc_hidden_weak.
19109         (if_freenameindex): Rename to __if_freenameindex and define as
19110         weak alias of __if_freenameindex.
19111         (if_nameindex): Rename to __if_nameindex and define as weak alias
19112         of __if_nameindex.
19113         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
19114         __if_nametoindex and define as weak alias of __if_nametoindex.
19115         Use libc_hidden_weak.
19116         (if_freenameindex): Rename to __if_freenameindex and define as
19117         weak alias of __if_freenameindex.
19118         (if_nameindex): Rename to __if_nameindex and define as weak alias
19119         of __if_nameindex.
19120         (if_indextoname): Rename to __if_indextoname and define as weak
19121         alias of __if_indextoname.  Use libc_hidden_weak.
19122         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
19123         __if_nametoindex and define as weak alias of __if_nametoindex.
19124         Use libc_hidden_weak.
19125         (if_freenameindex): Rename to __if_freenameindex and define as
19126         weak alias of __if_freenameindex.  Use libc_hidden_weak.
19127         (if_nameindex_netlink): Use __if_freenameindex instead of
19128         if_freenameindex.
19129         (if_nameindex): Rename to __if_nameindex and define as weak alias
19130         of __if_nameindex.  Use libc_hidden_weak.
19131         (if_indextoname): Rename to __if_indextoname and define as weak
19132         alias of __if_indextoname.  Use libc_hidden_weak.
19133         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
19134         libc_hidden_proto.
19135         [!_ISOMAC] (__if_freenameindex): Likewise.
19136         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
19137         if_nametoindex.
19138         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
19139         variable.
19140         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
19141         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
19142         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
19143         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
19144         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
19145         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
19146         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
19148         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
19149         Remove variable.
19150         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
19151         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
19153 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19155         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
19156         subscript above bounds'
19158         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
19159         bounds.
19161 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
19163         * libio/tst-fopenloc.c: Use test-skeleton.c.
19165         * stdlib/tst-bsearch.c: Use test-skeleton.c.
19166         (entry): Rename to ITEM.
19167         (do_test, comp): Adjust.
19169         * stdio-common/tst-fseek.c: Use test-skeleton.c.
19171 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19173         * string/tester.c: Include <libc-internal.h>.
19174         (test_memset): Ignore -Wmemset-transposed-args.
19176 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19178         * misc/tst-mntent2.c (do_test): Fix warning.
19180 2014-12-16  Torvald Riegel  <triegel@redhat.com>
19182         * elf/tst-unique4lib.cc(a): Mark as used.
19184 2014-12-16  Florian Weimer  <fweimer@redhat.com>
19186         [BZ #17630]
19187         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
19188         names.
19190 2014-12-16  Allan McRae  <allan@archlinux.org>
19192         * stdio-common/Makefile (tests): Re-add bug26.
19194 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
19196         [BZ #17657]
19197         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
19198         static array.
19200 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
19202         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
19203         (__lll_lock_wait): Likewise.
19204         (__lll_timedlock_wait): Likewise.
19205         (__lll_timedwait_tid): Likewise.
19206         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
19207         (__lll_robust_timedlock_wait): Likewise.
19208         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
19209         (lll_cond_trylock): Likewise.
19210         (__lll_lock): Likewise.
19211         (__lll_robust_lock): Likewise.
19212         (__lll_cond_lock): Likewise.
19213         (lll_robust_cond_lock): Likewise.
19214         (__lll_timedlock): Likewise.
19215         (__lll_robust_timedlock): Likewise.
19216         (__lll_unlock): Likewise.
19217         (__lll_robust_unlock): Likewise.
19218         (lll_wait_tid): Likewise.
19219         (lll_timedwait_tid): Likewise.
19221 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19223         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
19225 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19227         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
19229 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
19231         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
19232         * stdio-common/tst-sprintf.c: Likewise.
19234 2014-12-15  Torvald Riegel  <triegel@redhat.com>
19236         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
19238 2014-12-15  Jeff Law  <law@redhat.com>
19240         [BZ #16617]
19241         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
19242         on the heap.  (CVE-2012-3406)
19243         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
19244         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
19245         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
19247 2014-12-15  Will Newton  <will.newton@linaro.org>
19249         * manual/install.texi: Bump required version of texinfo
19250         to 4.7 from 4.5.
19251         * INSTALL: Regenerated.
19252         * configure.ac: Check for makeinfo version 4.7 and above.
19253         * configure: Regenerated.
19255 2014-12-12  Roland McGrath  <roland@hack.frob.com>
19257         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
19258         PREFIX, string constant to insert between directory and name.
19259         * sysdeps/posix/shm_open.c: Update caller.
19260         * sysdeps/posix/shm_unlink.c: Likewise.
19261         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
19262         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
19263         (SEM_SHM_PREFIX): New macro.
19264         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
19265         [$(have-thread-library) = no].
19266         * nptl/Makefile (libpthread-routines): Add shm-directory.
19267         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
19268         * sysdeps/nptl/shm-directory.h: New file.
19269         * sysdeps/posix/shm-directory.c
19270         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
19271         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
19272         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
19273         INTERNAL_SYSCALL.
19274         (__where_is_shmfs): Function removed.
19275         (mountpoint, defaultmount, defaultdir, __namedsem_once):
19276         Variables removed.
19277         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
19278         Use SHM_GET_NAME.
19279         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
19281         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
19282         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
19283         unconditional for use inside libpthread.
19284         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
19286 2014-12-12  Roland McGrath  <roland@hack.frob.com>
19288         * nptl/pthread_getaffinity.c: New file.
19289         * nptl/pthread_setaffinity.c: New file.
19290         * nptl/pthread_getname.c: New file.
19291         * nptl/pthread_setname.c: New file.
19293         * nptl/pthread_create.c (START_THREAD_DEFN)
19294         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
19296 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19297             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19299         * resolv/res_send.c (send_vc): Disable warning resplen may
19300         be used uninitialized.
19302 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19304         * nptl/tst-mutex6.c
19305         (ATTR_NULL): New define checks ATTR against NULL.
19306         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
19307         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
19309 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
19311         [BZ #17581]
19312         * malloc/hooks.c
19313         (mem2mem_check): Revert my previous change.
19314         (malloc_check_get_size): Revert my previous change.
19315         (mem2chunk_check): Revert my previous change.
19317 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19319         * sysdeps/posix/shm-directory.c: New file.
19320         * sysdeps/posix/shm-directory.h: New file.
19321         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
19322         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
19323         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
19324         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
19325         Transmute EPERM to EACCES.
19326         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
19327         from ...
19328         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
19329         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
19331 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19333         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
19334         pointer and cast to uintptr_t.
19335         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
19336         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
19337         Add cast to avoid warning.
19338         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
19340 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
19342         * nptl/semaphore.h: Move to ...
19343         * sysdeps/pthread/semaphore.h: ... here.
19344         * Makefile (installed-headers): Change nptl/semaphore.h to
19345         sysdeps/pthread/semaphore.h.
19347 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19349         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
19350         generated error format strings.
19352         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
19353         -Wformat-extra-args warnings for scanf formats.
19354         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
19355         test of zero-length format (duh).
19356         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
19357         corner-case scanf format test.
19358         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
19359         generated fprintf format string.
19360         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
19361         corner-case sprintf format tests.
19362         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
19363         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
19364         -Wformat-extra-args warnings throughout.
19365         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
19366         (CFLAGS-scanf4.c): Likewise.
19367         (CFLAGS-scanf7.c): Likewise.
19368         (CFLAGS-tst-sprintf.c): Likewise.
19369         (CFLAGS-tst-printf.c): Likewise.
19370         (CFLAGS-tst-printfsz.c): Likewise.
19372 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
19374         * include/cpio.h: New file.
19375         * include/fmtmsg.h: Likewise.
19377         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
19378         corresponding format argument to size_t.
19379         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
19380         arguments.
19381         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
19382         corresponding format argument to size_t.
19383         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
19384         arguments.
19385         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
19386         corresponding format argument to size_t.
19387         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
19388         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
19389         (CFLAGS-tst-mbswcs2.c): Likewise.
19390         (CFLAGS-tst-mbswcs3.c): Likewise.
19391         (CFLAGS-tst-mbswcs4.c): Likewise.
19392         (CFLAGS-tst-mbswcs5.c): Likewise.
19393         (CFLAGS-tst-trans.c): Likewise.
19395 2014-12-11  Roland McGrath  <roland@hack.frob.com>
19397         * posix/regexbug1.c (main): Use "%s" format with regerror results,
19398         rather than assuming they won't contain any '%'s.
19400 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
19402         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
19403         inhibit_loop_to_libcall to avoid recursive calls.
19404         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
19405         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
19407 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
19409         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
19410         prototype.
19412 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
19414         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
19415         integer value instead of boolean.
19417 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
19419         * malloc/malloc.c: Fix powerof2 check.
19421 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19423         * locale/programs/locfile.h (maybe_swap_uint32):
19424         Remove inline and add unused attribute.
19426 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
19428         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
19429         Truncating assembler expression to a .long expression.
19431 2014-12-11  Andreas Schwab  <schwab@suse.de>
19433         * elf/rtld.c (struct map_args): Constify str member.
19434         (do_preload): Constify fname argument.
19436 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19438         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
19439         constants definition.
19441 2014-12-11  Andreas Schwab  <schwab@suse.de>
19443         [BZ #16657]
19444         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
19445         FORCE_ELISION instead of DO_ELISION.
19446         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
19447         Remove.
19448         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
19449         Likewise.
19451         * iconvdata/gconv-modules: Remove duplicate entry.
19453 2014-12-11  Will Newton  <will.newton@linaro.org>
19455         Merge gettext 0.19.3 into intl/.
19457         This involves a number of cosmetic changes to comments
19458         and ANSI function definitions and prototypes throughout
19459         all the files. The gettext copyright header is used but
19460         with the date ranges taken from the glibc copy.
19462         * NEWS: Add gettext merge to 2.21.
19463         * intl/bindtextdom.c: Switch to gettext copyright.
19464         Use ANSI definitions and prototypes.
19465         Use gl_* locking primitives rather than __libc_* ones.
19466         Use __builtin_expect rather than __glibc_likely/unlikely.
19467         * intl/dcgettext.c: Switch to gettext copyright.
19468         Use ANSI definitions and prototypes.
19469         * intl/dcigettext.c: Switch to gettext copyright.
19470         Use ANSI definitions and prototypes.
19471         (INTDIV0_RAISES_SIGFPE): New define.
19472         Use gl_* locking primitives rather than __libc_* ones.
19473         Include eval-plural.h instead of plural-eval.c.
19474         Use __builtin_expect rather than __glibc_likely/unlikely.
19475         * intl/dcngettext.c: Switch to gettext copyright.
19476         Use ANSI definitions and prototypes.
19477         * intl/dgettext.c: Likewise.
19478         * intl/dngettext.c: Likewise.
19479         * intl/plural-eval.c: Renamed to...
19480         * intl/eval-plural.h: ...this.
19481         * intl/explodename.c: Switch to gettext copyright.
19482         Use ANSI definitions and prototypes.
19483         (_nl_explode_name): Use strchr instead of __rawmemchr.
19484         * intl/finddomain.c: Switch to gettext copyright.
19485         Use ANSI definitions and prototypes.
19486         Use gl_* locking primitives rather than __libc_* ones.
19487         (_nl_find_domain): Use malloc rather than alloca for
19488         allocation of temporary locale name.
19489         * intl/gettext.c: Switch to gettext copyright.
19490         Use ANSI definitions and prototypes.
19491         * intl/gettextP.h: Switch to gettext copyright.
19492         Use ANSI definitions and prototypes.
19493         Use gl_* locking primitives rather than __libc_* ones.
19494         * intl/gmo.h: Switch to gettext copyright.
19495         (struct sysdep_string): Move struct segment_pair outside of
19496         struct definition.
19497         * intl/hash-string.c: Use ANSI definitions and prototypes.
19498         * intl/hash-string.h: Switch to gettext copyright.
19499         Use ANSI definitions and prototypes.
19500         * intl/l10nflist.c: Switch to gettext copyright.
19501         Use ANSI definitions and prototypes.
19502         (_nl_normalize_codeset): Avoid integer overflow.
19503         * intl/loadinfo.h: Switch to gettext copyright.
19504         Use ANSI definitions and prototypes.
19505         (LIBINTL_DLL_EXPORTED): New define.
19506         (PATH_SEPARATOR): New define.
19507         * intl/loadmsgcat.c: Switch to gettext copyright.
19508         * intl/localealias.c: Switch to gettext copyright.
19509         Use ANSI definitions and prototypes.
19510         (_nl_expand_alias): Use PATH_SEPARATOR.
19511         * intl/ngettext.c: Switch to gettext copyright.
19512         Use ANSI definitions and prototypes.
19513         * intl/plural-exp.c: Likewise.
19514         * intl/plural-exp.h: Switch to gettext copyright.
19515         Use ANSI definitions and prototypes.
19516         (struct expression): Move definition of enum operator outside
19517         of struct definition.
19518         * intl/plural.c: Regenerate.
19519         * intl/plural.y: Switch to gettext copyright.
19520         Use ANSI definitions and prototypes.
19521         Port to bison 3.0.
19522         * intl/textdomain.c: Switch to gettext copyright.
19523         Use ANSI definitions and prototypes.
19524         Use gl_* locking primitives rather than __libc_* ones.
19526 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
19528         * debug/warning-nop.c: Add used atrribute.
19530 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19532         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
19534         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
19535         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
19536         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
19538 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19539             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19541         [BZ #17634]
19542         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
19543         Undefine after defining function.  Define as weak alias of
19544         __wcschr.  Use libc_hidden_weak.
19545         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
19546         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
19547         (libc_hidden_def): Also define __GI___wcschr alias.
19548         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
19549         __wcschr and define as weak alias of __wcschr.
19550         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
19551         __wcschr.
19552         [!WCSCHR] (DEFAULT_WCSCHR): Define.
19553         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
19554         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
19555         libc_hidden_weak.  Do not use libc_hidden_def.
19556         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
19557         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
19558         __GI___wcschr alias.
19559         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
19560         [IS_IN (libc)] (wcschr): Define as macro expanding to
19561         __redirect_wcschr.
19562         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
19563         [IS_IN (libc)] (__wcschr_power6): Likewise.
19564         [IS_IN (libc)] (__wcschr_power7): Likewise.
19565         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
19566         instead of wcschr.
19567         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
19568         __libc_wcschr.
19569         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
19570         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
19571         __wcschr and define as weak alias of __wcschr.  Use
19572         libc_hidden_builtin_def.
19573         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
19574         as weak alias of __wcschr.  Use libc_hidden_weak.
19575         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
19576         wcschr.
19577         * time/era.c (_nl_init_era_entries): Likewise.
19578         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
19579         variable.
19580         (test-xfail-XPG3/time.h/linknamespace): Likewise.
19581         (test-xfail-XPG4/time.h/linknamespace): Likewise.
19583 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19585         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
19586         format for long int variable.
19588 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
19590         [BZ #10672]
19591         * manual/search.texi: (Array Sort Function): Remove claim how to make
19592         qsort stable.
19594 2014-12-10  Andreas Schwab  <schwab@suse.de>
19596         [BZ #12847]
19597         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
19598         user-controlled locks.
19600 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
19602         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
19603         register.
19605 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
19607         * configure.ac (--disable-werror): New configure option.
19608         (enable_werror): New AC_SUBST.
19609         * configure: Regenerated.
19610         * config.make.in (enable-werror): New variable.
19611         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
19612         -Wno-error=undef.
19613         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
19614         * manual/install.texi (Configuring and compiling): Document
19615         --disable-werror.
19616         * INSTALL: Regenerated.
19617         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
19618         (CFLAGS-tst-chk2.c): Likewise.
19619         (CFLAGS-tst-chk3.c): Likewise.
19620         (CFLAGS-tst-chk4.cc): Likewise.
19621         (CFLAGS-tst-chk5.cc): Likewise.
19622         (CFLAGS-tst-chk6.cc): Likewise.
19623         (CFLAGS-tst-lfschk1.c): Likewise.
19624         (CFLAGS-tst-lfschk2.c): Likewise.
19625         (CFLAGS-tst-lfschk3.c): Likewise.
19626         (CFLAGS-tst-lfschk4.cc): Likewise.
19627         (CFLAGS-tst-lfschk5.cc): Likewise.
19628         (CFLAGS-tst-lfschk6.cc): Likewise.
19630         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
19631         (main): Disable -Wdeprecated-declarations around calls to
19632         register_printf_function.
19634         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
19635         (do_test): Disable -Wdiv-by-zero around some calls to
19636         fwrite_unlocked and fread_unlocked.
19638         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
19639         (DIAG_POP_NEEDS_COMMENT): Likewise.
19640         (_DIAG_STR1): Likewise.
19641         (_DIAG_STR): Likewise.
19642         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
19643         * stdio-common/bug21.c: Include <libc-internal.h>.
19644         (do_test): Disable -Wformat around call to sscanf.
19645         * stdio-common/scanf14.c: Include <libc-internal.h>.
19646         (main): Disable -Wformat around some calls to scanf functions.
19648 2014-12-09  Torvald Riegel  <triegel@redhat.com>
19650         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
19652 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19654         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
19655         stack variable alignment.
19657 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
19659         [BZ #17682]
19660         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
19661         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
19662         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
19663         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
19664         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
19665         __getrlimit instead of getrlimit.
19666         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
19667         __gettimeofday instead of gettimeofday.
19668         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19669         Likewise.
19670         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19671         Likewise.
19672         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
19673         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
19674         Remove variable.
19675         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
19676         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
19678 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19680         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
19681         for wide-character tests.
19683 2014-12-04  Roland McGrath  <roland@hack.frob.com>
19685         * io/openat64.c: #include <libc-internal.h>
19686         (__openat64): Prototypify.  Use ignore_value on MODE.
19687         * io/openat.c: Likewise.
19688         * misc/reboot.c: #include <libc-internal.h>
19689         (reboot): Prototypify.  Use ignore_value on HOWTO.
19690         * misc/ptrace.c: #include <libc-internal.h>
19691         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
19693 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
19695         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
19696         XPG4, UNIX98 and XOPEN2K.
19697         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
19698         Remove variable.
19699         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
19701 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19703         * libio/fileops.c: Use ISO C style for function definitions.
19704         * libio/iofopen.c: Likewise.
19705         * libio/wfileops.c: Likewise.
19707         [BZ #17653]
19708         * libio/fileops.c (_IO_new_file_underflow): Unset cached
19709         offset on EOF.
19710         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
19711         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
19712         (fgets_func): Function pointer to fgets and fgetws.
19713         (do_ftell_test): Add test to verify ftell value after read
19714         EOF.
19715         (do_test): Set fgets_func.
19717         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
19718         O_TRUNC flag for w and w+ modes.
19719         (do_rewind_test): Likewise.
19720         (do_ftell_test): Likewise.
19721         (do_write_test): Likewise.
19723         [BZ #17647]
19724         * libio/fileops.c (do_ftell): Seek only when there are
19725         unflushed writes.
19726         * libio/wfileops.c (do_ftell_wide): Likewise.
19727         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
19728         test case.
19729         (do_one_test): Call it.
19731 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
19733         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
19734         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
19735         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
19736         Remove variable.
19737         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
19738         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
19739         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
19741 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
19743         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
19744         Remove variable.
19745         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
19747         [BZ #17668]
19748         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
19749         as weak alias of __getifaddrs.  Use libc_hidden_weak.
19750         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19751         __freeifaddrs.  Use libc_hidden_weak.
19752         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
19753         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
19754         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19755         __freeifaddrs.  Use libc_hidden_weak.
19756         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
19757         __getifaddrs and define as weak alias of __getifaddrs.  Use
19758         libc_hidden_weak.
19759         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
19760         __freeifaddrs.  Use libc_hidden_weak.
19761         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
19762         Remove variable.
19763         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
19764         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
19766 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
19768         [BZ #17601]
19769         * sysdeps/mips/start.S (__start): Use indirect jump to call
19770         __libc_start_main.
19772 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
19774         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
19776         * nptl/tst-mutex1.c: Include <stdbool.h>.
19777         [!ATTR] (ATTR_NULL): New macro.
19778         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
19779         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
19780         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
19782         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
19783         to char *.
19785         [BZ #17665]
19786         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
19787         Change conditional to [__USE_MISC].
19789         [BZ #17664]
19790         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
19791         fgets_unlocked.
19792         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
19793         __fgets_unlocked.
19794         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
19795         fgets_unlocked.
19796         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
19797         Remove variable.
19798         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
19799         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
19800         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
19801         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
19802         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
19803         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
19804         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
19805         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
19806         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
19808         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
19810 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19812         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19813         Remove strpbrk objects.
19814         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19815         (__libc_ifunc_impl_list): Remove strpbrk implementation.
19816         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
19817         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
19818         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
19819         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
19821         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19822         Remove strcspn objects.
19823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19824         (__libc_ifunc_impl_list): Remove strcspn implementation.
19825         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
19826         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
19827         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
19828         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
19830         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19831         Remove strspn objetcs.
19832         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19833         (__libc_ifunc_impl_list): Remove strspn implementation.
19834         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
19835         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
19836         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
19837         * sysdeps/powerpc/powerpc64/strspn.S: New file.
19839 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
19841         [BZ #17581]
19842         * malloc/hooks.c
19843         (mem2mem_check): Add a terminator to the chain of checking blocks.
19844         (malloc_check_get_size): Use it here.
19845         (mem2chunk_check): Ditto.
19847 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19849         * sysdeps/powerpc/powerpc64/strtok.S: New file.
19850         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
19852 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
19854         * bits/ioctl-types.h: Indent preprocessor directives correctly.
19856         * nptl/nptl-init.c: Include libc-internal.h.
19857         (__pthread_initialize_minimal_internal): Use ROUND_UP.
19859         * elf/ldconfig.c (search_dir): Expand comment.
19861 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
19863         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
19864         variable.
19865         (linknamespace-symlist-stdlibs-tests): Likewise.
19866         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
19867         instead of $(objpfx)symlist-stdlibs.
19868         (linknamespace-libs-isoc): New variable.
19869         (linknamespace-libs): Use $(linknamespace-libs-isoc).
19870         (linknamespace-libs-ISO): New variable.
19871         (linknamespace-libs-ISO99): Likewise.
19872         (linknamespace-libs-ISO11): Likewise.
19873         (linknamespace-libs-XPG3): Likewise.
19874         (linknamespace-libs-XPG4): Likewise.
19875         (linknamespace-libs-POSIX): Likewise.
19876         (linknamespace-libs-UNIX98): Likewise.
19877         (linknamespace-libs-XOPEN2K): Likewise.
19878         (linknamespace-libs-POSIX2008): Likewise.
19879         (linknamespace-libs-XOPEN2K8): Likewise.
19880         ($(objpfx)symlist-stdlibs): Replace by
19881         $(linknamespace-symlist-stdlibs-tests).  Use
19882         $(linknamespace-libs-$*) as set of libraries.
19883         ($(linknamespace-header-tests)): Update dependencies.  Use
19884         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
19885         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
19886         * conform/linknamespace.pl: Remove comment about considering
19887         definitions of symbols from irrelevant libraries.
19889 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
19891         [BZ #13862]
19892         * elf/dl-tls.c: Include <atomic.h>.
19893         (oom): Remove #ifdef SHARED/#endif.
19894         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
19895         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
19896         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
19897         big enough.
19898         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
19899         * nptl/Makefile (tests): Add tst-stack4.
19900         (modules-names): Add tst-stack4mod.
19901         ($(objpfx)tst-stack4): New.
19902         (tst-stack4mod.sos): Likewise.
19903         ($(objpfx)tst-stack4.out): Likewise.
19904         ($(tst-stack4mod.sos)): Likewise.
19905         (clean): Likewise.
19906         * nptl/tst-stack4.c: New file.
19907         * nptl/tst-stack4mod.c: Likewise.
19909 2014-11-27  J. Brown  <jb999@gmx.de>
19911         * sysdeps/x86/bits/string.h: Add recent CPUs.
19913 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
19915         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
19916         sigblock.
19918         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
19919         feof.
19921         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
19922         variable.
19924 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
19926         * nscd/connections.c: Include libc-internal.h because of macro
19927         usage ignore_value.
19929 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19931         * string/bits/string3.h (__warn_memset_zero_len): Don't
19932         declare for gcc newer than 5.0.
19933         (memset): Don't test for zero-length __LEN for gcc newer than
19934         5.0.
19936 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
19938         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
19939         size_t for %zu format.
19941         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
19942         difference, not %ju.
19944 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
19946         * include/libc-internal.h (ignore_value): New macro.
19947         * nscd/connections.c (restart): Wrap calls to setuid and setgid
19948         with ignore_value.
19950         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
19951         definition.
19953         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
19954         pthread_cleanup_push to void *.
19956         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
19957         Undefine.
19959         [BZ #16619]
19960         [BZ #16740]
19961         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
19962         instead of 1L << 52.
19964         * libio/bug-rewind.c (do_test): Check fwscanf return values.
19965         * libio/bug-rewind2.c (do_test): Likewise.
19967         * debug/test-stpcpy_chk-ifunc.c: Remove file.
19968         * debug/test-strcpy_chk-ifunc.c: Likewise.
19969         * wcsmbs/test-wcschr-ifunc.c: Likewise.
19970         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
19971         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
19972         * wcsmbs/test-wcslen-ifunc.c: Likewise.
19973         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
19974         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
19975         * Rules [$(multi-arch) = no] (tests): Do not filter out
19976         $(tests-ifunc).
19977         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
19978         * debug/Makefile (tests-ifunc): Remove variable.
19979         (tests): Do not add $(tests-ifunc).
19980         * wcsmbs/Makefile (tests-ifunc): Remove variable.
19981         (tests): Do not add $(tests-ifunc).
19982         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
19983         [TEST_IFUNC]: Remove conditionals.
19984         * string/test-string.h (TEST_IFUNC): Remove macro.
19985         [TEST_IFUNC]: Remove conditionals.
19987         * string/test-strchr.c [!WIDE] (L): New macro.
19988         [WIDE] (L): Likewise.
19989         (check1): Use CHAR instead of char.  Use L on string and character
19990         constants.
19992 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
19994         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
19995         tests.
19996         * sysdeps/powerpc/bits/atomic.h
19997         (__arch_atomic_exchange_and_add_32_acq): Add definition.
19998         (__arch_atomic_exchange_and_add_32_rel): Likewise.
19999         (atomic_exchange_and_add_acq): Likewise.
20000         (atomic_exchange_and_add_rel): Likewise.
20001         * sysdeps/powerpc/powerpc32/bits/atomic.h
20002         (__arch_atomic_exchange_and_add_64_acq): Add definition.
20003         (__arch_atomic_exchange_and_add_64_rel): Likewise.
20004         * sysdeps/powerpc/powerpc64/bits/atomic.h
20005         (__arch_atomic_exchange_and_add_64_acq): Add definition.
20006         (__arch_atomic_exchange_and_add_64_rel): Likewise.
20008 2014-11-26  Torvald Riegel  <triegel@redhat.com>
20010         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
20011         Change synchronization of __sched_fifo_min_prio and
20012         __sched_fifo_max_prio.
20013         * nptl/pthread_mutexattr_getprioceiling.c
20014         (pthread_mutexattr_getprioceiling): Likewise.
20015         * nptl/pthread_mutexattr_setprioceiling.c
20016         (pthread_mutexattr_setprioceiling): Likewise.
20017         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
20018         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
20019         Likewise.
20021 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
20023         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
20024         void.
20026 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
20028         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
20029         third argument const.
20031 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
20033         fnmatch: work around GCC compiler warning bug with uninit var
20034         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
20035         This works around a bug with x86-64 GCC 4.9.2 and earlier
20036         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
20037         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
20038         used uninitialized in this function [-Wmaybe-uninitialized]".
20040 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
20042         * posix/bug-regex31.c (main): Return RES not 0.
20044 2014-11-25  Anton Blanchard <anton@samba.org>
20046         * sysdeps/powerpc/bits/atomic.h
20047         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
20049 2014-11-24  Sterling Augustine  <saugustine@google.com>
20051         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
20053 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
20055         [BZ #17608]
20056         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
20058 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
20060         [BZ #17633]
20061         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
20062         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
20063         variable.
20064         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
20065         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
20067 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
20069         * string/strncpy.c (strncpy): Improve performance by using memset.
20071 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
20073         * string/strcpy.c (strcpy):
20074         Improve performance by using strlen and memcpy.
20076 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
20078         * string/strcoll_l.c (get_next_seq): __always_inline.
20079         * string/strcoll_l.c (do_compare): __always_inline.
20081 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20083         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
20084         defined.
20085         * include/mqueue.h: Likewise.
20086         * include/stdlib.h: Likewise.
20088         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
20089         (get_null_defines): Adjust.
20090         * sunrpc/Makefile: Adjust comment.
20091         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
20092         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
20093         (CFLAGS-interp.c): Likewise.
20094         (CFLAGS-ldconfig.c): Likewise.
20095         (CPPFLAGS-.os): Likewise.
20096         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20097         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20098         * extra-modules.mk (extra-modules.mk): Likewise.
20099         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
20100         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
20101         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
20102         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
20103         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
20104         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
20105         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
20106         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
20107         * iconvdata/Makefile (CPPFLAGS): Likewise.
20108         (cpp-srcs-left): Add libof for all iconvdata routines.
20109         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
20110         * include/assert.h: Likewise.
20111         * include/ctype.h: Likewise.
20112         * include/errno.h: Likewise.
20113         * include/libc-symbols.h: Likewise.
20114         * include/math.h: Likewise.
20115         * include/netdb.h: Likewise.
20116         * include/resolv.h: Likewise.
20117         * include/stdio.h: Likewise.
20118         * include/stdlib.h: Likewise.
20119         * include/string.h: Likewise.
20120         * include/sys/stat.h: Likewise.
20121         * include/wctype.h: Likewise.
20122         * intl/l10nflist.c: Likewise.
20123         * libidn/idn-stub.c: Likewise.
20124         * libio/libioP.h: Likewise.
20125         * nptl/libc_multiple_threads.c: Likewise.
20126         * nptl/pthreadP.h: Likewise.
20127         * posix/regex_internal.h: Likewise.
20128         * resolv/res_hconf.c: Likewise.
20129         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
20130         * sysdeps/arm/memmove.S: Likewise.
20131         * sysdeps/arm/sysdep.h: Likewise.
20132         * sysdeps/generic/_itoa.h: Likewise.
20133         * sysdeps/generic/symbol-hacks.h: Likewise.
20134         * sysdeps/gnu/errlist.awk: Likewise.
20135         * sysdeps/gnu/errlist.c: Likewise.
20136         * sysdeps/i386/i586/memcpy.S: Likewise.
20137         * sysdeps/i386/i586/memset.S: Likewise.
20138         * sysdeps/i386/i686/memcpy.S: Likewise.
20139         * sysdeps/i386/i686/memmove.S: Likewise.
20140         * sysdeps/i386/i686/mempcpy.S: Likewise.
20141         * sysdeps/i386/i686/memset.S: Likewise.
20142         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20143         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20144         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
20145         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
20146         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20147         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20148         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
20149         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20150         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20151         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20152         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20153         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20154         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20155         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20156         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20157         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20158         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
20159         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
20160         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
20161         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20162         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20163         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20164         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20165         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20166         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20167         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20168         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
20169         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20170         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
20171         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
20172         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20173         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20174         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20175         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20176         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20177         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
20178         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20179         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20180         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
20181         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
20182         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20183         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20184         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
20185         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
20186         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20187         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20188         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
20189         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
20190         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20191         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
20192         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20193         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
20194         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
20195         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20196         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
20197         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
20198         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20199         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
20200         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
20201         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20202         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
20203         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20204         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
20205         * sysdeps/nptl/bits/libc-lock.h: Likewise.
20206         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20207         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
20208         * sysdeps/posix/closedir.c: Likewise.
20209         * sysdeps/posix/opendir.c: Likewise.
20210         * sysdeps/posix/readdir.c: Likewise.
20211         * sysdeps/posix/rewinddir.c: Likewise.
20212         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
20213         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
20214         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
20215         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20216         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
20217         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
20218         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
20219         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
20220         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
20221         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
20222         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
20223         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
20224         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
20225         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
20226         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
20227         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
20228         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
20229         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
20230         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
20231         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
20232         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
20233         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
20234         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
20235         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
20236         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
20237         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
20238         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
20239         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
20240         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
20241         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
20242         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
20243         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
20244         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
20245         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
20246         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
20247         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
20248         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20249         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
20250         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
20251         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
20252         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
20253         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
20254         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
20255         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
20256         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
20257         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
20258         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
20259         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
20260         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
20261         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
20262         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
20263         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
20264         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
20265         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
20266         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
20267         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
20268         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
20269         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
20270         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
20271         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
20272         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
20273         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
20274         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
20275         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
20276         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
20277         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
20278         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
20279         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
20280         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
20281         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
20282         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
20283         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
20284         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
20285         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
20286         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
20287         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
20288         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
20289         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
20290         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
20291         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
20292         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
20293         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20294         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
20295         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
20296         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
20297         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
20298         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
20299         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
20300         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
20301         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20302         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
20303         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
20304         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
20305         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20306         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20307         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
20308         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20309         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20310         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
20311         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
20312         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
20313         * sysdeps/unix/alpha/sysdep.S: Likewise.
20314         * sysdeps/unix/alpha/sysdep.h: Likewise.
20315         * sysdeps/unix/make-syscalls.sh: Likewise.
20316         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20317         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20318         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20319         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
20320         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20321         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
20322         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
20323         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20324         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20325         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
20326         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20327         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20328         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20329         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20330         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20331         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
20332         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20333         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20334         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20335         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20336         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
20337         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20338         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20339         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20340         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20341         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20342         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20345         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
20346         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20347         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20348         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
20349         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20350         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
20351         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20352         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
20353         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20354         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
20355         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
20356         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20357         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20358         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20359         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
20360         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20361         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20362         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20363         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
20364         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20365         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20366         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20367         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20368         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20369         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20370         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
20371         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20372         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20373         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20374         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
20375         * sysdeps/x86_64/memcpy.S: Likewise.
20376         * sysdeps/x86_64/memmove.c: Likewise.
20377         * sysdeps/x86_64/memset.S: Likewise.
20378         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
20379         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20380         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20381         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
20382         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20383         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20384         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20385         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20386         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20387         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20388         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20389         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20390         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
20391         * sysdeps/x86_64/multiarch/memset.S: Likewise.
20392         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20393         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
20394         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20395         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20396         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
20397         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20398         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
20399         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20400         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
20401         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
20402         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20403         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20404         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20405         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
20406         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20407         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20408         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
20409         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20410         * sysdeps/x86_64/strcmp.S: Likewise.
20412         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
20414         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
20415         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
20416         * elf/rtld-Rules: Likewise.
20417         * elf/setup-vdso.h: Likewise.
20418         * include/assert.h: Likewise.
20419         * include/bits/stdlib-float.h: Likewise.
20420         * include/errno.h: Likewise.
20421         * include/sys/stat.h: Likewise.
20422         * include/unistd.h: Likewise.
20423         * sysdeps/aarch64/setjmp.S: Likewise.
20424         * sysdeps/alpha/setjmp.S: Likewise.
20425         * sysdeps/arm/__longjmp.S: Likewise.
20426         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
20427         * sysdeps/arm/setjmp.S: Likewise.
20428         * sysdeps/arm/sysdep.h: Likewise.
20429         * sysdeps/generic/_itoa.h: Likewise.
20430         * sysdeps/generic/dl-sysdep.h: Likewise.
20431         * sysdeps/generic/ldsodefs.h: Likewise.
20432         * sysdeps/i386/dl-tls.h: Likewise.
20433         * sysdeps/i386/setjmp.S: Likewise.
20434         * sysdeps/m68k/setjmp.c: Likewise.
20435         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
20436         * sysdeps/mach/hurd/opendir.c: Likewise.
20437         * sysdeps/posix/getcwd.c: Likewise.
20438         * sysdeps/posix/opendir.c: Likewise.
20439         * sysdeps/posix/profil.c: Likewise.
20440         * sysdeps/powerpc/dl-procinfo.h: Likewise.
20441         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20442         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20443         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20444         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20445         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
20446         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
20447         * sysdeps/s390/dl-tls.h: Likewise.
20448         * sysdeps/s390/s390-32/setjmp.S: Likewise.
20449         * sysdeps/s390/s390-64/setjmp.S: Likewise.
20450         * sysdeps/sh/sh3/setjmp.S: Likewise.
20451         * sysdeps/sh/sh4/setjmp.S: Likewise.
20452         * sysdeps/unix/alpha/sysdep.h: Likewise.
20453         * sysdeps/unix/arm/sysdep.S: Likewise.
20454         * sysdeps/unix/i386/sysdep.S: Likewise.
20455         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20456         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
20457         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
20458         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
20459         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20460         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
20461         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
20462         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20463         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
20464         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
20465         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
20466         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
20467         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
20468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20470         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
20471         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
20472         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
20473         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
20474         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
20475         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
20476         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
20477         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20478         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
20479         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20480         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
20481         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
20482         * sysdeps/unix/x86_64/sysdep.S: Likewise.
20483         * sysdeps/x86_64/setjmp.S: Likewise.
20485         * include/math.h: Use IS_IN instead of IS_IN_libm.
20486         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
20487         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20488         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
20489         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
20490         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20491         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
20492         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
20493         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20494         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20495         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
20496         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
20497         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
20498         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
20499         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
20500         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
20501         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
20502         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
20503         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
20504         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
20505         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
20506         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
20507         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
20508         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
20509         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
20510         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
20511         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
20512         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
20513         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
20514         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
20515         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
20516         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
20517         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
20518         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
20519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
20520         Likewise.
20521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
20522         Likewise.
20523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
20524         Likewise.
20525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
20526         Likewise.
20527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
20528         Likewise.
20529         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
20530         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
20531         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
20532         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20533         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20534         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
20536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
20537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
20538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
20539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
20540         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
20541         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
20542         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
20543         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
20544         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
20545         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
20546         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
20547         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
20548         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
20549         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
20550         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
20551         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
20552         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
20553         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
20554         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20555         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
20557         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
20558         * nptl/pthreadP.h: Likewise.
20559         * nptl_db/structs.def: Likewise.
20560         * sysdeps/arm/sysdep.h: Likewise.
20561         * sysdeps/nptl/bits/libc-lock.h: Likewise.
20562         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
20563         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
20564         * sysdeps/unix/alpha/sysdep.h: Likewise.
20565         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20566         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
20567         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20568         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20569         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20570         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20571         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
20572         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20573         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20574         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20575         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20576         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20577         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20578         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
20580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
20581         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20582         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20583         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20584         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20585         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20586         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20587         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
20588         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20589         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
20590         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20592         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
20593         * nptl/pthreadP.h: Likewise.
20594         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
20595         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
20596         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
20597         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
20598         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
20599         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
20600         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
20601         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
20602         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
20603         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
20604         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
20605         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
20606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20607         Likewise.
20608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20609         Likewise.
20610         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
20611         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
20612         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
20613         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
20614         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
20615         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
20616         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
20617         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
20619         * dlfcn/dladdr.c: Use IS_IN.
20620         * dlfcn/dladdr1.c: Likewise.
20621         * dlfcn/dlclose.c: Likewise.
20622         * dlfcn/dlerror.c: Likewise.
20623         * dlfcn/dlinfo.c: Likewise.
20624         * dlfcn/dlmopen.c: Likewise.
20625         * dlfcn/dlopen.c: Likewise.
20626         * dlfcn/dlsym.c: Likewise.
20627         * dlfcn/dlvsym.c: Likewise.
20629         * include/ifaddrs.h: Use IS_IN.
20630         * inet/check_pf.c: Likewise.
20631         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20632         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
20634         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
20635         IS_IN_ldconfig.
20636         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
20637         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
20639         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
20640         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
20641         IS_IN (libc).
20643         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
20645         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
20646         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20647         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
20648         * include/libc-symbols.h (IS_IN_LIB): New macro.
20649         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
20650         * include/netdb.h: Likewise.
20651         * include/stap-probe.h: Remove all uses of IN_LIB.
20653         * Makeconfig (module-cppflags-real): Define MODULE_NAME
20654         instead of IN_MODULE.
20655         * include/libc-symbols.h (IN_MODULE): Define using
20656         MODULE_NAME.
20657         (PASTE_NAME, PASTE_NAME1): New macros.
20658         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
20659         of IN_LIB.
20660         (STAP_PROBE_ASM): Likewise.
20662 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20664         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
20665         __mach_init in dlopened libc.
20667 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
20669         * sysdeps/arm/preconfigure.ac: Delete EABI check.
20670         * sysdeps/arm/preconfigure: Regenerate.
20672 2014-11-21  Roland McGrath  <roland@hack.frob.com>
20674         * nptl/pthread_create.c (__pthread_create_2_1): Set
20675         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
20676         when copying values from IATTR into PD.
20678 2014-11-21  Will Newton  <will.newton@linaro.org>
20679             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
20681         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
20682         Refactor inline-asm.  Also add comment.
20684         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
20685         ElfW macro instead of hardcoded Elf64 types.
20686         (la_aarch64_gnu_pltenter): Likewise.
20687         * sysdeps/aarch64/dl-machine.h
20688         (elf_machine_runtime_setup): Use ElfW(Addr).
20690         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
20691         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
20692         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
20693         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
20694         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
20695         (R_AARCH64_TLS_DTPMOD64): Rename to ..
20696         (R_AARCH64_TLS_DTPMOD): This.
20697         (R_AARCH64_TLS_DTPREL64): Rename to ...
20698         (R_AARCH64_TLS_DTPREL): This.
20699         (R_AARCH64_TLS_TPREL64): Rename to ...
20700         (R_AARCH64_TLS_TPREL): This.
20701         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
20702         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
20703         R_AARCH64_TLS_TPREL64.
20704         (elf_machine_rela): Likewise.
20706 2014-11-21  Torvald Riegel  <triegel@redhat.com>
20708         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
20709         by setting it to 0.  64b atomics are not supported currently.
20711 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20713         [BZ #16469]
20714         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
20715         search domain names.
20717 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20719         [BZ #16469]
20720         * NEWS: Update.
20721         * resolv/res_query.c (__libc_res_nquerydomain): Retain
20722         trailing dot.
20723         * posix/tst-getaddrinfo5.c: New.
20724         * posix/Makefile (tests): Add it.
20726 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20728         [BZ #14498]
20729         * NEWS: Fixed.
20730         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
20731         after parsing line but before break_if_match.
20732         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
20733         if there is a protocol mismatch.
20735 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
20737         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
20738         because the potential race is on the user-supplied stream.
20740 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20742         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
20743         string literal if not passed a buffer.
20744         * manual/job.texi (ctermid): Update reasoning, note deviation
20745         from posix, suggest mtasurace when not passed a buffer, for
20746         future non-preliminary safety notes.
20748 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20750         * manual/users.texi (cuserid): Fix MT-Safety note for the case
20751         of not passing it a buffer.
20752         Reported by Peng Haitao.
20754 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
20756         * manual/Makefile ($(objpfx)stamp-summary): Require
20757         check-safety.sh to pass.
20758         * manual/check-safety.sh: Wish for verification that every
20759         @deftypefn and @deftypefun is followed by a @safety remark.
20761 2014-11-20  Roland McGrath  <roland@hack.frob.com>
20763         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
20765         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
20766         PTHREAD_CANCEL_ASYNCHRONOUS.
20767         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
20768         send SIGCANCEL.
20770         * nptl/default-sched.h: New file.
20771         * sysdeps/unix/sysv/linux/default-sched.h: New file.
20772         * nptl/pthread_create.c: Include it.
20773         (__pthread_create_2_1): Use collect_default_sched instead of making
20774         Linux syscalls here directly.
20776 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20778         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
20779         __pthread_once): Use C11 atomics.
20781 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20783         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
20785 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20787         * include/atomic.h (__atomic_link_error, __atomic_check_size,
20788         atomic_thread_fence_acquire, atomic_thread_fence_release,
20789         atomic_thread_fence_seq_cst, atomic_load_relaxed,
20790         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
20791         atomic_compare_exchange_weak_relaxed,
20792         atomic_compare_exchange_weak_acquire,
20793         atomic_compare_exchange_weak_release,
20794         atomic_exchange_acquire, atomic_exchange_release,
20795         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
20796         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
20797         atomic_fetch_and_acquire,
20798         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
20800 2014-11-20  Torvald Riegel  <triegel@redhat.com>
20802         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
20803         USE_ATOMIC_COMPILER_BUILTINS): Define.
20804         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
20805         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20806         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
20807         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20808         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
20809         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20810         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
20811         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20812         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
20813         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20814         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
20815         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20816         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
20817         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20818         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
20819         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20820         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20821         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20822         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20823         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20824         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
20825         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20826         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
20827         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20828         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
20829         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20830         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
20831         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20832         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
20833         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20834         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
20835         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20836         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
20837         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20838         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
20839         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20840         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
20841         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20842         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
20843         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
20845 2014-11-19  Roland McGrath  <roland@hack.frob.com>
20847         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
20848         the sched_priority value here.  It was already checked when the user
20849         called pthread_attr_setschedparam.
20851         * nptl/tst-bad-schedattr.c: New file.
20852         * nptl/Makefile (tests): Add it.
20854 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
20855             Florian Weimer  <fweimer@redhat.com>
20856             Joseph Myers  <joseph@codesourcery.com>
20857             Adam Conrad  <adconrad@0c3.net>
20858             Andreas Schwab  <schwab@suse.de>
20859             Brooks  <bmoses@google.com>
20861         [BZ #17625]
20862         * wordexp-test.c (__dso_handle): Add prototype.
20863         (__register_atfork): Likewise.
20864         (__app_register_atfork): New function.
20865         (registered_forks): New global.
20866         (register_fork): New function.
20867         (test_case): Add 3 new tests for WRDE_CMDSUB.
20868         (main): Call __app_register_atfork.
20869         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
20870         fork count is non-zero fail the test.
20871         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
20872         is set.
20873         (parse_dollars): Remove check for WRDE_NOCMD.
20874         (parse_dquote): Likewise.
20876 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20878         * Makeconfig (built-modules): List non-library modules to be
20879         built.
20880         (module-cppflags): Include libc-modules.h for
20881         everything except shlib-versions.v.i.
20882         (CPPFLAGS): Use it.
20883         (before-compile): Add libc-modules.h.
20884         ($(common-objpfx)libc-modules.h,
20885         $(common-objpfx)libc-modules.stmp): New targets.
20886         (common-generated): Add libc-modules.h and libc-modules.stmp.
20887         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
20888         * include/libc-symbols.h: Don't include libc-modules.h.
20889         * include/libc-modules.h: Remove file.
20890         * scripts/gen-libc-modules.awk: New script to generate
20891         libc-modules.h.
20892         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
20893         Depend on libc-modules.stmp.
20895         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
20897         * Makeconfig (in-module): Get value of libof set for the
20898         translation unit.
20899         (CPPFLAGS): Use $(in-module).
20900         * Makerules: Don't suffix routine names for nonlib.
20901         * include/libc-modules.h: New file.
20902         * include/libc-symbols.h: Include libc-modules.h
20903         (IS_IN): New macro to replace IS_IN_* macros.
20904         * elf/Makefile: Set libof-* for each routine.
20905         * elf/rtld-Rules: Likewise.
20906         * extra-modules.mk: Likewise.
20907         * iconv/Makefile: Likewise.
20908         * iconvdata/Makefile: Likewise.
20909         * locale/Makefile: Likewise.
20910         * malloc/Makefile: Likewise.
20911         * nss/Makefile: Likewise.
20912         * sysdeps/gnu/Makefile: Likewise.
20913         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
20914         * sysdeps/unix/sysv/linux/Makefile: Likewise.
20915         * sysdeps/s390/s390-64/Makefile: Likewise.
20916         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
20917         CPPFLAGS for nscd instead of nonlib.
20919 2014-11-18  Roland McGrath  <roland@hack.frob.com>
20921         * nptl/createthread.c: New file.
20923         * nptl/createthread.c: Moved ...
20924         * sysdeps/unix/sysv/linux/createthread.c: ... here.
20926         * nptl/createthread.c: Add proper top-line comment.
20927         (do_clone): Folded into ...
20928         (create_thread): ... here.  Take new arguments STOPPED_START and
20929         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
20930         increment __nptl_threads, do event-reporting logic, do
20931         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
20932         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
20933         resource cleanup if sched_setaffinity or sched_setscheduler fails,
20934         just send SIGCANCEL.
20935         * nptl/pthread_create.c: Forward-declare create_thread before
20936         including createthread.c.
20937         (start_thread): Use new macro START_THREAD_DEFN to replace defining
20938         declaration, and new macro START_THREAD_SELF to replace argument.
20939         Remove return statement.
20940         (report_thread_creation): New function.
20941         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
20942         synchronization logic, and __nptl_nthreads increment here, around
20943         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
20944         PD->parent_cancelhandling here, before create_thread.  When
20945         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
20946         __deallocate_stack, and ENOMEM translation here.
20948 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
20950         [BZ #17616]
20951         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
20952         (mptwo): Rename to __mptwo.
20953         (__inv): Use __mptwo instead of mptwo.
20954         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
20955         (mptwo): Rename to __mptwo.
20956         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
20957         of mpone and __mptwo instead of mptwo.
20958         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
20959         instead of mpone.
20960         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20961         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
20962         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
20963         of mpone and __mptwo instead of mptwo.
20964         (__mpranred): Use __mpone instead of mpone.
20965         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
20966         variable.
20967         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
20968         (test-xfail-ISO99/math.h/linknamespace): Likewise.
20969         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
20970         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
20971         (test-xfail-ISO11/math.h/linknamespace): Likewise.
20972         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
20973         (test-xfail-XPG3/math.h/linknamespace): Likewise.
20974         (test-xfail-XPG4/math.h/linknamespace): Likewise.
20975         (test-xfail-POSIX/math.h/linknamespace): Likewise.
20976         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
20977         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
20978         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
20979         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
20980         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
20981         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
20982         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
20983         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
20984         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
20985         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
20987 2014-11-18  Tom de Vries  <tom@codesoucery.com>
20989         * manual/signal.texi (Primitives Interrupted by Signals): In section,
20990         replace BSD Handler xref with BSD Signal Handling.
20992 2014-11-17  Richard Henderson  <rth@redhat.com>
20994         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
20995         (_FP_PACK_RAW_2): Remove.
20996         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
20997         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
20998         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
20999         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
21000         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
21001         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
21002         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
21003         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
21004         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
21005         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
21006         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
21007         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
21008         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
21009         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
21010         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
21011         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
21013 2014-11-14  Roland McGrath  <roland@hack.frob.com>
21015         * signal/signal.h [__USE_MISC]
21016         (struct sigvec): Remove type.
21017         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
21018         (sigvec): Remove declaration.
21019         * sysdeps/posix/sigvec.c: Moved ...
21020         * signal/sigvec.c: ... here, replacing old file.
21021         (struct sigvec): New type, copied from old signal.h definition.
21022         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
21023         (__sigvec): Convert definition to prototype.
21024         (sigvec): Replace weak_alias with compat_symbol.
21025         * signal/Versions (libc: GLIBC_2.21): New version set.
21026         * include/signal.h: Remove __sigvec declaration.
21027         * sysdeps/unix/bsd/sigvec.c: Remove file.
21028         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
21029         * manual/signal.texi (BSD Handler): Remove subsection.
21030         Move siginterrupt up to ...
21031         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
21032         (Blocking in BSD): Fold subsection into its parent.
21033         * NEWS: Mention sigvec removal.
21035 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
21037         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
21038         (DLA_FMS): Make definition conditional only on [__FMA4__].
21039         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
21040         definition.
21042         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
21043         Make definition conditional only on [PROF].
21044         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
21045         definition.
21046         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
21047         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
21049         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
21050         !__GNUC__].
21051         * include/signal.h (__sigpause): Move declaration above call to
21052         libc_hidden_proto.
21053         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
21054         variable.
21055         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21056         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21058 2014-11-14  David S. Miller  <davem@davemloft.net>
21060         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
21061         Define before including <string/memcpy.c> and <string/mempcpy.c>.
21063 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
21065         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
21066         * configure: Regenerated.
21067         * manual/install.texi (Tools for Compilation): Document a
21068         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
21069         compiler verified to work.
21070         * INSTALL: Regenerated.
21072         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
21073         redeclare with asm name.
21074         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
21075         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
21076         including <string.h>.
21077         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21078         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
21079         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21080         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
21081         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21082         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
21083         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
21085 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
21087         * stdlib/strtol.c (__strtol): Use prototype definition.
21089         [BZ #17594]
21090         * stdlib/strtol.c (SYM__): New macro.
21091         (SYM__1): Likewise.
21092         (__strtol): Likewise.
21093         (strtol): Rename to __strtol and define as weak alias of
21094         __strtol.  Use libc_hidden_weak.
21096 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21098         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
21099         Use numbered labels in inline assembly.
21101 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21103         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
21104         Add setjmp LIBC_PROBE.
21105         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
21106         Likewise.
21107         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
21108         Add longjmp, longjmp_target LIBC_PROBE.
21109         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
21110         Likewise.
21112 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21114         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
21115         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
21116         to get rid of unused variable warning.
21118 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21120         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
21121         Check for unwind_backtrace ==  NULL only in SHARED case.
21122         (__backchain_backtrace): Compile only in SHARED case.
21123         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
21124         Likewise.
21125         (__backchain_backtrace): Declare as static.
21127 2014-11-12  Roland McGrath  <roland@hack.frob.com>
21129         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
21130         (__libc_multiple_threads_ptr): Variable moved ...
21131         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
21133 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
21135         * conform/GlibcConform.pm: New file.
21136         * conform/conformtest.pl: Use GlibcConform module.
21137         * conform/linknamespace.pl: New file.
21138         * conform/list-header-symbols.pl: Likewise.
21139         * conform/Makefile (linknamespace-symlists-base): New variable.
21140         (linknamespace-symlists-tests): Likewise.
21141         (linknamespace-header-base): Likewise.
21142         (linknamespace-header-tests): Likewise.
21143         (tests-special): Add new tests.
21144         ($(linknamespace-symlists-tests)): New rule.
21145         (linknamespace-libs): New variable.
21146         ($(objpfx)symlist-stdlibs): New rule.
21147         ($(linknamespace-header-tests)): Likewise.
21148         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
21149         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
21150         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
21151         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
21152         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
21153         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
21154         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
21155         (test-xfail-ISO/math.h/linknamespace): Likewise.
21156         (test-xfail-ISO/signal.h/linknamespace): Likewise.
21157         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
21158         (test-xfail-ISO/time.h/linknamespace): Likewise.
21159         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
21160         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
21161         (test-xfail-ISO99/math.h/linknamespace): Likewise.
21162         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
21163         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
21164         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
21165         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
21166         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
21167         (test-xfail-ISO11/math.h/linknamespace): Likewise.
21168         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
21169         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
21170         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
21171         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
21172         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
21173         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
21174         (test-xfail-XPG3/math.h/linknamespace): Likewise.
21175         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
21176         (test-xfail-XPG3/search.h/linknamespace): Likewise.
21177         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
21178         (test-xfail-XPG3/time.h/linknamespace): Likewise.
21179         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
21180         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
21181         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
21182         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
21183         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21184         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
21185         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
21186         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
21187         (test-xfail-XPG4/math.h/linknamespace): Likewise.
21188         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
21189         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
21190         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21191         (test-xfail-XPG4/search.h/linknamespace): Likewise.
21192         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21193         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
21194         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
21195         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
21196         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
21197         (test-xfail-XPG4/time.h/linknamespace): Likewise.
21198         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
21199         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
21200         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
21201         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21202         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21203         (test-xfail-POSIX/math.h/linknamespace): Likewise.
21204         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
21205         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
21206         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21207         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21208         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
21209         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
21210         (test-xfail-POSIX/time.h/linknamespace): Likewise.
21211         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
21212         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21213         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
21214         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
21215         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
21216         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21217         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21218         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
21219         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21220         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
21221         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
21222         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
21223         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
21224         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
21225         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
21226         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
21227         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21228         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
21229         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21230         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
21231         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
21232         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
21233         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
21234         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
21235         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
21236         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
21237         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21238         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
21239         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
21240         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
21241         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
21242         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21243         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21244         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
21245         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
21246         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
21247         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
21248         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
21249         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
21250         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
21251         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
21252         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
21253         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21254         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
21255         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
21256         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
21257         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
21258         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
21259         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
21260         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21261         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
21262         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
21263         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
21264         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21265         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21266         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21267         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
21268         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
21269         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
21270         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
21271         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
21272         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
21273         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
21274         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
21275         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
21276         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
21277         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
21278         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
21279         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21280         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21281         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
21282         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
21283         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
21284         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
21285         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
21286         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
21287         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
21288         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21289         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
21290         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
21291         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
21292         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
21293         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
21294         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
21295         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
21296         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
21297         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
21298         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
21299         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
21300         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21301         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
21302         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21303         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
21304         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
21305         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
21306         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
21307         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
21308         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
21310         [BZ #17589]
21311         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
21312         of fgets_unlocked.
21314         [BZ #17585]
21315         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
21316         (memmem): Rename to __memmem and define as weak alias of
21317         __memmem.  Use libc_hidden_weak.
21318         (__memmem): Use libc_hidden_def.
21319         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
21320         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
21321         memmem.
21323         [BZ #17582]
21324         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
21325         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
21326         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
21327         and define as weak alias of __fgets_unlocked.  Use
21328         libc_hidden_weak.
21329         (__fgets_unlocked): Use libc_hidden_def.
21330         * include/stdio.h (__fgets_unlocked): Declare.  Use
21331         libc_hidden_proto.
21332         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
21333         __fgets_unlocked instead of fgets_unlocked.
21334         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
21335         (GET_NPROCS_CONF_PARSER): Likewise.
21336         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
21337         (GET_NPROCS_CONF_PARSER): Likewise.
21339         [BZ #17574]
21340         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
21341         weak alias of __wmemset.  Use libc_hidden_weak.
21342         (__wmemset): Use libc_hidden_def.
21343         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
21344         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
21345         of wmemset.
21347         [BZ #17573]
21348         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
21349         with asm name __mempcpy.
21350         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
21352         [BZ #17572]
21353         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
21354         and define as weak alias of __rawmemchr.
21355         (__rawmemchr): Do not define as strong alias of rawmemchr.
21357         [BZ #17571]
21358         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
21359         alias of __qsort_r.
21360         (qsort): Call __qsort_r instead of qsort_r.
21361         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
21362         (__qsort_r): Declare.  Call libc_hidden_proto.
21363         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
21364         instead of qsort_r.
21365         * nscd/gai.c (__qsort_r): Define to qsort_r.
21366         * posix/tst-rfc3484.c (__qsort_r): Likewise.
21367         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
21368         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
21370         [BZ #17570]
21371         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
21372         define as weak alias of __malloc_info.
21374         [BZ #17584]
21375         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
21376         as weak alias of __rewinddir.  Don't use libc_hidden_def.
21377         (__rewinddir): Use libc_hidden_def.
21378         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
21379         as weak alias of __rewinddir.  Don't use libc_hidden_def.
21380         (__rewinddir): Use libc_hidden_def.
21381         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
21382         weak alias of __rewinddir.  Don't use libc_hidden_def.
21383         (__rewinddir): Use libc_hidden_def.
21384         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
21385         (__rewinddir): Use libc_hidden_proto.
21386         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
21387         rewinddir.
21388         (__getcwd): Use __rewinddir instead of rewinddir.
21390         [BZ #17583]
21391         * libio/fileno.c (fileno): Rename to __fileno and define as weak
21392         alias of __fileno.  Use libc_hidden_weak.
21393         (__fileno): Use libc_hidden_def.
21394         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
21395         * libio/ftello.c (ftello): Rename to __ftello and define as weak
21396         alias of __ftello.
21397         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
21398         __ftello.
21399         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
21400         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
21401         libc_hidden_def.
21402         (fread_unlocked): Don't use libc_hidden_ver.
21403         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
21404         and define as weak alias of __fread_unlocked.  Don't use
21405         libc_hidden_def.
21406         (__fread_unlocked): Use libc_hidden_def.
21407         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
21408         (ftello): Don't use libc_hidden_proto.
21409         (__ftello): Declare.  Use libc_hidden_proto.
21410         (fread_unlocked): Don't use libc_hidden_proto.
21411         (__fread_unlocked): Declare.  Use libc_hidden_proto.
21412         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
21413         and __ftello instead of fileno, fread_unlocked and ftello.
21415 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21417         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
21418         GOT12.
21419         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21420         Likewise.
21421         (_dl_start_user): Likewise.
21422         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
21424 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
21425             Siddhesh Poyarekar  <siddhesh@redhat.com>
21427         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
21428         Move argv and envp down instead of moving argc up.
21429         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
21431 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
21433         [BZ #17506]
21434         * test-skeleton.c (main): Return successful if one of
21435         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
21436         * string/tst-strcoll-overflow.c: Define expected status.
21438 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
21440         [BZ #17475]
21441         * locale/iso-639.def: Define Bhili and Tulu language codes.
21443 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
21445         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
21447 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
21449         [BZ #17555]
21450         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
21452 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
21454         * configure.ac: Updated check of minimal required version to
21455         2.22.
21456         * manual/install.texi (Tools for Compilation): Updated version
21457         number.
21458         * configure: Regenerated.
21459         * INSTALL: Likewise.
21461 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
21463         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
21464         __tls_get_addr.
21466 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
21468         * include/sys/wait.h (__libc_waitpid): Remove declaration.
21469         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
21470         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21471         libc_hidden_weak.
21472         (waitpid): Define as alias of __waitpid.
21473         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
21474         __waitpid.
21475         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21476         libc_hidden_weak.
21477         (waitpid): Define as alias of __waitpid.
21478         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
21479         __libc_waitpid alias.
21480         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
21481         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
21482         Likewise.
21483         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
21484         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
21485         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
21486         alias.
21487         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
21488         __waitpid.
21489         (__waitpid): Don't define as alias.  Use libc_hidden_def not
21490         libc_hidden_weak.
21491         (waitpid): Define as alias of __waitpid.
21493 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
21495         * manual/llio.texi: Add comment that write safety has been
21496         fixed in Linux.
21498         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
21499         (localplt-build-dso): Add elf/ld.so.
21500         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
21501         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
21502         and free for ld.so.
21503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
21504         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
21505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
21506         Likewise.
21507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
21508         Likewise.
21509         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
21510         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
21511         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
21512         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
21513         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
21514         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
21515         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
21516         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
21517         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
21518         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
21519         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21521 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
21523         [BZ #14132]
21524         * include/libc-symbols.h (INTUSE): Remove macro.
21525         (INTDEF): Likewise.
21526         (INTVARDEF): Likewise.
21527         (_INTVARDEF): Likewise.
21528         (INTDEF2): Likewise.
21529         (INTVARDEF2): Likewise.
21530         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
21531         rtld_hidden_def instead of INTVARDEF.
21532         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
21533         (_dl_starting_up_internal): Remove declaration.
21534         (_dl_starting_up): Use rtld_hidden_proto.
21535         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
21536         declaration.
21537         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
21538         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
21539         _dl_starting_up.
21540         * elf/dl-writev.h (_dl_writev): Likewise.
21541         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
21542         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
21543         _dl_starting_up_internal.
21545 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21547         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21548         test-skeleton.c.
21550 2014-11-05  Will Newton  <will.newton@linaro.org>
21552         * benchtests/Makefile: (bench-malloc): Add malloc thread
21553         scalability benchmark.
21554         * benchtests/bench-malloc-threads.c: New file.
21556 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
21558         * sysdeps/aarch64/strchrnul.S: New file.
21560 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21562         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
21563         definition.
21564         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
21565         Likwise.
21566         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
21567         Likewise.
21568         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
21569         Likewise.
21570         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
21571         Likewise.
21572         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
21573         Likewise.
21575 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
21577         * catgets/test-gencat.c: Use test-skeleton.c.
21578         * catgets/tst-catgets.c: Likewise.
21579         * csu/tst-empty.c: Likewise.
21580         * elf/tst-audit2.c: Likewise.
21581         * elf/tst-global1.c: Likewise.
21582         * elf/tst-pathopt.c: Likewise.
21583         * elf/tst-piemod1.c: Likewise.
21584         * elf/tst-tls10.c: Likewise.
21585         * elf/tst-tls11.c: Likewise.
21586         * elf/tst-tls12.c: Likewise.
21587         * gnulib/tst-gcc.c: Likewise.
21588         * iconvdata/tst-e2big.c: Likewise.
21589         * iconvdata/tst-loading.c: Likewise.
21590         * iconv/tst-iconv1.c: Likewise.
21591         * iconv/tst-iconv2.c: Likewise.
21592         * inet/test-inet6_opt.c: Likewise.
21593         * inet/tst-gethnm.c: Likewise.
21594         * inet/tst-network.c: Likewise.
21595         * inet/tst-ntoa.c: Likewise.
21596         * intl/tst-codeset.c: Likewise.
21597         * intl/tst-gettext2.c: Likewise.
21598         * intl/tst-gettext3.c: Likewise.
21599         * intl/tst-ngettext.c: Likewise.
21600         * intl/tst-translit.c: Likewise.
21601         * io/test-stat.c: Likewise.
21602         * libio/test-fmemopen.c: Likewise.
21603         * libio/tst-freopen.c: Likewise.
21604         * libio/tst-sscanf.c: Likewise.
21605         * libio/tst-ungetwc1.c: Likewise.
21606         * libio/tst-ungetwc2.c: Likewise.
21607         * libio/tst-widetext.c: Likewise.
21608         * localedata/tst-ctype.c: Likewise.
21609         * localedata/tst-digits.c: Likewise.
21610         * localedata/tst-leaks.c: Likewise.
21611         * localedata/tst-mbswcs1.c: Likewise.
21612         * localedata/tst-mbswcs2.c: Likewise.
21613         * localedata/tst-mbswcs3.c: Likewise.
21614         * localedata/tst-mbswcs4.c: Likewise.
21615         * localedata/tst-mbswcs5.c: Likewise.
21616         * localedata/tst-setlocale.c: Likewise.
21617         * localedata/tst-trans.c: Likewise.
21618         * localedata/tst-wctype.c: Likewise.
21619         * localedata/tst-xlocale1.c: Likewise.
21620         * login/tst-grantpt.c: Likewise.
21621         * malloc/tst-calloc.c: Likewise.
21622         * malloc/tst-malloc.c: Likewise.
21623         * malloc/tst-mallocstate.c: Likewise.
21624         * malloc/tst-mcheck.c: Likewise.
21625         * malloc/tst-mtrace.c: Likewise.
21626         * malloc/tst-obstack.c: Likewise.
21627         * math/atest-exp2.c: Likewise.
21628         * math/atest-exp.c: Likewise.
21629         * math/atest-sincos.c: Likewise.
21630         * math/test-matherr.c: Likewise.
21631         * math/test-misc.c: Likewise.
21632         * math/test-powl.c: Likewise.
21633         * math/tst-definitions.c: Likewise.
21634         * misc/tst-dirname.c: Likewise.
21635         * misc/tst-efgcvt.c: Likewise.
21636         * misc/tst-fdset.c: Likewise.
21637         * misc/tst-hsearch.c: Likewise.
21638         * misc/tst-mntent2.c: Likewise.
21639         * nptl/tst-sem7.c: Likewise.
21640         * nptl/tst-sem8.c: Likewise.
21641         * nptl/tst-sem9.c: Likewise.
21642         * nss/test-netdb.c: Likewise.
21643         * posix/tst-fnmatch.c: Likewise.
21644         * posix/tst-getlogin.c: Likewise.
21645         * posix/tst-gnuglob.c: Likewise.
21646         * posix/tst-mmap.c: Likewise.
21647         * pwd/tst-getpw.c: Likewise.
21648         * resolv/tst-inet_ntop.c: Likewise.
21649         * rt/tst-timer.c: Likewise.
21650         * stdio-common/test-fseek.c: Likewise.
21651         * stdio-common/test-popen.c: Likewise.
21652         * stdio-common/test-vfprintf.c: Likewise.
21653         * stdio-common/tst-cookie.c: Likewise.
21654         * stdio-common/tst-fileno.c: Likewise.
21655         * stdio-common/tst-gets.c: Likewise.
21656         * stdio-common/tst-obprintf.c: Likewise.
21657         * stdio-common/tst-perror.c: Likewise.
21658         * stdio-common/tst-sprintf2.c: Likewise.
21659         * stdio-common/tst-sprintf3.c: Likewise.
21660         * stdio-common/tst-sprintf.c: Likewise.
21661         * stdio-common/tst-swprintf.c: Likewise.
21662         * stdio-common/tst-tmpnam.c: Likewise.
21663         * stdio-common/tst-unbputc.c: Likewise.
21664         * stdio-common/tst-wc-printf.c: Likewise.
21665         * stdlib/tst-environ.c: Likewise.
21666         * stdlib/tst-fmtmsg.c: Likewise.
21667         * stdlib/tst-limits.c: Likewise.
21668         * stdlib/tst-rand48-2.c: Likewise.
21669         * stdlib/tst-rand48.c: Likewise.
21670         * stdlib/tst-random2.c: Likewise.
21671         * stdlib/tst-random.c: Likewise.
21672         * stdlib/tst-strtol.c: Likewise.
21673         * stdlib/tst-strtoll.c: Likewise.
21674         * stdlib/tst-tls-atexit.c: Likewise.
21675         * stdlib/tst-xpg-basename.c: Likewise.
21676         * string/test-ffs.c: Likewise.
21677         * string/tst-bswap.c: Likewise.
21678         * string/tst-inlcall.c: Likewise.
21679         * string/tst-strtok.c: Likewise.
21680         * string/tst-strxfrm.c: Likewise.
21681         * sysdeps/x86_64/tst-audit10.c: Likewise.
21682         * sysdeps/x86_64/tst-audit3.c: Likewise.
21683         * sysdeps/x86_64/tst-audit4.c: Likewise.
21684         * sysdeps/x86_64/tst-audit5.c: Likewise.
21685         * time/tst-ftime_l.c: Likewise.
21686         * time/tst-getdate.c: Likewise.
21687         * time/tst-mktime3.c: Likewise.
21688         * time/tst-mktime.c: Likewise.
21689         * time/tst-posixtz.c: Likewise.
21690         * time/tst-strptime2.c: Likewise.
21691         * time/tst-strptime3.c: Likewise.
21692         * wcsmbs/tst-btowc.c: Likewise.
21693         * wcsmbs/tst-mbrtowc.c: Likewise.
21694         * wcsmbs/tst-mbsrtowcs.c: Likewise.
21695         * wcsmbs/tst-wchar-h.c: Likewise.
21696         * wcsmbs/tst-wcpncpy.c: Likewise.
21697         * wcsmbs/tst-wcrtomb.c: Likewise.
21698         * wcsmbs/tst-wcsnlen.c: Likewise.
21699         * wcsmbs/tst-wcstof.c: Likewise.
21701 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
21703         [BZ #14132]
21704         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
21705         INTDEF.
21706         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
21707         declaration.
21708         (_dl_mcount): Use rtld_hidden_proto.
21709         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
21710         _dl_mcount.
21711         * elf/rtld.c (_rtld_global_ro): Likewise.
21713         [BZ #14132]
21714         * elf/dl-init.c (_dl_init): Don't use INTDEF.
21715         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
21716         of _dl_init_internal.
21717         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
21718         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
21719         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
21720         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
21721         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
21722         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
21723         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
21724         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
21725         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
21726         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
21727         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
21728         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
21729         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
21730         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
21731         * sysdeps/tile/dl-start.S (_start): Likewise.
21732         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
21733         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
21735         [BZ #14132]
21736         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
21737         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
21738         (rtld_progname): Make macro definition unconditional.
21739         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
21740         INTDEF.
21741         (dlmopen_doit): Do not use INTUSE with _dl_argv.
21742         (dl_main): Likewise.
21743         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21744         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
21745         instead of _dl_argv_internal.
21746         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21747         __GI__dl_argv instead of INTUSE(_dl_argv).
21748         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
21749         __GI__dl_argv instead of _dl_argv_internal.
21751         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
21752         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
21753         macro.
21754         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
21755         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
21756         New macro.
21757         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
21758         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
21759         macro.
21760         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
21761         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
21763 2014-11-04  Andreas Schwab  <schwab@suse.de>
21765         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
21767 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21769         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
21770         mtvsrd instruction in binary form.
21772 2014-11-03  Andreas Schwab  <schwab@suse.de>
21774         [BZ #17522]
21775         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
21776         for less than MB_LEN_MAX use a local buffer of that size.
21777         * libio/tst-fputws.c: New file.
21778         * libio/Makefile (tests): Add tst-fputws.
21780 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
21782         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
21783         the size of the fpu_fr.fpu_dregs[] array.
21785 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
21787         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
21788         (__nanosleep): Do not define as alias.
21789         (nanosleep): Define as alias of __nanosleep.
21790         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
21791         __libc_nanosleep name.
21793 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
21795         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
21796         install.texi in comment.
21798 2014-10-31  Torvald Riegel  <triegel@redhat.com>
21800         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
21801         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
21802         ... add here and use lwsync or sync ...
21803         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
21804         ... and add here using lwsync.
21806 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
21808         * elf/dl-machine-reject-phdr.h: New file.
21809         * elf/dl-load.c: #include that.
21810         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
21811         if that returned true.
21813 2014-10-31  Roland McGrath  <roland@hack.frob.com>
21815         [BZ #17496]
21816         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
21817         gen-as-const-headers chunk.  Add a big scare comment after the last
21818         safe place to touch before-compile.
21820 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
21822         * manual/install.texi (Tools for Compilation): Update autoconf
21823         version requirements.
21824         * INSTALL: Regenerated.
21826         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
21827         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
21828         (__libc_pselect): Likewise.
21830         [BZ #14138]
21831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
21832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21836 2014-10-31  Torvald Riegel  <triegel@redhat.com>
21838         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
21839         correct barrier instruction.
21840         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
21841         Likewise.
21842         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
21843         Likewise.
21845 2014-10-30  Roland McGrath  <roland@hack.frob.com>
21847         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
21848         after defining inlines.  Instead, just use parens to defeat macro
21849         expansion of __isctype in its declaration.
21851 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
21853         * include/sys/uio.h (__libc_readv): Remove declaration.
21854         (__libc_writev): Likewise.
21855         * misc/readv.c (__libc_readv): Rename to __readv.
21856         (__readv): Do not define as alias.
21857         (readv): Define as alias of __readv.
21858         * misc/writev.c (__libc_writev): Rename to __writev.
21859         (__writev): Do not define as alias.
21860         (writev): Define as alias of __writev.
21861         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
21862         (__readv): Do not define as alias.
21863         (readv): Define unconditionally as alias of __readv.
21864         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
21865         (__writev): Do not define as alias.
21866         (writev): Define unconditionally as alias of __writev.
21867         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
21868         name.
21869         (writev): Do not define __libc_writev name.
21871 2014-10-30  Roland McGrath  <roland@hack.frob.com>
21873         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
21874         (convert_charseq): New function, broken out of ...
21875         (use_from_charmap): ... here.  Call it.
21876         (use_to_charmap): Use convert_charseq and free instead of duplicating
21877         its code with a variable-length stack struct.
21879 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
21881         * include/fcntl.h (__libc_creat): Remove declaration.
21882         * io/creat.c (__libc_creat): Rename to creat.
21883         (creat): Do not define as alias.
21884         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
21885         of creat instead of __libc_creat.
21886         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
21887         to creat.
21888         (creat): Do not define as alias.
21889         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
21890         __libc_creat.
21891         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
21892         __libc_creat name.
21893         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
21894         Likewise.
21896 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
21898         * manual/llio.texi: Add comments discussing why write() may be
21899         considered MT-unsafe on Linux.
21901 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
21903         * dl-load.c (local_strdup): Remove.
21904         (expand_dynamic_string_token): Use __strdup.
21905         (decompose_rpath): Likewise.
21906         (_dl_map_object): Likewise.
21908 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
21910         [BZ #14132]
21911         * sysdeps/generic/unwind-dw2-fde.c
21912         (__register_frame_info_bases_internal): Do not declare.
21913         (__register_frame_info_table_bases_internal): Likewise.
21914         (__deregister_frame_info_bases_internal): Likewise.
21915         (__register_frame_info_bases): Declare and use hidden_proto before
21916         definition.  Use hidden_def instead of INTDEF.
21917         (__register_frame_info_table_bases): Likewise.
21918         (__deregister_frame_info_bases): Likewise.
21919         (__register_frame_info): Do not use INTUSE.
21920         (__register_frame): Likewise.
21921         (__register_frame_info_table): Likewise.
21922         (__register_frame_table): Likewise.
21923         (__deregister_frame_info): Likewise.
21924         (__deregister_frame): Likewise.
21926 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
21928         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21929         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
21930         not undefine.
21931         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
21932         Likewise.
21933         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
21934         Likewise.
21936 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
21938         [BZ #14138]
21939         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
21940         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
21941         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
21942         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
21943         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
21944         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
21945         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
21946         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
21947         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
21948         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
21949         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
21950         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
21951         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
21952         syscall.
21953         (setfsuid): Likewise.
21954         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
21955         (setfsuid): Likewise.
21956         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
21957         (setfsuid): Likewise.
21958         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
21959         Likewise.
21960         (setfsuid): Likewise.
21961         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
21962         (setfsuid): Likewise.
21963         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
21964         Likewise.
21965         (setfsuid): Likewise.
21967 2014-10-27  Andreas Schwab  <schwab@suse.de>
21969         [BZ #17501]
21970         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
21971         check for Slow_SSE4_2 feature bit.
21972         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
21973         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21974         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
21975         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
21977 2014-10-24  Roland McGrath  <roland@hack.frob.com>
21979         * configure.ac: Validate compiler version with a empirical test of
21980         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
21981         $CC -v output.
21982         * configure: Regenerated.
21984         * inet/htons.c (htons): Prototypify.
21985         * inet/htonl.c (htonl): Likewise.
21987 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21989         * string/strncat.c (strncat): Improve performance by using strlen.
21991 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21993         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
21995 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
21997         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
21998         Call libc_fetestexcept_aarch64.
22000 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22002         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
22003         Call libc_feholdexcept_aarch64.
22005 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22007         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
22008         Call get_rounding_mode.
22010 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22012         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
22013         Simplify logic.
22015 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
22017         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
22018         Simplify logic.
22020 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
22022         [BZ #14138]
22023         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
22024         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
22025         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
22026         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
22027         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
22028         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
22029         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
22030         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
22031         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
22032         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
22033         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
22034         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
22035         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
22036         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
22037         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
22038         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
22039         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
22040         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
22041         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
22042         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
22043         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
22044         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
22045         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
22046         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
22047         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
22048         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
22049         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
22050         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
22051         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
22052         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
22053         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
22054         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
22055         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
22056         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
22057         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
22058         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
22059         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
22060         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
22061         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
22062         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
22063         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
22064         syscall.
22065         (geteuid): Likewise.
22066         (getgid): Likewise.
22067         (getuid): Likewise.
22068         (getresgid): Likewise.
22069         (getresuid): Likewise.
22070         (getgroups): Likewise.
22071         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
22072         (geteuid): Likewise.
22073         (getgid): Likewise.
22074         (getuid): Likewise.
22075         (getresgid): Likewise.
22076         (getresuid): Likewise.
22077         (getgroups): Likewise.
22078         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
22079         (geteuid): Likewise.
22080         (getgid): Likewise.
22081         (getuid): Likewise.
22082         (getresgid): Likewise.
22083         (getresuid): Likewise.
22084         (getgroups): Likewise.
22085         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
22086         Likewise.
22087         (geteuid): Likewise.
22088         (getgid): Likewise.
22089         (getuid): Likewise.
22090         (getresgid): Likewise.
22091         (getresuid): Likewise.
22092         (getgroups): Likewise.
22093         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
22094         (geteuid): Likewise.
22095         (getgid): Likewise.
22096         (getuid): Likewise.
22097         (getresgid): Likewise.
22098         (getresuid): Likewise.
22099         (getgroups): Likewise.
22100         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
22101         Likewise.
22102         (geteuid): Likewise.
22103         (getgid): Likewise.
22104         (getuid): Likewise.
22105         (getgroups): Likewise.
22107         [BZ #14138]
22108         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
22109         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
22110         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
22111         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22112         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
22113         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
22114         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
22115         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
22116         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
22117         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
22118         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
22119         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
22120         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
22121         __chown.
22122         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
22123         (lchown): Likewise.
22124         (fchown): Likewise.
22125         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
22126         Likewise.
22127         (lchown): Likewise.
22128         (fchown): Likewise.
22129         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
22130         (lchown): Likewise.
22131         (fchown): Likewise.
22132         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
22133         Likewise.
22134         (lchown): Likewise.
22135         (fchown): Likewise.
22137 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22139         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
22140         Simplify logic.
22142 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22144         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22145         Cleanup logic.
22147 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22149         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
22150         Remove unused include.
22152 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
22154         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
22155         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
22156         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
22157         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
22159 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
22160             Helge Deller <deller@gmx.de>
22162         [BZ #17508]
22163         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
22164         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
22165         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
22167 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
22169         [BZ #14132]
22170         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
22171         Remove macro definition.
22172         (__ashrdi3_v_glibc20): Likewise.
22173         (__lshrdi3_v_glibc20): Likewise.
22174         (__cmpdi2_v_glibc20): Likewise.
22175         (__ucmpdi2_v_glibc20): Likewise.
22176         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
22177         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22178         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22179         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22180         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22181         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
22183 2014-10-22  Roland McGrath  <roland@hack.frob.com>
22185         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
22186         old GNU extension [0] syntax.
22187         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
22188         alloca rather than an array member with variable length.
22189         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
22190         * nscd/nscd.c (invalidate_db): New function, broken out of ...
22191         (parse_opt): ... here.  Likewise use alloca there.
22192         Validate the -i argument before checking for rootness.
22193         (send_shutdown): New function, broken out of ...
22194         (parse_opt): ... here.
22196 2014-10-22  Roland McGrath  <roland@hack.frob.com>
22198         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
22199         macro to get at the _rt_local_ro field.
22200         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
22201         ([PIC] case) or _dl_hwcap ([!PIC] case).
22202         * sysdeps/arm/setjmp.S: Likewise.
22204         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
22205         * sysdeps/arm/configure.ac: New check to define it.
22206         * sysdeps/arm/configure: Regenerated.
22207         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
22208         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
22209         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
22210         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
22211         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
22212         Use move/movt pair instead of a load.
22213         (LDST_GLOBAL): Macro removed.
22214         (LDR_GLOBAL): New macro replaces it.
22215         (LDR_HIDDEN): New macro.
22216         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
22217         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
22219         * setjmp/tst-setjmp-static.c: New file.
22220         * setjmp/Makefile (tests): Add it.
22221         (tests-static): New variable.
22223 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
22225         [BZ #17485]
22226         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
22228 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
22230         [BZ #14132]
22231         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
22233 2014-10-21  Roland McGrath  <roland@hack.frob.com>
22235         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
22237 2014-10-20  Roland McGrath  <roland@hack.frob.com>
22239         * io/fts.c (dirent_not_directory): New function.
22240         (fts_build): Call it.
22242 2014-10-20  Roland McGrath  <roland@hack.frob.com>
22244         * nptl/version.c (__nptl_main): Use normal __write rather than
22245         INTERNAL_SYSCALL.
22246         (banner): Update copyright years.
22248         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
22249         gettimeofday.
22250         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
22251         * nptl/pthread_cond_timedwait.c: Likewise.
22252         * nptl/pthread_mutex_timedlock.c: Likewise.
22253         * nptl/sem_timedwait.c: Likewise.
22255         * sysdeps/nptl/bits/libc-lock.h
22256         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
22257         (__libc_lock_init_recursive): Return void, not 0.
22258         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
22259         (__libc_rwlock_init): Likewise.
22260         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
22262 2014-10-20  Torvald Riegel  <triegel@redhat.com>
22264         [BZ #15215]
22265         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
22266         (__pthread_once_slow): ... here.
22267         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
22268         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
22270 2014-10-20  Torvald Riegel  <triegel@redhat.com>
22272         [BZ #15215]
22273         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
22274         __PTHREAD_ONCE_FORK_GEN_INCR): New.
22275         * sysdeps/nptl/fork.c (__libc_fork): Use them.
22276         * nptl/pthread_once.c (__pthread_once): Likewise.
22277         Update comments.
22279 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
22281         [BZ #14138]
22282         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
22283         name.
22284         (writev): Use __libc_writev as strong name.
22285         * sysdeps/unix/sysv/linux/readv.c: Remove file.
22286         * sysdeps/unix/sysv/linux/writev.c: Likewise.
22288 2014-10-17  Roland McGrath  <roland@hack.frob.com>
22290         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
22292         * sysdeps/i386/nptl/tls.h
22293         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
22294         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
22295         New macros.
22296         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
22297         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
22298         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
22299         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
22300         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
22301         Call CHECK_THREAD_SYSINFO instead of doing an assert.
22303         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22304         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
22305         on [__NR_futex].
22306         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
22307         broken out of ...
22308         (__pthread_mutex_init): ... here.  Call it.
22309         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
22310         Conditionalize PI cases on [__NR_futex].
22311         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
22312         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
22313         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
22315         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
22316         conditional on [SIGSETXID].
22317         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
22318         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
22319         is defined.  Likewise for SIGSETXID.
22320         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
22321         Conditionalize definitions on [SIGSETXID].
22322         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
22323         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
22324         unblocking on [SIGCANCEL].
22326         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
22327         [__NR_set_robust_list].
22329 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22331         * string/strcoll_l.c (get_next_seq): Fix up formatting.
22332         (do_compare): Likewise.
22334 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
22336         [BZ #15884]
22337         * string/strcoll_l.c: Don't include stdio.h.
22338         (coll_seq): Remove members idxarr and rulearr.
22339         (get_next_seq_cached): Remove function.
22340         (get_next_seq): Likewise.
22341         (get_next_seq_nocache): Rename to get_next_seq.
22342         (do_compare): Remove function.
22343         (do_compare_nocache): Rename to do_compare.
22344         (STRCOLL): Remove weight and rules cache.
22346 2014-10-16  Roland McGrath  <roland@hack.frob.com>
22348         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
22349         * sysdeps/arm/sfp-machine.h: ... to here.
22350         * sysdeps/arm/Implies: Remove arm/soft-fp.
22352 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
22354         * conform/data/sys/utsname.h-data (*_t): Allow.
22355         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
22356         [POSIX] (WEXITED): Do not expect constant.
22357         [POSIX] (WSTOPPED): Likewise.
22358         [POSIX] (WNOHANG): Likewise.
22359         [POSIX] (WNOWAIT): Likewise.
22360         [POSIX] (siginfo_t): Do not expect type or elements.
22361         [POSIX] (pid_t): Do not expect type.
22362         [POSIX] (signal.h): Do not allow header.
22363         [POSIX] (sys/resource.h): Likewise.
22364         [POSIX] (si_*): Do not allow pattern.
22365         [POSIX] (W*): Likewise.
22366         [POSIX] (P_*): Likewise.
22367         [POSIX] (BUS_*): Likewise.
22368         [POSIX] (CLD_*): Likewise.
22369         [POSIX] (FPE_*): Likewise.
22370         [POSIX] (ILL_*): Likewise.
22371         [POSIX] (POLL_*): Likewise.
22372         [POSIX] (SEGV_*): Likewise.
22373         [POSIX] (SI_*): Likewise.
22374         [POSIX] (TRAP_*): Likewise.
22375         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
22376         variable.
22378 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
22380         [BZ #12926]
22381         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
22382         infinite loop when __recvmsg returns 0.
22384 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
22386         * CANCEL-FCT-WAIVE: Remove file.
22387         * CANCEL-FILE-WAIVE: Likewise.
22389         [BZ #14132]
22390         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
22391         instead of INTVARDEF.
22392         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22393         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
22394         rtld_hidden_data_def instead of INTVARDEF.
22395         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
22396         * elf/dl-deps.c (expand_dst): Likewise.
22397         * elf/dl-load.c (_dl_dst_count): Likewise.
22398         (_dl_dst_substitute): Likewise.
22399         (decompose_rpath): Likewise.
22400         (_dl_init_paths): Likewise.
22401         (open_path): Likewise.
22402         (_dl_map_object): Likewise.
22403         * elf/rtld.c (dl_main): Likewise.
22404         (process_dl_audit): Likewise.
22405         (process_envvars): Likewise.
22406         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
22407         Remove declaration.
22408         (__libc_enable_secure): Use rtld_hidden_proto.
22410 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22412         * elf/dl-load.c
22413         (add_path): New function broken out of _dl_rtld_di_serinfo.
22414         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
22416 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
22418         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
22419         parentheses around macro arguments.
22420         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
22421         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
22422         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
22423         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
22424         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
22425         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22426         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22427         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
22428         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
22429         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
22430         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
22431         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
22432         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
22433         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
22434         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
22435         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
22436         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
22437         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
22438         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
22439         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
22440         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
22441         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
22442         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
22443         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
22444         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
22445         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
22446         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
22447         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
22448         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
22449         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
22450         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
22451         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
22452         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
22453         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
22454         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
22455         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
22456         Likewise.
22457         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
22458         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22459         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22460         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
22461         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
22462         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
22463         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
22464         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
22465         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
22466         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
22467         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
22468         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
22469         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
22470         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
22471         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
22472         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
22473         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
22474         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
22475         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
22476         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
22477         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
22478         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
22479         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
22480         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
22481         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
22482         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
22483         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
22484         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
22485         (_FP_FRAC_SRS_1): Likewise.
22486         (_FP_FRAC_CLZ_1): Likewise.
22487         (_FP_MUL_MEAT_1_imm): Likewise.
22488         (_FP_MUL_MEAT_1_wide): Likewise.
22489         (_FP_MUL_MEAT_1_hard): Likewise.
22490         (_FP_SQRT_MEAT_1): Likewise.
22491         (_FP_FRAC_ASSEMBLE_1): Likewise.
22492         (_FP_FRAC_DISASSEMBLE_1): Likewise.
22493         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
22494         (__FP_CLZ_2): Likewise.
22495         (_FP_MUL_MEAT_2_wide): Likewise.
22496         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
22497         (_FP_MUL_MEAT_2_gmp): Likewise.
22498         (_FP_MUL_MEAT_2_120_240_double): Likewise.
22499         (_FP_SQRT_MEAT_2): Likewise.
22500         (_FP_FRAC_ASSEMBLE_2): Likewise.
22501         (_FP_FRAC_DISASSEMBLE_2): Likewise.
22502         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
22503         (_FP_FRAC_CLZ_4): Likewise.
22504         (_FP_MUL_MEAT_4_wide): Likewise.
22505         (_FP_MUL_MEAT_4_gmp): Likewise.
22506         (_FP_SQRT_MEAT_4): Likewise.
22507         (_FP_FRAC_ASSEMBLE_4): Likewise.
22508         (_FP_FRAC_DISASSEMBLE_4): Likewise.
22509         * soft-fp/op-common.h (_FP_CMP): Likewise.
22510         (_FP_CMP_EQ): Likewise.
22511         (_FP_CMP_UNORD): Likewise.
22512         (_FP_TO_INT): Likewise.
22513         (_FP_FROM_INT): Likewise.
22514         [!__FP_CLZ] (__FP_CLZ): Likewise.
22515         (_FP_DIV_HELP_imm): Likewise.
22516         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
22517         Likewise.
22518         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
22519         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
22520         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
22521         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
22522         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
22523         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22524         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22525         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
22526         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
22527         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
22528         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
22529         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
22530         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
22531         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
22532         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
22533         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
22534         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
22535         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
22536         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
22537         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
22538         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
22539         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
22540         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
22541         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
22542         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
22543         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
22544         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
22545         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
22546         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
22547         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
22548         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
22549         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
22550         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
22551         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
22552         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
22553         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
22554         (FP_UNPACK_RAW_SP): Likewise.
22555         (FP_PACK_RAW_S): Likewise.
22556         (FP_PACK_RAW_SP): Likewise.
22557         (FP_UNPACK_S): Likewise.
22558         (FP_UNPACK_SP): Likewise.
22559         (FP_UNPACK_SEMIRAW_S): Likewise.
22560         (FP_UNPACK_SEMIRAW_SP): Likewise.
22561         (FP_PACK_S): Likewise.
22562         (FP_PACK_SP): Likewise.
22563         (FP_PACK_SEMIRAW_S): Likewise.
22564         (FP_PACK_SEMIRAW_SP): Likewise.
22565         (_FP_SQRT_MEAT_S): Likewise.
22566         (FP_CMP_S): Likewise.
22567         (FP_CMP_EQ_S): Likewise.
22568         (FP_CMP_UNORD_S): Likewise.
22569         (FP_TO_INT_S): Likewise.
22570         (FP_FROM_INT_S): Likewise.
22572         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
22574         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
22575         (FP_EX_INVALID_IMZ): Likewise.
22576         (FP_EX_INVALID_IMZ_FMA): Likewise.
22577         (FP_EX_INVALID_ISI): Likewise.
22578         (FP_EX_INVALID_ZDZ): Likewise.
22579         (FP_EX_INVALID_IDI): Likewise.
22580         (FP_EX_INVALID_SQRT): Likewise.
22581         (FP_EX_INVALID_CVI): Likewise.
22582         (FP_EX_INVALID_VC): Likewise.
22583         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
22584         "invalid" exceptions.
22585         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
22586         (_FP_ADD_INTERNAL): Likewise.
22587         (_FP_MUL): Likewise.
22588         (_FP_FMA): Likewise.
22589         (_FP_DIV): Likewise.
22590         (_FP_CMP_CHECK_NAN): Likewise.
22591         (_FP_SQRT): Likewise.
22592         (_FP_TO_INT): Likewise.
22593         (FP_EXTEND): Likewise.
22595 2014-10-09  Allan McRae  <allan@archlinux.org>
22597         * po/fr.po: Update French translation from translation project.
22599 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
22601         [BZ #14132]
22602         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
22603         of INTDEF.
22604         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
22605         (__cxa_atexit): Use libc_hidden_proto.
22606         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
22608         [BZ #14132]
22609         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
22610         declaration.
22611         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
22612         [!_ISOMAC] (__iswspace_l_internal): Likewise.
22613         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
22614         [!_ISOMAC] (__iswctype_internal): Likewise.
22615         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
22616         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
22617         alias.
22618         (fcntl): Remove __fcntl_internal alias.
22619         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
22620         __connect_internal alias.
22621         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
22622         Likewise.
22624         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
22625         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
22626         FP_DENORM_ZERO.
22627         (_FP_CHECK_FLUSH_ZERO): New macro.
22628         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
22629         (_FP_CMP): Likewise.
22630         (_FP_CMP_EQ): Likewise.
22631         (_FP_TO_INT): Do not set inexact for subnormal arguments if
22632         FP_DENORM_ZERO.
22633         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
22634         (FP_TRUNC): Likewise.
22636         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
22637         treated as invalid conversion, not as normal exponent.
22639         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
22640         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
22641         (_FP_CMP_EQ): Likewise.
22642         (_FP_CMP_UNORD): Likewise.
22643         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
22644         (FP_CMP_EQ_D): Likewise.
22645         (FP_CMP_UNORD_D): Likewise.
22646         * soft-fp/extended.h (FP_CMP_E): Likewise.
22647         (FP_CMP_EQ_E): Likewise.
22648         (FP_CMP_UNORD_E): Likewise.
22649         * soft-fp/quad.h (FP_CMP_Q): Likewise.
22650         (FP_CMP_EQ_Q): Likewise.
22651         (FP_CMP_UNORD_Q): Likewise.
22652         * soft-fp/single.h (FP_CMP_S): Likewise.
22653         (FP_CMP_EQ_S): Likewise.
22654         (FP_CMP_UNORD_S): Likewise.
22655         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
22656         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
22657         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
22658         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
22659         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
22660         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
22661         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
22662         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
22663         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
22664         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
22665         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
22666         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
22667         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
22668         to FP_CMP_Q.
22669         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
22670         FP_CMP_Q.
22671         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
22672         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
22673         FP_CMP_EQ_Q.
22674         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
22675         FP_CMP_Q.
22676         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
22677         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
22678         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
22679         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
22680         FP_CMP_EQ_Q.
22681         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
22682         FP_CMP_Q.
22683         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
22684         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
22685         FP_CMP_EQ_Q.
22686         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
22687         FP_CMP_Q.
22688         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
22689         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
22690         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
22691         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
22692         FP_CMP_EQ_Q.
22694         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
22695         a subnormal result, set the underflow exception if trapping on
22696         underflow is enabled.
22697         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
22698         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
22699         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
22700         redefine to 0.
22701         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
22702         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22703         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
22704         * soft-fp/extendxftf2.c (__extendxftf2): Use
22705         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
22707         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
22708         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
22709         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22710         FP_HANDLE_EXCEPTIONS.
22711         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
22712         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22713         FP_HANDLE_EXCEPTIONS.
22714         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
22715         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22716         FP_HANDLE_EXCEPTIONS.
22717         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
22718         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
22719         FP_HANDLE_EXCEPTIONS.
22721 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
22723         [BZ #14132]
22724         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
22725         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
22726         use INTUSE.
22727         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
22728         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
22729         Remove alias.
22730         (__adjtimex): Define using libc_hidden_ver.
22731         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
22732         Remove declaration.
22733         (ntp_gettime): Call __adjtimex directly.
22734         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
22735         Remove declaration.
22736         (ntp_gettimex): Call __adjtimex directly.
22737         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
22738         __adjtimex_internal alias.
22740 2014-10-08  Roland McGrath  <roland@hack.frob.com>
22742         [BZ #17460]
22743         * nscd/nscd.c (more_help): Rewrite list of tables collection
22744         using xstrdup and asprintf.
22746         * nscd/nscd_conf.c: Remove local xstrdup declaration.
22748 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22749             Roland McGrath  <roland@hack.frob.com>
22751         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
22752         (do_lookup_unique): ... local function 'enter' here; update callers.
22754 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
22756         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
22757         compat_symbol calls on [SHARED].
22758         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
22759         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
22760         Remove.
22761         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22762         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
22763         (oldsetrlimit): Remove.
22764         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
22766         (lchown): New syscall entry.
22767         (oldsetrlimit): Remove.
22768         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22769         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
22770         (oldsetrlimit): Remove.
22771         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
22773         [BZ #14138]
22774         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
22775         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
22776         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
22777         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
22778         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
22779         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
22780         (fchown): Likewise.
22781         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
22782         (fchown): Likewise.
22783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
22784         Likewise.
22786 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22788         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
22789         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
22790         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
22791         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
22792         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
22793         Likewise.
22794         (__old_sem_post): Likewise.
22796 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
22798         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
22799         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
22800         HAVE_CLOCK_GETTIME_VSYSCALL macros.
22801         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
22802         Use INLINE_VSYSCALL macro.
22803         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
22804         __vdso_clock_gettime.
22805         * sysdeps/unix/sysv/linux/tile/init-first.c
22806         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
22807         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
22808         __vdso_clock_gettime.
22810         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
22811         to set up frame more cleanly.
22813         * sysdeps/tile/memcmp.c: New file.
22815         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
22817         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
22818         * sysdeps/tile/tilegx/strcasestr.c: New file.
22819         * sysdeps/tile/tilegx/strnlen.c: New file.
22820         * sysdeps/tile/tilegx/strstr.c: New file.
22822         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
22824 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
22826         * nptl/tst-setuid3.c: Write errors to stdout.
22828 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22830         * elf/dl-deps.c
22831         (preload): New functions broken out of _dl_map_object_deps.
22832         (_dl_map_object_deps):  Remove a nested function. Update call sites.
22834 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
22836         [BZ #14138]
22837         * sysdeps/unix/sysv/linux/execve.c: Remove file.
22838         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
22840 2014-10-01  Steve Ellcey  <sellcey@mips.com>
22842         * sysdeps/mips/strcmp.S: New.
22844 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
22846         [BZ #14138]
22847         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
22848         (linkat): Likewise.
22849         (mkdirat): Likewise.
22850         (readlinkat): Likewise.
22851         (renameat): Likewise.
22852         (symlinkat): Likewise.
22853         (unlinkat): Likewise.
22854         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
22855         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
22856         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
22857         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
22858         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
22859         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
22860         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
22862 2014-09-30  Will Newton  <will.newton@linaro.org>
22864         * math/math.h: Define long double math functions if
22865         _LIBC_TEST is defined.
22866         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
22868         * localedata/Makefile: Move assignment to tests-special
22869         into an ifdef testing run-built-tests.
22870         * timezone/Makefile: Likewise.
22872 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
22874         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
22875         with $(BASH) not $(SHELL).
22877 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
22878             Matthew LeGendre  <legendre1@llnl.gov>
22880         [BZ #17411]
22881         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
22882         l_reloc_result.
22884 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
22886         * stdio-common/printf_fp.c
22887         (hack_digit): New function, broken out of ...
22888         (__printf_fp): ... local function here.  Update call sites.
22889         hack_digit now takes an additional parameter that is a pointer
22890         to a struct of the referenced locals.  Those locals moved inside
22891         the struct and references updated.
22893 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
22895         * aclocal.m4: Require autoconf 2.69.
22896         * configure: Regenerated.
22897         * sysdeps/aarch64/configure: Likewise.
22898         * sysdeps/alpha/configure: Likewise.
22899         * sysdeps/arm/armv7/configure: Likewise.
22900         * sysdeps/arm/configure: Likewise.
22901         * sysdeps/ia64/configure: Likewise.
22902         * sysdeps/mach/configure: Likewise.
22903         * sysdeps/mips/configure: Likewise.
22904         * sysdeps/s390/configure: Likewise.
22905         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
22906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
22908         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
22909         file.
22910         * sysdeps/ia64/configure.ac: Likewise.
22912 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
22914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
22915         specify symbol version for ld.so.  Do not include entry for
22916         libpthread.
22917         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
22918         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
22919         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22921         [BZ #14171]
22922         * Makeconfig [$(build-shared) = yes]
22923         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
22924         makefiles.
22925         [$(build-shared) = yes && $(soversions.mk-done) = t]
22926         ($(common-objpfx)gnu/lib-names.h): Remove rule.
22927         [$(build-shared) = yes && $(soversions.mk-done) = t]
22928         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
22929         to Makerules.
22930         [$(build-shared) = yes && $(soversions.mk-done) = t]
22931         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
22932         here.
22933         [$(build-shared) = yes && $(soversions.mk-done) = t]
22934         (common-generated): Don't append gnu/lib-names.h and
22935         gnu/lib-names.stmp here.
22936         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
22937         (lib-names-h-abi): New variable.
22938         [$(build-shared) = yes && $(soversions.mk-done) = t]
22939         (lib-names-stmp-abi): Likewise.
22940         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22941         abi-variants] (before-compile): Append
22942         $(common-objpfx)$(lib-names-h-abi).
22943         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22944         abi-variants] (common-generated): Append gnu/lib-names.h.
22945         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22946         abi-variants] (install-others-nosubdir): Depend on
22947         $(inst_includedir)/$(lib-names-h-abi).
22948         [$(build-shared) = yes && $(soversions.mk-done) = t &&
22949         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
22950         [$(build-shared) = yes && $(soversions.mk-done) = t]
22951         ($(common-objpfx)$(lib-names-h-abi)): New rule.
22952         [$(build-shared) = yes && $(soversions.mk-done) = t]
22953         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
22954         [$(build-shared) = yes && $(soversions.mk-done) = t]
22955         (common-generated): Append $(lib-names-h-abi) and
22956         $(lib-names-stmp-abi).
22957         * scripts/lib-names.awk: Do not handle multi being set.
22958         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
22959         Remove variable.
22960         (abi-lp64_be-ld-soname): Likewise.
22961         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
22962         Likewise.
22963         (abi-hard-ld-soname): Likewise.
22964         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
22965         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
22966         Remove variable.
22967         (abi-o32_hard-ld-soname): Likewise.
22968         (abi-o32_soft_2008-ld-soname): Likewise.
22969         (abi-o32_hard_2008-ld-soname): Likewise.
22970         (abi-n32_soft-ld-soname): Likewise.
22971         (abi-n32_hard-ld-soname): Likewise.
22972         (abi-n32_soft_2008-ld-soname): Likewise.
22973         (abi-n32_hard_2008-ld-soname): Likewise.
22974         (abi-n64_soft-ld-soname): Likewise.
22975         (abi-n64_hard-ld-soname): Likewise.
22976         (abi-n64_soft_2008-ld-soname): Likewise.
22977         (abi-n64_hard_2008-ld-soname): Likewise.
22978         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
22979         Likewise.
22980         (abi-64-v2-ld-soname): Likewise.
22981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
22982         ld.so entries.
22983         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
22984         variable.
22985         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
22986         entry.
22987         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
22988         variable.
22989         (abi-64-ld-soname): Likewise.
22990         (abi-x32-ld-soname): Likewise.
22991         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
22992         entry.
22993         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
22995 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
22997         [BZ #14138]
22998         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
22999         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
23000         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
23001         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
23002         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
23003         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
23004         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
23005         syscall entry for GLIBC_2.2 symbol version.
23006         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
23007         Likewise.
23008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
23009         (setrlimit): Likewise.
23010         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
23011         Likewise.
23013 2014-09-23  Will Newton  <will.newton@linaro.org>
23015         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
23016         _LINUX_ARM_SYSDEP_H include guard too.
23017         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
23018         define.
23020 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
23022         * sysdeps/unix/sysv/linux/eventfd.c:
23023         Make first argument unsigned.
23024         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
23025         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
23027 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
23029         * socket/recvmmsg.c (recvmmsg): Drop const argument.
23030         * socket/sys/socket.h: Likewise.
23031         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
23033 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23035         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
23037 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
23039         * time/tst-ftime.c: New test.
23040         * time/Makefile (tests): Add tst-ftime.
23042 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
23044         * soft-fp/extended.h: Fix comment formatting.
23045         * soft-fp/op-1.h: Likewise.
23046         * soft-fp/op-2.h: Likewise.
23047         * soft-fp/op-4.h: Likewise.
23048         * soft-fp/op-8.h: Likewise.
23049         * soft-fp/op-common.h: Likewise.
23050         * soft-fp/soft-fp.h: Likewise.
23052         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
23054 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
23056         [BZ #6652]
23057         * Makeconfig (soversions-default-setname): Remove variable.
23058         ($(common-objpfx)soversions.i): Don't pass default_setname to
23059         soversions.awk.
23060         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
23061         oldest_abi to abi-versions.awk.
23062         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
23063         * config.make.in (oldest-abi): Remove variable.
23064         * configure.ac (--enable-oldest-abi): Remove configure option.
23065         * configure: Regenerated.
23066         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
23067         text.
23068         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
23069         * scripts/soversions.awk: Do not handle default_setname variable.
23070         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
23071         variable.
23072         * sysdeps/mach/hurd/configure: Regenerated.
23073         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
23074         variable.
23075         * sysdeps/unix/sysv/linux/configure: Regenerated.
23077 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23079         * elf/Makefile (CFLAGS-interp.c): Remove.
23080         ($(elf-objpfx)runtime-linker.h): Generate header with linker
23081         path string.
23082         * elf/interp.c: Include generated runtime-linker.h
23084         * Makerules (lib%.so): Don't include $(+interp) in
23085         prerequisites.
23086         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
23087         * dlfcn/eval.c: Remove file.
23089         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
23090         macros.
23092         [BZ #17266]
23093         * misc/sys/cdefs.h: Define __extern_always_inline for clang
23094         4.2 and newer.
23096         [BZ #17370]
23097         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
23099 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23100             Jakub Jelinek  <jakub@redhat.com>
23102         [BZ #17266]
23103         * libio/stdio.h: Check definition of __fortify_function
23104         instead of __extern_always_inline to include bits/stdio2.h.
23105         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
23106         check if __extern_always_inline is defined.
23107         [__USE_MISC || __USE_XOPEN]: Likewise.
23108         [__USE_ISOC99] Likewise.
23109         * misc/sys/cdefs.h (__fortify_function): Define only if
23110         __extern_always_inline is defined.
23111         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
23112         __extern_always_inline and __extern_inline only for g++-4.3
23113         and newer or a compatible gcc.
23115 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
23117         [BZ #17371]
23118         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
23119         last change to handle zero prefix length.
23121 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23123         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
23124         _SC_REGEX_VERSION.
23126         * posix/getconf.c (vars): Add _POSIX_IPV6 and
23127         _POSIX_RAW_SOCKETS.
23129 2014-09-13  Allan McRae  <allan@archlinux.org>
23131         * po/ru.po: Update Russian translation from translation project.
23133 2014-09-12  Roland McGrath  <roland@hack.frob.com>
23135         * locale/programs/locale.c (show_locale_vars): Inline local function
23136         into its sole call site.  Clean up some style nits.
23137         (print_item): New function, broken out of ...
23138         (show_info): ... local function here.  Clean up style nits.
23140         * locale/programs/ld-ctype.c (set_one_default): New function, broken
23141         out of ...
23142         (set_class_defaults): ... local function set_default here.
23143         Define set_default as a macro locally to pass constant parameters.
23144         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
23145         rather than a shared local.
23147         * stdlib/rpmatch.c (try): New function, broken out of ...
23148         (rpmatch): ... local function here.  Also, prototypify definition.
23150 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
23152         * scripts/soversions.awk: Do not handle configuration names.
23153         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
23154         vendor and os variables to soversions.awk.
23155         * configure.ac: Do not modify gnu-* host_os.
23156         * configure: Regenerated
23157         * shlib-versions: Remove first column with configuration names.
23158         * nptl/shlib-versions: Likewise.
23159         * nptl_db/shlib-versions: Likewise.
23160         * sysdeps/hppa/shlib-versions: Likewise.
23161         * sysdeps/m68k/shlib-versions: Likewise.
23162         * sysdeps/mach/hurd/shlib-versions: Likewise.
23163         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
23164         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
23165         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
23166         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
23167         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
23168         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
23169         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
23170         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
23171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23172         Likewise.
23173         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23174         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23175         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23176         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23177         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23178         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
23179         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
23180         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
23182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
23183         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
23184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
23185         Regenerated.
23186         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
23187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
23188         Condition symbol version definitions on [HAVE_ELFV2_ABI].
23190         * shlib-versions: Remove OS-specific entries.  Moved to files in
23191         sysdeps.
23192         * sysdeps/mach/hurd/shlib-versions: New file.
23193         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
23195         * nptl/shlib-versions: Remove architecture-specific entries.
23196         Moved to files in sysdeps.
23197         * shlib-versions: Likewise.
23198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
23199         file.
23200         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
23201         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
23202         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
23203         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
23205         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
23206         (UDP_NO_CHECK6_RX): Likewise.
23208 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23210         * sysdeps/posix/sysconf.c (__sysconf): Spell
23211         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
23213 2014-08-12  Florian Weimer  <fweimer@redhat.com>
23215         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
23216         loading.
23217         * iconv/Versions (__gconv_transliterate): Export for use from
23218         gconv modules.
23219         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
23220         (struct __gconv_trans_data, __gconv_trans_fct,
23221         __gconv_trans_context_fct, __gconv_trans_query_fct,
23222         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
23223         definitions.
23224         (struct __gconv_step_data): Remove __trans member.
23225         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
23226         longer hidden.  Remove unused trans_data argument.
23227         * iconv/gconv_int.h (struct trans_struct): Remove definition.
23228         (__gconv_translit_find): Remove declaration.
23229         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
23230         prototype.
23231         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
23232         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
23233         trans_data argument.  Add hidden definition.
23234         (__gconv_translit_find): Remove.
23235         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
23236         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
23237         * iconv/skeleton.c: Remove transliteration initialization.
23238         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
23239         __gconv_step_data initialization.
23240         * libio/iofwide.c (__libio_translit_): Remove.
23241         (_IO_fwide): Adjust struct __gconv_step_data initialization.
23242         * wcsmbs/btowc.c (__btowc): Likewise.
23243         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23244         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
23245         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
23246         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
23247         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
23248         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
23249         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
23250         * wcsmbs/wctob.c (wctob): Likewise.
23252 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23254         [BZ #16194]
23255         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
23256         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
23257         register usage.
23258         * sysdeps/x86/Makefile: Adjust.
23260 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
23261             Roland McGrath  <roland@hack.frob.com>
23263         * locale/weight.h: Add include guard.
23264         (findidx): Make static rather than auto; take new parameters
23265         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
23266         * locale/weightwc.h: Likewise.
23267         * posix/fnmatch_loop.c
23268         (FCT): Change type of EXTRA from int32_t to wint_t.
23269         Don't include either header inside the function.
23270         Call FINDIDX rather than findidx, and pass new arguments.
23271         #undef FINDIDX at the end of the file.
23272         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
23273         FINDIDX before including fnmatch_loop.c for the non-wide version.
23274         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
23275         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
23276         for the wide version.
23277         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
23278         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
23279         Pass new arguments to findidx.
23280         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
23281         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
23282         Don't #include it inside the function.  Pass new arguments to findidx.
23283         * posix/regex_internal.h
23284         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
23285         (re_string_elem_size_at): Don't #include it inside the function.
23286         Pass new arguments to findidx.
23287         * string/strcoll_l.c: #include WEIGHT_H at top level.
23288         (get_next_seq): Don't #include it inside the function.
23289         Pass new arguments to findidx.
23290         (get_next_seq_nocache): Likewise.
23291         * string/strxfrm_l.c: #include WEIGHT_H at top level.
23292         (STRXFRM): Don't #include it inside the function.
23293         Pass new arguments to findidx.
23295 2014-09-11  Florian Weimer  <fweimer@redhat.com>
23297         [BZ #17344]
23298         * malloc/malloc.c (unlink): Turn asserts into a call to
23299         malloc_printerr.
23301 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
23303         [BZ #17370]
23304         * libio/wfileops (do_ftell_wide): Free OUT.
23306 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
23308         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
23310 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23312         [BZ #17363]
23313         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
23314         group if the current group is empty.
23316 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23318         * benchtests/bench-memset.c (test_main): Add more test from size
23319         from 32 to 512 bytes.
23320         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23321         Add POWER8 memset object.
23322         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23323         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
23324         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
23325         implementation.
23326         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
23327         Likewise.
23328         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
23329         multiarch POWER8 memset optimization.
23330         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
23331         POWER8 memset optimization.
23333         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23334         Remove bzero multiarch objects.
23335         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
23336         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
23337         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
23338         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
23339         Remove define.
23340         [__bzero]: Redefine to specific name.
23341         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
23342         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
23343         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
23344         define.
23345         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23346         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23348 2014-09-10  Florian Weimer  <fweimer@redhat.com>
23350         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
23351         warnings into errors.
23353         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
23354         __cxa_thread_atexit_impl prototype.
23356 2014-09-09  Steve Ellcey  <sellcey@mips.com>
23358         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
23359         Fix capitalization of error message.
23361 2014-09-09  Steve Ellcey  <sellcey@mips.com>
23363         * sysdeps/mips/preconfigure: Modify ABI tests.
23365 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
23367         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
23369 2014-09-07  Roland McGrath  <roland@hack.frob.com>
23370             Carlos O'Donell  <carlos@systemhalted.org>
23372         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
23373         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
23374         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
23375         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
23376         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
23377         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
23378         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
23379         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
23380         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
23381         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
23382         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
23383         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
23384         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
23385         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
23386         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
23387         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
23388         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
23389         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
23390         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
23391         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
23392         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
23393         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
23394         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
23395         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
23396         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
23397         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
23398         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
23399         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
23400         Deconditionalize the code that was previously under [RESET_PID].
23401         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
23402         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
23403         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
23404         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
23405         include sysdep.h.
23407 2014-09-08  Allan McRae  <allan@archlinux.org>
23409         * version.h (RELEASE): Set to "development".
23410         (VERSION): Set to "2.20.90"
23412 2014-09-07  Allan McRae  <allan@archlinux.org
23414         * version.h (RELEASE): Set to "stable".
23415         (VERSION): Set to "2.20"
23416         * include/features.h (__GLIBC_MINOR__): Set to 20.
23418         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
23419         Liebler.
23421         * po/ko.po: Update Korean translation from translation project.
23423 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
23425         [BZ #17354]
23426         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
23427         macro for handling signed relocations.
23429 2014-09-03  Florian Weimer  <fweimer@redhat.com>
23431         [BZ #17325]
23432         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
23433         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
23434         assert.
23435         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
23436         * iconvdata/ibm935.c (BODY): Likewise.
23437         * iconvdata/ibm937.c (BODY): Likewise.
23438         * iconvdata/ibm939.c (BODY): Likewise.
23439         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
23440         assert.
23441         * iconvdata/Makefile (iconv-test.out): Pass module list to test
23442         script.
23443         * iconvdata/run-iconv-test.sh: New test loop for checking for
23444         decoder crashers.
23446 2014-09-02  Khem Raj  <raj.khem@gmail.com>
23448         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
23449         libm_hidden_ver.
23451 2014-09-01  Allan McRae  <allan@archlinux.org>
23453         * po/eo.po: Update Esperanto translation from translation project.
23455         * po/ca.po: Update Catalan translation from translation project.
23457 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23459         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
23460         __proc_dostop call.
23462 2014-08-27  Mark Wielaard  <mjw@redhat.com>
23464         [BZ #17319]
23465         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
23466         to call set_thread_area instead of hand written asm.
23467         (__NR_set_thread_area): Removed define.
23468         (TLS_FLAG_WRITABLE): Likewise.
23469         (__ASSUME_SET_THREAD_AREA): Remove check.
23470         (TLS_EBX_ARG): Remove define.
23471         (TLS_LOAD_EBX): Likewise.
23473 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23475         Simplify atomicity of socket creation in bind.
23477         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
23478         looking up the name after linking the file.
23480 2014-08-27  Allan McRae  <allan@archlinux.org>
23482         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
23484 2014-08-26  Florian Weimer  <fweimer@redhat.com>
23486         [BZ #17187]
23487         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
23488         trans_compare, open_translit, __gconv_translit_find):
23489         Remove module loading code.
23491 2014-08-26  Allan McRae  <allan@archlinux.org>
23493         * po/vi.po: Update Vietnamese translation from translation project.
23495         * po/uk.po: Update Ukrainian translation from translation project.
23497         * po/fr.po: Update French translation from translation project.
23499         * po/ru.po: Update Russian translation from translation project.
23501         * po/pl.po: Update Polish translation from translation project.
23503         * po/cs.po: Update Czech translation from translation project.
23505         * po/de.po: Update German translation from translation project.
23507         * po/bg.po: Update Bulgarian translation from translation project.
23509         * po/sv.po: Update Sweedish translation from translation project.
23511         * po/nl.po: Update Dutch translation from translation project.
23513         * po/es.po: Update Spanish translation from translation project.
23515 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23517         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
23519         * catgets/Makefile (CPPFLAGS-gencat): Remove.
23520         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
23521         (CPPFLAGS-iconvconfig): Likewise.
23522         * timezone/Makefile (CPPFLAGS-zic): Likewise.
23524         * include/libc-symbols.h: Remove unnecessary check for
23525         NOT_IN_libc.
23526         * nptl/pthreadP.h: Likewise.
23527         * sysdeps/aarch64/setjmp.S: Likewise.
23528         * sysdeps/alpha/setjmp.S: Likewise.
23529         * sysdeps/arm/sysdep.h: Likewise.
23530         * sysdeps/i386/setjmp.S: Likewise.
23531         * sysdeps/m68k/setjmp.c: Likewise.
23532         * sysdeps/posix/getcwd.c: Likewise.
23533         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23534         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
23535         * sysdeps/s390/s390-32/setjmp.S: Likewise.
23536         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23537         * sysdeps/sh/sh3/setjmp.S: Likewise.
23538         * sysdeps/sh/sh4/setjmp.S: Likewise.
23539         * sysdeps/unix/alpha/sysdep.h: Likewise.
23540         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
23541         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23542         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
23543         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
23544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
23545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23546         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23547         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23548         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23549         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23550         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23551         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
23552         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23553         * sysdeps/x86_64/setjmp.S: Likewise.
23555 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
23557         [BZ #17263]
23558         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
23559         <stdint.h>.
23560         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
23561         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
23563 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23565         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
23567         [BZ #17262]
23568         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
23569         and __x86_64__ when disabling x87 inline functions.
23571 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
23573         [BZ #17259]
23574         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
23575         asm statement with __cpuid_count.
23577 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
23579         * configure.ac: Change __ehdr_start code to dereference the struct.
23580         Run readelf on the output to look for relocations.
23581         * configure: Regenerated.
23583 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
23585         [BZ #17261]
23586         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
23587         value to 0.
23588         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
23590 2014-08-12  Roland McGrath  <roland@hack.frob.com>
23592         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
23594 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
23596         [BZ #16892]
23597         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
23598         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
23600 2014-08-12  Sean Anderson  <seanga2@gmail.com>
23602         * malloc/malloc.c: Fix typo in comment.
23604 2014-08-09  Allan McRae  <allan@archlinux.org>
23606         * Regenerate libc.po.
23608 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
23610         * intl/tst-gettext2.sh: Check every lang file for creation.
23612 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
23614         * sysdeps/aarch64/fpu/math_private.h
23615         (libc_feholdsetround_noex_aarch64_ctx): New function.
23617 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
23619         * sysdeps/arm/armv6/strcpy.S (strcpy):
23620         Fix performance issue in misaligned cases.
23622 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23624         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
23625         Move definition from termios.h.
23626         (struct termio): Likewise.
23627         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23628         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23629         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23630         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23631         Likewise.
23632         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
23633         Move definition to ioctl-types.h
23634         (struct termio): Likewise.
23635         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
23636         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
23637         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
23638         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
23639         Likewise.
23641 2014-08-05  Richard Henderson  <rth@redhat.com>
23643         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
23644         exceptions.
23645         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
23646         Add fraiseexcpt.
23647         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
23648         Use __feraiseexcept.
23649         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
23650         Protect libm symbols with IS_IN_libm.
23652         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
23654 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
23656         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
23658 2014-08-04  Will Newton  <will.newton@linaro.org>
23660         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
23661         file.
23663 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
23665         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
23666         variants for each function.
23668 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23670         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
23671         appended ...
23672         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
23673         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
23674         appended ...
23675         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
23676         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
23677         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
23678         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
23679         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
23680         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
23681         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
23682         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
23683         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
23684         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
23685         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
23686         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
23687         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
23688         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
23689         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
23690         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
23691         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
23692         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
23693         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
23694         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
23695         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
23696         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
23697         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
23698         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
23699         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
23700         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
23701         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
23702         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
23703         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
23704         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
23705         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
23706         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
23707         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
23708         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
23709         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
23710         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
23711         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
23712         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
23713         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
23714         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
23715         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
23716         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
23717         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
23718         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
23719         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
23720         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
23721         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
23722         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
23723         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
23724         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
23725         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
23726         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
23727         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
23728         Update #include.
23729         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
23730         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
23732 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23734         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
23735         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
23736         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
23737         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
23738         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
23739         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
23741 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23743         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
23744         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
23745         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
23746         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
23748 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23750         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
23751         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
23752         (__libc_vfork): Define function under this name.
23753         (__vfork): Define as an alias.
23754         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
23755         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
23757 2014-08-04  Roland McGrath  <roland@hack.frob.com>
23759         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
23760         that was previously under [RESET_PID].
23761         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
23763 2014-08-04  Andreas Schwab  <schwab@suse.de>
23765         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
23767 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
23769         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
23770         (main): Likewise.
23772 2014-08-01  Roland McGrath  <roland@hack.frob.com>
23774         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
23776 2014-08-01  Richard Henderon  <rth@redhat.com>
23778         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
23779         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
23780         typo in exact zero test.
23781         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23782         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23783         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23785 2014-08-01  Roland McGrath  <roland@hack.frob.com>
23787         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
23788         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
23789         * sysdeps/arm/sysdep.h: ... here.
23790         [!__ASSEMBLER__]: Include <stdint.h>.
23792 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23794         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
23795         (HAVE_WCTYPE_H): Likewise.
23796         (HAVE_ISWCTYPE): Likewise.
23797         (ENABLE_NLS): Likewise.
23798         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
23799         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
23801         * posix/regex_internal.c: Check if DEBUG is defined and is
23802         set.
23804         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
23805         (HAVE_MBSRTOWCS): Likewise.
23806         * posix/fnmatch.c: Include string.h unconditionally.
23808 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23810         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
23811         reversal.
23813 2014-07-31  Roland McGrath  <roland@hack.frob.com>
23815         * sysdeps/generic/safe-fatal.h: New file.
23816         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
23817         * nptl/forward.c: Include it.
23818         (__pthread_unwind): Use __safe_fatal as default action, rather
23819         than a bogus use of INTERNAL_SYSCALL that could never work.
23821         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
23822         * configure.ac (libc_cv_builtin_trap): New test.
23823         * configure: Regenerated.
23824         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
23825         (ABORT_INSTRUCTION): Define using __builtin_trap.
23827         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
23828         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
23829         * sysdeps/nptl/nptl-signals.h: New file.
23830         * nptl/pthreadP.h: Include <nptl-signals.h>.
23832 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23834         * sysdeps/s390/s390-64/utf16-utf32-z9.c
23835         (ONE_DIRECTION): Define.
23836         * sysdeps/s390/s390-64/utf8-utf16-z9.c
23837         (ONE_DIRECTION): Define.
23838         * sysdeps/s390/s390-64/utf8-utf32-z9.c
23839         (ONE_DIRECTION): Define.
23841 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23843         * sysdeps/s390/Makefile: Delete file.
23844         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
23845         * sysdeps/s390/__longjmp.c: Delete file.
23846         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
23847         Remove fields __flags and __reserved.
23848         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
23849         and add versioning.
23850         * sysdeps/s390/rtld-__longjmp.c: Delete file.
23851         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
23852         * sysdeps/s390/rtld-setjmp.S: Likewise.
23853         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
23854         * sysdeps/s390/s390-32/__longjmp.c: ... here.
23855         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
23856         * sysdeps/s390/s390-32/setjmp.S: ... here.
23857         Add versioning.
23858         (__sigsetjmp): Remove setting __flags field.
23859         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
23860         * sysdeps/s390/s390-64/__longjmp.c: ... here.
23861         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
23862         * sysdeps/s390/s390-64/setjmp.S: ... here.
23863         Add versioning.
23864         (__sigsetjmp): Remove setting __flags field.
23865         * sysdeps/s390/setjmp.S: Delete file.
23866         * sysdeps/s390/sigjmp.c: Likewise.
23867         * sysdeps/s390/v1-longjmp.c: Likewise.
23868         * sysdeps/s390/v1-setjmp.h: Likewise.
23869         * sysdeps/s390/v1-sigjmp.c: Likewise.
23870         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
23871         Remove v1-longjmp_chk.
23872         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
23873         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
23874         Include debug/longjmp_chk.c and add versioning.
23875         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
23876         Include nptl/pt-longjmp.c and add versioning.
23877         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
23878         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
23879         Include __longjmp.c.
23880         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
23881         Move to ...
23882         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
23883         (__getcontext): Remove setting __flags field.
23884         Add versioning.
23885         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23886         Don't restore upper high grps.
23887         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
23888         Likewise.
23889         (__swapcontext): Remove setting uc_flags field.
23890         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
23891         Delete file.
23892         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
23893         Include __longjmp.c.
23894         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
23895         Move to ...
23896         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
23897         (__getcontext): Remove setting __flags field.
23898         Add versioning.
23899         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
23900         (__swapcontext): Remove setting uc_flags field.
23901         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
23902         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
23903         Remove fields uc_high_gprs and __reserved.
23904         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
23905         New file with reverted content.
23906         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
23907         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
23908         Regenerated.
23909         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
23910         Regenerated.
23912 2014-07-31  Andreas Schwab  <schwab@suse.de>
23914         * config.h.in (HAVE_IFUNC): Define to 0.
23915         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
23916         definedness.
23918 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
23920         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23921         memmove-avx-unaligned, memcpy-avx-unaligned and
23922         mempcpy-avx-unaligned.
23923         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23924         Add tests for AVX memcpy functions.
23925         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
23926         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
23927         memcpy_chk.
23928         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
23929         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
23930         memmove_chk.
23931         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
23932         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
23933         mempcpy_chk.
23934         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
23935         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
23936         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
23938 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23940         [BZ #17213]
23941         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
23942         powerpc64le.
23944 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
23946         [BZ #16839]
23947         * manual/llio.texi: Add section about open file description locks.
23948         * manual/examples/ofdlocks.c: Example of open file description
23949         lock usage.
23950         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
23951         F_OFD_SETLK, and F_OFD_SETLKW.
23953 2014-07-23  Allan McRae  <allan@archlinux.org>
23955         * po/es.po: Update Spanish translation from translation project.
23957 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
23959         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
23961 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
23963         [BZ #17078]
23964         * sysdeps/arm/dl-machine.h (elf_machine_rela)
23965         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
23966         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
23968 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
23970         [BZ #17088]
23971         * math/fesetenv.c (__fesetenv)
23972         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
23973         * math/feupdateenv.c (__feupdateenv)
23974         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
23976         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
23977         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
23978         (__ASSUME_SOCKETCALL): Do not define.
23980         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
23981         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
23982         (__ASSUME_SOCKETCALL): Do not define.
23983         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
23984         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23985         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23986         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
23987         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23988         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
23989         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23990         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
23992         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
23993         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
23994         (__ASSUME_SOCKETCALL): Do not define.
23995         (__ASSUME_IPC64): Define unconditionally.
23996         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23997         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23998         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
23999         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24000         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
24001         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24002         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
24003         Likewise.
24005         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
24006         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
24007         (__ASSUME_SOCKETCALL): Do not define.
24008         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
24009         (__ASSUME_FUTEX_LOCK_PI): Likewise.
24010         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24011         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
24012         (__ASSUME_REQUEUE_PI): Define unconditionally.
24013         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
24014         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
24015         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24016         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
24017         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24018         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24020         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
24021         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
24022         (__ASSUME_SOCKETCALL): Do not define.
24023         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
24024         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24025         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24026         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
24027         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24028         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
24030         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
24031         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
24032         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24033         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
24034         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24035         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
24036         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24037         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
24038         (__ASSUME_GETCPU_SYSCALL): Likewise.
24040         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
24041         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
24042         cases for individual architectures.
24043         * sysdeps/gnu/configure: Regenerated.
24044         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
24045         LIBC_SLIBDIR_RTLDDIR.
24046         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
24047         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
24048         LIBC_SLIBDIR_RTLDDIR.
24049         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
24050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
24051         LIBC_SLIBDIR_RTLDDIR.
24052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
24053         Regenerated.
24054         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
24055         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
24056         file.
24057         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
24058         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
24059         file.
24060         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
24061         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
24062         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
24063         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
24065         * sysdeps/aarch64/shlib-versions: Move to ...
24066         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
24067         * sysdeps/alpha/shlib-versions: Move to ...
24068         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
24069         * sysdeps/arm/shlib-versions: Move to ...
24070         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
24071         * sysdeps/hppa/shlib-versions: Move all contents except for
24072         libgcc_s entry to ...
24073         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
24074         entry from ...
24075         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
24076         * sysdeps/ia64/shlib-versions: Move to ...
24077         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
24078         entry from ...
24079         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
24080         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
24081         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
24082         * sysdeps/microblaze/shlib-versions: Move to ...
24083         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
24084         * sysdeps/mips/shlib-versions: Move to ...
24085         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
24086         entry from ...
24087         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
24088         * sysdeps/tile/shlib-versions: Move to ...
24089         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
24090         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
24091         from ...
24092         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
24093         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
24094         entry from ...
24095         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
24097 2014-07-17  Will Newton  <will.newton@linaro.org>
24099         * sysdeps/arm/bits/atomic.h
24100         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
24101         (__arch_compare_and_exchange_bool_16_int): Likewise.
24102         (__arch_compare_and_exchange_bool_64_int): Likewise.
24104         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
24105         into an #else block.
24107 2014-07-16  Roland McGrath  <roland@hack.frob.com>
24109         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
24110         just Linux configurations.  Test empirically that the compiler sets
24111         __ARM_EABI__, rather than using the tuple to decide.
24112         * sysdeps/arm/preconfigure: Regenerated.
24113         * sysdeps/unix/sysv/linux/arm/configure: File removed.
24114         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
24115         contents appended ...
24116         * sysdeps/arm/configure.ac: ... here.
24117         * sysdeps/arm/configure: Regenerated.
24119 2014-07-15  Roland McGrath  <roland@hack.frob.com>
24121         * nptl/pthread_kill.c: New file.
24122         * nptl/pthread_sigmask.c: New file.
24123         * nptl/pthread_sigqueue.c: New file.
24125         * sysdeps/nptl/lowlevellock.h: New file.
24126         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
24127         * sysdeps/nptl/lowlevellock-futex.h: New file.
24129         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
24130         Remove dead declarations.
24132 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
24134         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
24135         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
24136         config-cflags-avx2.
24137         * sysdeps/x86_64/configure.ac: Likewise.
24138         * sysdeps/i386/configure: Regenerated.
24139         * sysdeps/x86_64/configure: Likewise.
24140         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24141         memset-avx2 only if config-cflags-avx2 is yes.
24142         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24143         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
24144         defined.
24145         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
24146         only if HAVE_AVX2_SUPPORT is defined.
24147         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24149 2014-07-14  Alan Modra  <amodra@gmail.com>
24151         [BZ #17153]
24152         * elf/elf.h (DT_PPC64_NUM): Correct value.
24153         * NEWS: Add to fixed bug list.
24155 2014-07-13  Jim Meyering  <meyering@fb.com>
24157         [BZ 17150]
24158         regex: don't deref NULL upon heap allocation failure
24159         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
24160         failure in one more place.
24161         To trigger the segfault, configure grep -with-included-regex,
24162         build it, and run these commands:
24163         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
24165 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
24167         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24169 2014-07-11  Richard Henderson  <rth@redhat.com>
24171         * sysdeps/aarch64/libm-test-ulps: Update.
24173 2014-07-10  Florian Weimer  <fweimer@redhat.com>
24175         [BZ #17135]
24176         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
24177         * nptl/allocatestack.c (__nptl_setxid_error): New function.
24178         (__nptl_setxid): Initialize error member.  Call
24179         __nptl_setxid_error.
24180         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
24181         * nptl/descr.h (struct xid_command): Add error member.
24182         * nptl/tst-setuid3.c: New file.
24183         * nptl/Makefile (tests): Add it.
24185 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24187         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
24188         New define.
24189         (__lll_trylock): Use __lll_base_trylock.
24190         (__lll_cond_trylock): Likewise.
24192 2014-07-10  Roland McGrath  <roland@hack.frob.com>
24194         * nptl/pthread_create.c (start_thread): Use atomic_or and
24195         lll_futex_wake directly rather than lll_robust_dead.
24196         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24197         (lll_robust_dead): Macro removed.
24198         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
24199         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24200         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24201         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24202         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24203         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24204         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24205         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24206         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24207         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24208         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24209         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24210         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24211         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24212         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24214         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24215         Use atomic_compare_and_exchange_val_acq directly rather than
24216         lll_robust_trylock.
24217         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
24218         (__lll_robust_trylock, lll_robust_trylock): Removed.
24219         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
24220         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
24221         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
24222         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
24223         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
24224         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
24225         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
24226         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
24227         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
24228         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
24229         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24230         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
24231         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
24232         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
24234 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24236         * manual/locale.texi (Locale Names): New section documenting
24237         locale name syntax.  Adjust menu and node chaining accordingly.
24238         (Choosing Locale): Reference Locale Names, Locale Categories.
24239         Mention setting LC_ALL=C.  Reflect that name syntax is now
24240         documented.
24241         (Locale Categories): New section title.  Reference Locale Names.
24242         LC_ALL is an environment variable, but not a category.
24243         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
24244         description, now in Locale Name.  Reference that section.  Locale
24245         name syntax is now documented.
24247 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24249         [BZ #17137]
24250         * locale/findlocale.c (name_present, valid_locale_name): New
24251         functions.
24252         (_nl_find_locale): Use the loc_name variable to store name
24253         candidates.  Call name_present and valid_locale_name to check and
24254         validate locale names.  Return an error if the locale is invalid.
24256 2014-07-02  Florian Weimer  <fweimer@redhat.com>
24258         * locale/setlocale.c (setlocale): Use strdup for allocating
24259         composite name copy.
24261 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24263         Sync up with gnulib.
24264         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
24265         [!_LIBC && ENABLE_NLS]: Include gettext.h.
24266         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
24267         and _GL_ARG_NONNULL.
24268         [USE_UNLOCKED_IO]: Include unlocked-io.h.
24269         [!_LIBC]: Include code for Windows and Cygwin.
24270         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
24271         Include prototype for int strerror_r.
24272         [!_LIBC] (is_open): New function.
24273         (flush_stdout): New function.
24274         (print_errno_message): Use it.
24275         (error): Likewise.
24276         (error_at_line): Likewise.
24277         (error_tail) Add function attribute macros.  Use
24278         __builtin_expect.
24280         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
24282         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
24284         * io/ftw.c: Include sys/param.h unconditionally.
24286         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
24288         [BZ #17125]
24289         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
24290         libc_freeres_ptr.
24291         (freecache): New function to free CACHE on exit.
24293         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
24294         initialization.
24296 2014-07-09  David S. Miller  <davem@davemloft.net>
24298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24300         * sysdeps/sparc/nptl/internaltypes.h: Delete.
24301         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
24302         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
24303         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
24304         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
24305         * sysdeps/sparc/nptl/sem_init.c: Likewise.
24306         * sysdeps/sparc/nptl/sem_post.c: Likewise.
24307         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
24308         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
24309         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
24310         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
24311         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
24312         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
24314 2014-07-09  Andreas Schwab  <schwab@suse.de>
24316         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
24317         output.
24318         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
24319         (do_test): Likewise.
24321         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24323 2014-07-09  Will Newton  <will.newton@linaro.org>
24325         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
24326         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
24327         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
24328         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
24329         * sysdeps/hppa/start.S (_start): Likewise.
24331 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24333         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
24335         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
24336         defined.
24338 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24340         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
24341         after checking that it is non-NULL.
24343         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
24345 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24347         * sysdeps/powerpc/memmove.c: Remove file.
24348         * sysdeps/powerpc/powerpc32/power4/memcopy.h
24349         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
24350         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
24351         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
24352         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
24353         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
24354         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
24355         string memmove instead of removed powerpc one.
24357         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24358         [weak_alias]: Fix compiler warning due trailing data.
24359         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
24360         [weak_alias]: Likewise.
24361         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
24362         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
24364         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24365         (__libc_ifunc_impl_list): Add memmove functions.
24367 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24369         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
24370         Remove code.
24371         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
24372         Likewise.
24373         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
24374         Likewise.
24375         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
24376         Likewise.
24377         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
24378         Likewise.
24379         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
24380         Likewise.
24381         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
24382         Likewise.
24383         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
24384         Likewise.
24385         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
24386         Likewise.
24387         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
24388         Likewise.
24389         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
24390         Likewise.
24391         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
24392         Likewise.
24393         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
24394         Likewise.
24395         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
24396         Likewise.
24397         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
24398         Likewise.
24399         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
24400         Likewise.
24401         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
24402         Likewise.
24404 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24406         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
24407         to avoid alignment traps in non-cacheable memory.
24408         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24410         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
24411         multiarch objects.
24412         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
24413         file: multiarch power7 memmove.
24414         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
24415         multiarch default memmove.
24416         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
24417         multiarch memove for powerpc32/power4.
24419         * string/bcopy.c: Use full path to include memmove.c.
24420         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
24421         multiarch objects.
24422         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
24423         bcopy for powerpc64.
24424         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
24425         bcopy for powerpc64.
24426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
24427         and memmove implementations.
24428         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
24429         optimized multiarch memmove for POWER7/powerpc64.
24430         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
24431         default multiarch memmove for powerpc64.
24432         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
24433         multiarch for powerpc64.
24434         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
24435         for POWER7/powerpc64.
24436         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
24437         memmove for POWER7/powerpc64.
24439         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
24440         glibc default one.
24442         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
24443         __ELF_NATIVE_CLASS equal to 64.
24445 2014-07-07  Roland McGrath  <roland@hack.frob.com>
24447         * sysdeps/nptl/lowlevellock.h: File removed.
24449         * NEWS: NPTL is no longer an add-on!
24450         * nptl/internaltypes.h: Moved ...
24451         * sysdeps/nptl/internaltypes.h: ... here.
24452         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
24453         * sysdeps/nptl/fork.c: Likewise.
24454         * sysdeps/nptl/gai_misc.h: Likewise.
24455         * sysdeps/nptl/librt-cancellation.c: Likewise.
24456         * sysdeps/nptl/jmp-unwind.c: Likewise.
24457         * sysdeps/nptl/setxid.h: Likewise.
24458         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
24459         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
24460         * sysdeps/unix/sysv/linux/arm/Implies: New file.
24461         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
24462         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
24463         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
24464         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
24465         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
24466         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
24467         * sysdeps/unix/sysv/linux/mips/Implies: New file.
24468         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
24469         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
24470         * sysdeps/unix/sysv/linux/sh/Implies: New file.
24471         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
24472         * sysdeps/unix/sysv/linux/tile/Implies: New file.
24473         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
24474         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
24475         * nptl/Makeconfig: Moved ...
24476         * sysdeps/nptl/Makeconfig: ... here.
24477         * nptl/configure: File removed.
24478         * nptl/ANNOUNCE: File removed.
24479         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
24480         * sysdeps/unix/sysv/linux/configure: Regenerated.
24482         * nptl/Makefile (routines): Add libc_pthread_init,
24483         libc_multiple_threads, register-atfork and unregister-atfork.
24484         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
24485         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
24486         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
24487         pthread-pi-defines.sym, structsem.sym.
24488         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
24489         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
24490         [$(subdir) = nptl] (tests): Add tst-setgetname.
24491         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
24492         * sysdeps/unix/sysv/linux/sigaction.c: Just include
24493         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
24494         [!LIBC_SIGACTION]: Remove aliases.
24495         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
24496         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
24497         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
24498         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
24499         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
24500         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
24501         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24502         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24503         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
24504         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
24505         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
24506         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
24507         __libc_allocate_rtsig_private.
24508         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
24509         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
24510         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
24511         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
24512         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
24513         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
24514         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
24515         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
24516         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
24517         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
24518         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
24519         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
24520         * nptl/internaltypes.h: ... here.
24521         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
24522         * sysdeps/nptl/jmp-unwind.c: ... here.
24523         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
24524         * nptl/libc-lowlevellock.c: ... here.
24525         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
24526         * nptl/libc_multiple_threads.c: ... here.
24527         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
24528         * nptl/libc_pthread_init.c: ... here.
24529         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
24530         * nptl/lowlevelbarrier.sym: ... here.
24531         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
24532         * nptl/lowlevelcond.sym: ... here.
24533         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
24534         * nptl/lowlevellock.c: ... here.
24535         * nptl/lowlevellock.h: Moved ...
24536         * sysdeps/nptl/lowlevellock.h: ... here.
24537         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
24538         * nptl/lowlevelrobustlock.c: ... here.
24539         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
24540         * nptl/lowlevelrobustlock.sym: ... here.
24541         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
24542         * nptl/lowlevelrwlock.sym: ... here.
24543         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
24544         * nptl/pt-fork.c: ... here.
24545         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
24546         * nptl/pthread-pi-defines.sym: ... here.
24547         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
24548         * nptl/pthread_attr_getaffinity.c: ... here.
24549         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
24550         * nptl/pthread_attr_setaffinity.c: ... here.
24551         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
24552         * nptl/pthread_mutex_cond_lock.c: ... here.
24553         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
24554         Update #include.
24555         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
24556         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
24557         * nptl/pthread_once.c: ... here, replacing old file.
24558         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
24559         * nptl/pthread_yield.c: ... here.
24560         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
24561         * nptl/register-atfork.c: ... here.
24562         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
24563         * nptl/sem_post.c: ... here.
24564         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
24565         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
24566         * nptl/sem_timedwait.c: ... here.
24567         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
24568         * nptl/sem_trywait.c: ... here.
24569         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
24570         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
24571         * nptl/sem_wait.c: ... here.
24572         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
24573         * nptl/structsem.sym: ... here.
24574         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
24575         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
24576         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
24577         * nptl/unregister-atfork.c: ... here.
24578         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
24579         * nptl/unwindbuf.sym: ... here.
24580         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
24581         * sysdeps/nptl/fork.c: ... here.
24582         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
24583         * sysdeps/nptl/fork.h: ... here.
24584         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
24585         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
24586         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
24587         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
24588         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
24589         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
24590         * sysdeps/unix/sysv/linux/getpid.c: ... here.
24591         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
24592         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
24593         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
24594         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
24595         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
24596         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
24597         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
24598         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
24599         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
24600         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
24601         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
24602         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
24603         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
24604         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
24605         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
24606         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
24607         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
24608         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
24609         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
24610         * sysdeps/unix/sysv/linux/raise.c: ... here.
24611         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
24612         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
24613         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
24614         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
24615         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
24616         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
24617         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
24618         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
24619         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
24620         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
24621         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
24622         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
24623         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
24624         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
24625         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
24627 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24629         * sysdeps/generic/memcopy.h: Add comment for
24630         MEMCPY_OK_FOR_FWD_MEMMOVE.
24632 2014-07-04  Will Newton  <will.newton@linaro.org>
24634         * string/memchr.c: Merge from gnulib.
24635         [_LIBC]: Remove conditionals.
24636         (__ptr_t): Remove define.
24637         (LONG_MAX_32_BITS): Likewise.
24638         (LONG_MAX): Likewise.
24639         (MEMCHR): Use ANSI prototype and optimize algorithm.
24641         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
24643 2014-07-03  Roland McGrath  <roland@hack.frob.com>
24645         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
24646         (lll_futex_timed_wait_bitset): Fix syscall argument count.
24648         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
24649         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
24650         in a bare environment with no <stdlib.h> installed.
24651         * sysdeps/nptl/configure: Regenerated.
24653         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
24655         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
24656         AC_EGREP_CPP for kernel header checks, so they only succeed if
24657         including <linux/version.h> actually works right.
24658         * sysdeps/unix/sysv/linux/configure: Regenerated.
24660         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
24661         value so it's not diagnosed as unused.
24663         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
24664         thing) with "ifeq ($(subdir),rt)".
24666 2014-07-03  Richard Henderson  <rth@redhat.com>
24668         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
24669         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
24670         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
24672         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
24673         (math_force_eval): New.
24675         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
24676         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
24678         * sysdeps/alpha/fpu/s_round.c: Remove file.
24679         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
24681         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
24682         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
24683         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
24684         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
24685         (_dl_start, print_statistics): Likewise.
24686         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
24687         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
24689         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24690         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24691         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24692         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24693         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24694         (HP_SMALL_TIMING_AVAIL): Define.
24695         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24696         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24697         (HP_SMALL_TIMING_AVAIL): Define.
24698         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24699         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
24701         * sysdeps/aarch64/hp-timing.h: New file.
24703         * sysdeps/generic/hp-timing.h: Remove dead comment.
24704         * sysdeps/generic/hp-timing-common.h: New file.
24705         * sysdeps/alpha/hp-timing.h: Include it.
24706         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
24707         * sysdeps/i386/i686/hp-timing.h: Likewise.
24708         * sysdeps/ia64/hp-timing.h: Likewise.
24709         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24710         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24711         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24712         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24713         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
24714         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
24715         (hp_timing_t): New.
24717         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
24718         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
24719         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
24720         * elf/rtld.c (_dl_start_final): Likewise.
24721         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
24722         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24723         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24724         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24725         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24726         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24727         (HP_TIMING_DIFF_INIT): Remove.
24728         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24729         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
24730         (HP_TIMING_DIFF_INIT): Remove.
24731         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
24732         * sysdeps/i386/i686/hp-timing.c: Remove file.
24733         * sysdeps/x86_64/hp-timing.c: Remove file.
24734         * sysdeps/ia64/hp-timing.c: Remove file.
24735         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
24736         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
24737         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
24738         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
24740         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
24741         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
24742         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
24743         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24744         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
24745         (HP_TIMING_ACCUM): Remove.
24746         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24747         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
24748         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
24750         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
24751         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
24752         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
24753         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
24754         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
24755         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24756         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
24757         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
24759         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
24761 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
24763         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
24765 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24767         Sync up with gettext.
24768         * intl/loadmsgcat.c: Define O_BINARY if not defined.
24769         [_MSC_VER]: Include malloc.h
24770         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
24771         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
24772         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
24773         TEMP_FAILURE_RETRY.  Cast return of alloca.
24774         [!_LIBC] Call gl_rwlock_init.
24775         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
24777 2014-07-02  Roland McGrath  <roland@hack.frob.com>
24779         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
24780         before checking its value.
24782 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24784         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
24786         * debug/memcpy_chk.c: Don't include pagecopy.h.
24787         * debug/mempcpy_chk.c: Likewise.
24788         * string/memcpy.c: Likewise.
24789         * string/memmove.c: Likewise.
24790         * sysdeps/powerpc/memmove.c: Likewise.
24791         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
24792         definition of PAGE_COPY_FWD_MAYBE here...
24793         * sysdeps/generic/pagecopy.h: ... from here.
24794         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
24796 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
24797             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24799         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
24800         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
24801         optimizations.
24802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24803         (__libc_ifunc_impl_list): Likewise.
24804         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
24805         multiarch strcat for PPC64.
24806         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
24807         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
24809 2014-07-02  Roland McGrath  <roland@hack.frob.com>
24811         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
24813 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24815         * intl/loadmsgcat.c: Remove declaration of
24816         get_sysdep_segment_value.
24817         (get_sysdep_segment_value): Use ISO C style.
24818         (_nl_load_domain): Use ISO C style.  Get rid of redundant
24819         semicolon.  Fix typo and formatting in comment.
24820         (_nl_unload_domain): Use ISO C style.
24822         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
24824 2014-07-02  Will Newton  <will.newton@linaro.org>
24826         * malloc/obstack.c: Merge from gnulib master.
24827         [HAVE_CONFIG_H]: Remove conditional code.
24828         [!_LIBC]: Include config.h.
24829         [!ELIDE_CODE]: Don't include inttypes.h, include
24830         stdint.h unconditionally.
24831         (print_and_abort): Mark as _Noreturn.
24832         (_obstack_allocated_p): Mark as __attribute_pure__.
24833         (obstack_free): Rename to __obstack_free.
24834         [!__attribute__]: Remove conditional code.
24835         * malloc/obstack.h: Merge from gnulib master.
24836         [__cplusplus]: Move conditional down.
24837         [!__attribute_pure__]: Define __attribute_pure__ here
24838         if it is not already defined.
24839         (_obstack_memory_used): Mark as __attribute_pure__.
24840         [!__obstack_free]: Define as obstack_free.
24841         [__GNUC__]: Remove check for ancient NeXT gcc.
24843 2014-07-02  Will Newton  <will.newton@linaro.org>
24844             Paul Eggert  <eggert@cs.ucla.edu>
24846         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
24848 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24850         * resolv/gethnamaddr.c: Add comment warning that the file is
24851         not maintained.
24853 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
24855         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
24856         entries.
24858         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
24859         entry for aio_cancel and aio_cancel64.
24860         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
24861         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
24862         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
24863         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
24864         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
24865         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
24866         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
24867         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
24868         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
24869         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
24870         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
24871         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
24872         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
24874 2014-07-01  Roland McGrath  <roland@hack.frob.com>
24876         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
24877         * nptl/pthread_mutex_lock.c: Likewise.
24878         * nptl/pthread_mutex_timedlock.c: Likewise.
24879         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
24881 2014-07-01  Richard henderson  <rth@redhat.com>
24883         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
24884         (__isnan, __isnanl): Remove.
24885         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
24887         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24889 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
24891         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24893 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
24895         * resolv/nss_dns/dns-host.c (getanswer_r)
24896         [MULTI_PTRS_ARE_ALIASES]: Remove code.
24898 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
24900         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24901         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
24902         undefine.
24903         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
24904         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
24906 2014-07-01  Roland McGrath <roland@hack.frob.com>
24908         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
24909         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
24911         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
24912         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
24914         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
24915         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
24916         ... here.
24917         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
24918         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
24920         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
24921         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
24922         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
24923         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
24925         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
24926         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
24927         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
24928         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
24929         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
24930         Moved ...
24931         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
24932         ... here.
24933         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
24934         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
24935         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
24936         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
24937         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
24938         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
24939         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
24940         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
24941         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
24942         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
24943         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
24944         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
24945         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
24946         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
24947         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
24948         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
24949         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
24950         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
24951         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
24952         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
24953         ... here.
24954         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
24955         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
24956         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
24957         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
24958         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
24959         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
24960         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
24961         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
24963 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
24965         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
24966         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
24967         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
24968         Add sysdep.
24970 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24974 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
24976         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24977         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24979         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24981         * sysdeps/arm/libm-test-ulps: Regenerated.
24983 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
24984             Roland McGrath <roland@hack.frob.com>
24986         * test-skeleton.c (signal_handler): Kill the whole process group
24987         before killing the child individually.
24988         (main): Report any failure on `setpgid'.
24990 2014-06-30  Roland McGrath  <roland@hack.frob.com>
24992         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
24993         from _TLS_H to _ARM_NPTL_TLS_H.
24994         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
24995         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
24997 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
24999         [BZ #16539]
25000         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
25001         (__expm1l): Return argument unchanged when small but not
25002         subnormal.
25004         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
25005         include macro name.
25006         (_FP_UNPACK_RAW_1_P): Likewise.
25007         (_FP_PACK_RAW_1): Likewise.
25008         (_FP_PACK_RAW_1_P): Likewise.
25009         (_FP_MUL_MEAT_1_wide): Likewise.
25010         (_FP_MUL_MEAT_DW_1_hard): Likewise.
25011         (_FP_MUL_MEAT_1_hard): Likewise.
25012         (_FP_DIV_MEAT_1_imm): Likewise.
25013         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
25014         (_FP_DIV_MEAT_1_udiv): Likewise.
25015         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
25016         (_FP_UNPACK_RAW_2): Likewise.
25017         (_FP_UNPACK_RAW_2_P): Likewise.
25018         (_FP_PACK_RAW_2): Likewise.
25019         (_FP_PACK_RAW_2_P): Likewise.
25020         (_FP_MUL_MEAT_DW_2_wide): Likewise.
25021         (_FP_MUL_MEAT_2_wide): Likewise.
25022         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
25023         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
25024         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
25025         (_FP_MUL_MEAT_2_gmp): Likewise.
25026         (_FP_DIV_MEAT_2_udiv): Likewise.
25027         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
25028         (_FP_FRAC_SRL_4): Likewise.
25029         (_FP_FRAC_SRST_4): Likewise.
25030         (_FP_FRAC_SRS_4): Likewise.
25031         (_FP_UNPACK_RAW_4): Likewise.
25032         (_FP_UNPACK_RAW_4_P): Likewise.
25033         (_FP_PACK_RAW_4): Likewise.
25034         (_FP_PACK_RAW_4_P): Likewise.
25035         (_FP_MUL_MEAT_DW_4_wide): Likewise.
25036         (_FP_MUL_MEAT_4_wide): Likewise.
25037         (_FP_MUL_MEAT_4_gmp): Likewise.
25038         (umul_ppppmnnn): Likewise.
25039         (_FP_DIV_MEAT_4_udiv): Likewise.
25040         (__FP_FRAC_ADD_4): Likewise.
25041         (__FP_FRAC_SUB_3): Likewise.
25042         (__FP_FRAC_SUB_4): Likewise.
25043         (__FP_FRAC_DEC_3): Likewise.
25044         (__FP_FRAC_DEC_4): Likewise.
25045         (__FP_FRAC_ADDI_4): Likewise.
25046         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
25047         (_FP_FRAC_SRL_8): Likewise.
25048         (_FP_FRAC_SRS_8): Likewise.
25050         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
25051         include macro name.
25052         (FP_UNPACK_RAW_EP): Likewise.
25053         (FP_PACK_RAW_E): Likewise.
25054         (FP_PACK_RAW_EP): Likewise.
25055         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
25056         (_FP_ISSIGNAN): Likewise.
25057         (_FP_ADD_INTERNAL): Likewise.
25058         (_FP_FMA): Likewise.
25059         (_FP_CMP): Likewise.
25060         (_FP_SQRT): Likewise.
25061         (_FP_TO_INT): Likewise.
25062         (_FP_FROM_INT): Likewise.
25063         (FP_EXTEND): Likewise.
25064         (_FP_DIV_MEAT_N_loop): Likewise.
25066 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
25068         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
25069         throughout.
25071 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
25073         [BZ #17097]
25074         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
25075         result with correct sign in case of exponents that produce
25076         overflow except for X very close to 1.
25078 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
25080         mktime: merge #if/#ifdef usage from glibc
25081         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
25082         as that works with both Glibc's and Gnulib's style.
25083         See thread starting at Siddhesh Poyarekar's bug report at:
25084         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
25086 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25088         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
25089         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
25090         * sysdeps/tile/tilegx/memmove.c: Remove file.
25092 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
25094         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
25095         abi-name definition.
25096         * scripts/soversions.awk: Do not handle or generate ABI lines.
25097         * shlib-versions: Remove ABI entries.
25098         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
25099         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
25101 2014-06-27  Roland McGrath  <roland@hack.frob.com>
25103         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
25104         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
25105         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
25106         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
25107         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
25108         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
25109         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
25110         Moved ...
25111         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
25112         ... here.
25113         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
25114         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
25115         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
25116         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
25117         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
25118         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
25119         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
25120         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
25121         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
25122         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
25123         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
25124         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
25125         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
25126         Moved ...
25127         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
25128         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
25129         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
25130         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
25131         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
25132         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
25133         Moved ...
25134         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
25135         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
25136         Moved ...
25137         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
25138         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
25139         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
25140         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
25141         Moved ...
25142         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
25143         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
25144         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
25145         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
25146         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
25147         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
25148         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
25149         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
25150         Moved ...
25151         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
25152         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
25153         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
25154         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
25155         Moved ...
25156         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
25157         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
25158         Moved ...
25159         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
25160         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
25161         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
25162         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
25163         Moved ...
25164         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
25165         ... here.
25166         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
25167         Identical file removed.
25168         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
25169         Moved ...
25170         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
25171         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
25172         Identical file removed.
25173         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
25174         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
25175         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
25176         Moved ...
25177         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
25178         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
25179         Identical file removed.
25180         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
25181         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
25182         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
25183         Identical file removed.
25184         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
25185         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
25186         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
25187         Identical file removed.
25188         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
25189         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
25190         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
25191         Identical file removed.
25192         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
25193         Moved ...
25194         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
25195         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
25196         Identical file removed.
25197         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
25198         Moved ...
25199         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
25200         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
25201         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
25202         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
25203         Identical file removed.
25204         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
25205         Moved ...
25206         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
25207         ... here.
25208         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
25209         Identical file removed.
25210         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
25211         Moved ...
25212         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
25213         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
25214         Identical file removed.
25215         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
25216         Moved ...
25217         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
25218         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
25219         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
25220         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
25221         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
25222         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
25223         Moved ...
25224         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
25225         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
25226         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
25228         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
25229         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
25230         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
25231         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
25232         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
25234 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
25236         [BZ #17092]
25237         * nscd/nscd.c (monitor_child): Return exit status of child
25238         instead of return value from wait syscall.
25240 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
25242         * configure.ac (libc_commonpagesize): Remove variable.
25243         (libc_relro_required): Likewise.
25244         (libc_cv_z_relro): Remove configure test.
25245         * configure: Regenerated.
25246         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
25247         variable.
25248         (libc_relro_required): Likewise.
25249         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
25250         (libc_relro_required): Likewise.
25251         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
25252         (libc_relro_required): Likewise.
25253         * sysdeps/arm/preconfigure: Regenerated.
25254         * sysdeps/ia64/preconfigure: Remove file.
25255         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
25256         variable.
25257         (libc_relro_required): Likewise.
25259         [BZ #16561]
25260         [BZ #16562]
25261         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
25262         (__ieee754_yn): Set FE_TONEAREST mode internally and then
25263         recompute overflowing results in original rounding mode.
25264         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
25265         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
25266         recompute overflowing results in original rounding mode.
25267         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
25268         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25269         recompute overflowing results in original rounding mode.
25270         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
25271         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25272         recompute overflowing results in original rounding mode.
25273         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
25274         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
25275         recompute overflowing results in original rounding mode.
25276         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
25277         (libc_feholdsetround_ctx): New macro.
25278         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
25279         * sysdeps/i386/fpu/libm-test-ulps: Update.
25280         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
25282 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25284         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
25285         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
25286         corresponding .cpsetup call.
25288 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25290         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
25291         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
25292         * sysdeps/arm/Makefile [$(subdir) = csu]
25293         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
25294         (static-only-routines): Add aeabi_read_tp here.
25295         (shared-only-routines): Add libc-aeabi_read_tp here.
25296         (CFLAGS-libc-start.c): Add -fexceptions here.
25297         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
25298         (sysdep_routines, static-only-routines, shared-only-routines):
25299         Don't add to these here.
25300         (CFLAGS-libc-start.c): Likewise.
25302         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
25303         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
25304         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
25305         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
25306         * sysdeps/arm/Makefile [$(subdir) = rt]
25307         (librt-sysdep_routines, librt-shared-only-routines):
25308         Append rt-aeabi_unwind_cpp_pr1 here.
25309         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
25310         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
25311         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
25312         (libpthread-sysdep_routines, libpthread-shared-only-routines):
25313         Append nptl-aeabi_unwind_cpp_pr1 here.
25314         (tests): Filter out tst-cleanupx4 here.
25315         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
25316         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
25317         Don't do those here.
25319 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25321         * scripts/list-sources.sh: Do not handle ports specially.
25323 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25325         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
25326         * sysdeps/arm/feupdateenv.c: Likewise.
25328         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
25330 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25332         * manual/texinfo.tex: Update to version 2014-05-05.10 with
25333         trailing whitespace removed.
25334         * scripts/config.guess: Update to version 2014-03-23.
25335         * scripts/config.sub: Update to version 2014-05-01
25336         * scripts/install-sh: Update to version 2013-12-25.23.
25337         * scripts/move-if-change: Update from gnulib.
25339 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25341         * debug/memmove_chk.c: Remove pagecopy.h include.
25343 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
25345         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
25346         identical to gnulib mktime.
25348 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
25350         * configure.ac: Do not test for machine being rs6000.  Do not test
25351         for powerpc*-*soft.
25352         * configure: Regenerated.
25354         [BZ #11505]
25355         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
25356         test.
25357         * configure: Regenerated.
25358         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
25359         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
25360         Remove configure test.
25361         * sysdeps/arm/configure: Regenerated.
25362         * sysdeps/nptl/configure.ac: Do not check
25363         libc_cv_asm_cfi_directives.
25364         * sysdeps/nptl/configure: Regenerated.
25365         * sysdeps/x86_64/nptl/configure.ac: Remove file.
25366         * sysdeps/x86_64/nptl/configure: Remove generated file.
25367         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
25368         unconditional.
25369         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
25371 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25373         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
25374         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
25375         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
25376         it is defined.
25378         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
25379         instead of whether it is defined.
25380         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
25381         * sysdeps/hppa/dl-machine.h: Likewise.
25382         * sysdeps/ia64/dl-machine.h: Likewise.
25383         * sysdeps/m68k/dl-machine.h: Likewise.
25384         * sysdeps/microblaze/dl-machine.h: Likewise.
25385         * sysdeps/mips/dl-machine.: Likewise.
25386         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
25387         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
25388         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25389         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25390         * sysdeps/sh/dl-machine.h: Likewise.
25391         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25392         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25393         * sysdeps/tile/dl-machine.h: Likewise.
25394         * sysdeps/x86_64/dl-machine.h: Likewise.
25396         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
25397         code.
25398         (verify_persistent_db): Likewise.
25400 2014-06-26  Roland McGrath  <roland@hack.frob.com>
25402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
25403         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
25404         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
25405         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
25406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
25407         Moved ...
25408         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
25409         ... here.
25410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
25411         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
25412         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
25413         Identical file removed.
25414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
25415         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
25416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
25417         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
25418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
25419         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
25420         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
25421         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
25422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
25423         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
25424         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25425         Moved ...
25426         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
25427         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
25428         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
25429         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
25430         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
25431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
25432         Moved ...
25433         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
25434         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
25435         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
25436         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
25437         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
25438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25439         Identical file removed.
25440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
25441         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
25442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
25443         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
25444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
25445         Moved ...
25446         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
25447         ... here.
25448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
25449         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
25450         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
25451         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
25452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
25453         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
25454         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
25455         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
25456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
25457         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
25458         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25459         Moved ...
25460         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
25461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
25462         Moved ...
25463         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
25464         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
25465         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
25466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
25467         Moved ...
25468         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
25469         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
25470         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
25472         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
25473         folded into ...
25474         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
25475         * sysdeps/unix/sysv/linux/s390/Versions
25476         (libpthread: GLIBC_2.19): New version set.
25477         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
25478         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
25479         (librt: GLIBC_2.3.3): New version set.
25480         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
25481         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
25482         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
25483         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
25484         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
25485         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
25486         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
25487         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
25488         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
25489         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
25490         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
25491         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
25492         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
25493         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
25494         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
25495         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
25496         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
25497         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
25498         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
25499         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
25500         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
25501         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
25502         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
25503         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
25504         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
25505         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
25506         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
25507         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
25508         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
25509         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
25510         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
25511         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
25512         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
25513         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
25514         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
25515         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
25516         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
25517         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
25518         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
25519         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
25520         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
25521         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
25522         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
25523         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
25524         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
25526         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
25527         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
25528         (__libc_vfork): Define the function under this name.
25529         [!NOT_IN_libc] (__vfork): Make this an alias.
25530         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25531         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
25532         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
25533         (__libc_vfork): Define the function under this name.
25534         [!NOT_IN_libc] (__vfork): Make this an alias.
25535         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
25536         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
25537         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
25538         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
25539         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
25540         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
25542         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
25543         code that was previously under [RESET_PID].
25544         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
25545         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
25546         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
25548         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
25549         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
25550         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
25551         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
25552         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
25553         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
25554         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
25555         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
25556         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
25557         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
25558         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
25559         Moved ...
25560         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
25561         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
25562         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
25563         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
25564         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
25565         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
25566         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
25567         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
25568         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
25569         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
25570         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
25571         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
25572         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
25573         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
25574         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
25575         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
25576         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
25577         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
25578         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
25579         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
25580         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
25581         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
25582         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
25583         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
25584         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
25585         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
25586         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
25587         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
25588         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
25590 2014-06-25  Roland McGrath  <roland@hack.frob.com>
25592         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
25593         that was previously under [RESET_PID].
25594         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
25596 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25598         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
25599         not undefine and redefine.
25600         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
25601         [O_CLOEXEC]: Make code unconditional.
25602         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
25603         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
25604         <kernel-features.h>.
25605         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
25606         conditional variable definition.
25607         (shm_open) [O_CLOEXEC]: Make code unconditional.
25608         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
25609         code.
25611         * configure.ac (USE_REGPARMS): Don't define here.
25612         * configure: Regenerated.
25613         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
25614         * sysdeps/i386/configure: Regenerated.
25616         * nptl/createthread.c: Don't include kernel-features.h.
25617         * nptl/pthread_cancel.c: Likewise.
25618         * nptl/pthread_condattr_setclock.c: Likewise.
25619         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
25620         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
25621         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
25622         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
25623         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
25624         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
25625         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25626         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
25627         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25628         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
25629         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
25630         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
25631         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
25632         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
25633         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
25634         * nscd/gai.c: Likewise.
25635         * nss/nss_db/db-open.c: Likewise.
25636         * sysdeps/generic/ldsodefs.h: Likewise.
25637         * sysdeps/sh/nptl/tls.h: Likewise.
25638         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
25639         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
25640         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
25641         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
25642         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
25643         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
25644         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
25645         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25646         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
25647         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
25648         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
25649         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
25650         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
25651         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
25652         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
25653         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
25654         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
25655         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
25656         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
25657         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
25658         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
25659         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
25660         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
25661         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
25662         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
25663         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
25664         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
25665         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
25666         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25667         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
25668         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
25669         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
25670         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
25671         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25672         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25673         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
25674         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25675         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
25676         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
25677         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
25678         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25679         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
25680         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
25681         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25682         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
25683         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
25684         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
25685         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
25686         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
25687         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
25688         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
25689         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
25690         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
25691         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
25692         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
25693         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25694         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25695         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
25696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
25698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
25699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
25700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
25701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
25702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
25703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
25704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
25707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
25708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
25709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
25710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
25711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
25716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
25717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
25718         * sysdeps/unix/sysv/linux/pread.c: Likewise.
25719         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
25720         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
25721         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
25722         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
25723         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
25724         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
25725         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
25726         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
25727         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
25728         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
25729         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
25730         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
25731         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
25732         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
25733         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
25734         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25735         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
25736         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
25737         * sysdeps/unix/sysv/linux/system.c: Likewise.
25738         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
25739         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
25740         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25741         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25742         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25743         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
25744         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
25746         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
25747         * configure: Regenerated.
25748         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
25750         * configure.ac (base_machine): Do not set specially for particular
25751         machines here.
25752         * configure: Regenerated.
25753         * sysdeps/powerpc/preconfigure: Move machine and base_machine
25754         settings from configure.ac.
25755         * sysdeps/i386/preconfigure: New file.
25756         * sysdeps/s390/preconfigure: Likewise.
25757         * sysdeps/sh/preconfigure: Likewise.
25758         * sysdeps/sparc/preconfigure: Likewise.
25760 2014-06-25  Roland McGrath  <roland@hack.frob.com>
25762         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
25763         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
25764         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
25765         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
25766         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
25767         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
25768         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
25769         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
25770         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
25771         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
25772         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
25773         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
25774         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
25775         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
25776         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
25777         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
25778         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
25779         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
25780         * sysdeps/sparc/sparc64/Makefile: ... appended here.
25782         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
25783         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
25784         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
25785         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
25786         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
25787         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
25788         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
25789         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
25790         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
25791         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
25792         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
25793         * sysdeps/sparc/sparc32/sem_post.c: ... here.
25794         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
25795         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
25796         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
25797         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
25798         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
25799         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
25800         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
25801         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
25802         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
25803         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
25804         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
25805         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
25806         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
25807         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
25808         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
25809         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
25810         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
25811         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
25812         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
25813         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
25814         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
25815         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
25816         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
25817         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
25818         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
25819         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
25821         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
25822         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
25823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
25824         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
25825         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
25826         Moved ...
25827         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
25828         ... here.
25829         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
25830         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
25831         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
25832         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
25833         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
25834         Moved ...
25835         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
25836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
25837         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
25838         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
25839         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
25840         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
25841         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
25842         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25843         Moved ...
25844         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
25845         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
25846         Moved ...
25847         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
25848         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
25849         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
25850         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
25851         Moved ...
25852         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
25853         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
25854         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
25855         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
25856         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
25857         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
25858         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
25859         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
25860         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
25861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
25862         Moved ...
25863         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
25864         ... here.
25865         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
25866         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
25867         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
25868         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
25869         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
25870         Moved ...
25871         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
25872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
25873         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
25874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
25875         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
25876         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
25877         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
25878         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25879         Moved ...
25880         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
25881         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
25882         Moved ...
25883         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
25884         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
25885         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
25886         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
25887         Moved ...
25888         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
25889         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
25890         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
25891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
25892         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
25894 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25896         * timezone/checktab.awk: Update from tzcode 2014e.
25897         * timezone/private.h: Likewise.
25898         * timezone/tzfile.h: Likewise.
25899         * timezone/zdump.c: Likewise.
25900         * timezone/zic.c: Likewise.
25902         * sysdeps/unix/sysv/linux/kernel-features.h
25903         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
25904         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
25905         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
25906         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25907         Remove conditional code.
25909 2014-06-25  Will Newton  <will.newton@linaro.org>
25911         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
25912         (_dl_arm_cap_flags): Add HWCAP2 values.
25913         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
25914         (_DL_HWCAP_COUNT): Increase to 37.
25915         (_DL_HWCAP_LAST): New define.
25916         (_DL_HWCAP2_LAST): New define.
25917         (_dl_procinfo): Add support for printing
25918         AT_HWCAP2 entries.
25919         (_dl_string_hwcap): Use _dl_hwcap_string.
25921 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25925 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
25927         * README: Do not mention ports directory.
25929         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
25930         Remove macro.
25931         * sysdeps/unix/sysv/linux/futimes.c: Do not include
25932         <kernel-features.h>.
25933         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
25934         conditional variable definition.
25935         (__futimes): Update comment.
25936         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
25937         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
25939         [BZ #16560]
25940         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
25941         arguments close to 0.
25942         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
25943         Likewise.
25944         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
25945         Likewise.
25946         * math/auto-libm-test-in: Add more tests of exp10.
25947         * math/auto-libm-test-out: Regenerated.
25948         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25950         * sysdeps/unix/sysv/linux/kernel-features.h
25951         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
25952         * sysdeps/unix/sysv/linux/readv.c: Do not include
25953         <kernel-features.h>.
25954         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25955         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25956         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25957         unconditional.
25958         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25959         conditional code.
25960         * sysdeps/unix/sysv/linux/writev.c: Do not include
25961         <kernel-features.h>.
25962         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
25963         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
25964         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
25965         unconditional.
25966         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
25967         conditional code.
25969 2014-06-25  Will Newton  <will.newton@linaro.org>
25971         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
25972         comment changes throughout the file.  Remove checks
25973         for HAVE_*_H definitions that are not required.
25974         (__gen_tempname): Call abort if an unknown kind value is
25975         passed.
25977 2014-06-25  Andreas Schwab  <schwab@suse.de>
25979         [BZ #17086]
25980         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
25981         scalbln, scalblnf, scalblnl in libc.
25983 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25985         [BZ #17086]
25986         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
25987         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
25988         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
25990 2014-06-24  Roland McGrath  <roland@hack.frob.com>
25992         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
25993         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
25994         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
25995         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
25996         Update #include.
25997         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
25998         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
25999         Update #include.
26000         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
26001         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
26002         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
26003         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
26004         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
26005         * sysdeps/x86/bits/pthreadtypes.h: ... here.
26006         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
26007         * sysdeps/x86/bits/semaphore.h: ... here.
26008         * sysdeps/x86/nptl/elide.h: Moved ...
26009         * sysdeps/x86/elide.h: ... here.
26010         * sysdeps/x86_64/nptl/Implies: File removed.
26011         * sysdeps/i386/nptl/Implies: File removed.
26013 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
26015         [BZ #16539]
26016         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
26017         return the argument for normal arguments with exponent below -64.
26018         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
26019         Likewise.
26020         * math/auto-libm-test-in: Add another test of expm1.
26021         * math/auto-libm-test-out: Regenerated.
26023         [BZ #16287]
26024         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
26025         calling __erfcl for arguments at least 16.
26026         * math/auto-libm-test-in: Add more tests of erf.
26027         * math/auto-libm-test-out: Regenerated.
26029         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
26030         individual architectures.
26031         * sysdeps/unix/sysv/linux/configure: Regenerated.
26032         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
26033         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
26034         * sysdeps/unix/sysv/linux/powerpc/configure.ac
26035         (ldd_rewrite_script): Define variable.
26036         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
26038         file.
26039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
26040         generated file.
26041         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
26042         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
26043         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
26044         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
26045         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
26046         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
26047         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
26048         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
26050 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26052         [BZ #17084]
26053         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
26054         Rename member __data.d to __data.__elision_data.
26056 2014-06-24  Wilco  <wdijkstr@arm.com>
26058         * NEWS: Add 16918 to fixed bug list.
26060 2014-06-24  Wilco  <wdijkstr@arm.com>
26062         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
26064 2014-06-24  Wilco  <wdijkstr@arm.com>
26066         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
26067         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
26068         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
26069         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
26070         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
26071         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
26072         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
26073         Use _FPU_MASK_RM.
26075 2014-06-24  Wilco  <wdijkstr@arm.com>
26077         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
26079 2014-06-24  Wilco  <wdijkstr@arm.com>
26081         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
26082         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
26083         * sysdeps/arm/fesetround.c (fesetround): Remove space.
26084         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
26086 2014-06-24  Wilco  <wdijkstr@arm.com>
26088         [BZ #16918]
26089         * sysdeps/arm/feupdateenv.c (feupdateenv):
26090         Rewrite to reduce FPSCR accesses and fix return value.
26092 2014-06-24  Wilco  <wdijkstr@arm.com>
26094         * sysdeps/arm/fclrexcpt.c (feclearexcept):
26095         Optimize to avoid unnecessary FPSCR writes.
26096         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
26097         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
26098         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
26099         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
26101 2014-06-24  Wilco  <wdijkstr@arm.com>
26103         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
26104         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
26105         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
26106         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
26107         Call libc_fetestexcept_vfp.
26108         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
26109         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
26110         __SOFTFP__ ifdef so that they can be built for softfp.
26112 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26114         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
26115         argument type signed char.
26117         * Makerules (check-abi): Dump diff of symlist if the test
26118         fails.
26120 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26122         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
26123         using abort.
26125         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
26126         Remove unused variable ST.
26128 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
26130         [BZ #16354]
26131         [BZ #17061]
26132         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
26133         small arguments before calling __expm1.
26134         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
26135         small arguments before calling __expm1f.
26136         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
26137         small arguments before calling __expm1l.
26138         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
26139         Likewise.
26140         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
26141         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
26142         spurious underflow for some cosh tests.
26143         * math/auto-libm-test-out: Regenerated.
26144         * sysdeps/i386/fpu/libm-test-ulps: Update.
26146         [BZ #17050]
26147         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
26148         (__ieee754_y1): Set errno if return value overflows.
26149         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
26150         (__ieee754_y1f): Set errno if return value overflows.
26151         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
26152         (__ieee754_y1l): Set errno if return value overflows.
26153         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
26154         (__ieee754_y1l): Set errno if return value overflows.
26155         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
26156         * math/auto-libm-test-out: Regenerated.
26158         * math/gen-auto-libm-tests.c: Document use of
26159         ignore-zero-inf-sign.
26160         (input_flag_type): Add value flag_ignore_zero_inf_sign.
26161         (input_flags): Add ignore-zero-inf-sign.
26162         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
26163         * math/gen-libm-test.pl (generate_testfile): Handle
26164         ignore-zero-inf-sign.
26165         * math/auto-libm-test-in: Mark some cpow tests with
26166         ignore-zero-inf-sign and some with xfail-rounding.
26167         * math/auto-libm-test-out: Regenerated.
26168         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
26169         * sysdeps/i386/fpu/libm-test-ulps: Update.
26170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26172         [BZ #16315]
26173         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
26174         overflowing or underflowing operations take place with sign of
26175         result.
26176         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
26177         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
26178         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
26179         (__ieee754_pow): Recompute overflowing and underflowing results in
26180         original rounding mode.
26181         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
26182         (__powl_helper): Allow negative argument X and scale negated value
26183         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
26184         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
26185         overflowing or underflowing operations take place with sign of
26186         result.
26187         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
26188         Include <math.h>.
26189         * math/auto-libm-test-in: Add more tests of pow.
26190         * math/auto-libm-test-out: Regenerated.
26191         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
26192         (pow_tonearest_test_data): Remove.
26193         (pow_test_tonearest): Likewise.
26194         (pow_towardzero_test_data): Likewise.
26195         (pow_test_towardzero): Likewise.
26196         (pow_downward_test_data): Likewise.
26197         (pow_test_downward): Likewise.
26198         (pow_upward_test_data): Likewise.
26199         (pow_test_upward): Likewise.
26200         (main): Don't call removed functions.
26201         * sysdeps/i386/fpu/libm-test-ulps: Update.
26202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26204 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
26207         Moved ...
26208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
26209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26210         Moved ...
26211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
26212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
26213         Moved ...
26214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
26215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26216         Moved ...
26217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
26218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26219         File removed.
26220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
26221         File removed.
26222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
26223         File removed.
26224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
26225         File removed.
26226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
26227         File removed.
26228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
26229         File removed.
26230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
26231         File removed.
26232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26233         File removed.
26234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
26235         File removed.
26236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
26237         File removed.
26238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
26239         File removed.
26240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
26241         File removed.
26242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
26243         Moved ...
26244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
26245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
26246         Moved ...
26247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
26248         ... here.
26249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
26250         Moved ...
26251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
26252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
26253         Moved ...
26254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
26255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
26256         Moved ...
26257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
26258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
26259         Moved ...
26260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
26261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
26262         Moved ...
26263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
26264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
26265         Moved ...
26266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
26267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
26268         Moved ...
26269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
26270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
26271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
26272         ... here.
26273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
26274         Moved ...
26275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
26276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
26277         Moved ...
26278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26279         ... here.
26280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
26281         Moved ...
26282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26283         ... here.
26284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26285         Moved ...
26286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26287         ... here.
26288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26289         Moved ...
26290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
26291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26292         Moved ...
26293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
26294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
26295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
26296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26297         Moved ...
26298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
26299         ... here.
26300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
26301         Moved ...
26302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
26303         ... here.
26304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26305         Moved ...
26306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
26307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
26308         Moved ...
26309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
26310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26311         Moved ...
26312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
26313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26314         Moved ...
26315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
26316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26317         Moved ...
26318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
26319         ... here.
26320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
26321         Moved ...
26322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
26323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26324         Moved ...
26325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
26326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
26327         Moved ...
26328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
26329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26330         Moved ...
26331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
26332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
26333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
26334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26335         Moved ...
26336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
26337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
26338         Moved ...
26339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
26340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26341         Moved ...
26342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
26343         ... here.
26344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26345         Moved ...
26346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
26347         ... here.
26348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26349         Moved ...
26350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
26351         ... here.
26352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
26353         Moved ...
26354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
26355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26356         Moved ...
26357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
26358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
26359         Moved ...
26360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
26361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26362         Moved ...
26363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
26364         ... here.
26365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
26366         Moved ...
26367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
26368         ... here.
26369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26370         Moved ...
26371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
26372         ... here.
26373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
26374         Moved ...
26375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
26376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26377         Moved ...
26378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
26380 2014-06-23  Will Newton  <will.newton@linaro.org>
26381             Wilco  <wdijkstr@arm.com>
26383         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
26384         implementation.  Include get-rounding-mode.h.
26385         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
26386         [!libc_feholdsetround_noex_ctx]: Define
26387         libc_feholdsetround_noex_ctx.
26388         [!libc_feholdsetround_noexf_ctx]: Define
26389         libc_feholdsetround_noexf_ctx.
26390         [!libc_feholdsetround_noexl_ctx]: Define
26391         libc_feholdsetround_noexl_ctx.
26392         (libc_feholdsetround_ctx): New function.
26393         (libc_feresetround_ctx): New function.
26394         (libc_feholdsetround_noex_ctx): New function.
26395         (libc_feresetround_noex_ctx): New function.
26397 2014-06-23  Roland McGrath  <roland@hack.frob.com>
26399         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
26400         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
26401         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
26402         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
26403         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
26404         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
26406         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
26407         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
26408         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
26409         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
26410         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
26411         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
26412         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
26413         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
26414         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
26415         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
26416         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
26417         Moved ...
26418         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
26419         ... here.
26420         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
26421         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
26422         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
26423         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
26424         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
26425         Moved ...
26426         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
26427         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
26428         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
26429         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
26430         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
26431         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
26432         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
26433         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
26434         Moved ...
26435         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
26436         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
26437         Moved ...
26438         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
26439         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
26440         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
26441         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
26442         Moved ...
26443         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
26444         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
26445         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
26446         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
26447         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
26448         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
26449         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
26450         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
26451         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
26452         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
26453         Moved ...
26454         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
26455         ... here.
26456         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
26457         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
26458         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
26459         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
26460         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
26461         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
26462         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
26463         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
26464         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
26465         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
26466         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
26467         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
26468         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
26469         Moved ...
26470         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
26471         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
26472         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
26473         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
26474         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
26475         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
26476         Moved ...
26477         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
26478         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
26479         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
26480         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
26481         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
26483         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
26484         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
26485         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
26486         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
26487         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
26488         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
26489         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
26490         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
26491         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
26492         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
26493         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
26494         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
26495         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
26496         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
26497         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
26498         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
26499         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
26500         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
26501         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
26502         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
26503         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
26504         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
26505         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
26506         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
26507         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
26508         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
26509         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
26510         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
26512 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
26514         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
26515         (FALLOC_FL_COLLAPSE_RANGE): New macro.
26516         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
26517         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
26518         (IPV6_PMTUDISC_INTERFACE): Likewise.
26519         (IPV6_PMTUDISC_OMIT): Likewise.
26521 2014-06-23  Andreas Schwab  <schwab@suse.de>
26523         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
26524         Remove unused errout label.
26526 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26528         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
26529         macro: hardware supports Vector Crypto instructions.
26531 2014-06-23  Will Newton  <will.newton@linaro.org>
26533         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
26534         rather than __builtin_expect.
26536         * elf/dl-lookup.c (undefined_msg): Remove variable.
26537         (_dl_lookup_symbol_x): Replace undefined_msg with string
26538         literal.
26540         * elf/dl-lookup.c (do_lookup_unique): New function.
26541         (do_lookup_x): Move STB_GNU_UNIQUE handling code
26542         to a separate function.
26544 2014-06-23  Andreas Schwab  <schwab@suse.de>
26546         [BZ #17079]
26547         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
26548         before reading the next line.
26550 2014-06-23  Will Newton  <will.newton@linaro.org>
26552         * test-skeleton.c (signal_handler): Use printf and %m
26553         rather than perror.  Use printf rather than fprintf to
26554         stderr.  Use puts rather than fputs to stderr.
26555         (main): Likewise.
26557 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
26559         * nscd/nscd.c (thread_info_t): Remove typedef.
26560         (thread_info): Remove variable.
26562 2014-06-21  Allan McRae  <allan@archlinux.org>
26564         * NEWS: Mention CVE-2014-4043.
26566 2014-06-20  Roland McGrath  <roland@hack.frob.com>
26568         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
26569         * nptl/smp.h: ... here.
26571         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
26573         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
26574         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
26575         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
26576         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
26578         * nptl/allocatestack.c: Include <stack-aliasing.h>.
26579         * nptl/stack-aliasing.h: New file.
26580         * sysdeps/i386/i686/stack-aliasing.h: New file.
26581         * sysdeps/i386/i686/nptl/Makefile: File removed.
26582         * sysdeps/x86_64/stack-aliasing.h: New file.
26583         * sysdeps/x86_64/nptl/Makefile
26584         (CFLAGS-pthread_create.c): Variable removed.
26586         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
26587         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
26588         old file.
26589         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
26590         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
26591         old file.
26593 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
26595         * sysdeps/unix/sysv/linux/arm/kernel-features.h
26596         (__ASSUME_SIGFRAME_V2): Remove macro.
26597         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
26598         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
26599         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
26600         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
26601         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
26602         Declare as function.  Remove conditional macro definitions.
26603         (__default_rt_sa_restorer): Likewise.
26604         (__default_sa_restorer_v1): Remove declaration.
26605         (__default_sa_restorer_v2): Likewise.
26606         (__default_rt_sa_restorer_v1): Likewise.
26607         (__default_rt_sa_restorer_v2): Likewise.
26608         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
26609         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
26610         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
26612 2014-06-20  Roland McGrath  <roland@hack.frob.com>
26614         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
26615         (libpthread-routines): Add sysdep.
26616         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
26617         * sysdeps/unix/sysv/linux/sparc/Versions
26618         (libpthread: GLIBC_2.3.3): New version set.
26619         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
26620         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
26621         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
26622         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
26623         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
26624         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
26625         Moved ...
26626         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
26627         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
26628         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
26629         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
26630         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
26631         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
26632         * sysdeps/sparc/nptl/sem_init.c: ... here.
26633         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
26634         * sysdeps/sparc/nptl/sem_post.c: ... here.
26635         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
26636         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
26637         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
26638         * sysdeps/sparc/nptl/sem_wait.c: ... here.
26639         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
26640         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
26641         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
26642         (libpthread-routines): Add cpu_relax.
26643         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
26644         File removed.
26645         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
26646         (librt: GLIBC_2.3.3): New version set.
26647         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
26648         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
26649         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
26650         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
26651         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
26652         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
26653         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
26654         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
26655         Moved ...
26656         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
26657         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
26658         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
26659         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
26660         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
26661         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
26662         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
26663         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
26664         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
26665         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
26666         Moved ...
26667         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
26668         Update #include.
26669         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
26670         Moved ...
26671         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
26672         Update #include.
26673         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
26674         Moved ...
26675         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
26676         Update #include.
26677         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
26678         Moved ...
26679         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
26680         Update #include.
26681         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
26682         Moved ...
26683         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
26684         Update #include.
26685         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
26686         Moved ...
26687         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
26688         Update #include.
26689         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
26690         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
26691         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
26692         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
26693         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
26694         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
26695         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
26696         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
26697         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
26698         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
26699         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
26700         Moved ...
26701         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
26702         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
26703         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
26704         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
26705         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
26707 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26709         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
26710         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
26711         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
26712         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
26713         * nscd/nscd.c: Likewise.
26714         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
26715         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
26716         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
26717         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
26719         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
26720         <kernel-features.h>.
26721         (init_mq_netlink): Remove conditional have_sock_cloexec
26722         definitions.  Remove code conditional on have_sock_cloexec < 0.
26723         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
26724         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
26725         * sysdeps/unix/sysv/linux/opensock.c: Do not include
26726         <kernel-features.h>.
26727         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
26728         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
26730 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26732         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26733         Add tests for memset_chk and memset.
26735         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
26736         with AVX2_Usable.
26738 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
26740         [BZ #16046]
26741         * elf/tst-dl-iter-static.c: New file.
26742         * elf/Makefile (tests-static): Add tst-dl-iter-static.
26744         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
26745         error.
26747 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26749         * sysdeps/unix/sysv/linux/kernel-features.h
26750         (__ASSUME_F_GETOWN_EX): Remove macro.
26751         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
26752         <kernel-features.h>.
26753         (miss_F_GETOWN_EX): Remove variable or macro.
26754         (do_fcntl): Do not check miss_F_GETOWN_EX.
26755         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
26757         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
26758         Remove macro.
26759         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
26760         [!__ASSUME_AT_RANDOM]: Remove conditional code.
26761         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
26763         * sysdeps/unix/sysv/linux/kernel-features.h
26764         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
26765         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
26766         [ADJ_OFFSET_SS_READ]: Make code unconditional.
26767         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
26769 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
26771         [BZ #17075]
26772         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
26773         Fix calculation of the symbol's value.
26774         * sysdeps/arm/tst-armtlsdescloc.c: New file.
26775         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
26776         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
26777         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
26778         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
26779         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
26780         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
26781         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
26782         (modules-names): Add `tst-armtlsdescmod',
26783         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
26784         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
26785         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26786         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
26787         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
26788         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
26789         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
26790         ($(objpfx)tst-armtlsdescloc): New dependency.
26791         ($(objpfx)tst-armtlsdescextnow): Likewise.
26792         ($(objpfx)tst-armtlsdescextlazy): Likewise.
26793         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
26794         TLS scheme support.
26795         * sysdeps/arm/configure: Regenerate.
26797 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
26799         * include/fcntl.h (__atfct_seterrno): Remove prototype.
26800         (__atfct_seterrno_2): Likewise.
26801         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
26802         <kernel-features.h>.
26803         (__ASSUME_ATFCTS): Do not undefine and redefine.
26804         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
26805         (__have_atfcts): Remove conditional definition.
26806         (__fxstatat([__NR_fstatat64]: Make code unconditional.
26807         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
26808         unreachable if [__ASSUME_ATFCTS].
26809         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
26810         not undefine and redefine.
26811         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
26812         <kernel-features.h>.
26813         (faccessat) [__NR_faccessat]: Make code unconditional.
26814         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
26815         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
26816         <kernel-features.h>.
26817         (fchmodat) [__NR_fchmodat]: Make code unconditional.
26818         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26819         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
26820         <kernel-features.h>.
26821         (fchownat) [__NR_fchownat]: Make code unconditional.
26822         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
26823         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
26824         <kernel-features.h>.
26825         (futimesat) [__NR_futimesat]: Make code unconditional.
26826         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
26827         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
26828         <kernel-features.h>.
26829         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26830         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26831         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
26832         <kernel-features.h>.
26833         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
26834         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26835         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
26836         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
26837         <kernel-features.h>.
26838         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
26839         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26840         * sysdeps/unix/sysv/linux/linkat.c: Do not include
26841         <kernel-features.h>.
26842         (linkat) [__NR_linkat]: Make code unconditional.
26843         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26844         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
26845         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
26846         <kernel-features.h>.
26847         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
26848         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
26849         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
26850         <kernel-features.h>.
26851         (mkdirat) [__NR_mkdirat]: Make code unconditional.
26852         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
26853         * sysdeps/unix/sysv/linux/openat.c: Do not include
26854         <kernel-features.h>.
26855         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
26856         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
26857         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
26858         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
26859         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
26860         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
26861         <kernel-features.h>.
26862         (readlinkat) [__NR_readlinkat]: Make code unconditional.
26863         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
26864         result of INLINE_SYSCALL directly, not via int variable.
26865         * sysdeps/unix/sysv/linux/renameat.c: Do not include
26866         <kernel-features.h>.
26867         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
26868         (renameat) [__NR_renameat]: Make code unconditional.
26869         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
26870         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
26871         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
26872         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
26873         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
26874         (__ASSUME_ATFCTS): Do not undefine and redefine.
26875         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
26876         <kernel-features.h>.
26877         (symlinkat) [__NR_symlinkat]: Make code unconditional.
26878         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26879         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
26880         <kernel-features.h>.
26881         (unlinkat) [__NR_unlinkat]: Make code unconditional.
26882         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
26883         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
26884         (__ASSUME_ATFCTS): Do not undefine and redefine.
26885         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
26886         <kernel-features.h>.
26887         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
26888         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
26889         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
26890         <kernel-features.h>.
26891         (__xmknodat) [__NR_mknodat]: Make code unconditional.
26892         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
26894 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
26896         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
26898 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
26900         [BZ #17069]
26901         * posix/regcomp.c (parse_reg_exp): Deallocate partially
26902         constructed tree before returning error.
26903         * posix/bug-regexp36.c: Expand test case.
26905 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26907         [BZ #6803]
26908         * math/libm-test.inc (scalbln_test_date):
26909         Add errno expectations.
26910         * math/w_scalblnf.c: New File.
26911         Add wrapper which checks for setting errno to ERANGE.
26912         Add weak_alias for corresponding scalbln function.
26913         * math/w_scalbln.c: Likewise.
26914         * math/w_scalblnl.c: Likewise.
26915         * math/Makefile (libm-calls): Add w_scalbln.
26916         * sysdeps/ieee754/flt-32/s_scalblnf.c:
26917         Remove weak_alias for corresponding scalbln function.
26918         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26919         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26920         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26921         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26922         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
26923         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
26924         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
26925         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
26926         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
26927         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
26928         Remove long_double_symbol for scalblnl function in libm, libc.
26929         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
26930         Add wrapper which checks for setting errno to ERANGE.
26931         Add long_double_symbol for scalblnl function in libm, libc.
26932         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
26933         Remove long_double_symbol for scalblnl in libm.
26934         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
26935         Add wrapper which checks for setting errno to ERANGE.
26936         Add long_double_symbol for scalblnl function in libm.
26937         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
26938         Do not use wrapper because of own implementation.
26940 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
26942         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
26943         3 bytes for __pad1 for x32.
26944         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
26946 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
26947             H.J. Lu  <hongjiu.lu@intel.com>
26949         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
26950         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
26951         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26952         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26953         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
26955 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
26957         [BZ #17069]
26958         * posix/regcomp.c (parse_expression): Deallocate partially
26959         constructed tree before returning error.
26960         * posix/Makefile.c (tests): Add bug-regex36.
26961         (generated): Add bug-regex36.mtrace.
26962         (tests-special): Add $(objpfx)bug-regex36-mem.out
26963         (bug-regex36-ENV): New variable.
26964         ($(objpfx)bug-regex36-mem.out): New rule.
26965         * posix/bug-regex36.c: New file.
26967 2014-06-19  Will Newton  <will.newton@linaro.org>
26969         * malloc/malloc.c (systrim): If extra is zero then return
26970         early.
26972 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26974         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
26976 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
26978         * sysdeps/aarch64/strchr.S: New file.
26980 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26982         [BZ #17022]
26983         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
26984         from arguments -2 or below.
26985         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
26986         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
26988 2014-06-18  Andreas Schwab  <schwab@suse.de>
26990         [BZ #17062]
26991         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
26992         of a bracket expr not to run off the end of the string.
26993         * posix/Makefile (tests): Add tst-fnmatch3.
26994         * posix/tst-fnmatch3.c: New file.
26996 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
26998         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
26999         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27000         [$(cross-compiling) = no]: Likewise.
27001         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27002         [$(cross-compiling) = no]: Likewise.
27004 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27006         [BZ #17031]
27007         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
27008         double, adjusted for any remainder from the high double.
27009         * math/libm-test.inc (nearbyint): Add tests.
27010         (rint): Likewise.
27012 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27014         * nptl/sysdeps/powerpc/Makefile: Moved ...
27015         * sysdeps/powerpc/nptl/Makefile: ... here.
27016         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
27017         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
27018         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
27019         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
27020         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
27021         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
27022         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
27023         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
27024         * nptl/sysdeps/powerpc/tls.h: Moved ...
27025         * sysdeps/powerpc/nptl/tls.h: ... here.
27027 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
27029         [BZ #16681]
27030         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
27031         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
27032         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
27033         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
27034         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
27035         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
27036         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
27037         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
27038         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
27040 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
27042         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
27044 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
27046         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
27047         defined operator.
27049         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
27050         $TIMEOUTFACTOR.
27052 2014-06-16  Florian Weimer  <fweimer@redhat.com>
27054         [BZ #17058]
27055         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
27056         non-executed part of the test.
27058 2014-06-16  Andreas Schwab  <schwab@suse.de>
27060         * string/bits/string2.h (strdup, strndup): Update feature guard.
27062 2014-06-14  David S. Miller  <davem@davemloft.net>
27064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27066 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
27068         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
27069         that was previously under [RESET_PID].
27070         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
27072         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
27073         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
27074         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
27075         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
27076         (__libc_vfork): New strong alias.
27077         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
27079 2014-06-14 Andi Kleen  <ak@linux.intel.com>
27081         * sysdeps/generic/elide.h: New file.
27083 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27085         * Makefile (installed-headers): Adjust path of pthread.h header.
27087 2014-06-13  Roland McGrath  <roland@hack.frob.com>
27089         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
27090         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
27091         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
27092         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
27094         * nptl/sysdeps/s390/Makefile: Moved ...
27095         * sysdeps/s390/nptl/Makefile: ... here.
27096         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
27097         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
27098         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
27099         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
27100         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
27101         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
27102         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
27103         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
27104         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
27105         * sysdeps/s390/nptl/pthreaddef.h: ... here.
27106         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
27107         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
27108         * nptl/sysdeps/s390/tls.h: Moved ...
27109         * sysdeps/s390/nptl/tls.h: ... here.
27111         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
27112         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
27114 2014-06-13  David S. Miller  <davem@davemloft.net>
27116         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
27117         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
27118         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
27119         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
27120         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
27121         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
27122         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
27123         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
27124         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
27125         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
27126         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
27127         Remove RESET_PID cpp guards.
27128         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
27129         Remove RESET_PID cpp guards.
27130         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
27132 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
27134         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
27135         __sp to uintptr_t.
27137 2014-06-13  Andi Kleen  <ak@linux.intel.com>
27139         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
27140         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
27141         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
27142         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
27143         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
27144         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
27145         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
27146         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
27147         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
27148         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
27149         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
27150         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
27151         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
27152         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
27153         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
27154         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
27155         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
27156         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
27157         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
27158         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
27160         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
27161         (pthread_rwlock_rdlock): Add elision.
27162         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
27163         (pthread_rwlock_wrlock): Add elision.
27164         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
27165         (pthread_rwlock_trywrlock): Add elision.
27166         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
27167         (pthread_rwlock_tryrdlock): Add elision.
27168         * nptl/pthread_rwlock_unlock.c: Include elide.h.
27169         (pthread_rwlock_tryrdlock): Add elision unlock.
27170         * nptl/sysdeps/pthread/pthread.h:
27171         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
27172         (PTHREAD_RWLOCK_INITIALIZER,
27173         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
27174         Handle new elision field.
27175         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
27176         * sysdeps/arm/nptl/bits/pthreadtypes.h
27177         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27178         * sysdeps/sh/nptl/bits/pthreadtypes.h
27179         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27180         * sysdeps/tile/nptl/bits/pthreadtypes.h
27181         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27182         * sysdeps/a/nptl/bits/pthreadtypes.h
27183         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27184         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
27185         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27186         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
27187         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27188         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
27189         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27190         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
27191         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27192         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
27193         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27194         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
27195         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27196         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
27197         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27198         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
27199         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27200         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
27201         (elision_init): Set try_xbegin to zero when no RTM.
27202         * sysdeps/x86/nptl/bits/pthreadtypes.h
27203         (pthread_rwlock_t): Change __pad1 to __rwelision.
27204         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
27206 2014-06-13  Andi Kleen  <ak@linux.intel.com>
27208         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
27209         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
27210         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
27211         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
27213 2014-06-13  Meador Inge  <meadori@codesourcery.com>
27215         [BZ #16996]
27216         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
27217         that the cached result has been set before returning it.
27219 2014-06-12  Roland McGrath  <roland@hack.frob.com>
27221         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
27222         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
27223         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
27224         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
27225         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
27226         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
27228         * nptl/sysdeps/sparc/Makefile: Moved ...
27229         * sysdeps/sparc/nptl/Makefile: ... here.
27230         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
27231         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
27232         * nptl/sysdeps/sparc/tls.h: Moved ...
27233         * sysdeps/sparc/nptl/tls.h: ... here.
27234         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
27235         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
27236         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
27237         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
27238         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
27239         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
27240         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
27241         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
27242         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
27243         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
27244         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
27245         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
27246         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
27247         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
27248         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
27249         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
27250         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
27251         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
27252         Update #include.
27253         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
27254         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
27255         Update #include.
27256         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
27257         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
27258         Update #include.
27259         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
27260         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
27261         Update #include.
27263         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27265         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
27266         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
27268         * sysdeps/pthread/posix-timer.h: Include <list.h>.
27269         (struct list_links): Type removed.
27270         (struct thread_node, struct timer_node): Replace struct list_links
27271         with struct list_head.
27272         (list_unlink_ip): Likewise.
27273         * sysdeps/pthread/timer_routines.c
27274         (timer_free_list, thread_free_list, thread_active_list): Likewise.
27275         (list_append, list_insbefore): Likewise.
27276         (list_init): Function removed.
27277         (thread_init, init_module): Use INIT_LIST_HEAD instead.
27278         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
27279         * sysdeps/pthread/Makefile: ... here, new file.
27281         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
27282         * sysdeps/nptl/Implies: ... here.
27283         * sysdeps/unix/sysv/linux/Implies: Add nptl.
27284         * nptl/sysdeps/pthread/list.h: Moved ...
27285         * include/list.h: ... here.
27286         * nptl/sysdeps/pthread/createthread.c: Moved ...
27287         * nptl/createthread.c: ... here.
27288         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
27289         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
27290         * nptl/pt-longjmp.c: ... here.
27291         * nptl/sysdeps/pthread/Makefile: Moved ...
27292         * sysdeps/nptl/Makefile: ... here.
27293         * nptl/sysdeps/pthread/Subdirs: Moved ...
27294         * sysdeps/nptl/Subdirs: ... here.
27295         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
27296         * sysdeps/nptl/aio_misc.h: ... here.
27297         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
27298         * sysdeps/nptl/bits/libc-lock.h: ... here.
27299         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
27300         * sysdeps/nptl/bits/libc-lockP.h: ... here.
27301         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
27302         * sysdeps/nptl/bits/stdio-lock.h: ... here.
27303         * nptl/sysdeps/pthread/configure: Moved ...
27304         * sysdeps/nptl/configure: ... here.
27305         * nptl/sysdeps/pthread/configure.ac: Moved ...
27306         * sysdeps/nptl/configure.ac: ... here.
27307         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
27308         * sysdeps/nptl/gai_misc.h: ... here.
27309         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
27310         * sysdeps/nptl/librt-cancellation.c: ... here.
27311         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
27312         * sysdeps/nptl/malloc-machine.h: ... here.
27313         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
27314         * sysdeps/nptl/pthread-functions.h: ... here.
27315         * nptl/sysdeps/pthread/pthread.h: Moved ...
27316         * sysdeps/nptl/pthread.h: ... here.
27317         * nptl/sysdeps/pthread/setxid.h: Moved ...
27318         * sysdeps/nptl/setxid.h: ... here.
27319         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
27320         * sysdeps/nptl/sigfillset.c: ... here.
27321         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
27322         * sysdeps/nptl/tcb-offsets.h: ... here.
27323         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
27324         * sysdeps/nptl/tst-mqueue8x.c: ... here.
27325         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
27326         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
27327         * nptl/sysdeps/pthread/allocalim.h: Moved ...
27328         * sysdeps/pthread/allocalim.h: ... here.
27329         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
27330         * sysdeps/pthread/bits/sigthread.h: ... here.
27331         * nptl/sysdeps/pthread/flockfile.c: Moved ...
27332         * sysdeps/pthread/flockfile.c: ... here.
27333         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
27334         * sysdeps/pthread/ftrylockfile.c: ... here.
27335         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
27336         * sysdeps/pthread/funlockfile.c: ... here.
27337         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
27338         * sysdeps/pthread/posix-timer.h: ... here.
27339         * nptl/sysdeps/pthread/timer_create.c: Moved ...
27340         * sysdeps/pthread/timer_create.c: ... here.
27341         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
27342         * sysdeps/pthread/timer_delete.c: ... here.
27343         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
27344         * sysdeps/pthread/timer_getoverr.c: ... here.
27345         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
27346         * sysdeps/pthread/timer_gettime.c: ... here.
27347         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
27348         * sysdeps/pthread/timer_routines.c: ... here.
27349         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
27350         * sysdeps/pthread/timer_settime.c: ... here.
27351         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
27352         * sysdeps/pthread/tst-timer.c: ... here.
27353         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
27354         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
27356         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
27357         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
27359         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
27360         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
27361         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
27362         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
27363         Update #include target.
27364         * nptl/sysdeps/i386/i686/Makefile: Moved ...
27365         * sysdeps/i386/i686/nptl/Makefile: ... here.
27366         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
27367         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
27368         Update #include target.
27369         * nptl/sysdeps/i386/i686/tls.h: Moved ...
27370         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
27371         * nptl/sysdeps/i386/Makefile: Moved ...
27372         * sysdeps/i386/nptl/Makefile: ... here.
27373         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
27374         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
27375         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
27376         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
27377         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
27378         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
27379         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
27380         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
27381         * sysdeps/i386/nptl/pthreaddef.h: ... here.
27382         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
27383         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
27384         * nptl/sysdeps/i386/tls.h: Moved ...
27385         * sysdeps/i386/nptl/tls.h: ... here.
27387         * sysdeps/sh/Makefile [$(subdir) = csu]
27388         (gen-as-const-headers): Add tcb-offsets.sym.
27389         * nptl/sysdeps/sh/Makefile: File removed.
27390         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
27391         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
27392         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
27393         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
27394         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
27395         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
27396         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
27397         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
27398         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
27399         * sysdeps/sh/nptl/pthreaddef.h: ... here.
27400         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
27401         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
27402         * nptl/sysdeps/sh/tls.h: Moved ...
27403         * sysdeps/sh/nptl/tls.h: ... here.
27404         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
27405         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
27406         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
27407         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
27408         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
27409         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
27410         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
27411         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
27412         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
27413         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
27414         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
27415         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
27416         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
27417         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
27418         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
27419         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
27420         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
27421         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
27422         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
27423         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
27424         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
27425         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
27426         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
27427         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
27428         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
27429         Moved ...
27430         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
27431         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
27432         Moved ...
27433         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
27434         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
27435         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
27436         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
27437         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
27438         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
27439         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
27440         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
27441         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
27442         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
27443         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
27444         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
27445         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
27446         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
27447         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
27448         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
27449         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
27450         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
27451         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
27453 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27455         * posix/spawn_faction_addopen.c: Include string.h.
27457 2014-06-11  Roland McGrath  <roland@hack.frob.com>
27459         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
27460         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
27461         * nptl/sysdeps/x86_64/Makefile: Moved ...
27462         * sysdeps/x86_64/nptl/Makefile: ... here.
27463         * nptl/sysdeps/x86_64/configure: Moved ...
27464         * sysdeps/x86_64/nptl/configure: ... here.
27465         * nptl/sysdeps/x86_64/configure.ac: Moved ...
27466         * sysdeps/x86_64/nptl/configure.ac: ... here.
27467         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
27468         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
27469         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
27470         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
27471         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
27472         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
27473         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
27474         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
27475         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
27476         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
27477         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
27478         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
27479         * nptl/sysdeps/x86_64/tls.h: Moved ...
27480         * sysdeps/x86_64/nptl/tls.h: ... here.
27481         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
27482         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
27483         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
27484         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
27486         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
27488 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27490         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27492 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
27494         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
27495         type.
27496         [POSIX] (off_t): Likewise.
27497         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
27498         [POSIX] (S_ISBLK): Require macro.
27499         [POSIX] (S_ISCHR): Likewise.
27500         [POSIX] (S_ISDIR): Likewise.
27501         [POSIX] (S_ISFIFO): Likewise.
27502         [POSIX] (S_ISREG): Likewise.
27503         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
27504         optional-macro.
27505         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
27506         type.
27507         [POSIX] (time_t): Likewise.
27508         [POSIX] (timer_t): Likewise.
27510 2014-06-11  Florian Weimer  <fweimer@redhat.com>
27512         [BZ #17048]
27513         * posix/spawn_int.h (struct __spawn_action): Make the path string
27514         non-const to support deallocation.
27515         * posix/spawn_faction_addopen.c
27516         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
27517         * posix/spawn_faction_destroy.c
27518         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
27519         path in all spawn_do_open actions.
27520         * posix/tst-spawn.c (do_test): Exercise the copy operation in
27521         posix_spawn_file_actions_addopen.
27523 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
27525         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
27526         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
27527         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
27528         conditional code always true.
27529         (__libc_vfork): New alias.
27531 2014-06-11  Roland McGrath  <roland@hack.frob.com>
27533         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27534         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
27536         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
27538         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27539         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
27541         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
27542         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
27544         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27545         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
27547 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27549         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
27550         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
27551         multiarch strcmp for PPC64.
27552         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
27553         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
27554         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
27555         multiarch optimizations.
27556         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27557         (__libc_ifunc_impl_list): Likewise.
27559 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27561         * benchtests/scripts/validate_benchout.py: New script.
27562         * benchtests/Makefile (bench-func): Call it.
27563         * benchtests/scripts/benchout.schema.json: New file.
27565 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
27567         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
27568         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
27569         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
27570         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
27571         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
27572         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
27573         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
27574         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
27575         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
27576         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
27577         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
27578         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
27579         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
27580         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
27581         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
27582         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
27583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
27584         Moved ...
27585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
27586         ... here.
27587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
27588         Moved ...
27589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
27590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
27591         Moved ...
27592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
27593         ... here.
27594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
27595         Moved ...
27596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
27597         ... here.
27598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
27599         Moved ...
27600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
27601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
27602         Moved ...
27603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
27604         ... here.
27605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
27606         Moved ...
27607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
27608         ... here.
27609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
27610         Moved ...
27611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
27612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
27613         Moved ...
27614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
27615         ... here.
27616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
27617         Moved ...
27618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
27619         ... here.
27620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
27621         Moved ...
27622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
27623         ... here.
27624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
27625         Moved ...
27626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
27627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
27628         Moved ...
27629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
27630         ... here.
27631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
27632         Moved ...
27633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
27634         ... here.
27635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
27636         Moved ...
27637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
27638         ... here.
27639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
27640         Moved ...
27641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
27642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
27643         Moved ...
27644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
27645         ... here.
27646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
27647         Moved ...
27648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
27649         ... here.
27650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
27651         Moved ...
27652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
27653         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
27654         Moved ...
27655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
27656         ... here.
27657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
27658         Moved ...
27659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
27660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
27661         Moved ...
27662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
27663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
27664         Moved ...
27665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
27666         ... here.
27667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
27668         Moved ...
27669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
27670         ... here.
27671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
27672         Moved ...
27673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
27674         ... here.
27675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
27676         Moved ...
27677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
27678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
27679         Moved ...
27680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
27681         ... here.
27682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
27683         Moved ...
27684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
27685         ... here.
27686         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
27687         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
27688         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
27689         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
27690         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
27691         Moved ...
27692         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
27693         ... here.
27694         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
27695         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
27696         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
27697         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
27698         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
27699         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
27700         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
27701         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
27702         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
27703         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
27704         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
27705         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
27706         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
27707         Moved ...
27708         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
27709         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
27710         Moved ...
27711         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
27712         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
27713         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
27714         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
27715         Moved ...
27716         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
27717         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
27718         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
27719         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
27720         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
27721         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
27722         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
27724 2014-06-10  Wilco  <wdijkstr@arm.com>
27726         * math/test-fenv-return.c: New file.
27727         * math/Makefile: Add new test test-fenv-return.
27729 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
27731         [BZ #17042]
27732         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
27733         when x - 1 is zero.
27734         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
27735         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
27736         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
27737         0.0L for an argument of 1.0L.
27738         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27739         Likewise.
27740         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
27741         value when x - 1 is zero.
27742         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
27743         * sysdeps/i386/fpu/libm-test-ulps: Update.
27744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27746 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
27748         [BZ #15119]
27749         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
27751 2014-06-09  Roland McGrath  <roland@hack.frob.com>
27753         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
27754         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
27756 2014-06-09  Roland McGrath  <roland@hack.frob.com>
27758         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27759         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
27761         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27762         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
27764         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27765         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
27767         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
27768         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
27770         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
27771         if not already defined.
27772         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
27773         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
27774         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
27775         (TLS_INIT_TP): Use it.
27776         (TLS_DEFINE_INIT_TP): New macro.
27777         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
27779 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
27781         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
27782         constant.
27783         [POSIX] (IXANY): Likewise.
27784         [POSIX] (OLCUC): Likewise.
27785         [POSIX || POSIX2008] (CBAUD): Do not allow.
27786         [POSIX || POSIX2008] (DEFECHO): Likewise.
27787         [POSIX || POSIX2008] (ECHOCTL): Likewise.
27788         [POSIX || POSIX2008] (ECHOKE): Likewise.
27789         [POSIX || POSIX2008] (ECHOPRT): Likewise.
27790         [POSIX || POSIX2008] (EXTA): Likewise.
27791         [POSIX || POSIX2008] (EXTB): Likewise.
27792         [POSIX || POSIX2008] (FLUSHO): Likewise.
27793         [POSIX || POSIX2008] (LOBLK): Likewise.
27794         [POSIX || POSIX2008] (PENDIN): Likewise.
27795         [POSIX || POSIX2008] (SWTCH): Likewise.
27796         [POSIX || POSIX2008] (VDISCARD): Likewise.
27797         [POSIX || POSIX2008] (VDSUSP): Likewise.
27798         [POSIX || POSIX2008] (VLNEXT): Likewise.
27799         [POSIX || POSIX2008] (VREPRINT): Likewise.
27800         [POSIX || POSIX2008] (VSTATUS): Likewise.
27801         [POSIX || POSIX2008] (VWERASE): Likewise.
27802         (B*): Change to B[0123456789]*.
27803         * conform/data/time.h-data [POSIX || UNIX98]
27804         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
27805         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27806         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
27807         [POSIX] (tm_*): Do not allow.
27809 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
27811         * Makefile (install): Don't set LANGUAGE.
27812         * Makefile.in (install): Likewise.
27813         * assert/Makefile (test-assert-ENV): Remove variable.
27814         (test-assert-perr-ENV): Likewise.
27815         * elf/Makefile (neededtest4-ENV): Likewise.
27816         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
27817         [$(cross-compiling) = no]: Don't set LANGUAGE.
27818         * io/ftwtest-sh (LANG): Remove variable.
27819         * libio/Makefile (tst-widetext-ENV): Likewise.
27820         * manual/install.texi (Running make install): Don't refer to
27821         environment settings for make install.
27822         * INSTALL: Regenerated.
27823         * nptl/tst-tls6.sh: Don't set LANG.
27824         * posix/globtest.sh (LANG): Remove variable.
27825         * string/Makefile (tester-ENV): Likewise.
27826         (inl-tester-ENV): Likewise.
27827         (noinl-tester-ENV): Likewise.
27828         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
27829         [$(cross-compiling) = no]: Don't set LANGUAGE.
27830         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
27831         without explicit environment settings.
27833 2014-06-06  Roland McGrath  <roland@hack.frob.com>
27835         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
27836         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
27837         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
27838         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
27840 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
27842         * crypt/crypt-private.h [DOS]: Add some includes taken from the
27843         other files in the crypt directory.
27844         * crypt/crypt.c: Remove duplicate includes.
27845         * crypt/crypt-entry.c: Likewise.
27846         * crypt/crypt_util.c: Likewise.
27848 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
27850         * Makeconfig (run-program-env): New variable.
27851         (run-program-prefix-before-env): Likewise.
27852         (run-program-prefix-after-env): Likewise.
27853         (run-program-prefix): Define in terms of new variables.
27854         (built-program-cmd-before-env): New variable.
27855         (built-program-cmd-after-env): Likewise.
27856         (built-program-cmd): Define in terms of new variables.
27857         (test-program-prefix-before-env): New variable.
27858         (test-program-prefix-after-env): Likewise.
27859         (test-program-prefix): Define in terms of new variables.
27860         (test-program-cmd-before-env): New variable.
27861         (test-program-cmd-after-env): Likewise.
27862         (test-program-cmd): Define in terms of new variables.
27863         * Rules (make-test-out): Use $(run-program-env).
27864         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
27865         (help): Do not mention environment variables.  Mention
27866         --timeoutfactor option.
27867         (timeoutfactor): New variable.
27868         (blacklist_exports): Remove function.
27869         (exports): Remove variable.
27870         (command): Do not include ${exports}.
27871         * manual/install.texi (Configuring and compiling): Do not mention
27872         test wrappers preserving environment variables.  Mention that last
27873         assignment to a variable must take precedence.
27874         * INSTALL: Regenerated.
27875         * benchtests/Makefile (run-bench): Use $(run-program-env).
27876         * catgets/Makefile ($(objpfx)test1.cat): Use
27877         $(built-program-cmd-before-env), $(run-program-env) and
27878         $(built-program-cmd-after-env).
27879         ($(objpfx)test2.cat): Do not specify environment variables
27880         explicitly.
27881         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
27882         $(run-program-env) and $(built-program-cmd-after-env).
27883         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
27884         $(run-program-env) and $(test-program-cmd-after-env).
27885         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
27886         explicitly.
27887         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
27888         run_program_env and test_program_cmd_after_env arguments.
27889         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
27890         * elf/tst-pathopt.sh: Use run_program_env argument.
27891         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
27892         $(test-wrapper-env) and $(run-program-env).
27893         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
27894         run_program_env arguments.
27895         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
27896         * intl/Makefile ($(objpfx)tst-gettext.out): Use
27897         $(test-program-prefix-before-env), $(run-program-env) and
27898         $(test-program-prefix-after-env).
27899         ($(objpfx)tst-gettext2.out): Likewise.
27900         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
27901         run_program_env and test_program_prefix_after_env arguments.
27902         * intl/tst-gettext2.sh: Likewise.
27903         * intl/tst-gettext4.sh: Do not set environment variables
27904         explicitly.
27905         * intl/tst-gettext6.sh: Likewise.
27906         * intl/tst-translit.sh: Likewise.
27907         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
27908         $(test-program-prefix-before-env), $(run-program-env) and
27909         $(test-program-prefix-after-env).
27910         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
27911         run_program_env and test_program_prefix_after_env arguments.
27912         * math/Makefile (run-regen-ulps): Use $(run-program-env).
27913         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
27914         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
27915         explicitly with each use of ${test_wrapper_env}.
27916         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
27917         $(test-program-prefix-before-env), $(run-program-env) and
27918         $(test-program-prefix-after-env).
27919         * posix/tst-getconf.sh: Do not set environment variables
27920         explicitly.
27921         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
27922         run_program_env and test_program_prefix_after_env arguments.
27923         * stdio-common/tst-printf.sh: Do not set environment variables
27924         explicitly.
27925         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
27926         $(test-program-prefix-before-env), $(run-program-env) and
27927         $(test-program-prefix-after-env).
27928         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
27929         run_program_env and test_program_prefix_after_env arguments.
27930         Split $test calls into $test_pre and $test.
27931         * timezone/Makefile (build-testdata): Use
27932         $(built-program-cmd-before-env), $(run-program-env) and
27933         $(built-program-cmd-after-env).
27935 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27937         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
27938         strlen for non SHARED builds.
27940 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27942         * nptl/allocatestack.c (check_list): Inlined function...
27943         (__reclaim_stacks): ... here.
27945 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
27947         [BZ #15698]
27948         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
27949         memory overrun.
27951 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
27953         * Rules (make-test-out): Include
27954         LOCPATH=$(common-objpfx)localedata in default environment.
27955         * debug/Makefile (tst-chk1-ENV): Remove variable.
27956         (tst-chk2-ENV): Likewise.
27957         (tst-chk3-ENV): Likewise.
27958         (tst-chk4-ENV): Likewise.
27959         (tst-chk5-ENV): Likewise.
27960         (tst-chk6-ENV): Likewise.
27961         (tst-lfschk1-ENV): Likewise.
27962         (tst-lfschk2-ENV): Likewise.
27963         (tst-lfschk3-ENV): Likewise.
27964         (tst-lfschk4-ENV): Likewise.
27965         (tst-lfschk5-ENV): Likewise.
27966         (tst-lfschk6-ENV): Likewise.
27967         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
27968         (tst-iconv7-ENV): Likewise.
27969         * intl/Makefile (LOCPATH-ENV): Likewise.
27970         (tst-codeset-ENV): Likewise.
27971         (tst-gettext3-ENV): Likewise.
27972         (tst-gettext5-ENV): Likewise.
27973         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
27974         (tst-fopenloc-ENV): Likewise.
27975         (tst-fgetws-ENV): Remove variable.
27976         (tst-ungetwc1-ENV): Likewise.
27977         (tst-ungetwc2-ENV): Likewise.
27978         (bug-ungetwc2-ENV): Likewise.
27979         (tst-swscanf-ENV): Likewise.
27980         (bug-ftell-ENV): Likewise.
27981         (tst-fgetwc-ENV): Likewise.
27982         (tst-fseek-ENV): Likewise.
27983         (tst-ftell-partial-wide-ENV): Likewise.
27984         (tst-ftell-active-handler-ENV): Likewise.
27985         (tst-ftell-append-ENV): Likewise.
27986         * posix/Makefile (tst-fnmatch-ENV): Likewise.
27987         (tst-regexloc-ENV): Likewise.
27988         (bug-regex1-ENV): Likewise.
27989         (tst-regex-ENV): Likewise.
27990         (tst-regex2-ENV): Likewise.
27991         (bug-regex5-ENV): Likewise.
27992         (bug-regex6-ENV): Likewise.
27993         (bug-regex17-ENV): Likewise.
27994         (bug-regex18-ENV): Likewise.
27995         (bug-regex19-ENV): Likewise.
27996         (bug-regex20-ENV): Likewise.
27997         (bug-regex22-ENV): Likewise.
27998         (bug-regex23-ENV): Likewise.
27999         (bug-regex25-ENV): Likewise.
28000         (bug-regex26-ENV): Likewise.
28001         (bug-regex30-ENV): Likewise.
28002         (bug-regex32-ENV): Likewise.
28003         (bug-regex33-ENV): Likewise.
28004         (bug-regex34-ENV): Likewise.
28005         (bug-regex35-ENV): Likewise.
28006         (tst-rxspencer-ENV): Likewise.
28007         (tst-rxspencer-no-utf8-ENV): Likewise.
28008         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
28009         (tst-sscanf-ENV): Likewise.
28010         (tst-swprintf-ENV): Likewise.
28011         (tst-swscanf-ENV): Likewise.
28012         (test-vfprintf-ENV): Likewise.
28013         (scanf13-ENV): Likewise.
28014         (bug14-ENV): Likewise.
28015         (tst-grouping-ENV): Likewise.
28016         * stdlib/Makefile (tst-strtod-ENV): Likewise.
28017         (tst-strtod3-ENV): Likewise.
28018         (tst-strtod4-ENV): Likewise.
28019         (tst-strtod5-ENV): Likewise.
28020         (testmb2-ENV): Likewise./
28021         * string/Makefile (tst-strxfrm-ENV): Likewise.
28022         (tst-strxfrm2-ENV): Likewise.
28023         (bug-strcoll1-ENV): Likewise.
28024         (test-strcasecmp-ENV): Likewise.
28025         (test-strncasecmp-ENV): Likewise.
28026         * time/Makefile (tst-strptime-ENV): Likewise.
28027         (tst-ftime_l-ENV): Likewise.
28028         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
28029         (tst-mbrtowc-ENV): Likewise.
28030         (tst-wcrtomb-ENV): Likewise.
28031         (tst-mbrtowc2-ENV): Likewise.
28032         (tst-c16c32-1-ENV): Likewise.
28033         (tst-mbsnrtowcs-ENV): Likewise.
28035 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
28037         * manual/resource.texi (How to get information about the memory
28038         subsystem?): Fix typo.
28039         Reported by Peon de la Parra Ivan <peon@keba.com>
28041 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
28043         [BZ #16882]
28044         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
28045         (pthread_spin_lock): Branch out of spin loop to proper location.
28046         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
28047         (pthread_spin_lock): Likewise.
28049         * nptl/tst-spin4.c: New test.
28050         * nptl/Makefile (tests): Add tst-spin4.
28052 2014-06-03  Andreas Schwab  <schwab@suse.de>
28054         [BZ #15946]
28055         * resolv/res_send.c (send_dg): Reload file descriptor after
28056         calling reopen.
28058 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
28060         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28062 2014-06-03  Richard Henderson  <rth@redhat.com>
28064         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
28065         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
28066         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
28067         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
28068         in the SAVE_PID block.
28069         (__libc_vfork): New alias.
28070         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
28072         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
28073         child in registers, not on the stack.  Remove RESET_PID conditionals.
28074         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
28076 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
28078         * sysdeps/aarch64/libm-test-ulps: Regenerate.
28080 2014-06-03  Wilco  <wdijkstr@arm.com>
28082         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
28083         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
28084         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28085         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
28086         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
28087         Likewise.
28089 2014-06-03  Wilco  <wdijkstr@arm.com>
28091         * sysdeps/aarch64/fpu/math_private.h
28092         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
28093         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
28094         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
28095         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
28096         Fix declarations.
28098 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28100         * crypt/crypt-private.h: Include ufc-crypt.h.
28101         (__b64_from_24bit): Declare extern.
28102         * crypt/crypt_util.c(__b64_from_24bit): New function.
28103         (b64t): New static const variable.
28104         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
28105         (b64t): Remove variable.
28106         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
28107         * crypt/sha256-crypt.c: Include crypt-private.h.
28108         (b64t): Remove variable.
28109         (__sha256_crypt_r): Remove b64_from_24bit and replace
28110         with __b64_from_24bit.
28111         * crypt/sha512-crypt.c: Likewise.
28113 2014-06-02  Roland McGrath  <roland@hack.frob.com>
28115         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
28116         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
28117         Label the code __libc_vfork rather than __vfork.
28118         [!NOT_IN_libc] (vfork): Define as weak alias.
28119         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
28120         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
28121         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
28123 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28125         * malloc/malloc.c (malloc_info): Fix format specifier for
28126         n_mmaps.
28128 2014-06-02  Wilco  <wdijkstr@arm.com>
28130         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
28131         FPCR write.
28133 2014-06-02  Wilco  <wdijkstr@arm.com>
28135         [BZ #17009]
28136         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
28137         Rewrite to reduce FPCR/FPSR accesses.
28139 2014-06-01  David S. Miller  <davem@davemloft.net>
28141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28143 2014-05-31  David S. Miller  <davem@davemloft.net>
28145         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
28146         to occur in round to nearest mode when |x| >= 2.0
28148 2014-05-30  Richard Henderson  <rth@twiddle.net>
28150         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
28151         (PSEUDO_RET_NOERRNO): Remove.
28152         (ret): Don't redefine.
28153         (ret_NOERRNO): Define in terms of ret.
28154         (ret_ERRVAL): Likewise.
28156         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
28157         use of PSEUDO_RET; perform the error check directly.
28159 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
28161         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
28162         with __int128_t.
28164 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28166         * malloc/malloc (malloc_info): Fix formatting.
28168 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28169             Roland McGrath  <roland@hack.frob.com>
28171         * malloc/malloc (malloc_info): Also print mmapped statistics.
28173 2014-05-30  Roland McGrath  <roland@hack.frob.com>
28175         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
28176         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
28178 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
28180         * malloc/malloc.c (malloc_info): Inline mi_arena.
28182 2014-05-29  Richard Henderson  <rth@twiddle.net>
28184         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
28185         Remove comma before expanding ASM_ARGS_##nr.
28186         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
28187         Make _x0 a strict output; make _x8 a strict input; adjust expansion
28188         of ASM_ARGS_##nr.
28189         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
28190         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
28191         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
28192         (ASM_ARGS_1): Add leading comma.
28194         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
28195         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
28196         to __errno_location.
28197         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
28198         Remove the expected plt for __errno_location.
28200         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28201         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
28202         call to __read_tp.
28204         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28205         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
28206         it and break it down.
28207         (DOCARGS_0, DOCARGS_1): Do nothing.
28208         (DOCARGS_2): Update to store into the new stack frame.
28209         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
28210         (UNDOCARGS_1): Update to restore from the new stack frame.
28211         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
28212         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
28214         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28215         (SINGLE_THREAD_P): New parameter for result regno.
28216         (PSEUDO): Update to match; use cbz instead of beq.
28218         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28219         Use ENTRY to define the _nocancel entry point.  Share the syscall
28220         and syscall error check paths with the cancel path.
28221         (PSEUDO_END): New.
28223         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
28224         whitespace; tabs before and after asm mnemonics.
28226 2014-05-29  Eric Wong  <normalperson@yhbt.net>
28228         [BZ #15132]
28229         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28230         Call fstat64 or stat64 internally, depending on arguments passed.
28231         Replace stat buffer argument with file descriptor argument.
28232         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
28233         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
28234         Pass fd to __internal_statvfs instead of calling fstat64.
28235         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
28236         Pass fd to __internal_statvfs64 instead of calling fstat64.
28237         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
28238         Pass -1 to __internal_statvfs instead of calling stat64.
28239         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
28240         Pass -1 to __internal_statvfs64 instead of calling stat64.
28242 2014-05-28  Roland McGrath  <roland@hack.frob.com>
28244         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
28245         that was previously under [RESET_PID].
28246         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
28248         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
28249         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
28251 2014-05-27  Roland McGrath  <roland@hack.frob.com>
28253         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
28255         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
28256         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
28258 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
28260         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
28262 2014-05-27  Andreas Schwab  <schwab@suse.de>
28264         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
28265         TLS_INIT_TP macro.
28266         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
28267         * elf/rtld.c (init_tls, dl_main): Likewise.
28268         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
28269         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
28270         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
28271         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
28272         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
28273         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
28274         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
28275         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
28276         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
28277         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
28278         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
28279         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
28280         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
28281         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
28282         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
28283         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
28284         * sysdeps/generic/tls.h: Update description.
28286 2014-05-27  Will Newton  <will.newton@linaro.org>
28288         [BZ #16990]
28289         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
28290         and restore r2 rather than just restoring.
28292 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28294         [BZ #16724]
28295         * libio/tst-ftell-append.c: New test case.
28296         * libio/Makefile (tests): Add test case.
28297         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
28298         append mode.
28299         * libio/wfileops.c (do_ftell_wide): Likewise.
28301 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28305         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
28306         ...
28307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
28308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
28309         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
28310         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
28311         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
28312         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
28313         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
28314         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
28315         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28316         Moved ...
28317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
28318         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28319         Moved ...
28320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
28321         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
28322         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
28323         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
28324         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
28325         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
28326         ...
28327         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
28328         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
28329         Moved ...
28330         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
28331         here.
28332         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
28333         ...
28334         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
28335         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
28336         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
28338         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
28339         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
28340         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
28341         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
28343         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
28344         merge into ...
28345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
28346         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
28347         ...
28348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
28349         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
28350         ...
28351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
28352         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
28353         Moved ...
28354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
28355         here.
28356         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
28357         Moved ...
28358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
28359         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
28360         Moved ...
28361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
28363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
28364         conditional [RESET_PID].
28365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
28366         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
28367         removed.
28368         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
28369         removed.
28371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
28372         <tcb-offsets.h>.
28373         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
28374         (__libc_vfork): New strong alias.
28375         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
28376         removed.
28377         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
28378         Removed.
28380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
28381         <tcb-offsets.h>.
28382         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
28383         (__libc_vfork): New strong alias.
28384         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
28385         removed.
28386         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
28387         removed.
28389 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
28391         * malloc/malloc.c (mi_arena): New function.
28392         (malloc_info): Remove nested function mi_arena. Call non-nosted
28393         function mi_arena.
28395 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28397         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
28398         by insrwi.
28399         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
28400         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
28401         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
28402         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
28403         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
28404         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
28405         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
28407 2014-05-26  Andreas Schwab  <schwab@suse.de>
28409         [BZ #16984]
28410         * locale/programs/repertoire.c (repertoire_read): Add slash
28411         between I18NPATH element and file name.
28412         * locale/programs/locfile.c (locfile_read): Likewise.
28414 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28416         * nptl/pthread_mutexattr_settype.c
28417         (__pthread_mutexattr_settype):
28418         Disable lock elision for PTHREAD_MUTEX_NORMAL.
28420 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
28422         * nptl/tst-mutex5 (do_test):
28423         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
28425 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28427         * benchtests/README: Document 'init' directive.
28428         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
28429         BENCH_INIT.
28430         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
28431         (parse_file): Recognize 'init' directive.
28433 2014-05-26  Kyle McMartin  <kyle@redhat.com>
28435         [BZ #16796]
28436         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
28437         alignment of struct pthread.
28439 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28441         [BZ #16878]
28442         * nscd/netgroupcache.c (addgetnetgrentX): Look for
28443         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28444         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
28445         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
28447 2014-05-25  Richard Henderson  <rth@twiddle.net>
28449         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28450         (SINGLE_THREAD_P_PIC): Remove.
28451         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
28452         (SINGLE_THREAD_P_PIC): Remove.
28454         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
28455         branch to syscall error ...
28456         (PSEUDO): ... here.
28457         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
28458         from __local_syscall_error to .Lsyscall_error.
28459         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
28460         (SYSCALL_ERROR): Update label name.
28462         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28463         Do not use DOARGS/UNDOARGS.
28464         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
28465         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
28466         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
28467         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
28468         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
28470         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
28471         block comment.
28473         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
28474         define if !NOT_IN_libc.
28475         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
28476         define with non-default symbol versions.
28478 2014-05-23  Richard Henderson  <rth@twiddle.net>
28480         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
28481         (vfork, __vfork): Define via compat_symbol.
28483         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
28484         [!HAVE_IFUNC] (vfork_compat): Remove.
28485         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
28487 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
28489         [BZ #16978]
28490         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
28491         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
28492         variable.
28494 2014-05-23  Richard Henderson  <rth@twiddle.net>
28496         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
28497         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
28498         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
28499         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
28501         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
28502         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
28503         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
28504         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
28505         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
28506         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
28507         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
28508         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
28509         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
28510         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
28511         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
28512         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
28513         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
28514         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
28515         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
28516         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
28517         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
28518         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
28519         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
28520         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
28521         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
28522         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
28523         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
28524         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
28525         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
28526         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
28527         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
28528         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
28529         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
28530         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
28531         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
28532         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
28533         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
28534         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
28535         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
28536         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
28537         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
28538         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
28539         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
28540         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
28541         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
28542         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
28543         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
28544         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
28545         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
28546         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
28547         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
28548         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
28549         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
28550         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
28551         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
28552         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
28553         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
28554         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
28555         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
28556         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
28558         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
28559         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
28560         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
28561         before exiting on error.
28562         (__libc_vfork): New strong alias.
28563         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
28564         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
28566         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
28567         that was previously under [RESET_PID].
28568         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
28570         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
28572 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
28574         [BZ #16977]
28575         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
28576         value when x - 1 is zero.
28577         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
28578         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
28579         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
28580         0.0L for an argument of 1.0L.
28581         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
28582         Likewise.
28583         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
28584         value when x - 1 is zero.
28585         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
28586         * sysdeps/i386/fpu/libm-test-ulps: Update.
28587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28589 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28591         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
28592         alphasort and versionsort.
28594 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28596         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
28597         macro.
28598         [copysignf]: Likewise.
28600 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28602         * crypt/md5-crypt.c: Fix formatting.
28604 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28606         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
28607         (b64_from_24bit): New function.
28609 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28611         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
28612         libc_hidden_builtin_def to ifunc.
28613         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
28614         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
28616 2014-05-21  Roland McGrath  <roland@hack.frob.com>
28618         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
28619         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
28621 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
28623         * nscd/Depend (linuxthreads): Remove.
28624         (nptl): Add.
28625         * resolv/Depend (linuxthreads): Remove.
28626         * rt/Depend (linuxthreads): Remove.
28628         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
28629         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
28630         $(common-objpfx)elf/.
28631         (link-libc-before-gnulib): Likewise.
28632         (elfobjdir): Remove variable.
28633         * Makefile (install): Use $(elf-objpfx) instead of
28634         $(common-objpfx)elf/.
28635         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
28636         $(elfobjdir)/.
28637         (link-libc-deps): Likewise.
28638         ($(common-objpfx)libc.so): Likewise.
28639         ($(common-objpfx)linkobj/libc.so): Likewise.
28640         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
28641         instead of $(common-objpfx)elf/.
28642         (symbolic-link-list): Likewise.
28643         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
28644         [$(cross-compiling) = no]: Likewise.
28645         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
28646         $(elfobjdir)/.
28647         (static-gnulib-arch): Likewise.
28648         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
28649         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
28650         $(common-objpfx)elf/.
28652 2014-05-21  Richard Henderson  <rth@redhat.com>
28654         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
28655         (SINGLE_THREAD_P): Use the correct width load.  Fold
28656         into the ldr offset.
28658         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
28659         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
28661 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
28663         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
28664         (libgcc_s_resume): Use __attribute_used__.
28665         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
28666         Likewise.
28668 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28670         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
28671         optimization when used with float constants.
28673         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28675 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
28677         [BZ #16915]
28678         * locale/nl_langinfo_l.c: Make direct reference to every
28679         _nl_current_CATEGORY symbol.
28680         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
28681         (tests-static): Add tst-langinfo-static.
28682         (tests-special): Add tst-langinfo-static.out.
28683         ($(objpfx)tst-langinfo.out): Redirect output.
28684         ($(objpfx)tst-langinfo-static.out): New.
28685         * localedata/tst-langinfo.sh: Send output to stdout.
28686         * localedata/tst-langinfo-static.c: New file.
28688         [BZ #16965]
28689         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
28690         when the shift amount is modulo the limb size.
28692 2014-05-20  Richard Henderson  <rth@redhat.com>
28694         [BZ #16967]
28695         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
28696         Change type of sa_flags from unsigned int to int.
28698         [BZ #16966]
28699         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
28701         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
28703 2014-05-20  Will Newton  <will.newton@linaro.org>
28705         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
28706         Test the return value of the system call in the nocancel case.
28708 2014-05-20  Will Newton  <will.newton@linaro.org>
28709             Yvan Roux  <yvan.roux@linaro.org>
28711         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
28712         #include of asm/ptrace.h.
28713         (PTRACE_GET_THREAD_AREA): Remove #undef.
28714         (PTRACE_GETHBPREGS): Likewise.
28715         (PTRACE_SETHBPREGS): Likewise.
28716         (struct user_regs_struct): New structure.
28717         (struct user_fpsimd_struct): New structure.
28718         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
28719         #include of asm/ptrace.h and second #include of sys/user.h.
28720         (PTRACE_GET_THREAD_AREA): Remove #undef.
28721         (PTRACE_GETHBPREGS): Likewise.
28722         (PTRACE_SETHBPREGS): Likewise.
28723         (ELF_NGREG): Use new struct user_regs_struct.
28724         (elf_fpregset_t): Use new struct user_fpsimd_struct.
28726 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28728         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
28729         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
28731 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
28733         [BZ #16958]
28734         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
28735         membar to avoid block loads/stores to overlap previous stores.
28737 2014-05-17  Richard Henderson  <rth@redhat.com>
28739         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
28740         Create the __##syscall_name##_nocancel entry point.
28741         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
28742         Remove; let the sysdep-cancel.h code create it.
28744 2014-05-17  David S. Miller  <davem@davemloft.net>
28746         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
28747         Protect with __USE_GNU.
28748         (TIOCSET_TEMPT): Likewise.
28749         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
28750         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
28751         these are already provided in bits/ioctl-types.h
28753 2014-05-16  Roland McGrath  <roland@hack.frob.com>
28755         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
28756         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
28758         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
28759         Use wait4 regardless of [__NR_waitpid].
28761 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
28763         PR libgcc/60166
28764         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
28765         (_FP_NANSIGN_Q): Set the quiet bit.
28767 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
28769         * benchtests/Makefile
28770         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
28771         not $(common-objpfx)math/libm.so.
28772         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
28773         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
28774         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
28775         $(common-objpfx)dlfcn/libdl.so.
28776         ($(objpfx)tst-audit8): Depend on $(libm), not
28777         $(common-objpfx)math/libm.so.
28778         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
28779         not $(common-objpfx)dlfcn/libdl.so.
28780         * math/Makefile
28781         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28782         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
28783         [$(build-shared) = yes].
28784         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
28785         $(common-objpfx)nptl/libpthread.so.
28786         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
28787         $(common-objpfx)math/libm.so$(libm.so-version) or
28788         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
28789         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
28790         $(common-objpfx)dlfcn/libdl.so.
28791         * setjmp/Makefile (link-libm): Remove variable.
28792         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
28793         * stdio-common/Makefile (link-libm): Remove variable.
28794         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
28795         * stdlib/Makefile (link-libm): Remove variable.
28796         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
28797         ($(objpfx)tst-strtod-round): Likewise.
28798         ($(objpfx)tst-tininess): Likewise.
28799         ($(objpfx)tst-strtod-underflow): Likewise.
28800         ($(objpfx)tst-strtod6): Likewise.
28801         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
28802         $(libdl), not $(common-objpfx)nptl/libpthread.so and
28803         $(common-objpfx)dlfcn/libdl.so.
28805 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28807         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
28808         BSD terminal modes definitions.
28810 2014-05-16  Roland McGrath  <roland@hack.frob.com>
28812         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
28813         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
28815         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
28816         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
28817         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
28818         Don't do #include_next.
28819         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
28820         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
28821         Don't do #include_next.
28822         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
28823         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
28824         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
28825         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
28827 2014-05-16  Allan McRae  <allan@archlinux.org>
28829         * po/sv.po: Update Swedish translation from translation project.
28831         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
28832         in sed expression.
28834 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
28836         [BZ #16917]
28837         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
28838         errno if the TIOCGPTN ioctl fails with an error different than
28839         EINVAL.
28840         * login/tst-ptsname.c: New file.
28841         * login/Makefile (tests): Add tst-ptsname.
28843         [BZ #16943]
28844         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
28845         and prlimit64.
28847 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28849         [BZ #16849]
28850         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
28851         herrno to return EAI_AGAIN.
28853 2014-05-14  Roland McGrath  <roland@hack.frob.com>
28855         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
28856         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
28857         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
28858         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
28859         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
28860         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
28861         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
28862         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
28863         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
28864         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
28865         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
28866         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
28867         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
28868         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
28869         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
28870         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
28871         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
28872         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
28873         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
28874         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
28875         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
28876         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
28877         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
28878         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
28879         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
28880         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
28881         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
28882         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
28883         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
28884         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
28885         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
28886         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
28887         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
28888         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
28889         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
28890         Moved ...
28891         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
28892         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
28893         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
28894         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
28895         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
28896         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
28897         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
28898         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
28899         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
28900         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
28901         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
28902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
28903         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
28904         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
28905         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
28906         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
28907         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
28908         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
28909         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
28910         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
28911         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
28912         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
28913         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
28914         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
28915         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
28916         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
28917         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
28918         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
28919         Moved ...
28920         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
28921         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
28922         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
28923         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
28924         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
28925         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
28926         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
28927         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
28928         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
28929         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
28930         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
28931         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
28932         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
28933         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
28934         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
28935         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
28936         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
28937         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
28938         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
28939         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
28940         Moved ...
28941         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
28942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
28943         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
28945         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
28946         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
28947         (libpthread-sysdep_routines): Add elision-related stuff here instead.
28948         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
28949         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
28950         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
28951         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
28952         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
28953         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
28954         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
28955         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
28956         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
28957         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
28958         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
28959         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
28960         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
28961         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
28962         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
28963         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
28964         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
28965         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
28966         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
28967         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
28968         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
28969         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
28970         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
28971         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
28972         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
28973         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
28974         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
28975         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
28977         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
28978         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
28980         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
28981         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
28982         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
28983         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
28984         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
28985         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
28986         Moved ...
28987         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
28988         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
28989         Moved ...
28990         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
28991         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
28992         Moved ...
28993         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
28994         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
28995         Moved ...
28996         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
28997         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
28998         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
28999         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
29000         Moved ...
29001         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
29002         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
29003         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
29004         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
29005         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
29006         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
29007         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
29008         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
29009         Moved ...
29010         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
29011         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29012         Moved ...
29013         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
29014         ... here.
29015         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
29016         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
29017         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
29018         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
29019         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29020         Moved ...
29021         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
29022         ... here.
29023         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
29024         Moved ...
29025         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
29026         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
29027         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
29028         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
29029         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
29030         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
29031         Moved ...
29032         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
29033         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
29034         Moved ...
29035         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
29036         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
29037         Moved ...
29038         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
29039         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
29040         Moved ...
29041         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
29042         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
29043         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
29044         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
29045         Moved ...
29046         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
29047         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
29048         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
29049         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
29050         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
29051         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
29052         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
29053         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
29054         Moved ...
29055         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
29056         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29057         Moved ...
29058         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
29059         ... here.
29060         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
29061         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
29062         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
29063         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
29064         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29065         Moved ...
29066         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
29067         ... here.
29068         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
29069         Moved ...
29070         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
29071         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
29072         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
29073         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
29074         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
29075         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
29076         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
29077         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
29078         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
29079         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
29080         Moved ...
29081         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
29082         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
29083         Moved ...
29084         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
29085         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
29086         Moved ...
29087         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
29088         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
29089         Moved ...
29090         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
29091         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
29092         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
29093         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
29094         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
29095         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
29096         Moved ...
29097         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
29098         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
29099         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
29100         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
29101         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
29102         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
29103         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
29104         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
29105         Moved ...
29106         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
29107         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29108         Moved ...
29109         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
29110         ... here.
29111         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
29112         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
29113         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
29114         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
29115         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29116         Moved ...
29117         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
29118         ... here.
29119         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
29120         Moved ...
29121         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
29122         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
29123         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
29124         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
29125         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
29126         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
29127         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
29128         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
29129         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
29130         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
29131         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
29133         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
29134         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
29136         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
29137         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
29139         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
29140         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
29141         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
29142         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
29143         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
29144         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
29145         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
29146         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
29147         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
29148         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
29149         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
29150         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
29151         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
29152         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
29153         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
29154         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
29155         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
29156         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
29157         Moved ...
29158         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
29159         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
29160         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
29161         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
29162         Moved ...
29163         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
29164         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
29165         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
29166         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
29167         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
29168         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
29169         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
29170         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
29171         Moved ...
29172         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
29173         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
29174         Moved ...
29175         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
29176         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
29177         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
29178         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
29179         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
29180         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
29181         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
29182         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
29183         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
29184         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
29185         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
29186         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
29187         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
29188         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
29189         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
29190         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
29191         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
29193         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
29194         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
29195         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
29196         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
29197         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
29199         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
29200         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
29201         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
29202         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
29203         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
29204         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
29205         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
29206         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
29207         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
29208         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
29210         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
29211         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
29213         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
29214         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
29215         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
29216         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
29217         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
29218         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
29219         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
29220         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
29221         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
29222         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
29223         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
29224         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
29225         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
29226         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
29227         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
29228         Update #include.
29229         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
29230         Likewise.
29231         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
29232         Likewise.
29233         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
29234         Likewise.
29235         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
29236         Likewise.
29237         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
29238         Likewise.
29239         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
29240         Likewise.
29241         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29242         Likewise.
29243         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
29244         Likewise.
29245         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
29246         Likewise.
29247         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
29248         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
29249         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
29250         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
29251         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
29252         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
29253         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
29254         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
29255         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
29256         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
29257         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
29258         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
29259         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
29260         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
29261         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
29263         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
29264         that was previously under [RESET_PID].
29265         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29266         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
29267         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
29269         * sysdeps/i386/nptl/Implies: New file.
29270         * sysdeps/x86_64/nptl/Implies: New file.
29271         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
29272         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
29273         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
29274         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
29276         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
29277         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29278         (__libc_vfork): New strong alias.
29279         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
29280         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
29282         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
29283         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29284         (__libc_vfork): New strong alias.
29285         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
29286         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
29288         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
29289         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29290         (__libc_vfork): New strong alias.
29291         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
29292         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
29293         * nptl/pt-vfork.c: New file.
29294         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
29295         (libpthread: GLIBC_2.20): New version set (empty).
29297 2014-05-14  Will Newton  <will.newton@linaro.org>
29299         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
29300         rather than #if.
29302 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
29304         [BZ #16564]
29305         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
29306         arguments with exponent 65 or above.
29307         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
29308         arguments 0x1p113L or above.
29309         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
29310         to arguments 0x1p107L or above.
29311         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
29312         positive arguments with exponent 65 or above.
29313         * math/auto-libm-test-in: Add more tests of log1p.
29314         * math/auto-libm-test-out: Regenerated.
29316         [BZ #16928]
29317         * math/s_cacos.c (__cacos): Ensure zero real part of result from
29318         non-finite arguments is +0.
29319         * math/s_cacosf.c (__cacosf): Likewise.
29320         * math/s_cacosl.c (__cacosl): Likewise.
29321         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
29322         * sysdeps/i386/fpu/libm-test-ulps: Update.
29323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29325         [BZ #16927]
29326         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
29327         value.
29328         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
29329         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
29330         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
29331         for explicit high bit of mantissa when testing for argument equal
29332         to 1.
29333         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
29334         * sysdeps/i386/fpu/libm-test-ulps: Update.
29335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29337         [BZ #16516]
29338         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
29339         (__erf): Scale by 16 instead of 8 in potentially underflowing
29340         case.  Ensure exception if result actually underflows.
29341         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
29342         (__erff): Scale by 16 instead of 8 in potentially underflowing
29343         case.  Ensure exception if result actually underflows.
29344         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
29345         (efx8): Remove variable.
29346         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29347         case.  Ensure exception if result actually underflows.
29348         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
29349         (efx8): Remove variable.
29350         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29351         case.  Ensure exception if result actually underflows.
29352         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
29353         (efx8): Remove variable.
29354         (__erfl): Scale by 16 instead of 8 in potentially underflowing
29355         case.  Ensure exception if result actually underflows.
29356         * math/auto-libm-test-in: Add more tests of erf.
29357         * math/auto-libm-test-out: Regenerated.
29359 2014-05-14  Andreas Schwab  <schwab@suse.de>
29361         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
29362         Remove code conditionalized on USE___THREAD.
29364         * config.h.in (HAVE_PT_CHOWN): Define as 0.
29365         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
29366         not definedness.
29368 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
29370         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
29371         Define unconditionally.
29372         (__ASSUME_O_CLOEXEC): Likewise.
29373         (__ASSUME_SOCK_CLOEXEC): Likewise.
29374         (__ASSUME_IN_NONBLOCK): Likewise.
29375         (__ASSUME_PIPE2): Likewise.
29376         (__ASSUME_EVENTFD2): Likewise.
29377         (__ASSUME_SIGNALFD4): Likewise.
29378         (__ASSUME_DUP3): Likewise.
29379         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
29380         (__ASSUME_DUP3): Do not define.
29381         (__ASSUME_EVENTFD2): Likewise.
29382         (__ASSUME_IN_NONBLOCK): Likewise.
29383         (__ASSUME_O_CLOEXEC): Likewise.
29384         (__ASSUME_PIPE2): Likewise.
29385         (__ASSUME_SIGNALFD4): Likewise.
29386         (__ASSUME_SOCK_CLOEXEC): Likewise.
29387         (__ASSUME_UTIMES): Undefine.
29388         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29389         (__ASSUME_UTIMES): Do not define.
29390         (__ASSUME_O_CLOEXEC): Likewise.
29391         (__ASSUME_SOCK_CLOEXEC): Likewise.
29392         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
29393         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
29394         0x020621].
29395         (__ASSUME_PIPE2): Likewise.
29396         (__ASSUME_EVENTFD2): Likewise.
29397         (__ASSUME_SIGNALFD4): Likewise.
29398         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
29399         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
29400         Do not define.
29401         (__ASSUME_EVENTFD2): Likewise.
29402         (__ASSUME_SIGNALFD4): Likewise.
29403         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29404         (__ASSUME_32BITUIDS): Likewise.
29405         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29406         (__ASSUME_IPC64): Likewise.
29407         (__ASSUME_ST_INO_64_BIT): Likewise.
29408         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
29409         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
29410         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29411         (__ASSUME_UTIMES): Do not define.
29412         (__ASSUME_PSELECT): Likewise.
29413         (__ASSUME_PPOLL): Likewise.
29414         (__ASSUME_O_CLOEXEC): Likewise.
29415         (__ASSUME_SOCK_CLOEXEC): Likewise.
29416         (__ASSUME_IN_NONBLOCK): Likewise.
29417         (__ASSUME_PIPE2): Likewise.
29418         (__ASSUME_EVENTFD2): Likewise.
29419         (__ASSUME_SIGNALFD4): Likewise.
29420         (__ASSUME_DUP3): Likewise.
29421         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29422         (__ASSUME_UTIMES): Likewise.
29423         (__ASSUME_O_CLOEXEC): Likewise.
29424         (__ASSUME_SOCK_CLOEXEC): Likewise.
29425         (__ASSUME_IN_NONBLOCK): Likewise.
29426         (__ASSUME_PIPE2): Likewise.
29427         (__ASSUME_EVENTFD2): Likewise.
29428         (__ASSUME_SIGNALFD4): Likewise.
29429         (__ASSUME_DUP3): Likewise.
29430         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29431         (__ASSUME_UTIMES): Likewise.
29432         (__ASSUME_O_CLOEXEC): Likewise.
29433         (__ASSUME_SOCK_CLOEXEC): Likewise.
29434         (__ASSUME_IN_NONBLOCK): Likewise.
29435         (__ASSUME_PIPE2): Likewise.
29436         (__ASSUME_EVENTFD2): Likewise.
29437         (__ASSUME_SIGNALFD4): Likewise.
29438         (__ASSUME_DUP3): Likewise.
29439         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
29440         Likewise.
29441         (__ASSUME_UTIMES): Likewise.
29442         (__ASSUME_EVENTFD2): Likewise.
29443         (__ASSUME_SIGNALFD4): Likewise.
29444         * sysdeps/unix/sysv/linux/tile/kernel-features.h
29445         (__ASSUME_O_CLOEXEC): Likewise.
29446         (__ASSUME_SOCK_CLOEXEC): Likewise.
29447         (__ASSUME_IN_NONBLOCK): Likewise.
29448         (__ASSUME_PIPE2): Likewise.
29449         (__ASSUME_EVENTFD2): Likewise.
29450         (__ASSUME_SIGNALFD4): Likewise.
29451         (__ASSUME_DUP3): Likewise.
29452         (__ASSUME_UTIMES): Undefine.
29454         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
29455         feclearexcept.  Remove symbol versioning code.
29456         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
29457         symbol versioning code.
29458         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
29459         symbol versioning code.
29460         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
29461         feupdateenv.  Remove symbol versioning code.
29462         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
29463         fegetexceptflag.  Remove symbol versioning code.
29464         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
29465         fesetexceptflag.  Remove symbol versioning code.
29466         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
29467         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
29468         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
29469         (__posix_fadvise64_l32): Remove prototype.
29470         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
29471         code.
29473 2014-05-13  Roland McGrath  <roland@hack.frob.com>
29475         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
29476         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
29477         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
29478         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
29480 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
29482         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
29483         current working directory
29485 2014-05-13  Roland McGrath  <roland@hack.frob.com>
29487         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
29488         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
29489         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
29490         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
29491         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
29492         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
29493         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
29494         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
29495         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
29496         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
29497         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
29498         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
29499         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
29500         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
29501         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
29502         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
29503         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
29504         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
29505         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
29506         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
29507         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
29508         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
29509         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
29510         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
29511         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
29512         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
29513         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
29514         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
29515         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
29516         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
29517         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
29518         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
29519         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
29520         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
29521         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
29522         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
29523         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
29524         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
29525         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
29526         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
29527         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
29528         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
29530         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
29531         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
29533         * sysdeps/unix/sysv/linux/arm/Makefile
29534         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
29535         Add rt-aeabi_unwind_cpp_pr1.
29536         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
29537         Add nptl-aeabi_unwind_cpp_pr1.
29538         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
29539         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
29540         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
29541         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
29542         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
29543         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
29545         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
29546         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
29547         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
29548         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
29550         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
29551         Deconditionalize the code that was previously under [RESET_PID].
29552         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
29554         * sysdeps/generic/exit-thread.h: New file.
29555         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
29556         * include/unistd.h (__exit_thread): Remove declaration.
29557         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
29558         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
29559         * csu/libc-start.c: Include <exit-thread.h>.
29560         (LIBC_START_MAIN): Pass no argument to __exit_thread.
29561         * nptl/pthread_create.c: Include <exit-thread.h>.
29562         (start_thread): Call __exit_thread in place of __exit_thread_inline.
29563         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
29564         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
29565         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
29566         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
29567         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
29568         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
29569         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
29570         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
29571         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
29572         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
29573         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
29574         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
29575         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
29576         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
29577         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
29578         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
29580 2014-05-13  Andreas Schwab  <schwab@suse.de>
29582         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
29584 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
29586         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29587         (__ASSUME_UTIMES): Do not condition on kernel version.
29588         (__ASSUME_PSELECT): Define unconditionally.
29589         (__ASSUME_PPOLL): Likewise.
29590         (__ASSUME_ATFCTS): Likewise.
29591         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
29592         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
29593         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
29594         (__ASSUME_UTIMENSAT): Define unconditionally.
29595         (__ASSUME_PRIVATE_FUTEX): Likewise.
29596         (__ASSUME_FALLOCATE): Likewise.
29597         (__ASSUME_O_CLOEXEC): Likewise.
29598         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
29599         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
29600         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
29601         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
29602         (__ASSUME_IN_NONBLOCK): Likewise.
29603         (__ASSUME_PIPE2): Likewise.
29604         (__ASSUME_EVENTFD2): Likewise.
29605         (__ASSUME_SIGNALFD4): Likewise.
29606         (__ASSUME_DUP3): Likewise.
29607         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29608         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
29609         (__ASSUME_AT_RANDOM): Likewise.
29610         (__ASSUME_PREADV): Likewise.
29611         (__ASSUME_PWRITEV): Likewise.
29612         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
29613         (__ASSUME_F_GETOWN_EX): Define unconditionally.
29614         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
29615         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29616         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
29617         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29618         (__ASSUME_O_CLOEXEC): Define unconditionally.
29619         (__ASSUME_PSELECT): Do not undefine conditionally.
29620         (__ASSUME_PPOLL): Likewise.
29621         (__ASSUME_ATFCTS): Likewise.
29622         (__ASSUME_SET_ROBUST_LIST): Likewise.
29623         (__ASSUME_UTIMENSAT): Likewise.
29624         (__ASSUME_FDATASYNC): Define unconditionally.
29625         * sysdeps/unix/sysv/linux/arm/kernel-features.h
29626         (__ASSUME_SIGFRAME_V2): Likewise.
29627         )__ASSUME_EVENTFD2): Likewise.
29628         (__ASSUME_SIGNALFD4): Likewise.
29629         (__ASSUME_PSELECT): Do not undefine conditionally.
29630         (__ASSUME_PPOLL): Likewise.
29631         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
29632         (__ASSUME_PSELECT): Define unconditionally.
29633         (__ASSUME_PPOLL): Likewise.
29634         (__ASSUME_O_CLOEXEC): Likewise.
29635         (__ASSUME_SOCK_CLOEXEC): Likewise.
29636         (__ASSUME_IN_NONBLOCK): Likewise.
29637         (__ASSUME_PIPE2): Likewise.
29638         (__ASSUME_EVENTFD2): Likewise.
29639         (__ASSUME_SIGNALFD4): Likewise.
29640         (__ASSUME_DUP3): Likewise.
29641         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
29642         (__ASSUME_O_CLOEXEC): Likewise.
29643         (__ASSUME_SOCK_CLOEXEC): Likewise.
29644         (__ASSUME_IN_NONBLOCK): Likewise.
29645         (__ASSUME_PIPE2): Likewise.
29646         (__ASSUME_EVENTFD2): Likewise.
29647         (__ASSUME_SIGNALFD4): Likewise.
29648         (__ASSUME_DUP3): Likewise.
29649         * sysdeps/unix/sysv/linux/mips/kernel-features.h
29650         (__ASSUME_EVENTFD2): Likewise.
29651         (__ASSUME_SIGNALFD4): Likewise.
29652         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
29654 2014-05-12  Andreas Schwab  <schwab@suse.de>
29656         [BZ #16932]
29657         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
29658         (_nss_nis_gethostbyname4_r): Return error if item length is larger
29659         than maximum RPC packet size.
29660         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
29661         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
29662         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
29663         (_nss_nis_getservbyport_r): Likewise.
29665 2014-05-12  Will Newton  <will.newton@linaro.org>
29667         * malloc/Makefile (tests): Add tst-mallopt.
29668         * malloc/tst-mallopt.c: New file.
29670 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29672         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
29673         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
29675 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29677         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
29678         (tst-tlsmod6.so): Likewise.
29680 2014-05-09  Roland McGrath  <roland@hack.frob.com>
29682         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
29684 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
29686         [BZ #16064]
29687         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
29688         and <dl-procinfo.h>.
29689         (__fegetenv): Save SSE state in envp->__eip if supported.
29690         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
29691         envp->__eip if supported.
29692         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
29693         and <dl-procinfo.h>.
29694         (__fesetenv): Always set __eip, __cs_selector, __opcode,
29695         __data_offset and __data_selector in environment to 0.  Set SSE
29696         state if supported.
29697         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
29698         test-fenv-sse.
29699         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
29700         -mfpmath=sse.
29701         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
29703 2014-05-09  Will Newton  <will.newton@linaro.org>
29705         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
29706         and libc_relro_required for ARM.
29707         * sysdeps/arm/preconfigure: Regenerate.
29709 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
29710             Stefan Liebler  <stli@linux.vnet.ibm.com>
29712         * config.make.in (enable-lock-elision): New Makefile variable.
29713         * configure.ac: Likewise.
29714         * configure: Regenerate.
29715         * sysdeps/s390/configure.ac:
29716         Add check for gcc transactions support.
29717         * sysdeps/s390/configure: Regenerate.
29718         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
29719         Build elision files if enabled.
29720         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
29721         Add lock elision support for s390.
29722         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
29723         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
29724         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
29725         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
29726         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
29727         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
29728         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29729         Likewise.
29730         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
29731         Likewise.
29732         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
29733         Likewise.
29734         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
29735         Likewise.
29736         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
29737         (__lll_timedlock_elision, __lll_lock_elision)
29738         (__lll_unlock_elision, __lll_trylock_elision)
29739         (lll_timedlock_elision, lll_lock_elision)
29740         (lll_unlock_elision, lll_trylock_elision): Add.
29741         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
29742         (pthread_mutex_t): Add lock elision support for s390.
29744 2014-05-14  Wilco  <wdijkstr@arm.com>
29746         * sysdeps/arm/fclrexcpt.c: Cleanup.
29747         * sysdeps/arm/fedisblxcpt.c: Cleanup.
29748         * sysdeps/arm/feenablxcpt.c: Cleanup.
29749         * sysdeps/arm/fegetenv.c: Cleanup.
29750         * sysdeps/arm/fegetexcept.c: Cleanup.
29751         * sysdeps/arm/fegetround.c: Cleanup.
29752         * sysdeps/arm/feholdexcpt.c: Cleanup.
29753         * sysdeps/arm/fesetenv.c: Cleanup.
29754         * sysdeps/arm/fesetround.c: Cleanup.
29755         * sysdeps/arm/feupdateenv.c: Cleanup.
29756         * sysdeps/arm/fgetexcptflg.c: Cleanup.
29757         * sysdeps/arm/fraiseexcpt.c: Cleanup.
29758         * sysdeps/arm/fsetexcptflg.c: Cleanup.
29759         * sysdeps/arm/ftestexcept.c: Cleanup.
29760         * sysdeps/arm/get-rounding-mode.h: Cleanup.
29761         * sysdeps/arm/setfpucw.c: Cleanup.
29763 2014-05-09  Will Newton  <will.newton@linaro.org>
29765         * sysdeps/arm/armv7/strcmp.S: New file.
29766         * NEWS: Mention addition of ARMv7 optimized strcmp.
29768 2014-05-08  Roland McGrath  <roland@hack.frob.com>
29770         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
29771         look for %.ac rather than %.in.
29773         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
29774         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
29775         * sysdeps/mach/hurd/configure: Regenerated.
29776         * sysdeps/unix/sysv/linux/configure: Regenerated.
29778         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
29780 2014-05-07  Steve Ellcey  <sellcey@mips.com>
29782         [BZ# 16922]
29783         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
29784         (LONG_SUB): Ditto.
29785         (PTR_SUB): Ditto.
29787 2014-05-07  Andreas Schwab  <schwab@suse.de>
29789         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
29790         when skipping over non-matching result from nscd.
29792 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
29794         [BZ #16876]
29795         * nptl/sockperf.c (client): Check socket return value.
29797         [BZ #16877]
29798         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
29799         nscd security class.
29801 2014-05-06  Roland McGrath  <roland@hack.frob.com>
29803         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
29804         * sysdeps/arm/unwind.h: ... here.
29806 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
29808         [BZ# 16916]
29809         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
29810         Define.
29812 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29814         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
29815         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
29816         multiarch strncpy for PPC64.
29817         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
29818         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
29819         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
29820         multiarch optimizations.
29821         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29822         (__libc_ifunc_impl_list): Likewise.
29823         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
29824         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
29825         multiarch stpncpy for PPC64.
29826         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
29827         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
29829 2014-05-06  Andreas Schwab  <schwab@suse.de>
29831         [BZ #16912]
29832         * gmon/mcount.c (_MCOUNT_DECL): Use
29833         atomic_compare_and_exchange_bool_acq instead of
29834         catomic_compare_and_exchange_bool_acq.
29836 2014-05-05  Roland McGrath  <roland@hack.frob.com>
29838         * elf/Makefile (others, install-bin): Remove pldd.
29839         (pldd-modules): Variable removed.
29840         ($(objpfx)pldd): Target removed.
29841         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
29842         (others, install-bin): Append pldd here.
29843         ($(objpfx)pldd): New target.
29845         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
29846         to 0, so the first #if test emitted later doesn't see it undefined.
29847         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
29848         * sysdeps/gnu/errlist.c: Regenerated.
29850 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29852         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
29853         [libc_hidden_builtin_def]: Define to empty value.
29854         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
29855         [libc_hidden_builtin_def]: Likewise.
29856         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
29857         [libc_hidden_builtin_def]: Likewise.
29858         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
29859         [libc_hidden_builtin_def]: Likewise.
29860         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
29861         __redirect_memcpy and define ifunc as default hidden symbol.
29862         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
29863         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
29865 2014-05-04  Adam Conrad  <adconrad@0c3.net>
29867         * locale/iso-4217.def: Reintroduce XDR currency.
29869 2014-05-04  Allan McRae  <allan@archlinux.org>
29871         * po/eo.po: Update Esperanto translation from translation project.
29873 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
29875         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
29876         and FEATURE_INDEX_MAX to 1.
29877         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
29879 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29881         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
29882         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
29883         * iconvdata/big5.c (ONE_DIRECTION): Define.
29884         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
29885         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
29886         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
29887         * iconvdata/cp932.c (ONE_DIRECTION): Define.
29888         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
29889         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
29890         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
29891         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
29892         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
29893         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
29894         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
29895         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
29896         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
29897         * iconvdata/gbk.c (ONE_DIRECTION): Define.
29898         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
29899         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
29900         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
29901         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
29902         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
29903         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
29904         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
29905         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
29906         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
29907         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
29908         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
29909         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
29910         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
29911         * iconvdata/iso646.c (ONE_DIRECTION): Define.
29912         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
29913         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
29914         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
29915         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
29916         * iconvdata/johab.c (ONE_DIRECTION): Define.
29917         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
29918         * iconvdata/sjis.c (ONE_DIRECTION): Define.
29919         * iconvdata/t.61.c (ONE_DIRECTION): Define.
29920         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
29921         * iconvdata/tscii.c (ONE_DIRECTION): Define.
29922         * iconvdata/uhc.c (ONE_DIRECTION): Define.
29923         * iconvdata/unicode.c (ONE_DIRECTION): Define.
29924         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
29925         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
29926         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
29928 2014-05-01  Roland McGrath  <roland@hack.frob.com>
29930         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
29931         (_IO_JUMPS_OFFSET): Define to 0.
29933         * nptl/sysdeps/pthread/bits/libc-lock.h
29934         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
29935         (__libc_lock_define_initialized_recursive): Always define using
29936         initializer.  Modern compilers treat uninitialized (implicit zero) and
29937         explicit zero initializers the same (i.e. put the datum in bss).
29939 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29941         * nscd/nscd-client.h: Include <string.h>.
29943 2014-05-01  David S. Miller  <davem@davemloft.net>
29945         [BZ #16885]
29946         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
29947         multiple zero bytes exist at the end of a string.
29948         Reported by Aurelien Jarno <aurelien@aurel32.net>
29950         * string/test-strcmp.c (check): Add explicit test for situations where
29951         there are multiple zero bytes after the first.
29953 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29955         [BZ #16890]
29956         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
29957         when compiling wprintf.
29958         * stdio-common/tstdiomisc.c (t3): New function.
29959         (main): Call it.
29961 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29963         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
29964         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
29965         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
29966         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
29968 2014-05-01  Steve Ellcey  <sellcey@mips.com>
29970         * stdlib/longlong.h: Updated from GCC.
29972 2014-05-01  Will Newton  <will.newton@linaro.org>
29973             Bernard Ogden  <bernie.ogden@linaro.org>
29975         * NEWS: Update fixed bug list.
29977         [BZ #15119]
29978         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
29980 2014-04-30  David S. Miller  <davem@davemloft.net>
29982         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
29983         (libc_feholdexcept_setround_sparc_ctx): New function.
29984         (libc_fesetenv_sparc_ctx): Likewise.
29985         (libc_feupdateenv_sparc_ctx): Likewise.
29986         (libc_feholdsetround_sparc_ctx): Likewise.
29987         (libc_feholdexcept_setround_ctx): Define.
29988         (libc_feholdexcept_setroundf_ctx): Likewise.
29989         (libc_feholdexcept_setroundl_ctx): Likewise.
29990         (libc_fesetenv_ctx): Likewise.
29991         (libc_fesetenvf_ctx): Likewise.
29992         (libc_fesetenvl_ctx): Likewise.
29993         (libc_feupdateenv_ctx): Likewise.
29994         (libc_feupdateenvf_ctx): Likewise.
29995         (libc_feupdateenvl_ctx): Likewise.
29996         (libc_feresetround_ctx): Likewise.
29997         (libc_feresetroundf_ctx): Likewise.
29998         (libc_feresetroundl_ctx): Likewise.
29999         (libc_feholdsetround_ctx): Likewise.
30000         (libc_feholdsetroundf_ctx): Likewise.
30001         (libc_feholdsetroundl_ctx): Likewise.
30003         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30004         with __USE_GNU instead of XOPEN cpp guards.
30006         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
30007         0.
30009         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
30010         with XOPEN cpp guards.
30012 2014-04-30  Julian Brown  <julian@codesourcery.com>
30014         [BZ #16888]
30015         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
30016         handling.
30018 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
30020         [BZ #9894]
30021         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
30022         Change to 2.6.32.
30023         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
30024         * sysdeps/unix/sysv/linux/configure: Regenerated.
30025         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
30026         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
30027         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
30028         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
30029         * README: Update reference to required Linux kernel version.
30030         * manual/install.texi (Linux): Update reference to required Linux
30031         kernel headers version.
30032         * INSTALL: Regenerated.
30034         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
30035         header inclusion.
30036         [POSIX] (limits.h): Likewise.
30037         [POSIX] (math.h): Likewise.
30038         [POSIX] (sys/wait.h): Likewise.
30039         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
30040         function.
30041         [POSIX] (stddef.h): Do not allow header inclusion.
30043 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30045         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
30047 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
30049         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
30050         Return immediately after lll_futex_wake.
30052 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30054         [BZ #16791]
30055         * nscd/nscd-client.h (datahead_init_common): Initialize entire
30056         structure.
30057         (datahead_init_pos): Call datahead_init_common early.
30058         (datahead_init_neg): Likewise.
30060         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
30061         datahead_init_neg): New functions.
30062         * nscd/aicache.c (addhstaiX): Use them.
30063         * nscd/grpcache.c (cache_addgr): Likewise.
30064         * nscd/hstcache.c (cache_addhst): Likewise.
30065         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30066         * nscd/netgroupcache.c (do_notfound): Likewise.
30067         (addgetnetgrentX): Likewise.
30068         (addinnetgrX): Likewise.
30069         * nscd/pwdcache.c (cache_addpw): Likewise.
30070         * nscd/servicescache.c (cache_addserv): Likewise.
30072 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30073             Atsushi Onoe  <atsushi@onoe.org>
30075         [BZ #14308]
30076         [BZ #12994]
30077         [BZ #13651]
30078         * resolv/res_query.c (__libc_res_nsearch): Return if at least
30079         one response is valid.
30080         * resolv/res_send.c (send_dg): Check for validity of other
30081         response if the current response is a referral.
30083 2014-04-29  Steve Ellcey  <sellcey@mips.com>
30085         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
30087 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
30089         [BZ #16823]
30090         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
30091         Always divide by positive zero when computing -Inf result.
30092         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
30093         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30095 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30097         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
30098         FPSCR if value do not change.
30099         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30100         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
30101         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30102         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
30103         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
30104         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
30105         function.
30107 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
30109         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
30110         * sysdeps/unix/sysv/linux/hppa: Move directory from
30111         ports/systeps/unix/sysv/linux/hppa.
30112         * README: Update listing for hppa-*-linux-gnu.
30114 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
30116         [BZ #16754]
30117         * manual/stdio.texi (Hook functions): Fix types of stream hook
30118         functions.
30119         [BZ #16854]
30120         * socket/sys/socket.h: Fix typo in comment.
30122 2014-04-28  Wilco  <wdijkstr@arm.com>
30124         * sysdeps/arm/fenv_private.h: New file.
30125         * sysdeps/arm/math_private.h: New file.
30126         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
30128 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
30130         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
30131         with __int128_t.
30132         (La_x86_64_retval): Likewise.
30134 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
30136         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
30137         fpsr if value didn't change.
30138         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
30139         to fpcr if value didn't change.
30140         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
30141         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
30142         fpsr or fpcr if value didn't change.
30143         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
30144         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
30145         fpcr if value didn't change.
30146         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
30147         to fpsr if value didn't change.
30149 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30151         * nptl/tst-sem3.c: Use test-skeleton.c
30152         (main): Rename to do_test.  Use return instead of
30153         exit.
30154         * nptl/tst-sem4.c: Use test-skeleton.c
30155         (main): Rename to do_test.
30157 2014-04-22  David S. Miller  <davem@davemloft.net>
30159         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
30160         (struct sigaction): New struct member __glibc_reserved0, change
30161         type of sa_flags to int.
30163 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
30165         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
30166         (COUNT_LEADING_ZEROS_0): Define for AArch64.
30168 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30170         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
30171         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
30173 2014-04-22  Will Newton  <will.newton@linaro.org>
30174             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
30176         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
30177         (__longjmp): Add longjmp and longjmp_target SystemTap
30178         probes.
30179         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
30180         (__sigsetjmp): Add setjmp SystemTap probe.
30182 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
30184         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
30185         match manual order.
30187 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30189         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
30191         * sysdeps/powerpc/fpu/fenv_private.h
30192         (libc_feholdexcept_setroundl_ctx): Define to
30193         libc_feholdexcept_setround_ppc_ctx.
30194         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
30195         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
30196         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
30197         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
30199 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
30201         * sysdeps/aarch64/math-tests.h: New file.
30203 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
30205         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
30206         New.
30207         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30208         Check and set bit_AVX2_Usable.
30209         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
30210         macro.
30211         (bit_AVX2): Likewise.
30212         (index_AVX2_Usable): Likewise.
30213         (CPUID_AVX2): Likewise.
30214         (HAS_AVX2): Likewise.
30216 2014-04-17  Will Newton  <will.newton@linaro.org>
30218         * manual/setjmp.texi (System V contexts): Add note that
30219         calling setcontext on a context created by a call to a
30220         signal handler is undefined.  Update text to note that
30221         setcontext from a signal handler is possible but not
30222         recommended.
30224         [BZ #16629]
30225         * stdlib/tst-setcontext.c: Include signal.h.
30226         (main): Check that the signal stack before and
30227         after swapcontext is the same.
30229         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
30230         Re-implement to restore registers in user code and avoid
30231         rt_sigreturn system call.
30233 2014-04-17  Wilco  <wdijkstr@arm.com>
30235         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
30236         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
30237         * math/test-fenv.c: Skip exception trap tests on targets which only
30238         support non-stop mode.
30240 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
30241             Wilco Dijkstra  <wilco.dijkstra@arm.com>
30243         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
30244         (libc_feholdsetround_aarch64_ctx)
30245         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
30246         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
30247         (libc_feresetround_ctx, libc_feresetroundf_ctx)
30248         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
30249         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
30250         (libc_feresetround_noexl_ctx): Define.
30252 2014-04-16  Richard Henderson  <rth@redhat.com>
30254         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
30256         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
30257         unwind tables.
30259         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
30260         const from the non-libc, non-ldso copy.
30262         * sysdeps/alpha/libm-test-ulps: Regenerate.
30264 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
30265             Wilco Dijkstra  <wilco.dijkstra@arm.com>
30267         * sysdeps/aarch64/fpu/math_private.h: New file.
30269 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30271         * sysdeps/aarch64/libm-test-ulps: Regenerate.
30273 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
30275         [BZ #16275]
30276         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
30277         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
30278         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
30279         Intel MPX bound registers before _dl_profile_fixup.
30280         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
30281         registers after _dl_profile_fixup.  Save and restore bound
30282         registers bnd0/bnd1 when calling _dl_call_pltexit.
30283         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
30284         (LR_BND_OFFSET): Likewise.
30285         (LRV_BND0_OFFSET): Likewise.
30286         (LRV_BND1_OFFSET): Likewise.
30288 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30290         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
30291         to...
30292         * sysdeps/mach/hurd/i386/tls.h: ... here.
30293         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
30294         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
30295         fields.
30297 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30299         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
30301 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30303         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30305 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30307         [BZ #14770]
30308         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
30309         * sysdeps/s390/configure: Regenerate.
30311         [BZ #16824]
30312         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
30313         Set round-to-nearest internally to reduce error accumulation.
30315 2014-04-16  Alan Modra  <amodra@gmail.com>
30317         [BZ #16740]
30318         [BZ #16619]
30319         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
30320         * math/libm-test.inc (frexp_test_data): Add tests.
30321         * NEWS: Update fixed bug list.
30323 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30325         * benchtests/Makefile: Depend on libraries in build directory.
30326         (bench-math): Separate out math tests.
30327         (bench-pthread): Separate out pthread tests.
30328         (bench): Include math and pthread tests.
30330 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
30332         [BZ #16831]
30333         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
30334         _dl_debug_initialize.
30336         * configure.ac: Remove SELinux header check.
30337         * configure: Regenerate.
30338         * nscd/selinux.c (perms): Array of const char* to permission names.
30339         (nscd_request_avc_has_perm): Call security_deny_unknown to find
30340         default policy. Call string_to_security_class and string_to_av_perm to
30341         translate strings. Enforce default policy and call avs_has_perm with
30342         results of translated strings.
30344 2014-04-13  David S. Miller  <davem@davemloft.net>
30346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30348 2014-04-12  Allan McRae  <allan@archlinux.org>
30350         [BZ #16838]
30351         * manual/string.texi (Collation Functions): Fix qsort argument
30352         order in example.
30353         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30355 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
30357         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
30358         Make the test a no-op if there are no exceptions defined.
30360 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30362         * elf/Makefile (tests): make tst-dlopen-aout conditional on
30363         enable-hardcoded-path-in-tests
30365 2014-04-11  Will Newton  <will.newton@linaro.org>
30367         * benchtests/Makefile (extra-objs): Add json-lib.o.
30368         (bench-func): Tidy up JSON output.
30369         * benchtests/bench-skeleton.c: Include json-lib.h.
30370         (main): Use JSON library functions to do output of
30371         benchmark results.
30372         * benchtests/bench-timing-type.c (main): Output the
30373         timing type simply, leaving formatting to the user.
30374         * benchtests/json-lib.c: New file.
30375         * benchtests/json-lib.h: Likewise.
30377 2014-04-11  Torvald Riegel  <triegel@redhat.com>
30379         [BZ #15215]
30380         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
30381         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
30382         memory barriers.  Add comments.
30383         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
30384         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
30385         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
30386         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
30387         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
30388         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
30390 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
30392         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
30393         * sysdeps/s390/s390-64/configure.ac: ... this ...
30394         * sysdeps/s390/configure.ac: ... to here.
30395         * sysdeps/s390/s390-32/configure: Delete file.
30396         * sysdeps/s390/s390-64/configure: Delete file.
30397         * sysdeps/s390/configure: Regenerate.
30399 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
30401         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
30403 2014-04-11  Will Newton  <will.newton@linaro.org>
30405         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
30406         to zero if it is not defined elsewhere.  (mtrim): Test
30407         the value of MALLOC_DEBUG with #if rather than #ifdef.
30409 2014-04-10 Torvald Riegel  <triegel@redhat.com>
30411         * benchtests/pthread_once-inputs: New file.
30412         * benchtests/pthread_once-source.c: New file.
30413         * benchtests/README: Update documentation.
30415 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
30416             H.J. Lu  <hongjiu.lu@intel.com>
30418         [BZ #16275]
30419         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
30420         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
30421         * sysdeps/x86_64/configure: Regenerated.
30422         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
30423         macro.
30424         (REGISTER_SAVE_RAX): Likewise.
30425         (REGISTER_SAVE_RCX): Likewise.
30426         (REGISTER_SAVE_RDX): Likewise.
30427         (REGISTER_SAVE_RSI): Likewise.
30428         (REGISTER_SAVE_RDI): Likewise.
30429         (REGISTER_SAVE_R8): Likewise.
30430         (REGISTER_SAVE_R9): Likewise.
30431         (REGISTER_SAVE_BND0): Likewise.
30432         (REGISTER_SAVE_BND1): Likewise.
30433         (REGISTER_SAVE_BND2): Likewise.
30434         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
30435         bound registers when calling _dl_fixup.
30437 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30439         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
30440         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
30441         of its definition.
30442         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
30443         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
30444         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
30445         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
30446         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
30447         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
30448         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
30450 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
30452         [BZ #15514]
30453         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
30454         pathconf(_PC_NAME_MAX).
30456 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30458         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
30459         Remove macro usage.
30460         (__PTHREAD_SPINS): Move definition to ...
30461         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30462         (__PTHREAD_SPINS): ... here.
30463         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30464         (__PTHREAD_SPIN): Likewise.
30465         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
30466         (__PTHREAD_SPIN): Likewise.
30467         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
30468         (__PTHREAD_SPIN): Likewise.
30469         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
30470         (__PTHREAD_SPIN): Likewise.
30471         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
30472         (__PTHREAD_SPIN): Likewise.
30473         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
30474         (__PTHREAD_SPIN): Likewise.
30475         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
30476         (__PTHREAD_SPIN): Likewise.
30477         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
30478         (__PTHREAD_SPIN): Likewise.
30479         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
30480         (__PTHREAD_SPIN): Likewise.
30481         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
30482         (__PTHREAD_SPIN): Likewise.
30483         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
30484         (__PTHREAD_SPIN): Likewise.
30485         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
30486         (__PTHREAD_SPIN): Likewise.
30488         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
30489         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
30490         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
30491         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
30492         imply folder.
30493         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
30494         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
30495         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
30496         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
30497         correct imply path.
30498         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
30499         strlen symbol for non multi-arch builds.
30500         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
30501         missing hidden_def and weak_alias.
30503 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
30505         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
30507 2014-04-07  Will Newton  <will.newton@linaro.org>
30509         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
30510         and contents.  [!_LIBC] Remove #ifndef and contents.
30511         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
30512         * string/memccpy.c (__memccpy): Use ANSI prototype.
30513         * string/memfrob.c (memfrob): Likewise.
30514         * string/strcoll.c (STRCOLL): Likewise.
30515         * string/strlen.c (strlen): Likewise.
30516         * string/strtok.c (STRTOK): Likewise.
30517         * string/strcat.c: Remove unused #include of memcopy.h.
30518         (strcat): Use ANSI prototype.
30519         * string/strchr.c: Remove unused #include of memcopy.h.
30520         (strchr): Use ANSI prototype.
30521         * string/strcmp.c: Remove unused #include of memcopy.h.
30522         (strcmp): Use ANSI prototype.
30523         * string/strcpy.c: Remove unused #include of memcopy.h.
30524         (strcpy): Use ANSI prototype.
30526 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30528         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
30529         * config.make.in (config-extra-cppflags): Set it from
30530         libc_extra_cppflags.
30531         * configure.ac (libc_extra_cflags): Make it accumulate over
30532         configure fragments.
30533         (libc_extra_cppflags): New flag.
30534         * configure. Regenerate.
30535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
30536         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
30537         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
30538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
30540         [BZ #16815]
30541         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
30542         result for FE_DOWNWARD rounding mode.
30543         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
30544         Likewise.
30545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30547 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
30549         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
30550         in function argument name.
30552 2014-04-03  David Svoboda  <svoboda@cert.org>
30554         [BZ #5666]
30555         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
30556         explicitly.
30558 2014-04-03  Roland McGrath  <roland@hack.frob.com>
30560         * elf/dl-unmap-segments.h: New file.
30561         * sysdeps/generic/ldsodefs.h
30562         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
30563         * elf/dl-close.c: Include <dl-unmap-segments.h>.
30564         * elf/dl-fptr.c: Likewise.
30565         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
30566         * sysdeps/aarch64/tlsdesc.c: Likewise.
30567         * sysdeps/arm/tlsdesc.c: Likewise.
30568         * sysdeps/i386/tlsdesc.c: Likewise.
30569         * sysdeps/tile/dl-runtime.c: Likewise.
30570         * sysdeps/x86_64/tlsdesc.c: Likewise.
30571         * elf/dl-load.h: New file.
30572         * elf/dl-load.c: Include it.
30573         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
30574         Macros moved to dl-load.h.
30575         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
30576         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
30577         Use _dl_unmap_segments in place of __munmap.
30578         Break out segment-mapping loop into ...
30579         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
30581 2014-04-03  Will Newton  <will.newton@linaro.org>
30583         * elf/dl-lookup.c (do_lookup_x): Remove comment
30584         referring to nested function and move variable
30585         declarations down to before first use.
30587 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
30589         [BZ #16799]
30590         [BZ #16800]
30591         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
30592         with 0 numerator.
30593         * math/s_catanf.c (__catanf): Likewise.
30594         * math/s_catanh.c (__catanh): Likewise.
30595         * math/s_catanhf.c (__catanhf): Likewise.
30596         * math/s_catanhl.c (__catanhl): Likewise.
30597         * math/s_catanl.c (__catanl): Likewise.
30598         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
30599         by positive zero when computing -Inf result.
30600         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
30601         (catanh_test): Likewise.
30602         * sysdeps/i386/fpu/libm-test-ulps: Update.
30603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30605         [BZ #16789]
30606         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
30607         instead of using underflowing value in computing result.
30608         * math/s_clog10.c (__clog10): Likewise.
30609         * math/s_clog10f.c (__clog10f): Likewise.
30610         * math/s_clog10l.c (__clog10l): Likewise.
30611         * math/s_clogf.c (__clogf): Likewise.
30612         * math/s_clogl.c (__clogl): Likewise.
30613         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
30614         (clog10_test): Likewise.
30615         * sysdeps/i386/fpu/libm-test-ulps: Update.
30616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30618 2014-04-02  Alan Modra  <amodra@gmail.com>
30620         [BZ #16739]
30621         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
30622         output when value is near a power of two.  Use int64_t for lx and
30623         remove casts.  Use decimal rather than hex exponent constants.
30624         Don't use long double multiplication when double will suffice.
30625         * math/libm-test.inc (nextafter_test_data): Add tests.
30626         * NEWS: Add 16739 and 16786 to bug list.
30628         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
30630         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
30632 2014-04-01  Will Newton  <will.newton@linaro.org>
30634         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
30635         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
30637 2014-04-01  Florian Weimer  <fweimer@redhat.com>
30639         [BZ #13347]
30640         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
30641         * nptl/tst-setuid2.c: New file.
30642         * nptl/Makefile (xtests): Add tst-setuid2.
30644 2014-04-01  Alan Modra  <amodra@gmail.com>
30646         [BZ #16786]
30647         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
30649 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30651         [BZ #6803]
30652         [BZ #6804]
30653         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
30654         set errno as appropriate.
30655         * math/w_scalbf.c (__scalbf): Likewise.
30656         * math/w_scalbl.c (__scalbl): Likewise.
30657         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
30658         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
30659         * math/libm-test.inc (scalb_test_data): Add errno expectations.
30660         Add more NaN tests.
30662         [BZ #16349]
30663         * math/w_atan2.c: Include <errno.h>.
30664         (__atan2): Set errno for result underflowing to zero.
30665         * math/w_atan2f.c: Include <errno.h>.
30666         (__atan2f): Set errno for result underflowing to zero.
30667         * math/w_atan2l.c: Include <errno.h>.
30668         (__atan2l): Set errno for result underflowing to zero.
30669         * math/auto-libm-test-in: Don't allow missing errno for some atan2
30670         tests.
30671         * math/auto-libm-test-out: Regenerated.
30673 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30675         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
30676         Encode instruction correctly in little endian.
30677         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
30678         Likewise.
30679         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
30680         Likewise.
30681         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
30682         Likewise.
30683         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
30684         Likewise.
30686 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
30688         [BZ #9894]
30689         * sysdeps/unix/sysv/linux/kernel-features.h
30690         [__sparc__ && !__arch64__ && !__sparc_v9__]
30691         (__ASSUME_SET_ROBUST_LIST): Do not define.
30692         [__sparc__ && !__arch64__ && !__sparc_v9__]
30693         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30694         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
30695         Likewise.
30696         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30697         (__ASSUME_FUTEX_LOCK_PI): Undefine.
30698         (__ASSUME_REQUEUE_PI): Likewise.
30699         (__ASSUME_SET_ROBUST_LIST): Likewise.
30700         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
30701         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
30702         Undefine.
30703         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30704         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
30705         Likewise.
30706         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
30707         Likewise.
30708         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
30709         Likewise.
30710         * sysdeps/unix/sysv/linux/mips/kernel-features.h
30711         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
30712         Undefine.
30713         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
30714         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
30715         Likewise.
30717         [BZ #16648]
30718         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30719         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
30720         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
30722 2014-03-31  Will Newton  <will.newton@linaro.org>
30724         * benchtests/Makefile (bench): Add ffs and ffsll to list
30725         of tests.
30726         * benchtests/ffs-inputs: New file.
30727         * benchtests/ffsll-inputs: Likewise.
30729 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
30731         [BZ #16770]
30732         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
30733         too large before casting to int.
30734         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
30735         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
30736         * math/libm-test.inc (scalb_test_data): Add more tests.
30738 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30740         * benchtests/Makefile (DETAILED_OPT): New make option.
30741         (bench-func): Run benchmark program with -d if DETAILED_OPT is
30742         set.
30743         * benchtests/bench-skeleton.c: Include stdbool.h.
30744         (main): Store and print timings per input.
30745         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
30746         member to each argument value.
30747         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
30748         (_print_arg_data): Initialize per-input timing to 0.
30750         * benchtests/Makefile (timing-type): New binary.
30751         (bench-clean): Also remove bench-timing-type.
30752         (bench): New target for timing-type.
30753         (bench-func): Print output in JSON format.
30754         * benchtests/bench-skeleton.c (main): Print output in JSON
30755         format.
30756         * benchtests/bench-timing-type.c: New file.
30757         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
30758         (TIMING_PRINT_STATS): Remove.
30759         * benchtests/scripts/bench.py (_print_arg_data): Store variant
30760         name separately.
30762         * benchtests/bench-modf.c: Remove.
30763         * benchtests/modf-inputs: New inputs file.
30765 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
30767         [BZ #16362]
30768         * math/s_clog10.c (M_PI_LOG10E): New macro.
30769         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
30770         imaginary parts are 0.
30771         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
30772         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
30773         imaginary parts are 0.
30774         * math/s_clog10l.c (M_PI_LOG10El): New macro.
30775         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
30776         imaginary parts are 0.
30777         * math/libm-test.inc (clog10_test_data): Update expected results
30778         for when real and imaginary parts are 0.
30780 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
30782         * elf/dl-load.c: Finish conversion of __builtin_expect into
30783         __glibc_{un}likely.
30785 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
30787         [BZ #16348]
30788         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
30789         1+x for argument with exponent below -67.
30790         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
30791         Likewise.
30792         * math/auto-libm-test-in: Add more tests of exp.
30793         * math/auto-libm-test-out: Regenerated.
30795 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30797         [BZ #16759]
30798         * inet/getnetgrent_r.c (get_nonempty_val): New function.
30799         (nscd_getnetgrent): Use it.
30801         [BZ #16760]
30802         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
30803         of stpcpy.
30805 2014-03-27  Andi Kleen  <ak@linux.intel.com>
30807         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
30808         (lll_robust_lock, lll_cond_lock, lll_timedlock)
30809         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30810         (lll_robust_unlock): Remove out of line section. Use cfi
30811         intrinsics.
30812         (LLL_STUB_UNWIND_INFO*): Remove.
30813         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
30814         (lll_robust_lock, lll_cond_lock, lll_timedlock)
30815         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
30816         (lll_robust_unlock): Remove out of line section. Use cfi
30817         intrinsics.
30818         (LLL_STUB_UNWIND_INFO*): Remove.
30820 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30822         [BZ #16758]
30823         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
30824         blank values.
30826 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
30828         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
30830 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
30832         [BZ #16198]
30833         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
30834         fnstenv.
30835         * math/test-fenv-preserve.c: New file.
30836         * math/Makefile (tests): Add test-fenv-preserve.
30838 2014-03-26  Will Newton <will.newton@linaro.org>
30840         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
30842 2014-03-25  Roland McGrath  <roland@hack.frob.com>
30844         * scripts/versionlist.awk: Partition the version sets and emit all
30845         GLIBC_* (sorted) before all others (sorted).
30847 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
30849         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
30850         GLIBC_2.2.5 version.
30852 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30854         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
30855         calls.
30857         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
30858         previous change.
30860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30862 2014-03-25  Andreas Schwab  <schwab@suse.de>
30864         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
30865         label to be used after in6ailist is initialized.
30867 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30869         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30870         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30872 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
30874         [BZ #16357]
30875         [BZ #16599]
30876         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
30877         min_plus_half.
30878         (fp_formats): Update initializers.
30879         (init_fp_formats): Initialize new field.
30880         (output_for_one_input_case): Allow underflow for results up to
30881         min_plus_half.
30882         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
30883         * math/auto-libm-test-in: Don't mark some underflows from asin and
30884         atanh as spurious.
30885         * math/auto-libm-test-out: Regenerated.
30886         * sysdeps/i386/fpu/libm-test-ulps: Update.
30887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30889 2014-03-25  Andreas Schwab  <schwab@suse.de>
30891         * libio/Makefile (tst-ftell-partial-wide-ENV)
30892         (tst-ftell-active-handler-ENV): Define.
30894 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
30896         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
30898 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30900         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
30902 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
30904         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
30905         * sysdeps/x86_64/fpu/multiarch/e_exp.c
30906         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30908 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
30910         [BZ #16634]
30911         * elf/dl-load.c (open_verify): Add mode parameter.
30912         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
30913         (open_path): Change from boolean 'secure' to complete flag 'mode'
30914         (_dl_map_object): Adjust.
30915         * elf/Makefile (tests): Add tst-dlopen-aout.
30916         * elf/tst-dlopen-aout.c: New test.
30918 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
30920         [BZ #16714]
30921         * sysdeps/unix/sysv/linux/s390/bits/stat.h
30922         (struct stat): Rename member pad0 to __glibc_reserved0.
30924         [BZ #16712]
30925         * sysdeps/s390/s390-32/bits/wordsize.h
30926         (__WORDSIZE32_SIZE_ULONG): New define.
30927         * sysdeps/s390/s390-64/bits/wordsize.h
30928         (__WORDSIZE32_SIZE_ULONG): Likewise.
30929         * sysdeps/generic/stdint.h (SIZE_MAX):
30930         Define as UL if __WORDSIZE32_SIZE_ULONG.
30932         [BZ #16713]
30933         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
30934         (__glibc_reserved0): New variable.
30935         (sa_flags): Change type to int.
30937         * posix/Makefile (before-compile): Use += before-compile instead
30938         of a :=.
30940         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
30941         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
30943 2014-03-20  Andreas Schwab  <schwab@suse.de>
30945         [BZ #16743]
30946         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
30947         non-matching result from nscd.
30949 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30951         * scripts/bench.py: Moved to ...
30952         * benchtests/scripts/bench.py: ... here.
30953         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
30955 2014-03-24  Andreas Schwab  <schwab@suse.de>
30957         [BZ #16002]
30958         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
30959         alloca_account and account alloca use for struct in6ailist.
30961 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
30963         [BZ #16284]
30964         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
30965         rounding mode to recompute results that overflow to infinity or
30966         underflow to zero.
30967         * math/auto-libm-test-in: Don't mark tests as expected to fail for
30968         bug 16284.
30969         * math/auto-libm-test-out: Regenerated.
30970         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
30971         (ccosh_test): Likewise.
30972         (csin_test_data): Use plus_oflow.
30973         (csin_test): Use ALL_RM_TEST.
30974         (csinh_test_data): Use plus_oflow.
30975         (csinh_test): Use ALL_RM_TEST.
30976         * sysdeps/i386/fpu/libm-test-ulps: Update.
30977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30979 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
30981         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
30982         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
30983         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
30985         [BZ #16731]
30986         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
30987         when x - 1 is zero.
30988         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
30989         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
30990         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
30991         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
30992         argument is 1.
30993         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
30994         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
30995         zero.
30996         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
30997         * sysdeps/i386/fpu/libm-test-ulps: Update.
30998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31000 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31002         * scripts/bench.pl: Remove file.
31003         * scripts/bench.py: New benchmark script.
31004         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
31005         * benchtests/README: Mention python dependency.
31006         * scripts/pylintrc: New file.
31007         * scripts/pylint: New file.
31009         * bits/mathdef.h: Use #ifdef instead of #if.
31010         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
31011         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31012         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
31013         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31014         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
31015         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
31017 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31018             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31020         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
31021         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
31022         and strpbrk-ppc64 objects.
31023         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31024         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
31025         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
31026         multiarch strpbrk for POWER7.
31027         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
31028         multiarch strpbrk for PPC64.
31029         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
31030         ifunc selector.
31031         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
31032         strpbrk for POWER7.
31034 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
31036         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
31037         (atan_test): Likewise.
31038         (atanh_test_data): Use NO_TEST_INLINE for two tests.
31039         (atanh_test): Use ALL_RM_TEST.
31040         (atan2_test_data): Likewise.
31041         (cabs_test): Likewise.
31042         (cacosh_test): Likewise.
31043         (carg_test): Likewise.
31044         (casin_test): Likewise.
31045         (casinh_test): Likewise.
31046         (cbrt_test): Likewise.
31047         (csqrt_test): Likewise.
31048         (erf_test): Likewise.
31049         (erfc_test): Likewise.
31050         (pow10_test): Likewise.
31051         (exp2_test): Likewise.
31052         (hypot_test): Likewise.
31053         (j0_test): Likewise.
31054         (j1_test): Likewise.
31055         (lgamma_test): Likewise.
31056         (gamma_test): Likewise.
31057         (sincos_test): Likewise.
31058         (tanh_test): Likewise.
31059         (y0_test): Likewise.
31060         (y1_test): Likewise.
31061         * sysdeps/i386/fpu/libm-test-ulps: Update.
31062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31064 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31066         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
31067         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
31068         and strcspn-ppc64 objects.
31069         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31070         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
31071         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
31072         multiarch strcspn for POWER7.
31073         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
31074         multiarch strcspn for PPC64.
31075         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
31076         ifunc selector.
31077         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
31078         strcspn for POWER7.
31080 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
31082         * math/gen-libm-test.pl (generate_testfile): Expect only function
31083         name as argument to AUTO_TESTS_* and pass results for all rounding
31084         modes to parse_args.
31085         (parse_auto_input): Separate inputs of automatic tests from
31086         outputs before storing in %auto_tests.
31087         * math/libm-test.inc (acos_test_data): Update call to
31088         AUTO_TESTS_f_f.
31089         (acos_test): Use ALL_RM_TEST.
31090         (acos_tonearest_test_data): Remove.
31091         (acos_test_tonearest): Likewise.
31092         (acos_towardzero_test_data): Likewise.
31093         (acos_test_towardzero): Likewise.
31094         (acos_downward_test_data): Likewise.
31095         (acos_test_downward): Likewise.
31096         (acos_upward_test_data): Likewise.
31097         (acos_test_upward): Likewise.
31098         (acosh_test_data): Update call to AUTO_TESTS_f_f.
31099         (asin_test_data): Likewise.
31100         (asin_test): Use ALL_RM_TEST.
31101         (asin_tonearest_test_data): Remove.
31102         (asin_test_tonearest): Likewise.
31103         (asin_towardzero_test_data): Likewise.
31104         (asin_test_towardzero): Likewise.
31105         (asin_downward_test_data): Likewise.
31106         (asin_test_downward): Likewise.
31107         (asin_upward_test_data): Likewise.
31108         (asin_test_upward): Likewise.
31109         (asinh_test_data): Update call to AUTO_TESTS_f_f.
31110         (atan_test_data): Likewise.
31111         (atanh_test_data): Likewise.
31112         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
31113         (cabs_test_data): Update call to AUTO_TESTS_c_f.
31114         (carg_test_data): Likewise.
31115         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
31116         (ccos_test_data): Update call to AUTO_TESTS_c_c.
31117         (ccosh_test_data): Likewise.
31118         (cexp_test_data): Likewise.
31119         (clog_test_data): Likewise.
31120         (clog10_test_data): Likewise.
31121         (cos_test_data): Update call to AUTO_TESTS_f_f.
31122         (cos_test): Use ALL_RM_TEST.
31123         (cos_tonearest_test_data): Remove.
31124         (cos_test_tonearest): Likewise.
31125         (cos_towardzero_test_data): Likewise.
31126         (cos_test_towardzero): Likewise.
31127         (cos_downward_test_data): Likewise.
31128         (cos_test_downward): Likewise.
31129         (cos_upward_test_data): Likewise.
31130         (cos_test_upward): Likewise.
31131         (cosh_test_data): Update call to AUTO_TESTS_f_f.
31132         (cosh_test): Use ALL_RM_TEST.
31133         (cosh_tonearest_test_data): Remove.
31134         (cosh_test_tonearest): Likewise.
31135         (cosh_towardzero_test_data): Likewise.
31136         (cosh_test_towardzero): Likewise.
31137         (cosh_downward_test_data): Likewise.
31138         (cosh_test_downward): Likewise.
31139         (cosh_upward_test_data): Likewise.
31140         (cosh_test_upward): Likewise.
31141         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
31142         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
31143         (ctan_test_data): Likewise.
31144         (ctan_test): Use ALL_RM_TEST.
31145         (ctan_tonearest_test_data): Remove.
31146         (ctan_test_tonearest): Likewise.
31147         (ctan_towardzero_test_data): Likewise.
31148         (ctan_test_towardzero): Likewise.
31149         (ctan_downward_test_data): Likewise.
31150         (ctan_test_downward): Likewise.
31151         (ctan_upward_test_data): Likewise.
31152         (ctan_test_upward): Likewise.
31153         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
31154         (ctanh_test): Use ALL_RM_TEST.
31155         (ctanh_tonearest_test_data): Remove.
31156         (ctanh_test_tonearest): Likewise.
31157         (ctanh_towardzero_test_data): Likewise.
31158         (ctanh_test_towardzero): Likewise.
31159         (ctanh_downward_test_data): Likewise.
31160         (ctanh_test_downward): Likewise.
31161         (ctanh_upward_test_data): Likewise.
31162         (ctanh_test_upward): Likewise.
31163         (erf_test_data): Update call to AUTO_TESTS_f_f.
31164         (erfc_test_data): Likewise.
31165         (exp_test_data): Likewise.
31166         (exp_test): Use ALL_RM_TEST.
31167         (exp_tonearest_test_data): Remove.
31168         (exp_test_tonearest): Likewise.
31169         (exp_towardzero_test_data): Likewise.
31170         (exp_test_towardzero): Likewise.
31171         (exp_downward_test_data): Likewise.
31172         (exp_test_downward): Likewise.
31173         (exp_upward_test_data): Likewise.
31174         (exp_test_upward): Likewise.
31175         (exp10_test_data): Update call to AUTO_TESTS_f_f.
31176         (exp10_test): Use ALL_RM_TEST.
31177         (exp10_tonearest_test_data): Remove.
31178         (exp10_test_tonearest): Likewise.
31179         (exp10_towardzero_test_data): Likewise.
31180         (exp10_test_towardzero): Likewise.
31181         (exp10_downward_test_data): Likewise.
31182         (exp10_test_downward): Likewise.
31183         (exp10_upward_test_data): Likewise.
31184         (exp10_test_upward): Likewise.
31185         (exp2_test_data): Update call to AUTO_TESTS_f_f.
31186         (expm1_test_data): Likewise.
31187         (expm1_test): Use ALL_RM_TEST.
31188         (expm1_tonearest_test_data): Remove.
31189         (expm1_test_tonearest): Likewise.
31190         (expm1_towardzero_test_data): Likewise.
31191         (expm1_test_towardzero): Likewise.
31192         (expm1_downward_test_data): Likewise.
31193         (expm1_test_downward): Likewise.
31194         (expm1_upward_test_data): Likewise.
31195         (expm1_test_upward): Likewise.
31196         (fma_test_data): Update call to AUTO_TESTS_fff_f.
31197         (fma_test): Use ALL_RM_TEST.
31198         (fma_towardzero_test_data): Remove.
31199         (fma_test_towardzero): Likewise.
31200         (fma_downward_test_data): Likewise.
31201         (fma_test_downward): Likewise.
31202         (fma_upward_test_data): Likewise.
31203         (fma_test_upward): Likewise.
31204         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
31205         (j0_test_data): Update call to AUTO_TESTS_f_f.
31206         (j1_test_data): Likewise.
31207         (jn_test_data): Update call to AUTO_TESTS_if_f.
31208         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
31209         (log_test_data): Update call to AUTO_TESTS_f_f.
31210         (log10_test_data): Likewise.
31211         (log1p_test_data): Likewise.
31212         (log2_test_data): Likewise.
31213         (pow_test_data): Update call to AUTO_TESTS_ff_f.
31214         (pow_tonearest_test_data): Likewise.
31215         (sin_test_data): Update call to AUTO_TESTS_f_f.
31216         (sin_test): Use ALL_RM_TEST.
31217         (sin_tonearest_test_data): Remove.
31218         (sin_test_tonearest): Likewise.
31219         (sin_towardzero_test_data): Likewise.
31220         (sin_test_towardzero): Likewise.
31221         (sin_downward_test_data): Likewise.
31222         (sin_test_downward): Likewise.
31223         (sin_upward_test_data): Likewise.
31224         (sin_test_upward): Likewise.
31225         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
31226         (sinh_test_data): Update call to AUTO_TESTS_f_f.
31227         (sinh_test): Use ALL_RM_TEST.
31228         (sinh_tonearest_test_data): Remove.
31229         (sinh_test_tonearest): Likewise.
31230         (sinh_towardzero_test_data): Likewise.
31231         (sinh_test_towardzero): Likewise.
31232         (sinh_downward_test_data): Likewise.
31233         (sinh_test_downward): Likewise.
31234         (sinh_upward_test_data): Likewise.
31235         (sinh_test_upward): Likewise.
31236         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
31237         (sqrt_test): Use ALL_RM_TEST.
31238         (sqrt_tonearest_test_data): Remove.
31239         (sqrt_test_tonearest): Likewise.
31240         (sqrt_towardzero_test_data): Likewise.
31241         (sqrt_test_towardzero): Likewise.
31242         (sqrt_downward_test_data): Likewise.
31243         (sqrt_test_downward): Likewise.
31244         (sqrt_upward_test_data): Likewise.
31245         (sqrt_test_upward): Likewise.
31246         (tan_test_data): Update call to AUTO_TESTS_f_f.
31247         (tan_test): Use ALL_RM_TEST.
31248         (tan_tonearest_test_data): Remove.
31249         (tan_test_tonearest): Likewise.
31250         (tan_towardzero_test_data): Likewise.
31251         (tan_test_towardzero): Likewise.
31252         (tan_downward_test_data): Likewise.
31253         (tan_test_downward): Likewise.
31254         (tan_upward_test_data): Likewise.
31255         (tan_test_upward): Likewise.
31256         (tanh_test_data): Update call to AUTO_TESTS_f_f.
31257         (tgamma_test_data): Likewise.
31258         (y0_test_data): Likewise.
31259         (y1_test_data): Likewise.
31260         (yn_test_data): Update call to AUTO_TESTS_if_f.
31261         (main): Do not call removed functions.
31263 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
31265         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
31266         (ldexp_test_data): Remove.
31267         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
31268         scalbn_test_data.
31269         (scalb_test): Use ALL_RM_TEST.
31271 2014-03-19  Andreas Schwab  <schwab@suse.de>
31273         * nscd/nscd.service: Also invalidate netgroup cache on reload.
31275 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
31277         [BZ #16649]
31278         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31279         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
31280         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
31281         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31282         (__ASSUME_PREADV): Undefine.
31283         (__ASSUME_PWRITEV): Likewise.
31285 2014-03-18  Roland McGrath  <roland@hack.frob.com>
31287         * bits/mman-linux.h: Add comment about non-Linux use.
31288         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
31289         bits/mman-linux.h resting place.
31291         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
31292         * bits/mman-linux.h: ... here.
31294 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31296         * conform/conformtest.pl: Add standard definition when calling C
31297         preprocessor on data files.
31298         (checknamespace): Remove unused variable.
31300 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
31302         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
31303         minus_oflow, plus_uflow and minus_uflow in expected results.
31304         * math/libm-test.inc (scalbn_test_data): Add more tests of
31305         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
31306         minus_uflow.
31307         (scalbn_test): Use ALL_RM_TEST.
31308         (scalbln_test_data): Add more tests of negative arguments.  Use
31309         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
31310         (scalbln_test): Use ALL_RM_TEST.
31312 2014-03-18  Roland McGrath  <roland@hack.frob.com>
31314         * scripts/abilist.awk: Ignore symbols marked with .hidden.
31316 2014-03-18  Will Newton  <will.newton@linaro.org>
31318         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
31319         inaccurate comment.
31321 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
31323         * Makerules [!subdir] (check-abi): Exit with error status if a
31324         test failed.
31326 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
31328         * math/libm-test.inc (nearbyint_test_data): Include all tests used
31329         for rint.  Include results for all rounding modes.
31330         (nearbyint_test): Use ALL_RM_TEST.
31331         (rint_test_data): Include all tests used for nearbyint.
31333 2014-03-17  Will Newton  <will.newton@linaro.org>
31335         * nptl/sysdeps/pthread/pthread.h: Revert previous
31336         change.
31338         * sysdeps/generic/ldsodefs.h: Revert previous
31339         change.
31341         * libio/genops.c: Revert previous change.
31342         * libio/libioP.h: Likewise.
31343         * stdio-common/vfprintf.c: Likewise.
31345         * sysdeps/generic/math_private.h: Revert previous
31346         change.
31348         * sysdeps/generic/math_private.h: Check whether
31349         HAVE_RM_CTX is defined with #ifdef rather
31350         than #if.
31352         * argp/argp-fmtstream.h: Check whether
31353         __STRICT_ANSI__ is defined with #ifdef rather
31354         than #if.
31355         * argp/argp.h: Likewise.
31357         * libio/genops.c: Check whether
31358         _IO_JUMPS_OFFSET is defined with #ifdef rather
31359         than #if.
31360         * libio/libioP.h: Likewise.
31361         * stdio-common/vfprintf.c: Likewise.
31363         * sysdeps/generic/ldsodefs.h: Check whether
31364         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
31365         than #if.
31367         * nptl/sysdeps/pthread/pthread.h: Check
31368         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
31369         its value.
31371 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31373         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
31374         setting O_APPEND.
31375         * libio/tst-ftell-active-handler.c (do_append_test): Add a
31376         test case.
31378         [BZ #16680]
31379         * libio/fileops.c (_IO_file_open): Seek to end of file but
31380         don't cache the offset.
31381         (get_file_offset): Remove function.
31382         (do_ftell): Use cached offset when available.
31383         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
31384         don't cache the offset.
31385         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
31386         case.
31387         (do_one_test): Call it.
31388         (do_ftell_test): Fix up expected old offset for a+ mode.
31389         * libio/wfileops.c (do_ftell_wide): Used cached offset when
31390         available.
31392         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
31393         up test status with function return status.
31394         (do_write_test): Likewise.
31395         (do_append_test): Likewise.
31397         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
31398         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
31399         Remove.
31401 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
31403         * math/gen-libm-test.pl (parse_args): Handle results specified for
31404         each rounding mode separately.
31405         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
31406         tests and results from lrint_tonearest_test_data,
31407         lrint_towardzero_test_data, lrint_downward_test_data and
31408         lrint_upward_test_data.
31409         (lrint_test): Use ALL_RM_TEST.
31410         (lrint_tonearest_test_data): Remove.
31411         (lrint_test_tonearest): Likewise.
31412         (lrint_towardzero_test_data): Likewise.
31413         (lrint_test_towardzero): Likewise.
31414         (lrint_downward_test_data): Likewise.
31415         (lrint_test_downward): Likewise.
31416         (lrint_upward_test_data): Likewise.
31417         (lrint_test_upward): Likewise.
31418         (llrint_test_data): Merge in per-rounding-mode tests and results
31419         from llrint_tonearest_test_data, llrint_towardzero_test_data,
31420         llrint_downward_test_data and llrint_upward_test_data.
31421         (llrint_test): Use ALL_RM_TEST.
31422         (llrint_tonearest_test_data): Remove.
31423         (llrint_test_tonearest): Likewise.
31424         (llrint_towardzero_test_data): Likewise.
31425         (llrint_test_towardzero): Likewise.
31426         (llrint_downward_test_data): Likewise.
31427         (llrint_test_downward): Likewise.
31428         (llrint_upward_test_data): Likewise.
31429         (llrint_test_upward): Likewise.
31430         (rint_test_data): Merge in per-rounding-mode tests and results
31431         from rint_tonearest_test_data, rint_towardzero_test_data,
31432         rint_downward_test_data and rint_upward_test_data.  Add
31433         per-rounding-mode results for tests not in those arrays.
31434         (rint_test): Use ALL_RM_TEST.
31435         (rint_tonearest_test_data): Remove.
31436         (rint_test_tonearest): Likewise.
31437         (rint_towardzero_test_data): Likewise.
31438         (rint_test_towardzero): Likewise.
31439         (rint_downward_test_data): Likewise.
31440         (rint_test_downward): Likewise.
31441         (rint_upward_test_data): Likewise.
31442         (rint_test_upward): Likewise.
31443         (main): Don't call removed functions.
31445 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31447         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
31448         "Compiled on ..." crapola.  It is anti-useful.
31450 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
31452         * scripts/evaluate-test.sh: Handle fourth argument to determine
31453         whether test run should stop on failure.
31454         * Makeconfig (stop-on-test-failure): New variable.
31455         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
31456         $(stop-on-test-failure).
31457         * Makefile (tests): Give a summary of results from testing and
31458         exit with failure status if they include an ERROR or FAIL.
31459         (xtests): Likewise.
31460         * manual/install.texi (Configuring and compiling): Mention
31461         stop-on-test-failure=y.
31462         * INSTALL: Regenerated.
31464 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31466         * scripts/versionlist.awk: New file.
31467         * Makerules [$(build-shared) = yes]
31468         (postclean-generated): Add Versions.def, not Versions.def.v and
31469         Versions.def.v.i.
31470         ($(common-objpfx)Versions.def.v.i): Target removed.
31471         ($(common-objpfx)Versions.def): New target.
31472         ($(common-objpfx)Versions.all): Depend on that rather that
31473         $(common-objpfx)Versions.def.v.
31474         * Versions.def: File removed.
31476         * Makeconfig (+gccwarn): Add -Wundef.
31477         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
31478         a dl-sysdep.h breaking its contract.
31479         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
31480         * include/stackinfo.h: New file.
31481         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
31482         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
31483         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
31484         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
31485         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
31486         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
31487         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31488         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31489         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31490         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31491         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31492         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
31493         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31494         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31495         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31497 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31499         [BZ #16707]
31500         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
31501         implementation.
31502         * math/libm-test.inc (round_test_data): Add more tests.
31504         [BZ #16706]
31505         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
31506         implementation.
31507         * math/libm-test.inc (nearbyint_test_data): Add more tests.
31509         [BZ #16701]
31510         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
31511         implementation.
31512         * math/libm-test.inc (ceil_test_data): Add more tests.
31514         * math/libm-test.inc (trunc_test_data): Add more tests related to
31515         BZ#16414.
31517 2014-03-14  Roland McGrath  <roland@hack.frob.com>
31519         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
31520         with #if rather than #ifdef.
31521         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
31523 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
31525         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
31526         first.  Disable AVX-512 GCC support if assembler doesn't support
31527         it.
31528         * sysdeps/x86_64/configure: Regenerated.
31530 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
31532         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
31533         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
31534         (__old_pthread_attr_setstack): Likewise.
31535         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
31536         [!_STACK_GROWS_DOWN]: Likewise.
31538 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
31540         * config.make.in (have-bash2): Delete.
31541         * configure.ac (libc_cv_have_bash2): Delete.
31542         * configure: Regenerate.
31543         * elf/Makefile (common-ldd-rewrite): Rename to ...
31544         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
31545         (sh-ldd-rewrite): Delete.
31546         (bash-ldd-rewrite): Delete.
31547         (have-bash2): Delete checks.
31548         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
31549         ldd-rewrite.
31551         * config.make.in (have-ksh): Delete.
31552         (KSH): Delete.
31553         * configure.ac (libc_cv_have_ksh): Delete.
31554         * configure: Regenerate.
31556         * elf/Makefile: Delete $(have-ksh) check.
31557         ($(objpfx)sotruss): Change KSH to BASH.
31558         * elf/sotruss.ksh: Rename to ...
31559         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
31560         function style to match POSIX.  Drop ksh vim mode setting.
31562         * manual/time.texi (Specifying the Time Zone with TZ): Change
31563         Tuesday to Thursday.
31565         * debug/tst-longjmp_chk2.c: Update header comment.
31566         (stackoverflow_handler): Add comment.  Call assert on pass value.
31568 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
31570         [BZ #16194]
31571         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
31572         (HAVE_AVX512_ASM_SUPPORT): Likewise.
31573         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
31574         (La_x86_64_vector): Add zmm.
31575         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
31576         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
31577         ($(objpfx)tst-audit10): New target.
31578         ($(objpfx)tst-audit10.out): Likewise.
31579         (tst-audit10-ENV): New.
31580         (AVX512-CFLAGS): Likewise.
31581         (CFLAGS-tst-audit10.c): Likewise.
31582         (CFLAGS-tst-auditmod10a.c): Likewise.
31583         (CFLAGS-tst-auditmod10b.c): Likewise.
31584         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
31585         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
31586         * sysdeps/x86_64/configure: Regenerated.
31587         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
31588         AVX-512 zmm register support.
31589         (_dl_x86_64_save_sse): Likewise.
31590         (_dl_x86_64_restore_sse): Likewise.
31591         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
31592         size vector registers.
31593         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
31594         (ZMM_SIZE): Likewise.
31595         * sysdeps/x86_64/tst-audit10.c: New file.
31596         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
31597         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
31599 2014-03-13  Roland McGrath  <roland@hack.frob.com>
31601         * configure.ac (HAVE_EHDR_START): New check.
31602         * configure: Regenerated.
31603         * config.h.in (HAVE_EHDR_START): New #undef.
31604         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
31605         assuming the lowest-addressed segment maps the start of the file.
31607 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
31609         * INSTALL: Regenerated.
31611 2014-03-13  Will Newton  <will.newton@linaro.org>
31613         * manual/setjmp.texi (System V contexts): Improve
31614         clarity and grammar of documentation.
31616 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
31618         [BZ #16381]
31619         * elf/Makefile (tests): Add tst-pie2.
31620         (tests-pie): Add tst-pie2.
31621         * elf/tst-pie2.c: New file.
31622         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
31623         for ET_EXEC.
31624         * elf/rtld.c (map_doit): Load executable as lt_executable.
31625         (dl_main): Likewise.
31627 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
31629         [BZ #16642]
31630         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31631         (__ASSUME_PSELECT): Undefine.
31633 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31635         [BZ #16689]
31636         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
31637         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
31638         static build.
31639         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
31640         selector for static builds.
31642 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31644         [BZ #16695]
31645         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
31646         key in the buffer.
31648 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31650         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
31651         IFUNC selector for static builds.
31653 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
31655         * sysdeps/mips/math_private.h [__mips_hard_float]
31656         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
31657         libc_feresetround_mips_ctx.
31658         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
31659         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
31660         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
31662         [BZ #16677]
31663         * math/s_nextafter.c (__nextafter): Do not return value from
31664         overflowing computation.
31665         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
31666         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
31667         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
31668         Likewise.
31669         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
31670         Likewise.
31671         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
31672         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
31674 2014-03-11  Roland McGrath  <roland@hack.frob.com>
31676         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
31677         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
31678         Move sfi_sp use from the load-multiple (that no longer sets sp) to
31679         the new mov targetting sp.
31681 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31683         [BZ #16683]
31684         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
31685         Define it for static builds as well.
31686         (NO_BZERO_IMPL): Likewise.
31688 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31690         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
31691         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
31692         multiarch strspn for PPC64.
31693         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
31694         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
31695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31696         (__libc_ifunc_impl_list): Likewise.
31697         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
31698         multiarch optimizations
31699         * string/strspn.c (strspn): Using macro to redefine symbol name.
31701 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31702             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31704         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
31705         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
31706         multiarch strncat for PPC64.
31707         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
31708         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
31709         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31710         (__libc_ifunc_impl_list): Likewise.
31711         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
31712         multiarch optimizations
31714 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31716         [BZ #16639]
31717         * nscd/nscd.service: Make service type forking.
31719 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31721         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
31722         sign in non default rounding modes.
31723         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
31725 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
31727         * math/libm-test.inc (ALL_RM_TEST): New macro.
31728         (ceil_test): Use ALL_RM_TEST.
31729         (cimag_test): Likewise.
31730         (conj_test): Likewise.
31731         (copysign_test): Likewise.
31732         (cproj_test): Likewise.
31733         (creal_test): Likewise.
31734         (fabs_test): Likewise.
31735         (floor_test): Likewise.
31736         (fmax_test): Likewise.
31737         (fmin_test): Likewise.
31738         (fmod_test): Likewise.
31739         (fpclassify_test): Likewise.
31740         (frexp_test): Likewise.
31741         (ilogb_test): Likewise.
31742         (isfinite_test): Likewise.
31743         (finite_test): Likewise.
31744         (isgreater_test): Likewise.
31745         (isgreaterequal_test): Likewise.
31746         (isinf_test): Likewise.
31747         (isless_test): Likewise.
31748         (islessequal_test): Likewise.
31749         (islessgreater_test): Likewise.
31750         (isnan_test): Likewise.
31751         (isnormal_test): Likewise.
31752         (issignaling_test): Likewise.
31753         (isunordered_test): Likewise.
31754         (logb_test): Likewise.
31755         (logb_downward_test_data): Remove.
31756         (logb_test_downward): Likewise.
31757         (lround_test): Use ALL_RM_TEST.
31758         (llround_test): Likewise.
31759         (modf_test): Likewise.
31760         (nexttoward_test): Likewise.
31761         (remainder_test): Likewise.
31762         (drem_test): Likewise.
31763         (remainder_tonearest_test_data): Likewise.
31764         (remainder_test_tonearest): Likewise.
31765         (drem_test_tonearest): Likewise.
31766         (remainder_towardzero_test_data): Likewise.
31767         (remainder_test_towardzero): Likewise.
31768         (drem_test_towardzero): Likewise.
31769         (remainder_downward_test_data): Likewise.
31770         (remainder_test_downward): Likewise.
31771         (drem_test_downward): Likewise.
31772         (remainder_upward_test_data): Likewise.
31773         (remainder_test_upward): Likewise.
31774         (drem_test_upward): Likewise.
31775         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
31776         (round_test): Use ALL_RM_TEST.
31777         (signbit_test): Likewise.
31778         (trunc_test): Likewise.
31779         (significand_test): Likewise.
31780         (main): Don't call removed functions.
31782 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
31784         [BZ #16674]
31785         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
31786         || __USE_XOPEN2K8].
31787         (ILL_ILLOPN): Likewise.
31788         (ILL_ILLADR): Likewise.
31789         (ILL_ILLTRP): Likewise.
31790         (ILL_PRVOPC): Likewise.
31791         (ILL_PRVREG): Likewise.
31792         (ILL_COPROC): Likewise.
31793         (ILL_BADSTK): Likewise.
31794         (FPE_INTDIV): Likewise.
31795         (FPE_INTOVF): Likewise.
31796         (FPE_FLTDIV): Likewise.
31797         (FPE_FLTOVF): Likewise.
31798         (FPE_FLTUND): Likewise.
31799         (FPE_FLTRES): Likewise.
31800         (FPE_FLTINV): Likewise.
31801         (FPE_FLTSUB): Likewise.
31802         (SEGV_MAPERR): Likewise.
31803         (SEGV_ACCERR): Likewise.
31804         (BUS_ADRALN): Likewise.
31805         (BUS_ADRERR): Likewise.
31806         (BUS_OBJERR): Likewise.
31807         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31808         (TRAP_TRACE): Likewise.
31809         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31810         __USE_XOPEN2K8].
31811         (CLD_KILLED): Likewise.
31812         (CLD_DUMPED): Likewise.
31813         (CLD_TRAPPED): Likewise.
31814         (CLD_STOPPED): Likewise.
31815         (CLD_CONTINUED): Likewise.
31816         (POLL_IN): Likewise.
31817         (POLL_OUT): Likewise.
31818         (POLL_MSG): Likewise.
31819         (POLL_ERR): Likewise.
31820         (POLL_PRI): Likewise.
31821         (POLL_HUP): Likewise.
31822         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
31823         Likewise.
31824         (ILL_ILLOPN): Likewise.
31825         (ILL_ILLADR): Likewise.
31826         (ILL_ILLTRP): Likewise.
31827         (ILL_PRVOPC): Likewise.
31828         (ILL_PRVREG): Likewise.
31829         (ILL_COPROC): Likewise.
31830         (ILL_BADSTK): Likewise.
31831         (FPE_INTDIV): Likewise.
31832         (FPE_INTOVF): Likewise.
31833         (FPE_FLTDIV): Likewise.
31834         (FPE_FLTOVF): Likewise.
31835         (FPE_FLTUND): Likewise.
31836         (FPE_FLTRES): Likewise.
31837         (FPE_FLTINV): Likewise.
31838         (FPE_FLTSUB): Likewise.
31839         (SEGV_MAPERR): Likewise.
31840         (SEGV_ACCERR): Likewise.
31841         (BUS_ADRALN): Likewise.
31842         (BUS_ADRERR): Likewise.
31843         (BUS_OBJERR): Likewise.
31844         (BUS_MCEERR_AR): Likewise.
31845         (BUS_MCEERR_AO): Likewise.
31846         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31847         (TRAP_TRACE): Likewise.
31848         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31849         __USE_XOPEN2K8].
31850         (CLD_KILLED): Likewise.
31851         (CLD_DUMPED): Likewise.
31852         (CLD_TRAPPED): Likewise.
31853         (CLD_STOPPED): Likewise.
31854         (CLD_CONTINUED): Likewise.
31855         (POLL_IN): Likewise.
31856         (POLL_OUT): Likewise.
31857         (POLL_MSG): Likewise.
31858         (POLL_ERR): Likewise.
31859         (POLL_PRI): Likewise.
31860         (POLL_HUP): Likewise.
31861         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
31862         (ILL_ILLOPN): Likewise.
31863         (ILL_ILLADR): Likewise.
31864         (ILL_ILLTRP): Likewise.
31865         (ILL_PRVOPC): Likewise.
31866         (ILL_PRVREG): Likewise.
31867         (ILL_COPROC): Likewise.
31868         (ILL_BADSTK): Likewise.
31869         (FPE_INTDIV): Likewise.
31870         (FPE_INTOVF): Likewise.
31871         (FPE_FLTDIV): Likewise.
31872         (FPE_FLTOVF): Likewise.
31873         (FPE_FLTUND): Likewise.
31874         (FPE_FLTRES): Likewise.
31875         (FPE_FLTINV): Likewise.
31876         (FPE_FLTSUB): Likewise.
31877         (SEGV_MAPERR): Likewise.
31878         (SEGV_ACCERR): Likewise.
31879         (BUS_ADRALN): Likewise.
31880         (BUS_ADRERR): Likewise.
31881         (BUS_OBJERR): Likewise.
31882         (BUS_MCEERR_AR): Likewise.
31883         (BUS_MCEERR_AO): Likewise.
31884         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31885         (TRAP_TRACE): Likewise.
31886         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31887         __USE_XOPEN2K8].
31888         (CLD_KILLED): Likewise.
31889         (CLD_DUMPED): Likewise.
31890         (CLD_TRAPPED): Likewise.
31891         (CLD_STOPPED): Likewise.
31892         (CLD_CONTINUED): Likewise.
31893         (POLL_IN): Likewise.
31894         (POLL_OUT): Likewise.
31895         (POLL_MSG): Likewise.
31896         (POLL_ERR): Likewise.
31897         (POLL_PRI): Likewise.
31898         (POLL_HUP): Likewise.
31899         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
31900         Likewise.
31901         (ILL_ILLOPN): Likewise.
31902         (ILL_ILLADR): Likewise.
31903         (ILL_ILLTRP): Likewise.
31904         (ILL_PRVOPC): Likewise.
31905         (ILL_PRVREG): Likewise.
31906         (ILL_COPROC): Likewise.
31907         (ILL_BADSTK): Likewise.
31908         (ILL_BADIADDR): Likewise.
31909         (ILL_BREAK): Likewise.
31910         (FPE_INTDIV): Likewise.
31911         (FPE_INTOVF): Likewise.
31912         (FPE_FLTDIV): Likewise.
31913         (FPE_FLTOVF): Likewise.
31914         (FPE_FLTUND): Likewise.
31915         (FPE_FLTRES): Likewise.
31916         (FPE_FLTINV): Likewise.
31917         (FPE_FLTSUB): Likewise.
31918         (FPE_DECOVF): Likewise.
31919         (FPE_DECDIV): Likewise.
31920         (FPE_DECERR): Likewise.
31921         (FPE_INVASC): Likewise.
31922         (FPE_INVDEC): Likewise.
31923         (SEGV_MAPERR): Likewise.
31924         (SEGV_ACCERR): Likewise.
31925         (SEGV_PSTKOVF): Likewise.
31926         (BUS_ADRALN): Likewise.
31927         (BUS_ADRERR): Likewise.
31928         (BUS_OBJERR): Likewise.
31929         (BUS_MCEERR_AR): Likewise.
31930         (BUS_MCEERR_AO): Likewise.
31931         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31932         (TRAP_TRACE): Likewise.
31933         (TRAP_BRANCH): Likewise.
31934         (TRAP_HWBKPT): Likewise.
31935         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31936         __USE_XOPEN2K8].
31937         (CLD_KILLED): Likewise.
31938         (CLD_DUMPED): Likewise.
31939         (CLD_TRAPPED): Likewise.
31940         (CLD_STOPPED): Likewise.
31941         (CLD_CONTINUED): Likewise.
31942         (POLL_IN): Likewise.
31943         (POLL_OUT): Likewise.
31944         (POLL_MSG): Likewise.
31945         (POLL_ERR): Likewise.
31946         (POLL_PRI): Likewise.
31947         (POLL_HUP): Likewise.
31948         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
31949         (ILL_ILLOPN): Likewise.
31950         (ILL_ILLADR): Likewise.
31951         (ILL_ILLTRP): Likewise.
31952         (ILL_PRVOPC): Likewise.
31953         (ILL_PRVREG): Likewise.
31954         (ILL_COPROC): Likewise.
31955         (ILL_BADSTK): Likewise.
31956         (FPE_INTDIV): Likewise.
31957         (FPE_INTOVF): Likewise.
31958         (FPE_FLTDIV): Likewise.
31959         (FPE_FLTOVF): Likewise.
31960         (FPE_FLTUND): Likewise.
31961         (FPE_FLTRES): Likewise.
31962         (FPE_FLTINV): Likewise.
31963         (FPE_FLTSUB): Likewise.
31964         (SEGV_MAPERR): Likewise.
31965         (SEGV_ACCERR): Likewise.
31966         (BUS_ADRALN): Likewise.
31967         (BUS_ADRERR): Likewise.
31968         (BUS_OBJERR): Likewise.
31969         (BUS_MCEERR_AR): Likewise.
31970         (BUS_MCEERR_AO): Likewise.
31971         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
31972         (TRAP_TRACE): Likewise.
31973         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
31974         __USE_XOPEN2K8].
31975         (CLD_KILLED): Likewise.
31976         (CLD_DUMPED): Likewise.
31977         (CLD_TRAPPED): Likewise.
31978         (CLD_STOPPED): Likewise.
31979         (CLD_CONTINUED): Likewise.
31980         (POLL_IN): Likewise.
31981         (POLL_OUT): Likewise.
31982         (POLL_MSG): Likewise.
31983         (POLL_ERR): Likewise.
31984         (POLL_PRI): Likewise.
31985         (POLL_HUP): Likewise.
31986         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
31987         (ILL_ILLOPN): Likewise.
31988         (ILL_ILLADR): Likewise.
31989         (ILL_ILLTRP): Likewise.
31990         (ILL_PRVOPC): Likewise.
31991         (ILL_PRVREG): Likewise.
31992         (ILL_COPROC): Likewise.
31993         (ILL_BADSTK): Likewise.
31994         (FPE_INTDIV): Likewise.
31995         (FPE_INTOVF): Likewise.
31996         (FPE_FLTDIV): Likewise.
31997         (FPE_FLTOVF): Likewise.
31998         (FPE_FLTUND): Likewise.
31999         (FPE_FLTRES): Likewise.
32000         (FPE_FLTINV): Likewise.
32001         (FPE_FLTSUB): Likewise.
32002         (SEGV_MAPERR): Likewise.
32003         (SEGV_ACCERR): Likewise.
32004         (BUS_ADRALN): Likewise.
32005         (BUS_ADRERR): Likewise.
32006         (BUS_OBJERR): Likewise.
32007         (BUS_MCEERR_AR): Likewise.
32008         (BUS_MCEERR_AO): Likewise.
32009         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32010         (TRAP_TRACE): Likewise.
32011         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32012         __USE_XOPEN2K8].
32013         (CLD_KILLED): Likewise.
32014         (CLD_DUMPED): Likewise.
32015         (CLD_TRAPPED): Likewise.
32016         (CLD_STOPPED): Likewise.
32017         (CLD_CONTINUED): Likewise.
32018         (POLL_IN): Likewise.
32019         (POLL_OUT): Likewise.
32020         (POLL_MSG): Likewise.
32021         (POLL_ERR): Likewise.
32022         (POLL_PRI): Likewise.
32023         (POLL_HUP): Likewise.
32024         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
32025         (ILL_ILLOPN): Likewise.
32026         (ILL_ILLADR): Likewise.
32027         (ILL_ILLTRP): Likewise.
32028         (ILL_PRVOPC): Likewise.
32029         (ILL_PRVREG): Likewise.
32030         (ILL_COPROC): Likewise.
32031         (ILL_BADSTK): Likewise.
32032         (FPE_INTDIV): Likewise.
32033         (FPE_INTOVF): Likewise.
32034         (FPE_FLTDIV): Likewise.
32035         (FPE_FLTOVF): Likewise.
32036         (FPE_FLTUND): Likewise.
32037         (FPE_FLTRES): Likewise.
32038         (FPE_FLTINV): Likewise.
32039         (FPE_FLTSUB): Likewise.
32040         (SEGV_MAPERR): Likewise.
32041         (SEGV_ACCERR): Likewise.
32042         (BUS_ADRALN): Likewise.
32043         (BUS_ADRERR): Likewise.
32044         (BUS_OBJERR): Likewise.
32045         (BUS_MCEERR_AR): Likewise.
32046         (BUS_MCEERR_AO): Likewise.
32047         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32048         (TRAP_TRACE): Likewise.
32049         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32050         __USE_XOPEN2K8].
32051         (CLD_KILLED): Likewise.
32052         (CLD_DUMPED): Likewise.
32053         (CLD_TRAPPED): Likewise.
32054         (CLD_STOPPED): Likewise.
32055         (CLD_CONTINUED): Likewise.
32056         (POLL_IN): Likewise.
32057         (POLL_OUT): Likewise.
32058         (POLL_MSG): Likewise.
32059         (POLL_ERR): Likewise.
32060         (POLL_PRI): Likewise.
32061         (POLL_HUP): Likewise.
32062         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
32063         (ILL_ILLOPN): Likewise.
32064         (ILL_ILLADR): Likewise.
32065         (ILL_ILLTRP): Likewise.
32066         (ILL_PRVOPC): Likewise.
32067         (ILL_PRVREG): Likewise.
32068         (ILL_COPROC): Likewise.
32069         (ILL_BADSTK): Likewise.
32070         (ILL_DBLFLT): Likewise.
32071         (ILL_HARDWALL): Likewise.
32072         (FPE_INTDIV): Likewise.
32073         (FPE_INTOVF): Likewise.
32074         (FPE_FLTDIV): Likewise.
32075         (FPE_FLTOVF): Likewise.
32076         (FPE_FLTUND): Likewise.
32077         (FPE_FLTRES): Likewise.
32078         (FPE_FLTINV): Likewise.
32079         (FPE_FLTSUB): Likewise.
32080         (SEGV_MAPERR): Likewise.
32081         (SEGV_ACCERR): Likewise.
32082         (BUS_ADRALN): Likewise.
32083         (BUS_ADRERR): Likewise.
32084         (BUS_OBJERR): Likewise.
32085         (BUS_MCEERR_AR): Likewise.
32086         (BUS_MCEERR_AO): Likewise.
32087         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32088         (TRAP_TRACE): Likewise.
32089         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32090         __USE_XOPEN2K8].
32091         (CLD_KILLED): Likewise.
32092         (CLD_DUMPED): Likewise.
32093         (CLD_TRAPPED): Likewise.
32094         (CLD_STOPPED): Likewise.
32095         (CLD_CONTINUED): Likewise.
32096         (POLL_IN): Likewise.
32097         (POLL_OUT): Likewise.
32098         (POLL_MSG): Likewise.
32099         (POLL_ERR): Likewise.
32100         (POLL_PRI): Likewise.
32101         (POLL_HUP): Likewise.
32102         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
32103         (ILL_ILLOPN): Likewise.
32104         (ILL_ILLADR): Likewise.
32105         (ILL_ILLTRP): Likewise.
32106         (ILL_PRVOPC): Likewise.
32107         (ILL_PRVREG): Likewise.
32108         (ILL_COPROC): Likewise.
32109         (ILL_BADSTK): Likewise.
32110         (FPE_INTDIV): Likewise.
32111         (FPE_INTOVF): Likewise.
32112         (FPE_FLTDIV): Likewise.
32113         (FPE_FLTOVF): Likewise.
32114         (FPE_FLTUND): Likewise.
32115         (FPE_FLTRES): Likewise.
32116         (FPE_FLTINV): Likewise.
32117         (FPE_FLTSUB): Likewise.
32118         (SEGV_MAPERR): Likewise.
32119         (SEGV_ACCERR): Likewise.
32120         (BUS_ADRALN): Likewise.
32121         (BUS_ADRERR): Likewise.
32122         (BUS_OBJERR): Likewise.
32123         (BUS_MCEERR_AR): Likewise.
32124         (BUS_MCEERR_AO): Likewise.
32125         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
32126         (TRAP_TRACE): Likewise.
32127         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
32128         __USE_XOPEN2K8].
32129         (CLD_KILLED): Likewise.
32130         (CLD_DUMPED): Likewise.
32131         (CLD_TRAPPED): Likewise.
32132         (CLD_STOPPED): Likewise.
32133         (CLD_CONTINUED): Likewise.
32134         (POLL_IN): Likewise.
32135         (POLL_OUT): Likewise.
32136         (POLL_MSG): Likewise.
32137         (POLL_ERR): Likewise.
32138         (POLL_PRI): Likewise.
32139         (POLL_HUP): Likewise.
32140         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
32141         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32143         [BZ #16670]
32144         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
32145         before #include of <time.h>.
32146         [!__USE_XOPEN2K] (__need_timespec): Likewise.
32147         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
32148         (test-xfail-UNIX98/sched.h/conform): Likewise.
32150 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32152         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
32153         error absence of trapping exception support.
32154         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
32156 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
32158         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
32159         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
32160         * timezone/Makefile (testdata): Move definition above include of
32161         Rules.
32162         (test-zones): New variable.
32163         (tests-special): Add zone files.
32164         (build-testdata): Use $(evaluate-test).
32166         * elf/Makefile (tests-special): Rename tests to end with .out.
32167         ($(objpfx)noload-mem): Likewise.
32168         ($(objpfx)tst-leaks1-mem): Likewise.
32169         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
32170         * iconv/Makefile (xtests-special): Change test-iconvconfig to
32171         $(objpfx)test-iconvconfig.out.
32172         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
32173         set -e inside subshell and redirect output to file.
32174         * iconvdata/Makefile (generated): Rename tests to end with .out.
32175         Correct type.
32176         (tests-special): Rename tests to end with .out.
32177         ($(objpfx)mtrace-tst-loading): Likewise.
32178         * intl/Makefile (generated): Likewise.
32179         (tests-special): Likewise.
32180         ($(objpfx)mtrace-tst-gettext): Likewise.
32181         * misc/Makefile (generated): Likewise.
32182         (tests-special): Likewise.
32183         ($(objpfx)tst-error1-mem): Likewise.
32184         * nptl/Makefile (tests-special): Likewise.
32185         ($(objpfx)tst-stack3-mem): Likewise.
32186         (generated): Likewise.
32187         * posix/Makefile (generated): Likewise.
32188         (tests-special): Likewise.
32189         (xtests-special): Likewise.
32190         ($(objpfx)tst-fnmatch-mem): Likewise.
32191         ($(objpfx)bug-regex2-mem): Likewise.
32192         ($(objpfx)bug-regex14-mem): Likewise.
32193         ($(objpfx)bug-regex21-mem): Likewise.
32194         ($(objpfx)bug-regex31-mem): Likewise.
32195         ($(objpfx)tst-vfork3-mem): Likewise.
32196         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
32197         ($(objpfx)tst-pcre-mem): Likewise.
32198         ($(objpfx)tst-boost-mem): Likewise.
32199         ($(objpfx)bug-ga2-mem): Likewise.
32200         ($(objpfx)bug-glob2-mem): Likewise.
32201         * resolv/Makefile (generate): Likewise.
32202         (tests-special): Likewise.
32203         (xtests-special): Likewise.
32204         (generated): Likewise.
32205         ($(objpfx)mtrace-tst-leaks): Likewise.
32206         ($(objpfx)mtrace-tst-leaks2): Likewise.
32208         * scripts/merge-test-results.sh: New file.
32209         * Makefile (tests-special-notdir): New variable.
32210         (tests): Run merge-test-results.sh.
32211         (xtests): Likewise.
32212         * Rules (tests-special-notdir): New variable.
32213         (xtests-special-notdir): Likewise.
32214         (tests): Run merge-test-results.sh
32215         (xtests): Likewise.
32217         * Makeconfig (test-xfail-name): New variable.
32218         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
32219         compute variable name for expected failures.
32220         * conform/Makefile (conformtest-headers-data): New variable.
32221         (conformtest-standards): Likewise.
32222         (conformtest-headers-ISO): Likewise.
32223         (conformtest-headers-ISO99): Likewise.
32224         (conformtest-headers-ISO11): Likewise.
32225         (conformtest-headers-POSIX): Likewise.
32226         (conformtest-headers-XPG3): Likewise.
32227         (conformtest-headers-XPG4): Likewise.
32228         (conformtest-headers-UNIX98): Likewise.
32229         (conformtest-headers-XOPEN2K): Likewise.
32230         (conformtest-headers-POSIX2008): Likewise.
32231         (conformtest-headers-XOPEN2K8): Likewise.
32232         (conformtest-header-list-base): Likewise.
32233         (conformtest-header-list-tests): Likewise.
32234         (conformtest-header-base): Likewise.
32235         (conformtest-header-tests): Likewise.
32236         (tests-special): Add $(conformtest-header-list-tests).  If
32237         [$(fast-check) && !$(cross-compiling)], add
32238         $(conformtest-header-tests) instead of
32239         $(objpfx)run-conformtest.out.
32240         (generated): Add $(conformtest-header-list-base).  If
32241         [$(fast-check) && !$(cross-compiling)], add
32242         $(conformtest-header-base).  Remove previous setting.
32243         ($(conformtest-header-list-tests)): New target.
32244         (test-xfail-run-conformtest): Remove variable.
32245         ($(objpfx)run-conformtest.out): Remove target.
32246         (test-xfail-ISO11/complex.h/conform): New variable.
32247         (test-xfail-ISO11/stdalign.h/conform): Likewise.
32248         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
32249         (test-xfail-XPG3/varargs.h/conform): Likewise.
32250         (test-xfail-XPG4/varargs.h/conform): Likewise.
32251         (test-xfail-UNIX98/varargs.h/conform): Likewise.
32252         (test-xfail-XPG4/ndbm.h/conform): Likewise.
32253         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
32254         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
32255         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
32256         (test-xfail-XPG3/fcntl.h/conform): Likewise.
32257         (test-xfail-XPG3/ftw.h/conform): Likewise.
32258         (test-xfail-XPG3/grp.h/conform): Likewise.
32259         (test-xfail-XPG3/langinfo.h/conform): Likewise.
32260         (test-xfail-XPG3/limits.h/conform): Likewise.
32261         (test-xfail-XPG3/pwd.h/conform): Likewise.
32262         (test-xfail-XPG3/search.h/conform): Likewise.
32263         (test-xfail-XPG3/signal.h/conform): Likewise.
32264         (test-xfail-XPG3/stdio.h/conform): Likewise.
32265         (test-xfail-XPG3/stdlib.h/conform): Likewise.
32266         (test-xfail-XPG3/string.h/conform): Likewise.
32267         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
32268         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
32269         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
32270         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
32271         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
32272         (test-xfail-XPG3/sys/types.h/conform): Likewise.
32273         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
32274         (test-xfail-XPG3/termios.h/conform): Likewise.
32275         (test-xfail-XPG3/time.h/conform): Likewise.
32276         (test-xfail-XPG3/unistd.h/conform): Likewise.
32277         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
32278         (test-xfail-XPG4/fcntl.h/conform): Likewise.
32279         (test-xfail-XPG4/langinfo.h/conform): Likewise.
32280         (test-xfail-XPG4/netdb.h/conform): Likewise.
32281         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
32282         (test-xfail-XPG4/signal.h/conform): Likewise.
32283         (test-xfail-XPG4/stdio.h/conform): Likewise.
32284         (test-xfail-XPG4/stdlib.h/conform): Likewise.
32285         (test-xfail-XPG4/stropts.h/conform): Likewise.
32286         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
32287         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
32288         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
32289         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
32290         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
32291         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
32292         (test-xfail-XPG4/sys/time.h/conform): Likewise.
32293         (test-xfail-XPG4/sys/types.h/conform): Likewise.
32294         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
32295         (test-xfail-XPG4/termios.h/conform): Likewise.
32296         (test-xfail-XPG4/ucontext.h/conform): Likewise.
32297         (test-xfail-XPG4/unistd.h/conform): Likewise.
32298         (test-xfail-XPG4/utmpx.h/conform): Likewise.
32299         (test-xfail-POSIX/sched.h/conform): Likewise.
32300         (test-xfail-POSIX/signal.h/conform): Likewise.
32301         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
32302         (test-xfail-POSIX/tar.h/conform): Likewise.
32303         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
32304         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
32305         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
32306         (test-xfail-UNIX98/netdb.h/conform): Likewise.
32307         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
32308         (test-xfail-UNIX98/sched.h/conform): Likewise.
32309         (test-xfail-UNIX98/signal.h/conform): Likewise.
32310         (test-xfail-UNIX98/stdio.h/conform): Likewise.
32311         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
32312         (test-xfail-UNIX98/stropts.h/conform): Likewise.
32313         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
32314         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
32315         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
32316         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
32317         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
32318         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
32319         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32320         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32321         (test-xfail-UNIX98/unistd.h/conform): Likewise.
32322         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
32323         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
32324         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
32325         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
32326         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
32327         (test-xfail-XOPEN2K/math.h/conform): Likewise.
32328         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
32329         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
32330         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
32331         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
32332         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32333         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
32334         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
32335         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
32336         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
32337         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
32338         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
32339         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
32340         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
32341         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32342         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
32343         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
32344         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32345         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
32346         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
32347         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
32348         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
32349         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
32350         (test-xfail-POSIX2008/signal.h/conform): Likewise.
32351         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
32352         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
32353         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32354         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
32355         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
32356         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
32357         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
32358         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
32359         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
32360         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32361         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
32362         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
32363         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
32364         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
32365         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
32366         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
32367         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
32368         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
32369         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
32370         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32371         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
32372         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
32373         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
32374         (conformtest-cc-flags): Likewise.
32375         ($(conformtest-header-tests): New target.
32376         * conform/check-header-lists.sh: New file.
32377         * conform/run-conformtest.sh: Remove.
32379         * conform/conformtest.pl: Allow ' and \ in values given for
32380         constants.
32381         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
32382         inclusion.
32383         [POSIX] (sys/types.h): Likewise.
32384         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
32385         inclusion.
32386         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
32387         inclusion.
32388         * conform/data/signal.h-data (SIGIO): Remove expectation.
32389         [XPG3] (SIGBUS): Do not expect.
32390         [POSIX || XPG3] (SIGPOLL): Likewise.
32391         [POSIX || XPG3] (SIGPROF): Likewise.
32392         [POSIX || XPG3] (SIGSYS): Likewise.
32393         [XPG3] (SIGTRAP): Likewise.
32394         [POSIX || XPG3] (SIGURG): Likewise.
32395         [POSIX || XPG3] (SIGVTALRM): Likewise.
32396         [POSIX || XPG3] (SIGXCPU): Likewise.
32397         [POSIX || XPG3] (SIGXFSZ): Likewise.
32398         [POSIX] (SA_SIGINFO): Expect.
32399         [XPG3] (siginfo_t): Do not expect type or contents.
32400         [POSIX] (si_pid): Do not expect element.
32401         [POSIX] (si_uid): Likewise.
32402         [POSIX] (si_addr): Likewise.
32403         [POSIX] (si_status): Likewise.
32404         [POSIX] (si_band): Likewise.
32405         [XPG4] (si_value): Likewise.
32406         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
32407         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
32408         [POSIX || XPG3] (ILL_ILLADR): Likewise.
32409         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
32410         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
32411         [POSIX || XPG3] (ILL_PRVREG): Likewise.
32412         [POSIX || XPG3] (ILL_COPROC): Likewise.
32413         [POSIX || XPG3] (ILL_BADSTK): Likewise.
32414         [POSIX || XPG3] (FPE_INTDIV): Likewise.
32415         [POSIX || XPG3] (FPE_INTOVF): Likewise.
32416         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
32417         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
32418         [POSIX || XPG3] (FPE_FLTUND): Likewise.
32419         [POSIX || XPG3] (FPE_FLTRES): Likewise.
32420         [POSIX || XPG3] (FPE_FLTINV): Likewise.
32421         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
32422         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
32423         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
32424         [POSIX || XPG3] (BUS_ADRALN): Likewise.
32425         [POSIX || XPG3] (BUS_ADRERR): Likewise.
32426         [POSIX || XPG3] (BUS_OBJERR): Likewise.
32427         [POSIX || XPG3] (CLD_EXITED): Likewise.
32428         [POSIX || XPG3] (CLD_KILLED): Likewise.
32429         [POSIX || XPG3] (CLD_DUMPED): Likewise.
32430         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
32431         [POSIX || XPG3] (CLD_STOPPED): Likewise.
32432         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
32433         [POSIX || XPG3] (POLL_IN): Likewise.
32434         [POSIX || XPG3] (POLL_OUT): Likewise.
32435         [POSIX || XPG3] (POLL_MSG): Likewise.
32436         [POSIX || XPG3] (POLL_ERR): Likewise.
32437         [POSIX || XPG3] (POLL_PRI): Likewise.
32438         [POSIX || XPG3] (POLL_HUP): Likewise.
32439         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
32440         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
32441         (SIG*): Do not allow.
32442         [XPG3] (si_*): Likewise.
32443         [XPG3] (SI_*): Likewise.
32444         [XPG3 || XPG4] (sigev_*): Likewise.
32445         [XPG3 || XPG4] (SIGEV_*): Likewise.
32446         [XPG3 || XPG4] (sival_*): Likewise.
32447         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
32448         [POSIX || XPG3] (BUS_*): Likewise.
32449         [POSIX || XPG3] (CLD_*): Likewise.
32450         [POSIX || XPG3] (FPE_*): Likewise.
32451         [POSIX || XPG3] (ILL_*): Likewise.
32452         [POSIX || XPG3] (POLL_*): Likewise.
32453         [POSIX || XPG3] (SEGV_*): Likewise.
32454         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
32455         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
32456         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
32457         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
32458         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
32459         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
32460         Specify type and value.
32461         (TVERSLEN): Likewise.
32462         (REGTYPE): Likewise.
32463         (AREGTYPE): Likewise.
32464         (LNKTYPE): Likewise.
32465         (SYMTYPE): Likewise.
32466         (CHRTYPE): Likewise.
32467         (BLKTYPE): Likewise.
32468         (DIRTYPE): Likewise.
32469         (FIFOTYPE): Likewise.
32470         (CONTTYPE): Likewise.
32471         (TSUID): Likewise.
32472         (TSGID): Likewise.
32473         (TSVTX): Likewise.
32474         (TUREAD): Likewise.
32475         (TUWRITE): Likewise.
32476         (TUEXEC): Likewise.
32477         (TGREAD): Likewise.
32478         (TGWRITE): Likewise.
32479         (TGEXEC): Likewise.
32480         (TOREAD): Likewise.
32481         (TOWRITE): Likewise.
32482         (TOEXEC): Likewise.
32483         [POSIX] (TSVTX): Expect constant.
32485 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
32487         * Makefile (tests): Change dependencies to ....
32488         (tests-special): ... additions to this variable.
32489         (tests): Depend on $(tests-special).
32490         * Makerules (check-abi-list): New variable.
32491         (check-abi): Depend on $(check-abi-list).
32492         [$(subdir) = elf] (tests-special): Add
32493         $(objpfx)check-abi-libc.out.
32494         [$(build-shared) = yes && subdir] (tests-special): Add
32495         $(check-abi-list).
32496         [$(build-shared) = yes && subdir] (tests): Do not depend on
32497         check-abi.
32498         * Rules (tests): Depend on $(tests-special).
32499         (xtests): Depend on $(xtests-special).
32500         * catgets/Makefile (tests): Change dependencies to ....
32501         (tests-special): ... additions to this variable.
32502         * conform/Makefile (tests): Change dependencies to ....
32503         (tests-special): ... additions to this variable.
32504         * elf/Makefile (tests): Change dependencies to ....
32505         (tests-special): ... additions to this variable.
32506         * grp/Makefile (tests): Change dependencies to ....
32507         (tests-special): ... additions to this variable.
32508         * iconv/Makefile (xtests): Change dependencies to ....
32509         (xtests-special): ... additions to this variable.
32510         * iconvdata/Makefile (tests): Change dependencies to ....
32511         (tests-special): ... additions to this variable.
32512         * intl/Makefile (tests): Change dependencies to ....
32513         (tests-special): ... additions to this variable.  Also add
32514         $(objpfx)tst-gettext.out.
32515         * io/Makefile (tests): Change dependencies to ....
32516         (tests-special): ... additions to this variable.
32517         * libio/Makefile (tests): Change dependencies to ....
32518         (tests-special): ... additions to this variable.
32519         * malloc/Makefile (tests): Change dependencies to ....
32520         (tests-special): ... additions to this variable.
32521         * misc/Makefile (tests): Change dependencies to ....
32522         (tests-special): ... additions to this variable.
32523         * nptl/Makefile (tests): Change dependencies to ....
32524         (tests-special): ... additions to this variable.
32525         * nptl_db/Makefile (tests): Change dependencies to ....
32526         (tests-special): ... additions to this variable.
32527         * posix/Makefile (tests): Change dependencies to ....
32528         (tests-special): ... additions to this variable.
32529         (xtests): Change dependencies to ....
32530         (xtests-special): ... additions to this variable.
32531         * resolv/Makefile (tests): Change dependencies to ....
32532         (tests-special): ... additions to this variable.
32533         (xtests): Change dependencies to ....
32534         (xtests-special): ... additions to this variable.
32535         * stdio-common/Makefile (tests): Change dependencies to ....
32536         (tests-special): ... additions to this variable.
32537         (do-tst-unbputc): Remove target.
32538         (do-tst-printf): Likewise.
32539         * stdlib/Makefile (tests): Change dependencies to ....
32540         (tests-special): ... additions to this variable.
32541         * string/Makefile (tests): Change dependencies to ....
32542         (tests-special): ... additions to this variable.
32543         * sysdeps/x86/Makefile (tests): Change dependencies to ....
32544         (tests-special): ... additions to this variable.
32546         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
32547         whole file.
32548         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
32549         whole file.
32550         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
32551         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
32553         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
32554         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
32555         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
32556         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
32557         * conform/data/libgen.h-data [XPG3]: Likewise.
32558         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
32559         * conform/data/ndbm.h-data [XPG3]: Likewise.
32560         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32561         * conform/data/netdb.h-data [XPG3]: Likewise.
32562         * conform/data/netinet/in.h-data [XPG3]: Likewise.
32563         * conform/data/poll.h-data [XPG3]: Likewise.
32564         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
32565         * conform/data/strings.h-data [XPG3]: Likewise.
32566         * conform/data/stropts.h-data [XPG3]: Likewise.
32567         * conform/data/sys/mman.h-data [XPG3]: Likewise.
32568         * conform/data/sys/resource.h-data [XPG3]: Likewise.
32569         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
32570         Likewise.
32571         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
32572         * conform/data/sys/time.h-data [XPG3]: Likewise.
32573         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
32574         * conform/data/sys/uio.h-data [XPG3]: Likewise.
32575         * conform/data/sys/un.h-data [XPG3]: Likewise.
32576         * conform/data/syslog.h-data [XPG3]: Likewise.
32577         * conform/data/ucontext.h-data [XPG3]: Likewise.
32578         * conform/data/utmpx.h-data [XPG3]: Likewise.
32579         * conform/data/varargs.h-data [UNIX98]: Enable file.
32581         * manual/Makefile (INSTALL_INFO): Remove variable setting.
32583         * math/libm-test.inc (struct test_f_f_data): Move expected results
32584         into structure for each rounding mode.
32585         (struct test_ff_f_data): Likewise.
32586         (struct test_ff_f_data_nexttoward): Likewise.
32587         (struct test_fi_f_data): Likewise.
32588         (struct test_fl_f_data): Likewise.
32589         (struct test_if_f_data): Likewise.
32590         (struct test_fff_f_data): Likewise.
32591         (struct test_c_f_data): Likewise.
32592         (struct test_f_f1_data): Likewise.
32593         (struct test_fF_f1_data): Likewise.
32594         (struct test_ffI_f1_data): Likewise.
32595         (struct test_c_c_data): Likewise.
32596         (struct test_cc_c_data): Likewise.
32597         (struct test_f_i_data): Likewise.
32598         (struct test_ff_i_data): Likewise.
32599         (struct test_f_l_data): Likewise.
32600         (struct test_f_L_data): Likewise.
32601         (struct test_fFF_11_data): Likewise.
32602         (RM_): New macro.
32603         (RM_FE_DOWNWARD): Likewise.
32604         (RM_FE_TONEAREST): Likewise.
32605         (RM_FE_TOWARDZERO): Likewise.
32606         (RM_FE_UPWARD): Likewise.
32607         (RUN_TEST_LOOP_f_f): Update references to expected results.
32608         (RUN_TEST_LOOP_2_f): Likewise.
32609         (RUN_TEST_LOOP_fff_f): Likewise.
32610         (RUN_TEST_LOOP_c_f): Likewise.
32611         (RUN_TEST_LOOP_f_f1): Likewise.
32612         (RUN_TEST_LOOP_fF_f1): Likewise.
32613         (RUN_TEST_LOOP_fI_f1): Likewise.
32614         (RUN_TEST_LOOP_ffI_f1): Likewise.
32615         (RUN_TEST_LOOP_c_c): Likewise.
32616         (RUN_TEST_LOOP_cc_c): Likewise.
32617         (RUN_TEST_LOOP_f_i): Likewise.
32618         (RUN_TEST_LOOP_f_i_tg): Likewise.
32619         (RUN_TEST_LOOP_ff_i_tg): Likewise.
32620         (RUN_TEST_LOOP_f_b): Likewise.
32621         (RUN_TEST_LOOP_f_b_tg): Likewise.
32622         (RUN_TEST_LOOP_f_l): Likewise.
32623         (RUN_TEST_LOOP_f_L): Likewise.
32624         (RUN_TEST_LOOP_fFF_11): Likewise.
32625         * math/gen-libm-test.pl (parse_args): Output four copies of
32626         expected results for each test.
32628         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
32629         (__ASSUME_UTIMES): Remove.
32630         * sysdeps/unix/sysv/linux/tile/kernel-features.h
32631         (__ASSUME_UTIMES): Likewise.
32633         * math/gen-auto-libm-tests.c: Update comment on output format.
32634         (output_for_one_input_case): Generate before-rounding and
32635         after-rounding information as conditions on output flags not
32636         floating-point format.
32637         * math/auto-libm-test-out: Regenerated.
32638         * math/gen-libm-test.pl (cond_value): New function.
32639         (or_cond_value): Use cond_value.
32640         (generate_testfile): Handle conditional exceptions.
32642 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
32644         * math/libm-test.inc (max_valid_error): New variable.
32645         (init_max_error): Take new argument specifying whether function
32646         results are exactly determined.  Set max_valid_error and bound
32647         other variables for errors based on this argument.
32648         (set_max_error): Do not record results above max_valid_error.
32649         (check_float_internal): Only accept errors of up to 0.5ulps if
32650         also at most max_valid_error.
32651         (START): Take new argument EXACT and pass it to init_max_error.
32652         (acos_test): Update call to START.
32653         (acos_test_tonearest): Likewise.
32654         (acos_test_towardzero): Likewise.
32655         (acos_test_downward): Likewise.
32656         (acos_test_upward): Likewise.
32657         (acosh_test): Likewise.
32658         (asin_test): Likewise.
32659         (asin_test_tonearest): Likewise.
32660         (asin_test_towardzero): Likewise.
32661         (asin_test_downward): Likewise.
32662         (asin_test_upward): Likewise.
32663         (asinh_test): Likewise.
32664         (atan_test): Likewise.
32665         (atanh_test): Likewise.
32666         (atan2_test): Likewise.
32667         (cabs_test): Likewise.
32668         (cacos_test): Likewise.
32669         (cacosh_test): Likewise.
32670         (carg_test): Likewise.
32671         (casin_test): Likewise.
32672         (casinh_test): Likewise.
32673         (catan_test): Likewise.
32674         (catanh_test): Likewise.
32675         (cbrt_test): Likewise.
32676         (ccos_test): Likewise.
32677         (ccosh_test): Likewise.
32678         (ceil_test): Likewise.
32679         (cexp_test): Likewise.
32680         (cimag_test): Likewise.
32681         (clog_test): Likewise.
32682         (clog10_test): Likewise.
32683         (conj_test): Likewise.
32684         (copysign_test): Likewise.
32685         (cos_test): Likewise.
32686         (cos_test_tonearest): Likewise.
32687         (cos_test_towardzero): Likewise.
32688         (cos_test_downward): Likewise.
32689         (cos_test_upward): Likewise.
32690         (cosh_test): Likewise.
32691         (cosh_test_tonearest): Likewise.
32692         (cosh_test_towardzero): Likewise.
32693         (cosh_test_downward): Likewise.
32694         (cosh_test_upward): Likewise.
32695         (cpow_test): Likewise.
32696         (cproj_test): Likewise.
32697         (creal_test): Likewise.
32698         (csin_test): Likewise.
32699         (csinh_test): Likewise.
32700         (csqrt_test): Likewise.
32701         (ctan_test): Likewise.
32702         (ctan_test_tonearest): Likewise.
32703         (ctan_test_towardzero): Likewise.
32704         (ctan_test_downward): Likewise.
32705         (ctan_test_upward): Likewise.
32706         (ctanh_test): Likewise.
32707         (ctanh_test_tonearest): Likewise.
32708         (ctanh_test_towardzero): Likewise.
32709         (ctanh_test_downward): Likewise.
32710         (ctanh_test_upward): Likewise.
32711         (erf_test): Likewise.
32712         (erfc_test): Likewise.
32713         (exp_test): Likewise.
32714         (exp_test_tonearest): Likewise.
32715         (exp_test_towardzero): Likewise.
32716         (exp_test_downward): Likewise.
32717         (exp_test_upward): Likewise.
32718         (exp10_test): Likewise.
32719         (exp10_test_tonearest): Likewise.
32720         (exp10_test_towardzero): Likewise.
32721         (exp10_test_downward): Likewise.
32722         (exp10_test_upward): Likewise.
32723         (pow10_test): Likewise.
32724         (exp2_test): Likewise.
32725         (expm1_test): Likewise.
32726         (expm1_test_tonearest): Likewise.
32727         (expm1_test_towardzero): Likewise.
32728         (expm1_test_downward): Likewise.
32729         (expm1_test_upward): Likewise.
32730         (fabs_test): Likewise.
32731         (fdim_test): Likewise.
32732         (floor_test): Likewise.
32733         (fma_test): Likewise.
32734         (fma_test_towardzero): Likewise.
32735         (fma_test_downward): Likewise.
32736         (fma_test_upward): Likewise.
32737         (fmax_test): Likewise.
32738         (fmin_test): Likewise.
32739         (fmod_test): Likewise.
32740         (fpclassify_test): Likewise.
32741         (frexp_test): Likewise.
32742         (hypot_test): Likewise.
32743         (ilogb_test): Likewise.
32744         (isfinite_test): Likewise.
32745         (finite_test): Likewise.
32746         (isgreater_test): Likewise.
32747         (isgreaterequal_test): Likewise.
32748         (isinf_test): Likewise.
32749         (isless_test): Likewise.
32750         (islessequal_test): Likewise.
32751         (islessgreater_test): Likewise.
32752         (isnan_test): Likewise.
32753         (isnormal_test): Likewise.
32754         (issignaling_test): Likewise.
32755         (isunordered_test): Likewise.
32756         (j0_test): Likewise.
32757         (j1_test): Likewise.
32758         (jn_test): Likewise.
32759         (ldexp_test): Likewise.
32760         (lgamma_test): Likewise.
32761         (gamma_test): Likewise.
32762         (lrint_test): Likewise.
32763         (lrint_test_tonearest): Likewise.
32764         (lrint_test_towardzero): Likewise.
32765         (lrint_test_downward): Likewise.
32766         (lrint_test_upward): Likewise.
32767         (llrint_test): Likewise.
32768         (llrint_test_tonearest): Likewise.
32769         (llrint_test_towardzero): Likewise.
32770         (llrint_test_downward): Likewise.
32771         (llrint_test_upward): Likewise.
32772         (log_test): Likewise.
32773         (log10_test): Likewise.
32774         (log1p_test): Likewise.
32775         (log2_test): Likewise.
32776         (logb_test): Likewise.
32777         (logb_test_downward): Likewise.
32778         (lround_test): Likewise.
32779         (llround_test): Likewise.
32780         (modf_test): Likewise.
32781         (nearbyint_test): Likewise.
32782         (nextafter_test): Likewise.
32783         (nexttoward_test): Likewise.
32784         (pow_test): Likewise.
32785         (pow_test_tonearest): Likewise.
32786         (pow_test_towardzero): Likewise.
32787         (pow_test_downward): Likewise.
32788         (pow_test_upward): Likewise.
32789         (remainder_test): Likewise.
32790         (drem_test): Likewise.
32791         (remainder_test_tonearest): Likewise.
32792         (drem_test_tonearest): Likewise.
32793         (remainder_test_towardzero): Likewise.
32794         (drem_test_towardzero): Likewise.
32795         (remainder_test_downward): Likewise.
32796         (drem_test_downward): Likewise.
32797         (remainder_test_upward): Likewise.
32798         (drem_test_upward): Likewise.
32799         (remquo_test): Likewise.
32800         (rint_test): Likewise.
32801         (rint_test_tonearest): Likewise.
32802         (rint_test_towardzero): Likewise.
32803         (rint_test_downward): Likewise.
32804         (rint_test_upward): Likewise.
32805         (round_test): Likewise.
32806         (scalb_test): Likewise.
32807         (scalbn_test): Likewise.
32808         (scalbln_test): Likewise.
32809         (signbit_test): Likewise.
32810         (sin_test): Likewise.
32811         (sin_test_tonearest): Likewise.
32812         (sin_test_towardzero): Likewise.
32813         (sin_test_downward): Likewise.
32814         (sin_test_upward): Likewise.
32815         (sincos_test): Likewise.
32816         (sinh_test): Likewise.
32817         (sinh_test_tonearest): Likewise.
32818         (sinh_test_towardzero): Likewise.
32819         (sinh_test_downward): Likewise.
32820         (sinh_test_upward): Likewise.
32821         (sqrt_test): Likewise.
32822         (sqrt_test_tonearest): Likewise.
32823         (sqrt_test_towardzero): Likewise.
32824         (sqrt_test_downward): Likewise.
32825         (sqrt_test_upward): Likewise.
32826         (tan_test): Likewise.
32827         (tan_test_tonearest): Likewise.
32828         (tan_test_towardzero): Likewise.
32829         (tan_test_downward): Likewise.
32830         (tan_test_upward): Likewise.
32831         (tanh_test): Likewise.
32832         (tgamma_test): Likewise.
32833         (trunc_test): Likewise.
32834         (y0_test): Likewise.
32835         (y1_test): Likewise.
32836         (yn_test): Likewise.
32837         (significand_test): Likewise.
32839         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
32840         individual tests in comment.
32841         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
32842         (prev_max_error): New variable.
32843         (prev_real_max_error): Likewise.
32844         (prev_imag_max_error): Likewise.
32845         (compare_ulp_data): Don't refer to test names in comment.
32846         (find_test_ulps): Remove function.
32847         (find_function_ulps): Likewise.
32848         (find_complex_function_ulps): Likewise.
32849         (init_max_error): Take function name as argument.  Look up ulps
32850         for that function.
32851         (print_ulps): Remove function.
32852         (print_max_error): Use prev_max_error instead of calling
32853         find_function_ulps.
32854         (print_complex_max_error): Use prev_real_max_error and
32855         prev_imag_max_error instead of calling find_complex_function_ulps.
32856         (check_float_internal): Take max_ulp parameter instead of calling
32857         find_test_ulps.  Don't call print_ulps.
32858         (check_float): Update call to check_float_internal.
32859         (check_complex): Update calls to check_float_internal.
32860         (START): Pass argument to init_max_error.
32861         * math/gen-libm-test.pl (%results): Don't include "kind"
32862         information.
32863         (parse_ulps): Don't handle ulps of individual tests.
32864         (print_ulps_file): Likewise.
32865         (output_ulps): Likewise.
32866         * math/README.libm-test: Update.
32867         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
32868         individual tests.
32869         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
32870         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
32871         * sysdeps/arm/libm-test-ulps: Likewise.
32872         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
32873         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
32874         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
32875         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
32876         * sysdeps/microblaze/libm-test-ulps: Likewise.
32877         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
32878         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
32879         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32880         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
32881         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32882         * sysdeps/sh/libm-test-ulps: Likewise.
32883         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32884         * sysdeps/tile/libm-test-ulps: Likewise.
32885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32887 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
32889         * math/libm-test.inc (print_complex_max_error): Check separately
32890         whether real and imaginary errors are within allowed range and
32891         pass 0 to print_complex_function_ulps instead of value within
32892         allowed range.
32894 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32896         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
32897         formatting.
32898         (get_handles_fopen): Likewise.
32899         (do_write_test): Likewise.
32901         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
32903         * libio/fileops.c (do_ftell): Use cached offset when
32904         available.
32905         * libio/iofwide.c (do_ftell_wide): Likewise.
32906         * libio/iofdopen.c (_IO_new_fdopen): Don't use
32907         _IO_file_attach.
32908         * libio/wfileops.c (_IO_fwide): Don't cache offset.
32910         [BZ #16532]
32911         * libio/libioP.h (get_file_offset): New function.
32912         * libio/fileops.c (get_file_offset): Likewise.
32913         (do_ftell): Likewise.
32914         (_IO_new_file_seekoff): Split out ftell logic.
32915         * libio/wfileops.c (do_ftell_wide): Likewise.
32916         (_IO_wfile_seekoff): Split out ftell logic.
32917         * libio/tst-ftell-active-handler.c: New test case.
32918         * libio/Makefile (tests): Add it.
32920 2014-03-03  Roland McGrath  <roland@hack.frob.com>
32922         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
32923         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
32925 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
32927         [BZ #16639]
32928         * nscd/connections.c (nscd_init): Call do_exit.
32929         (start_threads): Call do_exit and notify_parent.
32930         (begin_drop_privileges): Call do_exit.
32931         (finish_drop_privileges): Likewise.
32932         * nscd/selinux.c (preserve_capabilities): Likewise.
32933         (install_real_capabilities): Likewise.
32934         (nscd_selinux_enabled): Likewise.
32935         (avc_create_thread): Likewise.
32936         (avc_alloc_lock): Likewise.
32937         (nscd_avc_init): Likewise.
32938         * nscd/nscd.c (parent_fd): New static variable.
32939         (main): Create a pipe between parent and child processes.
32940         Skip closing parent_fd.
32941         (monitor_child): New function.
32942         (do_exit): Likewise.
32943         (notify_parent): Likewise.
32944         * nscd/nscd.h (notify_parent): Likewise.
32945         (do_exit): Likewise.
32947 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
32949         * malloc/malloc.c (__libc_calloc): Revert last change.
32951 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32955 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32957         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
32958         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
32959         implementation.
32960         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32961         (__libc_ifunc_impl_list): Likewise.
32962         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
32963         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
32964         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
32965         * string/strrchr.c: Define STRRCHR.
32967 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
32969         * benchtest/bench-strtok.c (simple_strtok): Delete.
32970         (strtok_string): Use as benchmark.
32971         * string/strtok (STRTOK): New macro.
32973 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
32975         * manual/threads.texi: Add header and standard comments to all
32976         functions.
32978         * elf/dl-lookup.c (check_match): New function.
32979         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
32980         (do_lookup_x): Remove nested function check_match. Use non-nested
32981         function check_match.
32983 2014-02-28  Roland McGrath  <roland@hack.frob.com>
32985         * csu/Makefile (generated, before-compile): Use += rather than =.
32986         * catgets/Makefile (generated, generated-dirs): Likewise.
32987         * debug/Makefile (generated): Likewise.
32988         * dlfcn/Makefile (generated): Likewise.
32989         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
32990         * iconvdata/Makefile (before-compile, generated): Likewise.
32991         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
32992         * libio/Makefile (generated): Likewise.
32993         * malloc/Makefile (generated): Likewise.
32994         * manual/Makefile (generated, generated-dirs): Likewise.
32995         * misc/Makefile (generated): Likewise.
32996         * posix/Makefile (generated): Likewise.
32997         * resolv/Makefile (generated): Likewise.
32998         * sunrpc/Makefile (generated, generated-dirs): Likewise.
32999         * timezone/Makefile (generated, generated-dirs): Likewise.
33001         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
33003 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33005         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
33006         power8 implementation.
33007         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
33008         file: POWER8 llround ifunc implementation.
33009         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
33010         (__lllround): Add POWER8 implementation.
33011         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
33012         POWER8 llround implementation.
33014         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
33015         power8 implementation.
33016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
33017         file: POWER8 llrint ifunc implementation.
33018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
33019         Add POWER8 implementation.
33020         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
33021         POWER8 llrint implementation.
33023         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
33024         power8 implementation.
33025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
33026         file: POWER8 finite ifunc implementation.
33027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
33028         Add POWER8 implementation.
33029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
33030         Likewise.
33031         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
33032         POWER8 finite implementation.
33033         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
33035         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
33036         power8 implementation.
33037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
33038         file: POWER8 isinf ifunc implementation.
33039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
33040         POWER8 implementation.
33041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
33042         Likewise.
33043         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
33044         isinf implementation.
33045         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
33047         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
33048         (INIT_ARCH): Add hwcap2 initialization.
33049         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
33050         power8 implementation.
33051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
33052         file: POWER8 isnan ifunc implementation.
33053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
33054         POWER8 implementation.
33055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
33056         Likewise.
33057         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
33058         isnan implementation.
33059         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
33061 2014-02-27  Joey Ye  <joey.ye@arm.com>
33063         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
33064         (_FP_NANFRAC_Q): Set to zero.
33066 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33068         [BZ #16623]
33069         * math/auto-libm-test-in: New test inputs.
33070         * math/auto-libm-test-out: Regenerate.
33071         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
33072         and DA.
33073         (__cos): Likewise.
33074         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33076 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
33078         * scripts/evaluate-test.sh: Take new argument indicating whether
33079         failure is expected.
33080         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
33081         indicating whether failure is expected.
33082         * conform/Makefile (test-xfail-run-conformtest): New variable.
33083         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
33084         level.
33085         * posix/Makefile (test-xfail-annexc): New variable.
33086         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
33088 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
33090         * argp/Makefile: Include Makeconfig immediately after defining
33091         subdir.
33092         * assert/Makefile: Likewise.
33093         * benchtests/Makefile: Likewise.
33094         * catgets/Makefile: Likewise.
33095         * conform/Makefile: Likewise.
33096         * crypt/Makefile: Likewise.
33097         * csu/Makefile: Likewise.
33098         (all): Remove target.
33099         * ctype/Makefile: Include Makeconfig immediately after defining
33100         subdir.
33101         * debug/Makefile: Likewise.
33102         * dirent/Makefile: Likewise.
33103         * dlfcn/Makefile: Likewise.
33104         * gmon/Makefile: Likewise.
33105         * gnulib/Makefile: Likewise.
33106         * grp/Makefile: Likewise.
33107         * gshadow/Makefile: Likewise.
33108         * hesiod/Makefile: Likewise.
33109         * hurd/Makefile: Likewise.
33110         (all): Remove target.
33111         * iconvdata/Makefile: Include Makeconfig immediately after
33112         defining subdir.
33113         * inet/Makefile: Likewise.
33114         * intl/Makefile: Likewise.
33115         * io/Makefile: Likewise.
33116         * libio/Makefile: Likewise.
33117         (all): Remove target.
33118         * locale/Makefile: Include Makeconfig immediately after defining
33119         subdir.
33120         * login/Makefile: Likewise.
33121         * mach/Makefile: Likewise.
33122         (all): Remove target.
33123         * malloc/Makefile: Include Makeconfig immediately after defining
33124         subdir.
33125         (all): Remove target.
33126         * manual/Makefile: Include Makeconfig immediately after defining
33127         subdir.
33128         * math/Makefile: Likewise.
33129         * misc/Makefile: Likewise.
33130         * nis/Makefile: Likewise.
33131         * nss/Makefile: Likewise.
33132         * po/Makefile: Likewise.
33133         (all): Remove target.
33134         * posix/Makefile: Include Makeconfig immediately after defining
33135         subdir.
33136         * pwd/Makefile: Likewise.
33137         * resolv/Makefile: Likewise.
33138         * resource/Makefile: Likewise.
33139         * rt/Makefile: Likewise.
33140         * setjmp/Makefile: Likewise.
33141         * shadow/Makefile: Likewise.
33142         * signal/Makefile: Likewise.
33143         * socket/Makefile: Likewise.
33144         * soft-fp/Makefile: Likewise.
33145         * stdio-common/Makefile: Likewise.
33146         * stdlib/Makefile: Likewise.
33147         * streams/Makefile: Likewise.
33148         * string/Makefile: Likewise.
33149         * sunrpc/Makefile: Likewise.
33150         (all): Remove target.
33151         * sysvipc/Makefile: Include Makeconfig immediately after defining
33152         subdir.
33153         * termios/Makefile: Likewise.
33154         * time/Makefile: Likewise.
33155         * timezone/Makefile: Likewise.
33156         (all): Remove target.
33157         * wcsmbs/Makefile: Include Makeconfig immediately after defining
33158         subdir.
33159         * wctype/Makefile: Likewise.
33161 2014-02-26  Steve Ellcey  <sellcey@mips.com>
33163         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
33164         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
33165         (libc_feholdexcept_setround_mips): Ditto.
33166         (libc_feholdsetround): New.
33167         (libc_feholdsetroundf): New.
33168         (libc_feholdsetroundl): New.
33169         (libc_feupdateenv_test_mips): New.
33170         (libc_feupdateenv_test): New.
33171         (libc_feupdateenv_testf): New.
33172         (libc_feupdateenv_testl): New.
33173         (libc_feresetround): New.
33174         (libc_feresetroundf): New.
33175         (libc_feresetroundl): New.
33176         (libc_fetestexcept_mips): New.
33177         (libc_fetestexcept): New.
33178         (libc_fetestexceptf): New.
33179         (libc_fetestexceptl): New.
33180         (HAVE_RM_CTX): New.
33181         (libc_feholdexcept_setround_mips_ctx): New.
33182         (libc_feholdexcept_setround_ctx): New.
33183         (libc_feholdexcept_setroundf_ctx): New.
33184         (libc_feholdexcept_setroundl_ctx): New.
33185         (libc_fesetenv_mips_ctx): New.
33186         (libc_fesetenv_ctx): New.
33187         (libc_fesetenv_ctxf): New.
33188         (libc_fesetenv_ctxl): New.
33189         (libc_feupdateenv_mips_ctx): New.
33190         (libc_feupdateenv_ctx): New.
33191         (libc_feupdateenvf_ctx): New.
33192         (libc_feupdateenvl_ctx): New.
33193         (libc_feholdsetround_mips_ctx): New.
33194         (libc_feholdsetround_ctx): New.
33195         (libc_feholdsetroundf_ctx): New.
33196         (libc_feholdsetroundl_ctx): New.
33197         (libc_feresetround_mips_ctx): New.
33198         (libc_feresetround_ctx): New.
33199         (libc_feresetroundf_ctx): New.
33200         (libc_feresetroundl_ctx): New.
33202 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
33204         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
33206         * manual/ipc.texi: New file.
33207         * manual/Makefile (chapters): Add ipc.
33208         * manual/job.texi: Add "Inter-Process Communication" to next.
33209         * manual/process.texi: Add "Inter-Process Communication" to prev.
33211 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33215 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
33217         * malloc/malloc.c (__libc_calloc): Simplify implementation.
33219         * manual/arith.texi: Fix spaces after sentences.
33220         * manual/charset.texi: Likewise.
33221         * manual/errno.texi: Likewise.
33222         * manual/install.texi: Likewise.
33223         * manual/llio.texi: Likewise.
33224         * manual/locale.texi: Likewise.
33225         * manual/maint.texi: Likewise.
33226         * manual/math.texi: Likewise.
33227         * manual/memory.texi: Likewise.
33228         * manual/message.texi: Likewise.
33229         * manual/probes.texi: Likewise.
33230         * manual/resource.texi: Likewise.
33231         * manual/signal.texi: Likewise.
33232         * manual/socket.texi: Likewise.
33233         * manual/stdio.texi: Likewise.
33234         * manual/string.texi: Likewise.
33235         * manual/time.texi: Likewise.
33236         * manual/users.texi: Likewise.
33238 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
33240         [BZ #16632]
33241         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
33242         _DEFAULT_SOURCE is defined.
33244 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
33245             Carlos O'Donell  <carlos@redhat.com>
33247         [BZ #16613]
33248         * elf/dl-tls.c (_dl_count_modids): New function.
33249         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
33250         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
33251         audit library and increment generation counter.
33252         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
33253         * elf/tst-audit9.c: New file.
33254         * elf/tst-auditmod9a.c: New file.
33255         * elf/tst-auditmod9b.c: New file.
33256         * elf/Makefile: Add rules to build and run tst-audit9.
33258 2014-02-25  Florian Weimer  <fweimer@redhat.com>
33260         [BZ #15347]
33261         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
33263 2014-02-25  Will Newton  <will.newton@linaro.org>
33265         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
33266         (__longjmp): Restore sp and lr before restoring callee
33267         saved registers.  Add longjmp and longjmp_target
33268         SystemTap probe point.
33269         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
33270         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
33271         Define to zero to match jmpbuf layout.
33272         * sysdeps/arm/setjmp.S: Include stap-probe.h.
33273         (__sigsetjmp): Save sp and lr before saving callee
33274         saved registers.  Add setjmp SystemTap probe point.
33276 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
33278         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33280 2014-02-24  Andreas Schwab  <schwab@suse.de>
33282         [BZ #15804]
33283         * elf/pldd.c (wait_for_ptrace_stop): New function.
33284         (main): Call it after attaching.
33286 2014-02-22  Roland McGrath  <roland@hack.frob.com>
33288         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
33289         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
33290         Versions files is now verboten.
33291         * hurd/Versions (libc: GLIBC_2.0):
33292         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
33293         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
33294         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
33295         * mach/Versions: Likewise.
33297         * csu/Versions: Remove unused %include.
33298         * resolv/Versions: Likewise.
33300 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
33302         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
33303         ($(objpfx)check-local-headers.out): Likewise.
33304         ($(objpfx)begin-end-check.out): Likewise.
33305         * Makerules (check-abi-%.out): Likewise.
33306         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
33307         ($(objpfx)test2.cat): Likewise.
33308         ($(objpfx)de/libc.cat): Likewise.
33309         ($(objpfx)test-gencat.out): Likewise.
33310         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
33311         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
33312         ($(objpfx)noload-mem): Likewise.
33313         ($(objpfx)tst-pathopt.out): Likewise.
33314         ($(objpfx)tst-rtld-load-self.out): Likewise.
33315         ($(objpfx)tst-array1-cmp.out): Likewise.
33316         ($(objpfx)tst-array1-static-cmp.out): Likewise.
33317         ($(objpfx)tst-array2-cmp.out): Likewise.
33318         ($(objpfx)tst-array3-cmp.out): Likewise.
33319         ($(objpfx)tst-array4-cmp.out): Likewise.
33320         ($(objpfx)tst-array5-cmp.out): Likewise.
33321         ($(objpfx)tst-array5-static-cmp.out): Likewise.
33322         ($(objpfx)check-textrel.out): Likewise.
33323         ($(objpfx)check-execstack.out): Likewise.
33324         ($(objpfx)check-localplt.out): Likewise.
33325         ($(objpfx)order2-cmp.out): Likewise.
33326         ($(objpfx)tst-leaks1-mem): Likewise.
33327         ($(objpfx)tst-leaks1-static-mem): Likewise.
33328         ($(objpfx)tst-initorder-cmp.out): Likewise.
33329         ($(objpfx)tst-initorder2-cmp.out): Likewise.
33330         ($(objpfx)tst-unused-dep.out): Likewise.
33331         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
33332         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
33333         * iconv/Makefile (test-iconvconfig): Likewise.
33334         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
33335         ($(objpfx)iconv-test.out): Likewise.
33336         ($(objpfx)tst-tables.out): Likewise.
33337         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
33338         ($(objpfx)tst-gettext.out): Likewise.
33339         ($(objpfx)tst-translit.out): Likewise.
33340         ($(objpfx)tst-gettext2.out): Likewise.
33341         ($(objpfx)tst-gettext4.out): Likewise.
33342         ($(objpfx)tst-gettext6.out): Likewise.
33343         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
33344         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
33345         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
33346         ($(objpfx)tst-fopenloc-mem.out): Likewise.
33347         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
33348         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
33349         * posix/Makefile ($(objpfx)globtest.out): Likewise.
33350         ($(objpfx)wordexp-tst.out): Likewise.
33351         ($(objpfx)annexc.out): Likewise.
33352         ($(objpfx)tst-fnmatch-mem): Likewise.
33353         ($(objpfx)bug-regex2-mem): Likewise.
33354         ($(objpfx)bug-regex14-mem): Likewise.
33355         ($(objpfx)bug-regex21-mem): Likewise.
33356         ($(objpfx)bug-regex31-mem): Likewise.
33357         ($(objpfx)tst-vfork3-mem): Likewise.
33358         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
33359         ($(objpfx)tst-pcre-mem): Likewise.
33360         ($(objpfx)tst-boost-mem): Likewise.
33361         ($(objpfx)tst-getconf.out): Likewise.
33362         ($(objpfx)bug-ga2-mem): Likewise.
33363         ($(objpfx)bug-glob2-mem): Likewise.
33364         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
33365         ($(objpfx)mtrace-tst-leaks2): Likewise.
33366         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
33367         ($(objpfx)tst-printf.out): Likewise.
33368         ($(objpfx)tst-setvbuf1.out): Likewise.
33369         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
33370         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
33371         ($(objpfx)tst-fmtmsg.out): Likewise.
33372         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
33373         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
33375         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
33376         * bits/sigaction.h [__USE_MISC]: Likewise.
33377         * bits/waitstatus.h: Update #endif comments.
33378         * ctype/ctype.h: Likewise.
33379         * dirent/dirent.h: Likewise.
33380         [__USE_MISC]: Remove redundant conditionals.
33381         * grp/grp.h: Update #endif comments.
33382         [__USE_GNU]: Remove redundant conditionals.
33383         [__USE_MISC]: Likewise.
33384         * inet/netinet/in.h [__USE_GNU]: Likewise.
33385         * io/sys/stat.h [__USE_MISC]: Likewise.
33386         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
33387         * libio/bits/stdio.h: Update #endif comments.
33388         [__USE_MISC]: Remove redundant conditionals.
33389         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
33390         * libio/stdio.h: Update #endif comments.
33391         [__USE_MISC]: Remove redundant conditionals.
33392         * math/bits/math-finite.h [__USE_MISC]: Likewise.
33393         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
33394         * math/math.h: Update #else and #endif comments.
33395         [__USE_MISC]: Remove redundant conditionals.
33396         * misc/sys/uio.h: Update #endif comments.
33397         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
33398         * posix/glob.h [__USE_MISC]: Likewise.
33399         * posix/sys/types.h: Update #endif comments.
33400         [__USE_MISC]: Remove redundant conditionals.
33401         * posix/sys/wait.h: Update #endif comments.
33402         [__USE_MISC]: Remove redundant conditionals.
33403         * posix/unistd.h: Update #endif comments.
33404         [__USE_MISC]: Remove redundant conditionals.
33405         * pwd/pwd.h [__USE_GNU]: Likewise.
33406         [__USE_MISC]: Likewise.
33407         * resolv/netdb.h [__USE_GNU]: Likewise.
33408         * signal/signal.h: Update #endif comments.
33409         [__USE_MISC]: Remove redundant conditionals.
33410         * stdlib/stdlib.h: Update #else and #endif comments.
33411         [__USE_MISC]: Remove redundant conditionals.
33412         [__USE_GNU]: Likewise.
33413         * string/bits/string2.h [__USE_MISC]: Likewise.
33414         * string/string.h: Update #endif comments.
33415         [__USE_MISC]: Remove redundant conditionals.
33416         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
33417         Likewise.
33418         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
33419         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
33420         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
33421         Likewise.
33422         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
33423         Likewise.
33424         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
33425         comments.
33426         [__USE_MISC]: Remove redundant conditionals.
33427         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
33428         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
33429         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
33430         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
33431         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
33432         Likewise.
33433         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
33434         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
33435         Likewise.
33436         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
33437         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
33438         Likewise.
33439         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
33440         Likewise.
33441         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
33442         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
33443         Likewise.
33444         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
33445         Likewise.
33446         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
33447         * sysdeps/x86/bits/string.h: Update #endif comments.
33448         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
33449         conditionals.
33450         * time/sys/time.h: Update #endif comments.
33451         * time/time.h: Likewise.
33452         [__USE_MISC]: Remove redundant conditionals.
33454 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
33456         [BZ #16600]
33457         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
33459 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
33461         * Versions.def (librt): Add GLIBC_2.17.
33463 2014-02-21  Adam Conrad  <adconrad@0c3.net>
33465         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
33466         synonym for _SYS_AUXV_H to allow direct inclusion.
33467         * sysdeps/sparc/bits/hwcap.h: Likewise.
33468         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
33469         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
33470         * sysdeps/sparc/sysdep.h: Likewise.
33472 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33474         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
33476 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33478         * benchtests/bench-strrchr.c: Print length instead of position.
33480 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
33482         [BZ #16611]
33483         * sysdeps/unix/sysv/linux/kernel-features.h
33484         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
33485         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
33486         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
33487         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
33488         Likewise.
33489         [__i386__ || __powerpc__ || __sh__ || __sparc__]
33490         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33491         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
33492         (__ASSUME_SENDMMSG): Define instead of using previous
33493         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
33494         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33495         (__ASSUME_SENDMMSG_SYSCALL): Define.
33496         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33497         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
33498         Likewise.
33499         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33500         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33501         Likewise.
33502         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33503         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33504         Likewise.
33505         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
33506         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33507         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33508         [__ASSUME_SENDMMSG]: Change conditionals to
33509         [__ASSUME_SENDMMSG_SOCKETCALL].
33510         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33511         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
33512         Define.
33513         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33514         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
33515         Likewise.
33516         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
33517         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
33518         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
33519         [!__ASSUME_SENDMMSG]: Change conditional to
33520         [!__ASSUME_SENDMMSG_SOCKETCALL].
33521         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33522         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
33523         Define.
33525         [BZ #16610]
33526         * sysdeps/unix/sysv/linux/kernel-features.h
33527         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
33528         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
33529         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
33530         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
33531         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33532         [__i386__ || __sparc__]
33533         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33534         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
33535         (__ASSUME_RECVMMSG): Define instead of using previous
33536         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
33537         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33538         (__ASSUME_RECVMMSG_SYSCALL): Define.
33539         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33540         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33541         Likewise.
33542         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33543         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33544         Likewise.
33545         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33546         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33547         Likewise.
33548         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
33549         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33550         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33551         [__ASSUME_RECVMMSG]: Change condition to
33552         [__ASSUME_RECVMMSG_SOCKETCALL].
33553         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33554         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33555         Define.
33556         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33557         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33558         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
33559         Likewise.
33560         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
33561         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
33562         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
33563         [!__ASSUME_RECVMMSG]: Change condition to
33564         [!__ASSUME_RECVMMSG_SOCKETCALL].
33565         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33566         (__ASSUME_RECVMMSG_SYSCALL): Define.
33568         [BZ #16609]
33569         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
33570         __powerpc__ || __s390__ || __sh__ || __sparc__]
33571         (__ASSUME_SOCKETCALL): Define.
33572         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
33573         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
33574         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
33575         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
33576         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
33577         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
33578         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
33579         (__ASSUME_ACCEPT4): Define instead of using previous
33580         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
33581         __powerpc__ || __sparc__ || __s390__)] condition.
33582         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
33583         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33584         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
33585         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33586         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33587         [!__ASSUME_ACCEPT4]: Change condition to
33588         [!__ASSUME_ACCEPT4_SOCKETCALL].
33589         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33590         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
33591         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
33592         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33593         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
33594         __ASSUME_ACCEPT4_SYSCALL.
33595         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
33596         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
33597         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
33598         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
33599         __ASSUME_ACCEPT4_SYSCALL.
33600         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
33601         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
33602         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
33603         [__ASSUME_ACCEPT4]: Change condition to
33604         [__ASSUME_ACCEPT4_SOCKETCALL].
33605         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33606         (__ASSUME_SOCKETCALL): Define.
33607         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
33608         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33609         (__ASSUME_SOCKETCALL): Define.
33610         (__ASSUME_ACCEPT4): Remove.
33611         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
33612         Define.
33613         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33614         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
33615         Likewise.
33616         * sysdeps/unix/sysv/linux/tile/kernel-features.h
33617         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
33619         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
33620         macro.
33621         (HWCAP_ARM_LPAE): Likewise.
33622         (HWCAP_ARM_EVTSTRM): Likewise.
33623         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
33624         Add vpfd32, lpae and evtstrm.
33625         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
33626         Increase to 22.
33628 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
33630         * math/auto-libm-test-in: Add tests of clog10.
33631         * math/auto-libm-test-out: Regenerated.
33632         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
33633         * sysdeps/i386/fpu/libm-test-ulps: Update.
33634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33636 2014-02-18  Andreas Schwab  <schwab@suse.de>
33638         [BZ #16574]
33639         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
33640         Store non-zero if the second buffer was newly allocated.
33641         (send_dg): Likewise.
33642         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
33643         to send_vc and send_dg.
33644         (res_nsend): Pass NULL for ansp2_malloced.
33645         * resolv/res_query.c (__libc_res_nquery): Add parameter
33646         answerp2_malloced and pass it down to __libc_res_nsend.
33647         (res_nquery): Pass additional NULL to __libc_res_nquery.
33648         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
33649         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
33650         second answer buffer if answerp2_malloced was set.
33651         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
33652         (__libc_res_nquerydomain): Add parameter
33653         answerp2_malloced and pass it down to __libc_res_nquery.
33654         (res_nquerydomain): Pass additional NULL to
33655         __libc_res_nquerydomain.
33656         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
33657         additional NULL to __libc_res_nsend and __libc_res_nquery.
33658         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
33659         additional NULL to __libc_res_nsearch.
33660         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
33661         parameter of __libc_res_nsearch to check for separately allocated
33662         second buffer.
33663         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
33664         __libc_res_nquery.
33665         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
33666         additional NULL to __libc_res_nquery.
33667         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
33668         __libc_res_nsearch.
33669         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
33670         * include/resolv.h: Update prototypes of __libc_res_nquery,
33671         __libc_res_nsearch, __libc_res_nsend.
33673 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
33675         * math/auto-libm-test-in: Add tests of fma.
33676         * math/auto-libm-test-out: Regenerated.
33677         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
33678         (fma_towardzero_test_data): Likewise.
33679         (fma_downward_test_data): Likewise.
33680         (fma_upward_test_data): Likewise.
33681         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
33682         mpc_mode.
33683         (rounding_modes): Add values for new field.
33684         (func_calc_method): Add value mpfr_fff_f.
33685         (func_calc_desc): Add mpfr_fff_f union field.
33686         (test_function): Add field exact_args.
33687         (FUNC): Add macro argument EXACT_ARGS.
33688         (FUNC_mpfr_f_f): Update call to FUNC.
33689         (FUNC_mpfr_f_f): Likewise.
33690         (FUNC_mpfr_ff_f): Likewise.
33691         (FUNC_mpfr_if_f): Likewise.
33692         (FUNC_mpc_c_f): Likewise.
33693         (FUNC_mpc_c_c): Likewise.
33694         (test_functions): Add fma.  Update calls to FUNC.
33695         (handle_input_arg): Add argument exact_args.
33696         (add_test): Update call to handle_input_arg.
33697         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
33698         (output_for_one_input_case): Update call to calc_generic_results.
33699         Recalculate exact zero results in each rounding mode.
33701         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
33702         non-negative before setting low bit.
33703         * math/auto-libm-test-in: Mark one asin test possibly having
33704         spurious underflow.
33705         * math/auto-libm-test-out: Regenerated.
33706         * sysdeps/i386/fpu/libm-test-ulps: Update.
33707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33709 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
33711         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
33712         * sysdeps/unix/sysv/linux/microblaze: Move directory from
33713         ports/sysdeps/unix/sysv/linux/microblaze.
33714         * README: Add missing listing for microblaze*-*-linux-gnu.
33716 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
33718         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
33719         duplicate code
33721 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
33723         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
33724         * sysdeps/unix/sysv/linux/ia64: Move directory from
33725         ports/sysdeps/unix/sysv/linux/ia64.
33726         * README: Update listing for ia64-*-linux-gnu.
33728 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
33729             Joseph Myers  <joseph@codesourcery.com>
33731         * Makeconfig (test-name): New variable.
33732         (evaluate-test): Likewise.
33733         * Makerules (do-test-clean): Remove .test-result files.
33734         (common-mostlyclean): Likewise.
33735         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
33736         * scripts/evaluate-test.sh: New file.
33738 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
33740         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
33741         separate $(objpfx)tst-fopenloc-cmp.out and
33742         $(objpfx)tst-fopenloc-mem.out targets.
33743         (tests): Update dependencies.
33744         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
33745         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
33746         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
33747         (tst-rxspencer-no-utf8-ARGS): New variable.
33748         (tst-rxspencer-no-utf8-ENV): Likewise.
33749         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
33750         instead of $(objpfx)tst-rxspencer-mem.
33751         ($(objpfx)tst-rxspencer-mem): Change target to
33752         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
33753         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
33754         * posix/tst-rxspencer-no-utf8.c: New file.
33756         * elf/Makefile ($(objpfx)order.out): Remove rule.
33757         [$(run-built-tests) = yes] (tests): Depend on
33758         $(objpfx)order-cmp.out.
33759         ($(objpfx)order-cmp.out): New rule.
33760         [$(run-built-tests) = yes] (tests): Depend on
33761         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
33762         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
33763         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
33764         $(objpfx)tst-array5-static-cmp.out.
33765         ($(objpfx)tst-array1.out): Remove rule.
33766         ($(objpfx)tst-array1-cmp.out): New rule.
33767         ($(objpfx)tst-array1-static.out): Remove rule.
33768         ($(objpfx)tst-array1-static-cmp.out): New rule.
33769         ($(objpfx)tst-array2.out): Remove rule.
33770         ($(objpfx)tst-array2-cmp.out): New rule.
33771         ($(objpfx)tst-array3.out): Remove rule.
33772         ($(objpfx)tst-array3-cmp.out): New rule.
33773         ($(objpfx)tst-array4.out): Remove rule.
33774         ($(objpfx)tst-array4-cmp.out): New rule.
33775         ($(objpfx)tst-array5.out): Remove rule.
33776         ($(objpfx)tst-array5-cmp.out): New rule.
33777         ($(objpfx)tst-array5-static.out): Remove rule.
33778         ($(objpfx)tst-array5-static-cmp.out): New rule.
33779         [$(run-built-tests) = yes] (tests): Depend on
33780         $(objpfx)order2-cmp.out.
33781         ($(objpfx)order2.out): Remove rule.
33782         ($(objpfx)order2-cmp.out): New rule.
33783         ($(objpfx)tst-initorder.out): Remove rule.
33784         [$(run-built-tests) = yes] (tests): Depend on
33785         $(objpfx)tst-initorder-cmp.out.
33786         ($(objpfx)tst-initorder-cmp.out): New rule.
33787         ($(objpfx)tst-initorder2.out): Remove rule.
33788         [$(run-built-tests) = yes] (tests): Depend on
33789         $(objpfx)tst-initorder2-cmp.out.
33790         ($(objpfx)tst-initorder2-cmp.out): New rule.
33791         [$(run-built-tests) = yes] (tests): Depend on
33792         $(objpfx)tst-unused-dep-cmp.out.
33793         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
33794         ($(objpfx)tst-unused-dep-cmp.out): New rule.
33795         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
33796         on $(objpfx)tst-setvbuf1-cmp.out.
33797         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
33798         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
33799         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
33800         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
33801         ($(objpfx)tst-svc.out): Remove rule.
33802         ($(objpfx)tst-svc-cmp.out): New rule.
33804 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
33806         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
33807         * ctype/ctype.h [__USE_MISC]: Likewise.
33808         * dirent/dirent.h [__USE_MISC]: Likewise.
33809         * grp/grp.h [__USE_MISC]: Likewise.
33810         * io/fcntl.h [__USE_MISC]: Likewise.
33811         * io/sys/stat.h [__USE_MISC]: Likewise.
33812         * libio/stdio.h [__USE_MISC]: Likewise.
33813         * posix/unistd.h [__USE_MISC]: Likewise.
33814         * pwd/pwd.h [__USE_MISC]: Likewise.
33815         * stdlib.h [__USE_MISC]: Likewise.
33816         * string/bits/string2.h [__USE_MISC]: Likewise.
33817         * string/string.h [__USE_MISC]: Likewise.
33818         * time/time.h [__USE_MISC]: Likewise.
33820 2014-02-13  Andreas Schwab  <schwab@suse.de>
33822         [BZ #16574]
33823         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
33824         second answer buffer if it was separately allocated.
33826 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
33828         * sysdeps/mips/math-tests.h: Include <features.h>.
33829         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33830         (ROUNDING_TESTS_long_double): Do not define.
33831         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
33832         (EXCEPTION_TESTS_long_double): Likewise.
33833         * sysdeps/mips/mips64/libm-test-ulps: Update.
33835         * include/features.h (__USE_BSD): Remove macro definitions.
33836         (__USE_SVID): Likewise.
33837         (_BSD_SOURCE): Likewise.
33838         (_SVID_SOURCE): Likewise.
33839         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
33840         from definition of _DEFAULT_SOURCE.
33841         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
33842         [_DEFAULT_SOURCE].
33843         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
33844         * bits/mman.h [__USE_BSD]: Likewise.
33845         * bits/termios.h [__USE_BSD]: Likewise.
33846         * bits/waitstatus.h [__USE_BSD]: Likewise.
33847         * ctype/ctype.h [__USE_SVID]: Likewise.
33848         * dirent/dirent.h [__USE_BSD]: Likewise.
33849         * grp/grp.h [__USE_SVID]: Likewise.
33850         [__USE_BSD]: Likewise.
33851         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
33852         * io/fcntl.h [__USE_BSD]: Likewise.
33853         * io/ftw.h [__USE_BSD]: Likewise.
33854         * io/sys/stat.h [__USE_BSD]: Likewise.
33855         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
33856         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
33857         * libio/stdio.h [__USE_SVID]: Likewise.
33858         [__USE_BSD]: Likewise.
33859         * math/math.h [__USE_SVID]: Likewise.
33860         [__USE_BSD]: Likewise.
33861         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
33862         * misc/bits/syslog.h [__USE_BSD]: Likewise.
33863         * misc/search.h [__USE_SVID]: Likewise.
33864         * misc/sys/mman.h [__USE_BSD]: Likewise.
33865         * misc/sys/syslog.h [__USE_BSD]: Likewise.
33866         * misc/sys/uio.h [__USE_BSD]: Likewise.
33867         * posix/bits/unistd.h [__USE_BSD]: Likewise.
33868         * posix/glob.h [__USE_BSD]: Likewise.
33869         * posix/regex.h [__USE_BSD]: Likewise.
33870         * posix/sys/types.h [__USE_BSD]: Likewise.
33871         [__USE_SVID]: Likewise.
33872         * posix/sys/utsname.h [__USE_SVID]: Likewise.
33873         * posix/sys/wait.h [__USE_BSD]: Likewise.
33874         [__USE_SVID]: Likewise.
33875         * posix/unistd.h [__USE_BSD]: Likewise.
33876         [__USE_SVID]: Likewise.
33877         * pwd/pwd.h [__USE_SVID]: Likewise.
33878         * resolv/netdb.h [__USE_BSD]: Likewise.
33879         * setjmp/setjmp.h [__USE_BSD]: Likewise.
33880         * signal/signal.h [__USE_BSD]: Likewise.
33881         [__USE_SVID]: Likewise.
33882         * socket/sys/socket.h [__USE_BSD]: Likewise.
33883         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
33884         * stdlib/stdlib.h [__USE_BSD]: Likewise.
33885         [__USE_SVID]: Likewise.
33886         * string/bits/string2.h [__USE_BSD]: Likewise.
33887         [__USE_SVID]: Likewise.
33888         * string/bits/string3.h [__USE_BSD]: Likewise.
33889         * string/endian.h [__USE_BSD]: Likewise.
33890         * string/string.h [__USE_SVID]: Likewise.
33891         [__USE_BSD]: Likewise.
33892         * string/strings.h [__USE_BSD]: Likewise.
33893         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
33894         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
33895         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
33896         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
33897         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
33898         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
33899         Likewise.
33900         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
33901         Likewise.
33902         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
33903         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
33904         Likewise.
33905         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
33906         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
33907         Likewise.
33908         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
33909         Likewise.
33910         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
33911         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
33912         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
33913         Likewise.
33914         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
33915         Likewise.
33916         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
33917         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
33918         * termios/termios.h [__USE_BSD]: Likewise.
33919         * time/sys/time.h [__USE_BSD]: Likewise.
33920         * time/time.h [__USE_BSD]: Likewise.
33921         [__USE_SVID]: Likewise.
33923         * Makefile (subdir_targets): Remove subdir_lint.out.
33925         * stdio-common/Makefile (do-tst-unbputc): Remove target.
33926         (do-tst-printf): Likewise.
33927         (tests): Depend directly on $(objpfx)tst-unbputc.out and
33928         $(objpfx)tst-printf.out.
33930         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
33932         * Makerules (check-abi-%): Change target to
33933         $(objpfx)check-abi-%.out.
33934         (check-abi target): Update dependencies.
33935         (check-abi-pattern variable): Redirect output of diff to $@.
33936         (check-abi variable): Likewise.
33937         * elf/Makefile (check-abi): Update dependencies.
33939         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
33940         unused.
33941         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
33942         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
33943         subnormal range.
33944         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
33945         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
33946         value has largest subnormal exponent.
33947         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
33948         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
33949         * sysdeps/aarch64/soft-fp/sfp-machine.h
33950         (_FP_TININESS_AFTER_ROUNDING): New macro.
33951         * sysdeps/alpha/soft-fp/sfp-machine.h
33952         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33953         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33954         Likewise.
33955         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
33956         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33957         * sysdeps/mips/soft-fp/sfp-machine.h
33958         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33959         * sysdeps/powerpc/soft-fp/sfp-machine.h
33960         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33961         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33962         Likewise.
33963         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33964         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33965         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33966         (_FP_TININESS_AFTER_ROUNDING): Likewise.
33967         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
33968         Likewise.
33970 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
33972         [BZ #16545]
33973         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
33974         model 1.
33976 2014-02-12  Richard Henderson  <rth@redhat.com>
33978         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
33979         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
33980         * sysdeps/unix/sysv/linux/alpha: Move directory from
33981         ports/sysdeps/unix/sysv/linux/alpha.
33982         * README: Update listing for alpha-*-linux-gnu.
33984 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
33986         * include/features.h: Update comment documenting feature test
33987         macros.
33988         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
33989         _DEFAULT_SOURCE.
33990         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
33991         (_SVID_SOURCE): Likewise.
33992         (_DEFAULT_SOURCE): Update description of default features.
33993         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
33994         with _GNU_SOURCE.
33995         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
33996         (S_ISVTX): Likewise.
33997         * manual/math.texi (Mathematical Constants): Likewise.
33998         * manual/signal.texi (Interrupted Primitives): Likewise.
33999         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
34000         * math/test-matherr.c (_SVID_SOURCE): Do not define.
34001         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
34002         Don't refer to _SVID_SOURCE in warning text.
34004         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34006         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
34007         already defined.
34008         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
34009         * sysdeps/mips/dl-lookup.c: Remove.
34010         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
34012 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34014         [BZ #16447]
34015         * math/auto-libm-test-in: Add testcase for expl.
34016         * math/auto-libm-test-out: Regenerate.
34017         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
34018         calculation of unsafe.
34019         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
34021 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34023         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
34024         * sysdeps/unix/sysv/linux/aarch64: Move directory from
34025         ports/sysdeps/unix/sysv/linux/aarch64.
34026         * README: Update listing for aarch64*-*-linux-gnu.
34028 2014-02-11  Will Newton  <will.newton@linaro.org>
34030         * manual/probes.texi (Mathematical Function Probes): Use
34031         "triggered" instead of "hit".
34033         * manual/probes.texi (Internal Probes): Add documentation
34034         of setjmp, longjmp and longjmp_target probes.
34036         * include/stap-probe.h: Add comment about probe argument
34037         format.
34039         * malloc/mtrace.c (attribute_hidden): Remove unused macro
34040         definition.  (tr_where, tr_freehook, tr_mallochook,
34041         tr_reallochook, tr_memalignhook): Use ANSI protoype.
34043 2014-02-11  David S. Miller  <davem@davemloft.net>
34045         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
34046         processing int_tests.
34048 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
34050         * sysdeps/mips: Move directory from ports/sysdeps/mips.
34051         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
34052         * sysdeps/unix/sysv/linux/mips: Move directory from
34053         ports/sysdeps/unix/sysv/linux/mips.
34054         * README: Update listing for mips-*-linux-gnu and
34055         mips64-*-linux-gnu.
34057 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
34059         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
34060         * sysdeps/unix/sysv/linux/m68k: Move directory from
34061         ports/sysdeps/unix/sysv/linux/m68k.
34062         * README: Update listing for m68k-*-linux-gnu.
34064 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
34066         * sysdeps/tile: Move directory from ports/sysdeps/tile.
34067         * sysdeps/unix/sysv/linux/generic: Move directory from
34068         ports/sysdeps/unix/sysv/linux/generic.
34069         * sysdeps/unix/sysv/linux/tile: Move directory from
34070         ports/sysdeps/unix/sysv/linux/tile.
34071         * README: Update listing for tile*-*-linux-gnu.
34073 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
34075         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
34076         __builtin_expect.
34077         * benchtests/bench-memmem.c (simple_memmem): Likewise.
34078         * catgets/open_catalog.c (__open_catalog): Likewise.
34079         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
34080         * debug/confstr_chk.c: Likewise.
34081         * debug/fread_chk.c (__fread_chk): Likewise.
34082         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
34083         * debug/getgroups_chk.c: Likewise.
34084         * debug/mbsnrtowcs_chk.c: Likewise.
34085         * debug/mbsrtowcs_chk.c: Likewise.
34086         * debug/mbstowcs_chk.c: Likewise.
34087         * debug/memcpy_chk.c: Likewise.
34088         * debug/memmove_chk.c: Likewise.
34089         * debug/mempcpy_chk.c: Likewise.
34090         * debug/memset_chk.c: Likewise.
34091         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34092         * debug/strcat_chk.c (__strcat_chk): Likewise.
34093         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
34094         * debug/strncat_chk.c (__strncat_chk): Likewise.
34095         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
34096         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
34097         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
34098         * debug/wcpncpy_chk.c: Likewise.
34099         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34100         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
34101         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
34102         * debug/wcsncpy_chk.c: Likewise.
34103         * debug/wcsnrtombs_chk.c: Likewise.
34104         * debug/wcsrtombs_chk.c: Likewise.
34105         * debug/wcstombs_chk.c: Likewise.
34106         * debug/wmemcpy_chk.c: Likewise.
34107         * debug/wmemmove_chk.c: Likewise.
34108         * debug/wmempcpy_chk.c: Likewise.
34109         * debug/wmemset_chk.c: Likewise.
34110         * dirent/scandirat.c (SCANDIRAT): Likewise.
34111         * dlfcn/dladdr1.c (dladdr1): Likewise.
34112         * dlfcn/dladdr.c (dladdr): Likewise.
34113         * dlfcn/dlclose.c (dlclose_doit): Likewise.
34114         * dlfcn/dlerror.c (__dlerror): Likewise.
34115         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
34116         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
34117         * dlfcn/dlopen.c (dlopen_doit): Likewise.
34118         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
34119         * dlfcn/dlsym.c (dlsym_doit): Likewise.
34120         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
34121         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
34122         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
34123         Likewise.
34124         * elf/dl-conflict.c: Likewise.
34125         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
34126         * elf/dl-dst.h: Likewise.
34127         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
34128         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
34129         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
34130         * elf/dl-init.c (call_init, _dl_init): Likewise.
34131         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
34132         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
34133         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
34134         Likewise.
34135         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
34136         Likewise.
34137         * elf/dl-minimal.c (__libc_memalign): Likewise.
34138         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
34139         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34140         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
34141         * elf/dl-sym.c (do_sym): Likewise.
34142         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
34143         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
34144         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
34145         * elf/dl-writev.h (_dl_writev): Likewise.
34146         * elf/ldconfig.c (search_dir): Likewise.
34147         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
34148         (dl_main): Likewise.
34149         * elf/setup-vdso.h (setup_vdso): Likewise.
34150         * grp/compat-initgroups.c (compat_call): Likewise.
34151         * grp/fgetgrent.c (fgetgrent): Likewise.
34152         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
34153         * grp/putgrent.c (putgrent): Likewise.
34154         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
34155         Likewise.
34156         * hurd/hurdinit.c: Likewise.
34157         * iconvdata/8bit-gap.c (struct): Likewise.
34158         * iconvdata/ansi_x3.110.c : Likewise.
34159         * iconvdata/big5.c : Likewise.
34160         * iconvdata/big5hkscs.c : Likewise.
34161         * iconvdata/cp1255.c: Likewise.
34162         * iconvdata/cp1258.c : Likewise.
34163         * iconvdata/cp932.c : Likewise.
34164         * iconvdata/euc-cn.c: Likewise.
34165         * iconvdata/euc-jisx0213.c : Likewise.
34166         * iconvdata/euc-jp.c: Likewise.
34167         * iconvdata/euc-jp-ms.c : Likewise.
34168         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
34169         * iconvdata/gb18030.c : Likewise.
34170         * iconvdata/gbbig5.c (const): Likewise.
34171         * iconvdata/gbgbk.c: Likewise.
34172         * iconvdata/gbk.c : Likewise.
34173         * iconvdata/ibm1364.c : Likewise.
34174         * iconvdata/ibm930.c : Likewise.
34175         * iconvdata/ibm932.c: Likewise.
34176         * iconvdata/ibm933.c : Likewise.
34177         * iconvdata/ibm935.c : Likewise.
34178         * iconvdata/ibm937.c : Likewise.
34179         * iconvdata/ibm939.c : Likewise.
34180         * iconvdata/ibm943.c: Likewise.
34181         * iconvdata/iso_11548-1.c: Likewise.
34182         * iconvdata/iso-2022-cn.c : Likewise.
34183         * iconvdata/iso-2022-cn-ext.c : Likewise.
34184         * iconvdata/iso-2022-jp-3.c: Likewise.
34185         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
34186         * iconvdata/iso-2022-kr.c : Likewise.
34187         * iconvdata/iso646.c (gconv_end): Likewise.
34188         * iconvdata/iso_6937-2.c : Likewise.
34189         * iconvdata/iso_6937.c : Likewise.
34190         * iconvdata/iso8859-1.c: Likewise.
34191         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
34192         * iconvdata/shift_jisx0213.c : Likewise.
34193         * iconvdata/sjis.c : Likewise.
34194         * iconvdata/t.61.c : Likewise.
34195         * iconvdata/tcvn5712-1.c : Likewise.
34196         * iconvdata/tscii.c: Likewise.
34197         * iconvdata/uhc.c : Likewise.
34198         * iconvdata/unicode.c (gconv_end): Likewise.
34199         * iconvdata/utf-16.c (gconv_end): Likewise.
34200         * iconvdata/utf-32.c (gconv_end): Likewise.
34201         * iconvdata/utf-7.c (base64): Likewise.
34202         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
34203         * iconv/gconv_close.c (__gconv_close): Likewise.
34204         * iconv/gconv_open.c (__gconv_open): Likewise.
34205         * iconv/gconv_simple.c (internal_ucs4_loop_single)
34206         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
34207         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
34208         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
34209         (ucs4le_internal_loop_single): Likewise.
34210         * iconv/iconv.c (iconv): Likewise.
34211         * iconv/iconv_close.c: Likewise.
34212         * iconv/loop.c (SINGLE): Likewise.
34213         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
34214         * include/atomic.h: Likewise.
34215         * inet/inet6_option.c (option_alloc): Likewise.
34216         * intl/bindtextdom.c (set_binding_values): Likewise.
34217         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
34218         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
34219         * intl/localealias.c (read_alias_file): Likewise.
34220         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
34221         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
34222         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
34223         * libio/fmemopen.c (fmemopen): Likewise.
34224         * libio/iofgets.c (_IO_fgets): Likewise.
34225         * libio/iofgets_u.c (fgets_unlocked): Likewise.
34226         * libio/iofgetws.c (fgetws): Likewise.
34227         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
34228         * libio/iogetdelim.c (_IO_getdelim): Likewise.
34229         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
34230         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
34231         * locale/findlocale.c (_nl_find_locale): Likewise.
34232         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
34233         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
34234         Likewise.
34235         * locale/setlocale.c (setlocale): Likewise.
34236         * login/programs/pt_chown.c (main): Likewise.
34237         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
34238         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
34239         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
34240         (mmap, mmap64, mremap, munmap): Likewise.
34241         * math/e_exp2l.c: Likewise.
34242         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
34243         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
34244         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
34245         * math/s_catan.c (__catan): Likewise.
34246         * math/s_catanf.c (__catanf): Likewise.
34247         * math/s_catanh.c (__catanh): Likewise.
34248         * math/s_catanhf.c (__catanhf): Likewise.
34249         * math/s_catanhl.c (__catanhl): Likewise.
34250         * math/s_catanl.c (__catanl): Likewise.
34251         * math/s_ccosh.c (__ccosh): Likewise.
34252         * math/s_ccoshf.c (__ccoshf): Likewise.
34253         * math/s_ccoshl.c (__ccoshl): Likewise.
34254         * math/s_cexp.c (__cexp): Likewise.
34255         * math/s_cexpf.c (__cexpf): Likewise.
34256         * math/s_cexpl.c (__cexpl): Likewise.
34257         * math/s_clog10.c (__clog10): Likewise.
34258         * math/s_clog10f.c (__clog10f): Likewise.
34259         * math/s_clog10l.c (__clog10l): Likewise.
34260         * math/s_clog.c (__clog): Likewise.
34261         * math/s_clogf.c (__clogf): Likewise.
34262         * math/s_clogl.c (__clogl): Likewise.
34263         * math/s_csin.c (__csin): Likewise.
34264         * math/s_csinf.c (__csinf): Likewise.
34265         * math/s_csinh.c (__csinh): Likewise.
34266         * math/s_csinhf.c (__csinhf): Likewise.
34267         * math/s_csinhl.c (__csinhl): Likewise.
34268         * math/s_csinl.c (__csinl): Likewise.
34269         * math/s_csqrt.c (__csqrt): Likewise.
34270         * math/s_csqrtf.c (__csqrtf): Likewise.
34271         * math/s_csqrtl.c (__csqrtl): Likewise.
34272         * math/s_ctan.c (__ctan): Likewise.
34273         * math/s_ctanf.c (__ctanf): Likewise.
34274         * math/s_ctanh.c (__ctanh): Likewise.
34275         * math/s_ctanhf.c (__ctanhf): Likewise.
34276         * math/s_ctanhl.c (__ctanhl): Likewise.
34277         * math/s_ctanl.c (__ctanl): Likewise.
34278         * math/w_pow.c: Likewise.
34279         * math/w_powf.c: Likewise.
34280         * math/w_powl.c: Likewise.
34281         * math/w_scalb.c (sysv_scalb): Likewise.
34282         * math/w_scalbf.c (sysv_scalbf): Likewise.
34283         * math/w_scalbl.c (sysv_scalbl): Likewise.
34284         * misc/error.c (error_tail): Likewise.
34285         * misc/pselect.c (__pselect): Likewise.
34286         * nis/nis_callback.c (__nis_create_callback): Likewise.
34287         * nis/nis_call.c (__nisfind_server): Likewise.
34288         * nis/nis_creategroup.c (nis_creategroup): Likewise.
34289         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
34290         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
34291         * nis/nis_getservlist.c (nis_getservlist): Likewise.
34292         * nis/nis_lookup.c (nis_lookup): Likewise.
34293         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
34294         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
34295         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
34296         * nis/nis_xdr.c (xdr_endpoint): Likewise.
34297         * nis/nss_compat/compat-grp.c (getgrent_next_file)
34298         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
34299         * nis/nss_compat/compat-initgroups.c (add_group)
34300         (internal_getgrent_r): Likewise.
34301         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
34302         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
34303         * nis/nss_compat/compat-spwd.c (getspent_next_file)
34304         (internal_getspnam_r): Likewise.
34305         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
34306         (_nss_nis_getaliasbyname_r): Likewise.
34307         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
34308         (_nss_nis_getntohost_r): Likewise.
34309         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
34310         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
34311         (_nss_nis_getgrgid_r): Likewise.
34312         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
34313         (internal_nis_gethostent_r, internal_gethostbyname2_r)
34314         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
34315         (_nss_nis_gethostbyname4_r): Likewise.
34316         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
34317         (initgroups_netid): Likewise.
34318         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
34319         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
34320         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
34321         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
34322         (_nss_nis_getprotobynumber_r): Likewise.
34323         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
34324         (_nss_nis_getsecretkey): Likewise.
34325         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
34326         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
34327         (_nss_nis_getpwuid_r): Likewise.
34328         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
34329         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
34330         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
34331         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
34332         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
34333         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
34334         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
34335         Likewise.
34336         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
34337         (_nss_nisplus_getntohost_r): Likewise.
34338         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
34339         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
34340         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
34341         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
34342         Likewise.
34343         * nis/nss_nisplus/nisplus-initgroups.c
34344         (_nss_nisplus_initgroups_dyn): Likewise.
34345         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
34346         (_nss_nisplus_getnetbyaddr_r): Likewise.
34347         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
34348         (_nss_nisplus_getprotobynumber_r): Likewise.
34349         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
34350         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
34351         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
34352         Likewise.
34353         * nis/nss_nisplus/nisplus-service.c
34354         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
34355         (_nss_nisplus_getservbyport_r): Likewise.
34356         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
34357         (_nss_nisplus_getspnam_r): Likewise.
34358         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
34359         Likewise.
34360         * nscd/aicache.c (addhstaiX): Likewise.
34361         * nscd/cache.c (cache_search, prune_cache): Likewise.
34362         * nscd/connections.c (register_traced_file, send_ro_fd)
34363         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
34364         (main_loop_epoll): Likewise.
34365         * nscd/grpcache.c (addgrbyX): Likewise.
34366         * nscd/hstcache.c (addhstbyX): Likewise.
34367         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34368         * nscd/mem.c (gc, mempool_alloc): Likewise.
34369         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
34370         (addinnetgrX): Likewise.
34371         * nscd/nscd-client.h (__nscd_acquire_maplock)
34372         (__nscd_drop_map_ref): Likewise.
34373         * nscd/nscd_getai.c (__nscd_getai): Likewise.
34374         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
34375         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
34376         Likewise.
34377         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
34378         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34379         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
34380         (__nscd_get_map_ref): Likewise.
34381         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
34382         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
34383         Likewise.
34384         * nscd/pwdcache.c (addpwbyX): Likewise.
34385         * nscd/selinux.c (preserve_capabilities): Likewise.
34386         * nscd/servicescache.c (addservbyX): Likewise.
34387         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
34388         * posix/fnmatch.c (fnmatch): Likewise.
34389         * posix/getopt.c (_getopt_internal_r): Likewise.
34390         * posix/glob.c (glob, glob_in_dir): Likewise.
34391         * posix/wordexp.c (exec_comm_child): Likewise.
34392         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
34393         (getanswer_r, gaih_getanswer_slice): Likewise.
34394         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
34395         * resolv/res_init.c: Likewise.
34396         * resolv/res_mkquery.c (res_nmkquery): Likewise.
34397         * resolv/res_query.c (__libc_res_nquery): Likewise.
34398         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
34399         Likewise.
34400         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
34401         * stdio-common/perror.c (perror): Likewise.
34402         * stdio-common/printf_fp.c (___printf_fp): Likewise.
34403         * stdio-common/tmpnam.c (tmpnam): Likewise.
34404         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34405         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
34406         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34407         Likewise.
34408         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
34409         * stdlib/putenv.c (putenv): Likewise.
34410         * stdlib/setenv.c (__add_to_environ): Likewise.
34411         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34412         * stdlib/strtol_l.c (INTERNAL): Likewise.
34413         * string/memmem.c (memmem): Likewise.
34414         * string/strerror.c (strerror): Likewise.
34415         * string/strnlen.c (__strnlen): Likewise.
34416         * string/test-memmem.c (simple_memmem): Likewise.
34417         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
34418         * sunrpc/pm_getport.c (__get_socket): Likewise.
34419         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
34420         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
34421         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
34422         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
34423         Likewise.
34424         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
34425         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
34426         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34427         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
34428         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34429         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
34430         Likewise.
34431         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
34432         Likewise.
34433         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34434         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34435         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
34436         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34437         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
34438         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
34439         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
34440         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
34441         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34442         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
34443         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34444         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
34445         Likewise.
34446         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
34447         Likewise.
34448         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
34449         Likewise.
34450         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
34451         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34452         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
34453         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
34454         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
34455         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
34456         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34457         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
34458         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
34459         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
34460         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
34461         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34462         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
34463         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
34464         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34465         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
34466         Likewise.
34467         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
34468         Likewise.
34469         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
34470         Likewise.
34471         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
34472         Likewise.
34473         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34474         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34475         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
34476         Likewise.
34477         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
34478         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
34479         * sysdeps/posix/opendir.c (__opendirat): Likewise.
34480         * sysdeps/posix/sleep.c: Likewise.
34481         * sysdeps/posix/tempname.c: Likewise.
34482         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
34483         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
34484         Likewise.
34485         * sysdeps/powerpc/powerpc32/dl-machine.h
34486         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
34487         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
34488         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
34489         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
34490         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
34491         Likewise.
34492         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
34493         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
34494         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34495         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
34496         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
34497         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
34498         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
34499         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
34500         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34501         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
34502         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
34503         (elf_machine_lazy_rel): Likewise.
34504         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34505         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
34506         (elf_machine_lazy_rel): Likewise.
34507         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
34508         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
34509         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
34510         * sysdeps/unix/grantpt.c (grantpt): Likewise.
34511         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
34512         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
34513         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
34514         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34515         Likewise.
34516         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
34517         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
34518         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
34519         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
34520         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
34521         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34522         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
34523         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
34524         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
34525         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34526         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34527         Likewise.
34528         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
34529         (__posix_fallocate64_l64): Likewise.
34530         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
34531         (posix_fallocate): Likewise.
34532         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
34533         Likewise.
34534         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
34535         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
34536         (getifaddrs_internal): Likewise.
34537         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
34538         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
34539         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
34540         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
34541         * sysdeps/unix/sysv/linux/posix_fallocate64.c
34542         (__posix_fallocate64_l64): Likewise.
34543         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
34544         Likewise.
34545         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
34546         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
34547         (__get_clockfreq): Likewise.
34548         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
34549         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
34550         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
34551         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
34552         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
34553         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
34554         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
34555         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
34556         Likewise.
34557         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
34558         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
34559         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
34560         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
34561         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
34562         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
34563         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
34564         Likewise.
34565         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34566         (posix_fallocate): Likewise.
34567         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
34568         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
34569         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
34570         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
34571         (elf_machine_rela, elf_machine_rela_relative)
34572         (elf_machine_lazy_rel): Likewise.
34573         * time/asctime.c (asctime_internal): Likewise.
34574         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
34575         * time/tzset.c (__tzset_parse_tz): Likewise.
34576         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
34577         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
34578         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
34579         * wcsmbs/wcsmbsload.h: Likewise.
34581         [BZ #15894]
34582         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
34584         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
34585         (arena_get2): Remove THREAD_STATS conditionals.
34586         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
34587         (__malloc_stats, int): Likewise.
34589 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
34591         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
34592         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
34594         * manual/setjmp.texi: Fix typos/grammar errors.
34596         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
34597         Only return early when n is <= 0.  Delete unused return statement.
34599         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
34600         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
34601         * debug/tst-longjmp_chk3.c: New file.
34603         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
34604         (test_main): Replace code with set_fortify_handler call.
34605         * debug/test-strcpy_chk.c: Likewise.
34606         * debug/tst-chk1.c: Likewise.
34607         * debug/tst-longjmp_chk.c: Likewise.
34608         * test-skeleton.c: Include fcntl.h & paths.h
34609         (set_fortify_handler): Define.
34611         * debug/tst-longjmp_chk.c: Add header comment and include
34612         ../test-skeleton.c.
34613         (do_test): Mark static.
34614         (TEST_FUNCTION): Define.
34616         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
34617         (IP_PMTUDISC_INTERFACE): Likewise.
34618         (IP_MULTICAST_IF): Likewise.
34619         (IP_MULTICAST_TTL): Likewise.
34620         (IP_MULTICAST_LOOP): Likewise.
34621         (IP_ADD_MEMBERSHIP): Likewise.
34622         (IP_DROP_MEMBERSHIP): Likewise.
34623         (IP_UNBLOCK_SOURCE): Likewise.
34624         (IP_BLOCK_SOURCE): Likewise.
34625         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
34626         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
34627         (IP_MSFILTER): Likewise.
34628         (MCAST_JOIN_GROUP): Likewise.
34629         (MCAST_BLOCK_SOURCE): Likewise.
34630         (MCAST_UNBLOCK_SOURCE): Likewise.
34631         (MCAST_LEAVE_GROUP): Likewise.
34632         (MCAST_JOIN_SOURCE_GROUP): Likewise.
34633         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
34634         (MCAST_MSFILTER): Likewise.
34635         (IP_MULTICAST_ALL): Likewise.
34636         (IP_UNICAST_IF): Likewise.
34638         * timezone/Makefile: Delete $(have-ksh) check.
34639         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
34640         * timezone/tzselect.ksh: Add +x mode bits.
34642         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
34643         (ANON_INODE_FS_MAGIC): Likewise.
34644         (BDEVFS_MAGIC): Likewise.
34645         (BINFMTFS_MAGIC): Likewise.
34646         (BTRFS_TEST_MAGIC): Likewise.
34647         (CRAMFS_MAGIC_WEND): Likewise.
34648         (DEBUGFS_MAGIC): Likewise.
34649         (ECRYPTFS_SUPER_MAGIC): Likewise.
34650         (EXT3_SUPER_MAGIC): Likewise.
34651         (EXT4_SUPER_MAGIC): Likewise.
34652         (FUTEXFS_SUPER_MAGIC): Likewise.
34653         (HOSTFS_SUPER_MAGIC): Likewise.
34654         (HUGETLBFS_MAGIC): Likewise.
34655         (MINIX3_SUPER_MAGIC): Likewise.
34656         (MTD_INODE_FS_MAGIC): Likewise.
34657         (NILFS_SUPER_MAGIC): Likewise.
34658         (OPENPROM_SUPER_MAGIC): Likewise.
34659         (PIPEFS_MAGIC): Likewise.
34660         (PSTOREFS_MAGIC): Likewise.
34661         (QNX6_SUPER_MAGIC): Likewise.
34662         (RAMFS_MAGIC): Likewise.
34663         (REISERFS_SUPER_MAGIC_STRING): Likewise.
34664         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
34665         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
34666         (SECURITYFS_MAGIC): Likewise.
34667         (SELINUX_MAGIC): Likewise.
34668         (SMACK_MAGIC): Likewise.
34669         (SOCKFS_MAGIC): Likewise.
34670         (SQUASHFS_MAGIC): Likewise.
34671         (STACK_END_MAGIC): Likewise.
34672         (TMPFS_MAGIC): Likewise.
34673         (USBDEVICE_SUPER_MAGIC): Likewise.
34674         (V9FS_MAGIC): Likewise.
34675         (XENFS_SUPER_MAGIC): Likewise.
34676         (CRAMFS_MAGIC): Fix typo in comment.
34677         (EXT2_SUPER_MAGIC): Update comment.
34678         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
34680 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
34682         * sysdeps/arm: Move directory from ports/sysdeps/arm.
34683         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
34684         * sysdeps/unix/sysv/linux/arm: Move directory from
34685         ports/sysdeps/unix/sysv/linux/arm.
34686         * README: Update listing for arm-*-linux-gnueabi.
34688         * README: Remove mention of am33.
34690 2014-02-07  Roland McGrath  <roland@hack.frob.com>
34692         * bits/sigset.h (__sigemptyset): Use a statement expression rather
34693         than the comma operator, to avoid "rhs of comma has no effect"
34694         compiler warnings.
34695         (__sigfillset, __sigandset, __sigorset): Likewise.
34696         * include/signal.h (__sigemptyset): Likewise.
34697         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
34699 2014-02-07  Allan McRae  <allan@archlinux.org>
34701         * version.h (RELEASE): Set to "development".
34702         (VERSION): Set to "2.19.90"
34703         * NEWS: Add 2.20 section.
34705 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
34707         [BZ #16529]
34708         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
34710 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34712         * manual/contrib.texi: Update entry for Carlos O'Donell,
34713         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
34715 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
34717         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
34719         * sysdeps/unix/sysv/linux/kernel-features.h
34720         [__LINUX_KERNEL_VERSION >= 0x020621]
34721         (__ASSUME_PROC_PID_TASK_COMM): Define.
34723 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34725         [BZ #16398]
34726         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
34727         conversion when destination buffer does not have enough space.
34728         * libio/tst-ftell-partial-wide.c: New test case.
34729         * libio/Makefile (tests): Add tst-ftell-partial-wide.
34731         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
34732         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
34733         Leonard and Allan McRae.
34735 2014-02-04  David S. Miller  <davem@davemloft.net>
34737         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
34738         32-bit.
34740 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34743         New file
34744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34745         New file
34746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34747         New file.
34748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34749         New file.
34750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34751         New file.
34752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34753         New file.
34754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34755         New file.
34756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34757         New file.
34758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34759         New file.
34760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34761         New file.
34762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34763         New file.
34764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34765         New file.
34766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34767         New file.
34769 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34771         * nptl/shlib-versions: Change powerpc*le start to 2.17.
34772         * shlib-versions: Likewise.
34774 2014-02-04  Roland McGrath  <roland@hack.frob.com>
34775             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34777         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
34778         (abilist-pattern): New variable, set to %-le.abilist.
34780         * Makerules (abilist-pattern): New variable.
34781         (vpath): Use $(abilist-pattern) in place of %.abilist.
34782         (check-abi-% pattern rule): Likewise.
34783         (check-abi, update-abi): Likewise.
34785 2014-02-04  Eric Wong  <normalperson@yhbt.net>
34787         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34789 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
34791         * manual/startup.texi: Add next, previous, and top entries for
34792         the `Program Arguments' and `Environment Variables' nodes.
34794 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
34796         * manual/macros.texi: Add comments before MTASC-safety macros.
34798         * manual/users.texi: Document MTASC-safety properties.
34800         * manual/threads.texi (pthread_key_create, pthread_key_delete)
34801         (pthread_getspecific, pthread_setspecific): Format with
34802         @deftypefun, and add @safety note.
34803         * manual/signal.texi: Move comments that analyze the above
34804         functions to their home place.
34806 2014-02-03  Allan McRae  <allan@archlinux.org>
34808         * po/sl.po: Update Slovenian translation from translation project.
34810 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
34812         * manual/time.texi (timegm): Add missing blank after @c.
34813         Reported by Joseph Myers <joseph@codesourcery.com>.
34815 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
34817         * manual/check-safety.sh: New.
34818         * manual/Makefile ($(objpfx)stamp-summary): Run it.
34820         * manual/terminal.texi: Document MTASC-safety properties.
34822         * manual/filesys.texi: Document MTASC-safety properties.
34824         * manual/errno.texi: Document MTASC-safety properties.
34826         * manual/intro.texi: Document safety identifiers and
34827         conditionals.
34829         * manual/string.texi (wcstok): Fix prototype.
34830         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
34832         * manual/time.texi: Document MTASC-safety properties.
34834         * manual/string.texi: Document MTASC-safety properties.
34836         * manual/threads.texi: Document MTASC-safety properties.
34838         * manual/stdio.texi: Document MTASC-safety properties.
34840         * manual/syslog.texi: Document MTASC-safety properties.
34842         * manual/sysinfo.texi: Document MTASC-safety properties.
34844         * manual/startup.texi: Document MTASC-safety properties.
34846         * manual/socket.texi: Document MTASC-safety properties.
34848         * manual/signal.texi: Document MTASC-safety properties.
34850 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
34852         * manual/setjmp.texi: Document MTASC-safety properties.
34854         * manual/search.texi: Document MTASC-safety properties.
34856         * manual/resource.texi: Document MTASC-safety properties.
34858         * manual/process.texi: Document MTASC-safety properties.
34860         * manual/platform.texi: Document MTASC-safety properties.
34862         * manual/pipe.texi: Document MTASC-safety properties.
34864         * manual/pattern.texi: Document MTASC-safety properties.
34866         * manual/message.texi: Document MTASC-safety properties.
34868         [BZ #12751]
34869         * manual/memory.texi: Document MTASC-safety properties.
34871         * manual/math.texi: Document MTASC-safety properties.
34873         * manual/locale.texi: Document MTASC-safety properties.
34875         * manual/llio.texi: Document MTASC-safety properties.
34877         * manual/libdl.texi: New.
34879         * manual/lang.texi: Document MTASC-safety properties.
34881         * manual/job.texi: Document MTASC-safety properties.
34883         * manual/getopt.texi: Document MTASC-safety properties.
34885         * manual/ctype.texi: Document MTASC-safety properties.
34887 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
34889         [BZ #16046]
34890         * csu/libc-tls.c (static_map): Remove variable.
34891         (__libc_setup_tls): Use main executable's link map for TLS data.
34892         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
34893         casing for LM_ID_BASE and GL(dl_nns).
34894         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
34895         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
34896         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
34897         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
34898         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
34899         member.
34900         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
34901         l_phnum members.
34903 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
34905         * manual/debug.texi: Document MTASC-safety properties.
34907 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
34909         [BZ #16510]
34910         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
34911         of __x86_64__ when disabling x87 inline functions.
34913 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
34915         * manual/charset.texi: Document MTASC-safety properties.
34917         * manual/crypt.texi: Document MTASC-safety properties.
34919         * manual/conf.texi: Document MTASC-safety properties.
34921         * manual/arith.texi: Document MTASC-safety properties.
34923         * manual/argp.texi: Document MTASC-safety properties.
34925         * manual/macros.texi: Introduce macros to document multi
34926         thread, asynchronous signal and asynchronous cancellation
34927         safety properties.
34928         * manual/intro.texi: Introduce the properties themselves.
34930 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34932         * sysdeps/sh/sh4/Makefile: New file.
34934 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
34936         * math/gen-libm-test.pl ($srcdir): New variable.
34937         ($auto_input): Use it.
34939 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34941         [BZ #16506]
34942         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
34943         access beyond array bounds when parsing netgroups file.
34945         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
34946         the old buffer before realloc.
34948 2014-01-27  Allan McRae  <allan@archlinux.org>
34950         * po/fr.po: Update French translation from translation project.
34952 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34954         * sysdeps/sh/libm-test-ulps: Regenerate.
34956 2014-01-24  David S. Miller  <davem@davemloft.net>
34958         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
34960 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34962         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
34963         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
34965 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34967         [BZ #16474]
34968         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
34969         string pointers after reallocation.
34971 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34973         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
34974         __SH4A__ instead of __SH_FPU_ANY__.
34976 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34978         * sysdeps/sh/fpu_control.h: New file.
34979         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
34980         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
34981         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
34982         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
34983         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
34984         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
34985         * sysdeps/sh/sys/ucontext.h: Remove.
34986         * sysdeps/sh/sys: Remove directory.
34988 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34990         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
34991         s390/sys/ucontext.h.
34992         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
34993         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
34995 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
34997         [BZ #15605]
34998         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
35000 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35002         [BZ#16431]
35003         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
35004         Adjust the vDSO correctly for internal calls.
35005         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
35007 2014-01-20  Allan McRae  <allan@archlinux.org>
35009         * po/ca.po: Update Catalan translation from translation project.
35011 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
35013         * sysdeps/s390/sotruss-lib.c: New file.
35015 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35017         [BZ#16430]
35018         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
35019         (__GI___gettimeofday): Alias for a different internal symbol to avoid
35020         local calls issues by not having a PLT stub required for IFUNC calls.
35021         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
35023 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
35025         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
35026         * math/test-fpucw-static.c: Likewise.
35028 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35030         [BZ #16453]
35031         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
35033 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35035         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
35036         implementation for powerpc.
35038 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
35040         [BZ #14782]
35041         * sysdeps/posix/system.c (__libc_system): Do not enable
35042         asynchronous cancellation.
35044 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35046         [BZ #16427]
35047         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
35048         handling only for numbers special also in the IEEE case.
35050 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35052         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35054 2014-01-11  Allan McRae  <allan@archlinux.org>
35056         * po/bg.po: Update Bulgarian translation from translation project.
35058         * po/de.po: Update German translation from translation project.
35060 2014-01-10  Roland McGrath  <roland@hack.frob.com>
35062         * sysdeps/generic/gcc-compat.h: New file.
35064 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35066         * benchtests/asin-inputs: Correct slow inputs.
35067         * benchtests/acos-inputs: Likewise.
35069 2014-01-10  Allan McRae  <allan@archlinux.org>
35071         * po:sv.po: Update Swedish translation from translation project.
35073         * po/vi.po: Update Vietnamese translation from translation project.
35075         * po/eo.po: Update Esperanto translation from translation project.
35077         * po/cs.po: Update Czech translation from translation project.
35079         * po/nl.po: Update Dutch translation from translation project.
35081         * po/pl.po: Update Polish translation from translation project.
35083         * po/ru.po: Update Russian translation from translation project.
35085         * po/uk.po: Update Ukrainian translation from translation project.
35087 2014-01-08  Brooks Moses  <bmoses@google.com>
35089         * elf/dl-load.c: Fix comment typo.
35091 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
35093         * po/header.pot: Rename to...
35094         * po/pot.header: ... this.
35095         * po/Makefile: Use pot.header.
35097 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
35098             Maxim Kuvyrkov  <maxim@kugelworks.com>
35100         [BZ #16394]
35101         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
35102         SRC and DEST against LEN.
35104 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35106         [BZ #16414]
35107         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
35108         implementation.
35109         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
35111 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35115 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
35117         [BZ #16408]
35118         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
35119         for large positive arguments.
35121 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
35123         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35125         * math/auto-libm-test-in: Mark various tests with
35126         xfail-rounding:ldbl-128ibm.
35127         * math/auto-libm-test-out: Regenerated.
35129         [BZ #16407]
35130         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
35131         Increase overflow threshold.
35133 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
35135         [BZ #14286]
35136         * stdio-common/vfprintf.c: Check for integer overflow.
35138 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35140         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
35141         the first argument and return value of __tls_get_addr_internal.
35143 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35145         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
35146         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
35148 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35150         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
35151         * sysdeps/s390/rtld-global-offsets.sym: New file.
35152         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
35153         GLIBC_2.19 symbol.
35154         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
35155         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
35156         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
35157         ... this.
35158         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
35159         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
35160         ... this.
35161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35162         Regenerate.
35163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35164         Regenerate.
35165         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
35166         halfs of GPRs for high_gprs contexts.
35167         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
35168         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
35169         field.
35170         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
35171         uc_flags field.
35172         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
35173         64 bit versions:
35174         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
35175         for high GPRs (uc_high_gprs) and for future extensions
35176         (__reserved).
35177         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
35178         for future extensions (__reserved).
35179         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
35180         64 bit versions:
35181         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
35182         SC_HIGHGPRS offset definition.
35183         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
35184         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
35186         * Versions.def: Add GLIBC_2.19 for libpthread.
35187         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
35188         siglongjmp for libpthread with GLIBC_2.19 symver.
35189         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
35190         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
35191         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
35192         * sysdeps/s390/__longjmp.c: New file.
35193         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
35194         * sysdeps/s390/longjmp.c: New file.
35195         * sysdeps/s390/setjmp.S: New file.
35196         * sysdeps/s390/sigjmp.S: New file.
35197         * sysdeps/s390/v1-longjmp.c: New file.
35198         * sysdeps/s390/v1-setjmp.h: New file.
35199         * sysdeps/s390/v1-sigjmp.c: New file.
35200         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
35201         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
35202         GLIBC_2.19 version.
35203         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
35204         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
35205         versioned symbols for ____longjmp_chk.
35206         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
35207         Likewise.
35208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35209         Regenerate.
35210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35211         Regenerate.
35212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35213         Regenerate.
35214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35215         Regenerate.
35216         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
35217         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
35218         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
35219         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
35220         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
35221         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
35222         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
35223         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
35224         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
35225         * sysdeps/s390/rtld-__longjmp.c: New file.
35226         * sysdeps/s390/rtld-setjmp.S: New file.
35228 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
35230         [BZ #16400]
35231         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35232         Return -__logl (x) for small positive arguments without evaluating
35233         a polynomial.
35235 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
35237         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
35238         Rename to ...
35239         (__ptrace_peeksiginfo_args): ... this.
35240         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35241         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35242         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35244 2014-01-06  Allan McRae  <allan@archlinux.org>
35246         * inet/netinet/in.h: Fix typo in comment.
35248 2014-01-05  Andreas Jaeger  <aj@suse.de>
35250         * sysdeps/i386/fpu/libm-test-ulps: Update.
35252 2014-01-05  Allan McRae  <allan@archlinux.org>
35254         * po/libc.pot: Regenerated.
35256         * malloc/memusagestat.c: Fix gettext call formatting.
35258 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
35260         * nscd/nscd.c: Improve usage() output.
35262 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
35264         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
35265         * sysdeps/unix/sysv/linux/configure: Regenerated.
35266         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
35267         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
35269 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
35271         [BZ #16390]
35272         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
35273         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
35275 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35277         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
35278         extra tokens at end of #undef directive.
35279         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
35280         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
35281         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
35283 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
35285         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
35287         * math/auto-libm-test-in: Mark various tests with
35288         xfail-rounding:ldbl-128ibm.
35289         * math/auto-libm-test-out: Regenerated.
35291 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
35293         [BZ #16386]
35294         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
35295         numbers with subnormal high part when calculating exponent.
35297         [BZ #16385]
35298         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
35299         fabs.
35301         [BZ #16384]
35302         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
35303         M_LN2l.
35304         (__ieee754_acoshl): Use __log1pl not __log1p.
35306 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
35308         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
35309         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
35310         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
35311         (grow_heap, heap_trim, _int_new_arena, get_free_list)
35312         (reused_arena, arena_get2): Convert to GNU style.
35313         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
35314         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
35315         (memalign_check, __malloc_set_state): Likewise.
35316         * malloc/mallocbug.c (main): Likewise.
35317         * malloc/malloc.c (__malloc_assert, malloc_init_state)
35318         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
35319         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
35320         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
35321         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
35322         (__posix_memalign, malloc_info): Likewise.
35323         * malloc/malloc.h: Likewise.
35324         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
35325         (mallochook, memalignhook, reallochook, mabort): Likewise.
35326         * malloc/mcheck.h: Likewise.
35327         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
35328         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
35329         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
35330         * malloc/morecore.c (__default_morecore): Likewise.
35331         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
35332         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
35333         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
35334         (print_and_abort): Likewise.
35335         * malloc/obstack.h: Likewise.
35336         * malloc/set-freeres.c (__libc_freeres): Likewise.
35337         * malloc/tst-mallocstate.c (main): Likewise.
35338         * malloc/tst-mtrace.c (main): Likewise.
35339         * malloc/tst-realloc.c (do_test): Likewise.
35341 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
35343         [BZ #16366]
35344         * nscd/netgroupcache.c (do_notfound): New function.
35345         (addgetnetgrentX): Use it.
35347         [BZ # 16365]
35348         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
35349         NSS_STATUS_NOTFOUND.
35351 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
35353         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35356 2014-01-01  Allan McRae  <allan@archlinux.org>
35358         * scripts/update-copyrights: Update configure input file suffix.
35360         * NEWS: Update copyright year.
35361         * catgets/gencat.c: Likewise.
35362         * csu/version.c: Likewise.
35363         * debug/catchsegv.sh: Likewise.
35364         * debug/pcprofiledump.c: Likewise.
35365         * debug/xtrace.sh: Likewise.
35366         * elf/ldconfig.c: Likewise.
35367         * elf/ldd.bash.in: Likewise.
35368         * elf/pldd.c: Likewise.
35369         * elf/sotruss.ksh: Likewise.
35370         * elf/sprof.c: Likewise.
35371         * iconv/iconv_prog.c: Likewise.
35372         * iconv/iconvconfig.c: Likewise.
35373         * locale/programs/locale.c: Likewise.
35374         * locale/programs/localedef.c: Likewise.
35375         * login/programs/pt_chown.c: Likewise.
35376         * malloc/memusage.sh: Likewise.
35377         * malloc/memusagestat.c: Likewise.
35378         * malloc/mtrace.pl: Likewise.
35379         * manual/libc.texinfo: Likewise.
35380         * nscd/nscd.c: Likewise.
35381         * nss/getent.c: Likewise.
35382         * nss/makedb.c: Likewise.
35383         * posix/getconf.c: Likewise.
35384         * scripts/test-installation.pl: Likewise.
35386         * All files with FSF copyright notices: Update copyright dates
35387         using scripts/update-copyrights.
35388         * intl/plural.c: Regenerated.
35389         * locale/programs/charmap-kw.h: Likewise.
35390         * locale/programs/locfile-kw.h: Likewise.
35392 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
35394         * sysdeps/unix/sysv/linux/configure: Regenerated.
35395         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
35396         the linux/fanotify.h header.
35397         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
35398         HAVE_LINUX_FANOTIFY_H is defined.
35400 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35402         * benchtests/cos-inputs: New inputs.
35403         * benchtests/sin-inputs: Likewise.
35405         * benchtests/atan-inputs: New inputs. Fix name of multiple
35406         precision fallback inputs.
35408         * benchtests/atanh-inputs: New inputs.
35409         * benchtests/tanh-inputs: Likewise.
35411         * benchtests/acosh-inputs: New inputs.
35412         * benchtests/asinh-inputs: Likewise.
35414         * benchtests/cosh-inputs: New inputs.
35415         * benchtests/sinh-inputs: Likewise.
35417         * benchtests/acos-inputs: Add more inputs.
35418         * benchtests/asin-inputs: Likewise.
35420 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
35422         [BZ #16375]
35423         * manual/arith.texi: Fix spelling.
35424         * manual/charset.texi: Likewise.
35425         * manual/errno.texi: Likewise.
35426         * manual/filesys.texi: Likewise.
35427         * manual/lang.texi: Likewise.
35428         * manual/llio.texi: Likewise.
35429         * manual/locale.texi: Likewise.
35430         * manual/message.texi: Likewise.
35431         * manual/resource.texi: Likewise.
35432         * manual/search.texi: Likewise.
35433         * manual/setjmp.texi: Likewise.
35434         * manual/stdio.texi: Likewise.
35435         * manual/string.texi: Likewise.
35436         * manual/sysinfo.texi: Likewise.
35437         * manual/time.texi: Likewise.
35439 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
35441         * po/sl.po: New file.
35443 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
35445         * .gitignore: Add core/.gdbinit/.gdb_history.
35447 2013-12-27  Allan McRae  <allan@archlinux.org>
35449         [BZ #16369]
35450         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
35451         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
35453 2013-12-24  Brooks Moses  <bmoses@google.com>
35455         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
35456         all compilers that claim C++98 compliance, not just GCC.
35457         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
35458         Likewise.
35460 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
35462         * NEWS: Restore accidentally deleted bug-fix entries.
35464 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
35465             Ondřej Bílka  <neleai@seznam.cz>
35467         [BZ #15073]
35468         * malloc/malloc.c (_int_free): Perform sanity check only if we
35469         have_lock.
35471 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
35473         [BZ #12986]
35474         * manual/stdio.texi (String Input Conversions): Clarify that character
35475         classes are not supported.
35477 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35479         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35481 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
35483         [BZ #16337]
35484         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
35485         Calculate results for small negative arguments directly rather
35486         than using reflection formula with special underflow handling.
35488         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
35489         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
35490         sysdeps/unix/bsd/bsd4.4/syscalls.list.
35491         (fchflags): Likewise.
35492         (revoke): Likewise.
35493         (setlogin): Likewise.
35494         (sigaltstack): Likewise.
35495         (wait4): Likewise.
35496         (sigblock): Remove.
35497         (sigsetmask): Likewise.
35498         (wait3): Likewise.
35499         (waitpid): Likewise.
35500         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
35501         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
35502         file.
35503         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
35504         * sysdeps/unix/bsd/Makefile: ... here.
35505         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
35506         * sysdeps/unix/bsd/Versions: ... here.
35507         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
35508         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
35509         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
35510         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
35511         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
35512         * sysdeps/unix/bsd/sigblock.c: ... here.
35513         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
35514         * sysdeps/unix/bsd/sigsetmask.c: ... here.
35515         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
35516         * sysdeps/unix/bsd/sigvec.c: ... here.
35517         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
35518         * sysdeps/unix/bsd/tcdrain.c: ... here.
35519         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
35520         * sysdeps/unix/bsd/tcgetattr.c: ... here.
35521         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
35522         * sysdeps/unix/bsd/tcsetattr.c: ... here.
35523         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
35524         * sysdeps/unix/bsd/wait.c: ... here.
35525         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
35526         * sysdeps/unix/bsd/wait3.c: ... here.
35527         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
35528         * sysdeps/unix/bsd/waitpid.c: ... here.
35530 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
35532         [BZ #16356]
35533         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
35534         round-to-nearest for [!USE_AS_EXPM1L].
35535         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
35536         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
35537         more tests of exp and exp10.  Expect some exp10 tests to miss
35538         exceptions or fail in directed rounding modes.
35539         * math/auto-libm-test-out: Regenerated.
35540         * math/libm-test.inc (exp10_tonearest_test_data): New array.
35541         (exp10_test_tonearest): New function.
35542         (exp10_towardzero_test_data): New array.
35543         (exp10_test_towardzero): New function.
35544         (exp10_downward_test_data): New array.
35545         (exp10_test_downward): New function.
35546         (exp10_upward_test_data): New array.
35547         (exp10_test_upward): New function.
35548         (main): Call the new functions.
35549         * sysdeps/i386/fpu/libm-test-ulps: Update.
35550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35552 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
35554         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
35555         asinh, atan, atan2, atanh, cbrt, cos and cosh.
35556         * math/auto-libm-test-out: Regenerated.
35557         * math/libm-test.inc (acosh_test_data): Add more tests.
35558         (atanh_test_data): Likewise.
35559         (ceil_test_data): Likewise.
35560         (copysign_test_data): Likewise.
35561         * sysdeps/i386/fpu/libm-test-ulps: Update.
35562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35564         * timezone/checktab.awk: Update from tzcode 2013i.
35565         * timezone/private.h: Likewise.
35566         * timezone/scheck.c: Likewise.
35567         * timezone/tzfile.h: Likewise.
35568         * timezone/tzselect.ksh: Likewise.
35569         * timezone/zdump.c: Likewise.
35570         * timezone/zic.c: Likewise.
35572         * math/auto-libm-test-in: Add tests of cpow.
35573         * math/auto-libm-test-out: Regenerated.
35574         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
35575         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35576         mpc_cc_c.
35577         (func_calc_desc): Add mpc_cc_c union field.
35578         (test_functions): Add cpow.
35579         (special_fill_2pi): New function.
35580         (special_real_inputs): Add 2pi.
35581         (calc_generic_results): Handle mpc_cc_c.
35582         * sysdeps/i386/fpu/libm-test-ulps: Update.
35583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35585         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
35586         csqrt, ctan and ctanh.
35587         * math/auto-libm-test-out: Regenerated.
35588         * math/libm-test.inc (TEST_COND_x86_64): New macro.
35589         (TEST_COND_x86): Likewise.
35590         (ccos_test_data): Use AUTO_TESTS_c_c.
35591         (ccosh_test_data): Likewise.
35592         (cexp_test_data): Likewise.
35593         (clog_test_data): Likewise.
35594         (csqrt_test_data): Likewise.
35595         (ctan_test_data): Likewise.
35596         (ctan_tonearest_test_data): Likewise.
35597         (ctan_towardzero_test_data): Likewise.
35598         (ctan_downward_test_data): Likewise.
35599         (ctan_upward_test_data): Likewise.
35600         (ctanh_test_data): Likewise.
35601         (ctanh_tonearest_test_data): Likewise.
35602         (ctanh_towardzero_test_data): Likewise.
35603         (ctanh_downward_test_data): Likewise.
35604         (ctanh_upward_test_data): Likewise.
35605         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35606         mpc_c_c.
35607         (func_calc_desc): Add mpc_c_c union field.
35608         (FUNC_mpc_c_c): New macro.
35609         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
35610         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
35611         ctanh.
35612         (special_fill_min_subnorm_p120): New function.
35613         (special_real_inputs): Add min_subnorm_p120.
35614         (calc_generic_results): Handle mpc_c_c.
35615         * sysdeps/i386/fpu/libm-test-ulps: Update.
35616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35618 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35620         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
35621         (do_sin_slow): New functions.
35622         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
35623         (cslow2, csloww1, csloww2): Use the new functions.
35625         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
35626         Use M to change sign of result instead of X.  Assume X is
35627         positive.
35628         (csloww1): Likewise.
35629         (__sin): Adjust.
35630         (__cos): Adjust.
35632         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
35633         arguments A and DA.
35634         (__sin): Adjust.
35635         (__cos): Likewise.
35637         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
35638         (__cos): Likewise.
35639         (sloww1): Don't adjust sign of DX.
35640         (csloww1): Likewise.
35641         (sloww2): Use X directly and don't adjust sign of DX.
35642         (csloww2): Likewise.
35644 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35646         * math/auto-libm-test-in: Add tests of cabs and carg.
35647         * math/auto-libm-test-out: Regenerated.
35648         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
35649         (carg_test_data): Likewise.
35650         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35651         mpc_c_f.
35652         (func_calc_desc): Add mpc_c_f union field.
35653         (test_functions): Add cabs and carg.
35654         (calc_generic_results): Handle mpc_c_f.
35656         * sysdeps/powerpc/powerpc32/libgcc-compat.S
35657         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
35658         as a macro and a compat symbol.
35659         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
35660         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
35661         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
35662         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
35663         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
35664         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
35665         not use .hidden.
35666         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
35667         Likewise.
35668         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
35669         Likewise.
35670         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
35671         Likewise.
35672         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
35673         Likewise.
35674         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
35675         Likewise.
35676         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
35677         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
35678         from GLIBC_2.3.2.
35680 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35682         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35684 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35686         * manual/texinfo.tex: Update to version 2013-11-26.10 with
35687         trailing whitespace removed.
35688         * scripts/config.guess: Update to version 2013-11-29.
35689         * scripts/config.sub: Update to version 2013-10-01.
35691         * math/auto-libm-test-in: Add tests of sincos.
35692         * math/auto-libm-test-out: Regenerated.
35693         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
35694         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35695         mpfr_f_11.
35696         (func_calc_desc): Add mpfr_f_11 union field.
35697         (test_functions): Add sincos.
35698         (calc_generic_results): Handle mpfr_f_11.
35699         * sysdeps/i386/fpu/libm-test-ulps: Update.
35700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35702 2013-12-19  Andreas Schwab  <schwab@suse.de>
35704         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
35705         CALL_MCOUNT.
35706         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
35707         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
35708         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
35710 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
35712         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
35713         * sysdeps/i386/fpu/libm-test-ulps: Update.
35714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35716         [BZ #16293]
35717         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
35718         round-to-nearest mode when using frndint.
35719         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
35720         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
35721         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35722         Likewise.
35723         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
35724         sinh test to fail.
35725         * math/auto-libm-test-out: Regenerated.
35726         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
35727         (TEST_COND_x86): Likewise.
35728         (expm1_tonearest_test_data): New array.
35729         (expm1_test_tonearest): New function.
35730         (expm1_towardzero_test_data): New array.
35731         (expm1_test_towardzero): New function.
35732         (expm1_downward_test_data): New array.
35733         (expm1_test_downward): New function.
35734         (expm1_upward_test_data): New array.
35735         (expm1_test_upward): New function.
35736         (main): Run the new test functions.
35737         * sysdeps/i386/fpu/libm-test-ulps: Update.
35738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35740         * include/features.h: Update comment documenting feature test
35741         macros.  Mention _DEFAULT_SOURCE in comment.
35742         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
35743         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
35744         _BSD_SOURCE and _SVID_SOURCE.
35745         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
35746         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
35747         !_SVID_SOURCE]: Likewise.
35748         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35749         (__USE_POSIX_IMPLICITLY): Define.
35750         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35751         (_POSIX_SOURCE): Undefine and redefine.
35752         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
35753         (_POSIX_C_SOURCE): Likewise.
35754         * manual/creature.texi (_DEFAULT_SOURCE): Document.
35755         (Feature Test Macros): Update documentation of default features.
35757 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35759         * benchtests/Makefile: Add bench-strtok.
35760         * benchtests/bench-strtok.c: New file: strtok benchtest.
35762 2013-12-19  Allan McRae  <allan@archlinux.org>
35764         * manual/install.texi: Suppress menu for plain text output.
35765         * INSTALL: Regenerated.
35767 2013-12-18  Brooks Moses  <bmoses@google.com>
35769         [BZ #15846]
35770         * misc/getauxval.c: Include errno.h.
35771         (__getauxval): Set errno to ENOENT if the requested type is not
35772         found.
35773         * misc/sys/auxv.h (getauxval): Document that it may set errno;
35774         don't declare with __attribute_const__.
35775         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
35776         * manual/startup.texi: Document that getauxval sets errno.
35778 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
35780         * math/auto-libm-test-in: Add tests of jn and yn.
35781         * math/auto-libm-test-out: Regenerated.
35782         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
35783         (yn_test_data): Likewise.
35784         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35785         mpfr_if_f.
35786         (func_calc_desc): Add mpfr_if_f union field.
35787         (FUNC_mpfr_if_f): New macro.
35788         (test_functions): Add jn and yn.
35789         (calc_generic_results): Assert type of second input for
35790         mpfr_ff_f.  Handle mpfr_if_f.
35791         (output_for_one_input_case): Disable all checking for arguments
35792         fitting floating-point types in case of an integer argument.
35793         * sysdeps/i386/fpu/libm-test-ulps: Update.
35794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
35797         Don't expect fegetround reference in libm.so.
35799 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35801         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
35802         $(config-cflags-nofma).
35804 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
35806         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
35807         * math/auto-libm-test-out: Regenerated.
35809         [BZ #16338]
35810         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
35811         to determine exponent and adjust argument to have exponent of -1.
35812         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
35813         log2.
35814         * math/auto-libm-test-out: Regenerated.
35815         * sysdeps/i386/fpu/libm-test-ulps: Update.
35816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35818 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
35820         * manual/probes.texi: Remove cases when per-thread arenas are
35821         disabled.
35823 2013-12-18  Andreas Schwab  <schwab@suse.de>
35825         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
35826         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
35827         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
35828         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
35829         * sysdeps/i386/i686/multiarch/Makefile: Update.
35830         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
35832 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35834         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
35835         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
35837 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
35839         [BZ #15968]
35840         Support TZ transition times < 00:00:00.
35841         This is needed for version-3 tz-format files; it supports time
35842         stamps past 2037 for America/Godthab (the only entry in the tz
35843         database for which this change is relevant).
35844         * manual/time.texi (TZ Variable): Document transition times
35845         from -167:59:59 through -00:00:01.
35846         * time/tzset.c (tz_rule): Time of day is now signed.
35847         (__tzset_parse_tz): Parse negative time of day.
35849         Document TZ transition times >= 25:00:00.
35850         * manual/time.texi (TZ Variable): Document transition times from
35851         25:00:00 through 167:59:59.  These are already supported, and this
35852         support will help with version-3 tz-format files.
35854         * manual/time.texi (TZ Variable): Modernize North America example
35855         to reflect current (i.e., 2007-and-later) daylight saving rules.
35857         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
35859 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35861         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
35862         * sysdeps/unix/bsd/bits/stat.h: Likewise.
35863         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
35864         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35865         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
35866         * sysdeps/unix/bsd/bsdstat.h: Likewise.
35867         * sysdeps/unix/bsd/clock.c: Likewise.
35868         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
35869         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
35870         * sysdeps/unix/bsd/init-posix.c: Likewise.
35871         * sysdeps/unix/bsd/poll.c: Likewise.
35872         * sysdeps/unix/bsd/ptsname.c: Likewise.
35873         * sysdeps/unix/bsd/seekdir.c: Likewise.
35874         * sysdeps/unix/bsd/setegid.c: Likewise.
35875         * sysdeps/unix/bsd/seteuid.c: Likewise.
35876         * sysdeps/unix/bsd/setgid.c: Likewise.
35877         * sysdeps/unix/bsd/setrgid.c: Likewise.
35878         * sysdeps/unix/bsd/setruid.c: Likewise.
35879         * sysdeps/unix/bsd/setsid.c: Likewise.
35880         * sysdeps/unix/bsd/setuid.c: Likewise.
35881         * sysdeps/unix/bsd/sigaction.c: Likewise.
35882         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
35883         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
35884         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
35885         * sysdeps/unix/bsd/telldir.c: Likewise.
35886         * sysdeps/unix/bsd/times.c: Likewise.
35887         * sysdeps/unix/bsd/usleep.c: Likewise.
35889         * misc/Makefile (install-lib): Remove libbsd-compat.a.
35890         ($(objpfx)libbsd-compat.a): Remove rule.
35892         * include/features.h (__FAVOR_BSD): Do not define.
35893         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
35894         features conflicting with POSIX.
35895         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
35896         (_BSD_SOURCE): Remove description of not being a subset of other
35897         feature test macros.
35898         * manual/job.texi (getpgrp): Do not document BSD version.
35899         (getpgid): Do not document by reference to BSD getpgrp.
35900         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
35901         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
35902         * signal/signal.h [__FAVOR_BSD]: Likewise.
35903         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
35904         instead of making contents conditional on [__FAVOR_BSD].
35905         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
35907 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35911 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
35913         [BZ #16314]
35914         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
35915         values below 2**-450, not 2**-500.
35916         * math/auto-libm-test-in: Don't allow spurious underflow from
35917         hypot.
35918         * math/auto-libm-test-out: Regenerated.
35920         [BZ #16316]
35921         [BZ #16330]
35922         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
35923         values of ha and hb and sort them after adjusting subnormal
35924         arguments.
35925         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35926         Likewise.
35927         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
35928         values of ea and eb and sort them after adjusting subnormal
35929         arguments.
35930         * math/auto-libm-test-in: Do not expect some hypot tests of
35931         subnormals to fail.  Add more hypot tests.
35932         * math/auto-libm-test-out: Regenerated.
35934 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
35936         [BZ #13304]
35937         * sysdeps/sh/s_fma.c: New file.
35938         * sysdeps/sh/s_fmaf.c: New file.
35939         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
35940         version.
35941         * sysdeps/sh/Implies: Add sh/soft-fp.
35943 2013-12-16  Roland McGrath  <roland@hack.frob.com>
35945         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
35946         level of indirection to members `objname', `errstring', `malloced'.
35947         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
35948         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
35949         it as the __longjmp argument (just pass 1 instead).
35950         (_dl_catch_error): Initialize C with argument pointers and address of
35951         volatile local ERRCODE rather than copying values out of C at return.
35953 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
35955         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
35956         * math/auto-libm-test-out: Regenerated.
35957         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
35958         (hypot_test_data): Likewise.
35959         (pow_test_data): Likewise.
35960         (pow_tonearest_test_data): Likewise.
35961         * math/gen-auto-libm-tests.c (func_calc_method): Add value
35962         mpfr_ff_f.
35963         (func_calc_desc): Add mpfr_ff_f union field.
35964         (FUNC_mpfr_ff_f): New macro.
35965         (test_functions): Add atan2, hypot and pow.
35966         (special_fill_min): New function.
35967         (special_fill_minus_min): Likewise.
35968         (special_fill_min_subnorm): Likewise.
35969         (special_fill_minus_min_subnorm): Likewise.
35970         (special_real_inputs): Add min, -min, min_subnorm and
35971         -min_subnorm.
35972         (calc_generic_results): Handle mpfr_ff_f.
35973         * sysdeps/i386/fpu/libm-test-ulps: Update.
35974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35976 2013-12-16  Will Newton  <will.newton@linaro.org>
35978         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
35979         (Aligned Memory Blocks): Add documentation for aligned_alloc
35980         and suggest it as an alternative to posix_memalign.
35981         (Hooks for Malloc): Document __memalign_hook is also called
35982         for aligned_alloc.  (Summary of Malloc): Add summary for
35983         aligned alloc.  Document __memalign_hook is also called
35984         for aligned_alloc.
35986 2013-12-16  Will Newton  <will.newton@linaro.org>
35988         * manual/memory.texi (Malloc Examples): Clarify default
35989         alignment documentation.  Suggest posix_memalign rather
35990         than memalign or valloc.
35991         (Aligned Memory Blocks): Remove suggestion to use memalign
35992         or valloc.  Remove obsolete comment about BSD.
35993         Document memalign errno values and mark the function obsolete.
35994         Document posix_memalign returned error codes.  Mark valloc
35995         as obsolete.  (Hooks for Malloc): __memalign_hook is also
35996         called for posix_memalign and valloc.
35997         (Summary of Malloc): Add posix_memalign to function summary.
35998         __memalign_hook is also called for posix_memalign and valloc.
36000 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36002         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
36003         TAYLOR_SIN.
36004         (__sin): Adjust.
36005         (__cos): Likewise.
36006         (sloww): Use mynumber union.  Expand ternary operator into
36007         if-else statements.
36008         (cslow): use mynumber union.
36010 2013-12-16  Allan McRae  <allan@archlinux.org>
36012         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
36013         * configure: Regenerated.
36015         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
36017         [BZ #14120]
36018         * configure.ac: Added --enable-maintainer-mode. Check for
36019         autoconf when enabled.
36020         * configure: Regenerated.
36022         * nscd/nscd.service: New file.
36023         * nscd/nscd.tmpfiles: New file.
36025 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
36027         [BZ #12100]
36028         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
36029         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
36030         * sysdeps/x86_64/multiarch/strstr.c: ... here.
36031         (strstr): Add __strstr_sse2_unaligned ifunc.
36032         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
36033         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
36034         (strcasestr): Remove __strcasestr_sse42 ifunc.
36035         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
36036         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
36037         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
36039 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36041         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
36042         * sysdeps/sh/bits/fenv.h: ... here.
36043         * sysdeps/sh/sh4/fpu/bits: Remove directory.
36045 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36047         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
36049         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
36050         hypotf multiarch implementations.
36051         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
36052         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
36053         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
36054         multiarch hypot for PPC64.
36055         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
36056         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
36057         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
36058         multiarch hypotf for PPC64.
36060         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
36061         modff multiarch implementations.
36062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
36063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
36064         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
36065         multiarch modf for PPC64.
36066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
36067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
36068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
36069         multiarch modff for PPC64.
36071         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
36072         and logl multiarch implementations.
36073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
36074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
36075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
36076         multiarch logb for PPC64.
36077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
36078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
36079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
36080         multiarch logb for PPC64.
36081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
36082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
36083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
36084         multiarch logb for PPC64.
36086         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
36087         isinff multiarch implementation.
36088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
36089         file.
36090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
36091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
36092         multiarch isinf for PPC64.
36093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
36094         file.
36095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
36096         multiarch isinff for PPC64.
36098         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
36099         finitef multiarch implementation.
36100         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
36101         file.
36102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
36103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
36104         multiarch finite for PPC64.
36105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
36106         file.
36107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
36108         multiarch finitef for PPC64.
36110         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
36111         lrint multiarch implementation.
36112         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
36113         file.
36114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
36115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
36116         multiarch llrint for PPC64.
36117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
36118         multiarch lrint for PPC64.
36120         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
36121         copysignf multiarch implementation.
36122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
36123         file.
36124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
36125         file.
36126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
36127         multiarch copysign for PPC64.
36128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
36129         multiarch copysignf for PPC64.
36131         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
36132         multiarch implementation.
36133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
36134         file.
36135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
36136         file.
36137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
36138         file.
36139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
36140         file.
36141         multiarch llround for PPC64.
36142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
36143         multiarch trunc for PPC64.
36144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
36145         multiarch truncf for PPC64.
36147         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
36148         multiarch implementation.
36149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
36150         file.
36151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
36152         file.
36153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
36154         file.
36155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
36156         file.
36157         multiarch llround for PPC64.
36158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
36159         multiarch round for PPC64.
36160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
36161         multiarch roundf for PPC64.
36163         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
36164         multiarch implementation.
36165         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
36166         file.
36167         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
36168         file.
36169         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
36170         file.
36171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
36172         file.
36173         multiarch llround for PPC64.
36174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
36175         multiarch floor for PPC64.
36176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
36177         multiarch floorf for PPC64.
36179         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
36180         multiarch implementation.
36181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
36182         file.
36183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
36184         file.
36185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
36186         file.
36187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
36188         file.
36189         multiarch llround for PPC64.
36190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
36191         multiarch ceil for PPC64.
36192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
36193         multiarch ceilf for PPC64.
36195         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
36196         multiarch implementation.
36197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
36198         file.
36199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
36200         file.
36201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
36202         file.
36203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
36204         multiarch llround for PPC64.
36205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
36206         multiarch lround for PPC64.
36208         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
36209         multiarch implementation.
36210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
36211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
36212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
36213         file.
36214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
36215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
36216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
36217         multiarch isnan for PPC64.
36218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
36219         multiarch isnanf for PPC64.
36221         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
36222         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
36223         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
36224         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
36225         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
36226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
36228         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
36229         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
36230         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36231         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36233         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
36234         multiarch implementations.
36235         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36236         (__libc_ifunc_impl_list): Likewise.
36237         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
36238         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
36239         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
36240         multiarch stpcpy for PPC64.
36242         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
36243         multiarch implementations.
36244         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36245         (__libc_ifunc_impl_list): Likewise.
36246         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
36247         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
36248         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
36249         multiarch strcpy for PPC64.
36251         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
36252         redefine function name.
36253         (_wordcopy_fwd_dest_aligned): Likewise.
36254         (_wordcopy_bwd_aligned): Likewise.
36255         (_wordcopy_bwd_dest_aligned): Likewise.
36256         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
36257         multiarch implementations.
36258         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36259         (__libc_ifunc_impl_list): Likewise.
36260         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
36261         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
36262         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
36263         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
36264         multiarch wcscpy for PPC64.
36266         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
36267         multiarch implementations.
36268         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36269         (__libc_ifunc_impl_list): Likewise.
36270         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
36271         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
36272         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
36273         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
36274         multiarch wcscpy for PPC64.
36276         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
36277         multiarch implementations.
36278         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36279         (__libc_ifunc_impl_list): Likewise.
36280         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
36281         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
36282         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
36283         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
36284         multiarch wcsrchr for PPC64.
36286         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
36287         multiarch implementations.
36288         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36289         (__libc_ifunc_impl_list): Likewise.
36290         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
36291         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
36292         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
36293         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
36294         multiarch wcschr for PPC64.
36296         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
36297         multiarch implementations.
36298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36299         (__libc_ifunc_impl_list): Likewise.
36300         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
36301         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
36302         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
36303         multiarch strchrnul for PPC64.
36305         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
36306         implementations.
36307         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36308         (__libc_ifunc_impl_list): Likewise.
36309         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
36310         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
36311         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
36312         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
36313         strchr for PPC64.
36315         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
36316         implementations.
36317         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36318         (__libc_ifunc_impl_list): Likewise.
36319         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
36320         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
36321         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
36322         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
36323         strncmp for PPC64.
36325         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
36326         multiarch implementations.
36327         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36328         (__libc_ifunc_impl_list): Likewise.
36329         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
36330         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
36331         strncasecmp for PPC64.
36332         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
36333         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
36334         multiarch strncasecmp_l for PPC64.
36336         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
36337         multiarch implementations.
36338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36339         (__libc_ifunc_impl_list): Likewise.
36340         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
36341         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
36342         multiarch strcasecmp for PPC64.
36343         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
36344         file.
36345         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
36346         multiarch strcasecmp_l for PPC64.
36348         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
36349         implementations.
36350         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36351         (__libc_ifunc_impl_list): Likewise.
36352         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
36353         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
36354         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
36355         strnlen for PPC64.
36357         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
36358         implementations.
36359         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36360         (__libc_ifunc_impl_list): Likewise.
36361         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
36362         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
36363         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
36364         strlen for PPC64.
36366         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
36367         implementations.
36368         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36369         (__libc_ifunc_impl_list): Likewise.
36370         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
36371         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
36372         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
36373         rawmemrchr for PPC64.
36375         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
36376         implementation.
36377         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36378         (__libc_ifunc_impl_list): Likewise.
36379         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
36380         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
36381         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
36382         memrchr for PPC64.
36384         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
36385         implementation.
36386         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36387         (__libc_ifunc_impl_list): Likewise.
36388         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
36389         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
36390         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
36391         memchr for PPC64.
36393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
36394         implementation.
36395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36396         (__libc_ifunc_impl_list): Likewise.
36397         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
36398         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
36399         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
36400         mempcpy for PPC64.
36402         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
36403         avoid cretion of __bzero symbol.
36404         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
36405         Likewise.
36406         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
36407         Likewise.
36408         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
36409         Likewise.
36410         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
36411         multiarch implementations.
36412         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36413         (__libc_ifunc_impl_list): Likewise.
36414         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
36415         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
36416         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
36417         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
36418         bzero for PPC32.
36419         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
36420         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
36421         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
36422         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
36423         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
36424         memset for PPC64.
36425         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
36427         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
36428         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
36429         implementations.
36430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36431         (__libc_ifunc_impl_list): Likewise.
36432         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
36433         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
36434         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
36435         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
36436         memcmp for PPC64.
36438         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
36439         multiarch for POWER/PPC64.
36440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
36441         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
36442         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
36443         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
36444         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
36445         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
36446         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
36447         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
36448         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
36449         memcpy for PPC64.
36451         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
36452         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
36453         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
36454         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
36455         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
36456         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
36457         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
36458         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
36459         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
36460         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
36461         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
36462         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
36463         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
36464         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
36465         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
36466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
36467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
36468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
36469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
36470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
36471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
36472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
36474 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36476         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
36478 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36480         * benchtests/Makefile (bench): Add exp2 and log2.
36481         (LDLIBS-bench-exp2): Add -lm.
36482         (LDLIBS-bench-log2): Likewise.
36483         * benchtests/exp2-inputs: New inputs file.
36484         * benchtests/log2-inputs: New inputs file.
36485         * benchtests/log-inputs: Add new inputs.
36486         * benchtests/tan-inputs: Likewise.
36488 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
36490         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
36491         definition...
36492         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
36493         (csloww2): ... from here.
36495         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
36496         instead of structures.
36497         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
36498         (POLYNOMIAL): Likewise.
36499         (TAYLOR_SLOW): Likewise.
36500         (__sin): Likewise.
36501         (__cos): Likewise.
36502         (slow1): Likewise.
36503         (slow2): Likewise.
36504         (sloww): Likewise.
36505         (sloww1); Likewise.
36506         (sloww2): Likewise.
36507         (bsloww1): Likewise.
36508         (bsloww2): Likewise.
36509         (cslow2): Likewise.
36510         (csloww): Likewise.
36511         (csloww1): Likewise.
36512         (csloww2): Likewise.
36514 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
36516         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
36517         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
36518         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
36519         * malloc/hooks.c (realloc_check): Likewise.
36521         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
36522         * malloc/arena.c: Remove PER_THREAD conditional.
36523         [!PER_THREAD]: Remove code.
36524         (ptmalloc_unlock_all2): Likewise.
36525         (ptmalloc_init): Likewise.
36526         (_int_new_arena): Likewise.
36527         (arena_get2): Likewise.
36528         * malloc/hooks.c (__malloc_get_state): Likewise.
36529         (__malloc_set_state): Likewise.
36530         * malloc/malloc.c: Likewise.
36531         (struct malloc_state): Likewise.
36532         (struct malloc_par): Likewise.
36533         (__libc_realloc): Likewise.
36534         (__libc_mallopt): Likewise.
36536 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36538         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
36540 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
36542         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
36543         macro to a function.  Check for zero perturb_byte.
36544         (_int_malloc, _int_free): Remove zero perturb_byte checks.
36546         * malloc/malloc.c: (force_reg): Remove.
36547         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
36548         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
36549         force_reg by atomic_forced_read.
36550         * malloc/arena.c (ptmalloc_init): Likewise.
36551         * malloc/hooks.c (top_check): Likewise.
36553 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36557 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
36559         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36561 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
36563         * math/auto-libm-test-in: Add tests of lgamma.
36564         * math/auto-libm-test-out: Regenerated.
36565         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
36566         (M_LOG_2_SQRT_PIl): Likewise.
36567         (lgamma_test_data): Use AUTO_TESTS_f_f1.
36568         * math/gen-auto-libm-tests.c (func_calc_method): Add value
36569         mpfr_f_f1.
36570         (func_calc_desc): Add mpfr_f_f1 union field.
36571         (ARGS1): New macro.
36572         (ARGS2): Likewise.
36573         (ARGS3): Likewise.
36574         (ARGS4): Likewise.
36575         (RET1): Likewise.
36576         (RET2): Likewise.
36577         (CALC): Likewise.
36578         (FUNC): Likewise.
36579         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
36580         (test_functions): Add lgamma.
36581         (calc_generic_results): Handle mpfr_f_f1.
36582         * sysdeps/i386/fpu/libm-test-ulps: Update.
36583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36585 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36587         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
36588         __mpn_add_n for PowerPC64/POWER7.
36589         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
36590         __mpn_sub_n for PowerPC64/POWER7.
36592         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
36593         __mpn_addmul_1 for PowerPC64.
36594         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
36595         __mpn_submul_1 for PowerPC64.
36596         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
36597         for PowerPC64.
36598         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
36599         for PowerPC64.
36601 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
36603         [BZ #15089]
36604         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
36606 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36608         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
36610         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
36611         add multiarch folders.
36612         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
36613         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
36614         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
36615         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
36616         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
36617         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
36618         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
36619         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
36620         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
36621         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
36622         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
36623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
36624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
36625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
36626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
36627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
36628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
36630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36631         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
36632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
36633         New file.
36634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
36635         New file.
36636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
36637         multiarch __ieee754_hypot for PowerPC32.
36638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
36639         New file.
36640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
36641         New file.
36642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
36643         multiarch __ieee754_hypotf for PowerPC32.
36645         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
36646         long_double_symbol only if __logbl is defined.
36647         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
36648         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
36649         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
36650         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
36651         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
36652         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
36653         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
36654         path for implementation.
36655         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
36656         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
36657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
36658         logb, and logbl multiarch implementations for PowerPC32.
36659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
36660         file.
36661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
36662         file.
36663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
36664         multiarch logb for PowerPC32.
36665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
36666         file.
36667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
36668         file.
36669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
36670         multiarch logbf for PowerPC32.
36671         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
36672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
36673         file.
36674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
36675         multiarch logbl implementation for PowerPC32.
36677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
36678         and modff multiarch implementations.
36679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
36680         New file.
36681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
36682         New file.
36683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
36684         multiarch modf for PowerPC32.
36685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
36686         New file.
36687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
36688         New file.
36689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
36690         multiarch modff for PowerPC32.
36692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
36693         and lrintf multiarch implementations.
36694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
36695         New file.
36696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
36697         New file.
36698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
36699         multiarch lrint for PowerPC32.
36700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
36701         file: multiarch lrintf for PowerPC32.
36703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
36704         and lroundf multiarch implementations.
36705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
36706         New file.
36707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
36708         New file.
36709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
36710         New file.
36711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
36712         multiarch lround for PowerPC32.
36713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
36714         file: multiarch lroundf for PowerPC32.
36716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
36717         copysign and copysignf multiarch implementations.
36718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
36719         New file.
36720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
36721         New file.
36722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
36723         file: multiarch copysign for PowerPC32.
36724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
36725         file: multiarch copysignf for PowerPC32.
36727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
36728         and truncf multiarch implementations.
36729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
36730         New file.
36731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
36732         file.
36733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
36734         multiarch trunc for PowerPC32.
36735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
36736         New file.
36737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
36738         New file.
36739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
36740         multiarch truncf for PowerPC32.
36742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
36743         and roundf multiarch implementations.
36744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
36745         New file.
36746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
36747         file.
36748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
36749         multiarch round for PowerPC32.
36750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
36751         New file.
36752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
36753         New file.
36754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
36755         multiarch roundf for PowerPC32.
36757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
36758         and floorf multiarch implementations.
36759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
36760         New file.
36761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
36762         file.
36763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
36764         multiarch floor for PowerPC32.
36765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
36766         New file.
36767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
36768         New file.
36769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
36770         multiarch floorf for PowerPC32.
36772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
36773         and ceilf multiarch implementations.
36774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
36775         New file.
36776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
36777         file.
36778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
36779         multiarch ceil for PowerPC32.
36780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
36781         New file.
36782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
36783         file.
36784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
36785         multiarch ceilf for PowerPC32.
36787         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
36788         is defined.
36789         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
36790         FINITEF is defined.
36791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
36792         and finitef multiarch implementations.
36793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
36794         New file.
36795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
36796         file.
36797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
36798         multiarch finite for PowerPC32.
36799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
36800         New file.
36801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
36802         file: multiarch finitef for PowerPC32.
36804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
36805         and isinff multiarch implementations.
36806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
36807         file.
36808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
36809         file.
36810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
36811         multiarch isinf for PowerPC32.
36812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
36813         New file.
36814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
36815         multiarch isinff for PowerPC32.
36817         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
36818         alias when __isnan is defined.
36819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
36820         and isnanf multiarch implementations.
36821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
36822         file.
36823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
36824         file.
36825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
36826         file.
36827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
36828         file.
36829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
36830         multiarch isnan for PowerPC32.
36831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
36832         New file.
36833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
36834         New file.
36835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
36836         multiarch isnanf for PowerPC32.
36838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
36839         and sqrtf multiarch implementations.
36840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
36841         file.
36842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
36843         file.
36844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
36845         multiarch sqrt for PowerPC32.
36846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
36847         file.
36848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
36849         file.
36850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
36851         multiarch sqrtf for PowerPC32.
36853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
36854         and llroundf multiarch implementations.
36855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
36856         New file.
36857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
36858         New file.
36859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
36860         New file.
36861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
36862         file: multiarch llround for PowerPC32.
36863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
36864         file: multiarch llroundf for PowerPC32.
36866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
36867         multiarch PowerPC32 fpu implementations.
36868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
36869         New file.
36870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
36871         New file.
36872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
36873         multiarch llrint for PowerPC32.
36874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
36875         New file.
36876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
36877         New file.
36878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
36879         file.
36881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
36883         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
36884         file.
36885         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
36886         file.
36887         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
36888         file.
36889         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
36890         multiarch wordcopy for PPC32.
36891         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36892         wordcopy objects.
36893         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36894         (__libc_ifunc_impl_list): Likewise.
36895         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
36896         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
36897         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
36898         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
36899         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
36900         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
36902         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
36903         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
36904         file.
36905         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
36906         file.
36907         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
36908         file.
36909         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
36910         multiarch wcscpy for PPC32.
36911         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
36912         multiarch objects.
36913         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36914         (__libc_ifunc_impl_list): Likewise.
36915         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
36916         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36917         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
36918         sysdeps/powerpc/power6/wcscpy.c.
36920         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
36921         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
36922         file.
36923         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
36924         file.
36925         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
36926         file.
36927         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
36928         multiarch wcsrchr for PPC32.
36929         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
36930         multiarch objects.
36931         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36932         (__libc_ifunc_impl_list): Likewise.
36933         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
36934         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
36935         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
36936         sysdeps/powerpc/power6/wcsrchr.c.
36938         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
36939         file.
36940         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
36941         file.
36942         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
36943         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
36944         multiarch wcschr for PPc32.
36945         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
36946         multiarch objects.
36947         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36948         (__libc_ifunc_impl_list): Likewise.
36949         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
36950         * sysdeps/powerpc/power6/wcschr.c: ... to here.
36951         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
36952         sysdeps/powerpc/power6/wcschr.c.
36954         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
36955         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
36956         file.
36957         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
36958         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
36959         file: multiarch strchr for PPC32.
36960         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
36961         multiarch objects.
36962         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36963         (__libc_ifunc_impl_list): Likewise.
36965         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
36966         name.
36967         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
36968         file.
36969         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
36970         file.
36971         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
36972         multiarch strchrnul for PPC32.
36973         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
36974         multiarch objects.
36975         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36976         (__libc_ifunc_impl_list): Likewise.
36978         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
36979         file.
36980         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
36981         multiarch strncasecmp for PPC32.
36982         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
36983         file.
36984         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
36985         multiarch strncasecmp_l for PPC32.
36986         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
36987         strncasecmp multiarch objects.
36988         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36989         (__libc_ifunc_impl_list): Likewise.
36991         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
36992         file.
36993         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
36994         multiarch strncasecmp for PPC32.
36995         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
36996         New file.
36997         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
36998         multiarch strcasecmp_l for PPC32.
36999         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
37000         multiarch objects.
37001         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37002         (__libc_ifunc_impl_list): Likewise.
37004         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
37005         file.
37006         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
37007         file.
37008         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
37009         multiarch strncmp for PPC32.
37010         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
37011         multiarch objects.
37012         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37013         (__libc_ifunc_impl_list): Likewise.
37015         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
37016         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
37017         file.
37018         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
37019         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
37020         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
37021         multiarch objects.
37022         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37023         (__libc_ifunc_impl_list): Likewise.
37025         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
37026         file.
37027         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
37028         file.
37029         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
37030         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
37031         multiarch objects.
37032         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37033         (__libc_ifunc_impl_list): Likewise.
37035         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
37036         file.
37037         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
37038         file.
37039         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
37040         multiarch rawmemchr for PPC32.
37041         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
37042         multiarch objects.
37043         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37044         (__libc_ifunc_impl_list): Likewise.
37046         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
37047         file.
37048         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
37049         file.
37050         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
37051         file: memrchr multiarch for PPC32.
37052         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
37053         multiarch objects.
37054         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
37055         (__libc_ifunc_impl_list): Likewise.
37057         * string/memchr.c (__memchr): Using macro to redefine symbol name.
37058         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
37059         file.
37060         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
37061         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
37062         multiarch memchr for PPC32.
37063         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
37064         multiarch objects.
37065         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37066         (__libc_ifunc_impl_list): Likewise.
37068         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
37069         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
37070         file.
37071         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
37072         file.
37073         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
37074         file: multiarch mempcpy for PPC32.
37075         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
37076         multiarch objects.
37077         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37078         (__libc_ifunc_impl_list): Likewise.
37080         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
37081         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
37082         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
37083         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
37084         multiarch bzero for PPC32.
37085         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
37086         file.
37087         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
37088         file.
37089         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
37090         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
37091         file: multiarch memset for PPC32.
37092         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
37093         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
37094         memset multiarch objects.
37095         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37096         (__libc_ifunc_impl_list): Likewise.
37098         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
37099         file.
37100         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
37101         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
37102         memcmp for PPC32.
37103         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
37104         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
37105         multiarch objects.
37106         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37107         (__libc_ifunc_impl_list): Likewise.
37109         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
37110         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
37111         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
37112         file.
37113         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
37114         file.
37115         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
37116         file.
37117         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
37118         multiarch memcpy for PPC32.
37119         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
37120         multiarch objects.
37121         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37122         (__libc_ifunc_impl_list): Likewise.
37124         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
37125         support multiarch for POWER/PPC32.
37126         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
37127         Likewise.
37128         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
37129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
37130         Implies file to make multiarch folder appers before the fpu and
37131         default folder for power4 configuration.
37133 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37135         * scripts/bench.pl: Append volatile keyword to type.
37137 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37139         * sysdeps/sh/sotruss-lib.c: New file.
37140         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
37142 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37146 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
37148         [BZ #6810]
37149         * math/w_tgamma.c: Include <errno.h>.
37150         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
37151         * math/w_tgammaf.c: Include <errno.h>.
37152         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
37153         * math/w_tgammal.c: Include <errno.h>.
37154         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
37155         * math/auto-libm-test-in: Do not allow missing errno on tgamma
37156         underflow.  Add more tgamma tests.
37157         * math/auto-libm-test-out: Regenerated.
37158         * sysdeps/i386/fpu/libm-test-ulps: Update.
37159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37161         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
37162         sin, sinh, tan, tanh, tgamma, y0 and y1.
37163         * math/auto-libm-test-out: Regenerated.
37164         * math/libm-test.inc (TEST_COND_x86_64): New macro.
37165         (TEST_COND_x86): Likewise.
37166         (M_E2l): Remove macro.
37167         (M_E3l): Likewise.
37168         (M_2_SQRT_PIl): Likewise.
37169         (M_SQRT_PIl): Likewise.
37170         (M_1_DIV_El): Likewise.
37171         (log_test_data): Use AUTO_TESTS_f_f.
37172         (log10_test_data): Likewise.
37173         (log1p_test_data): Likewise.
37174         (log2_test_data): Likewise.
37175         (sin_test_data): Likewise.
37176         (sin_tonearest_test_data): Likewise.
37177         (sin_towardzero_test_data): Likewise.
37178         (sin_downward_test_data): Likewise.
37179         (sin_upward_test_data): Likewise.
37180         (sinh_test_data): Likewise.
37181         (sinh_tonearest_test_data): Likewise.
37182         (sinh_towardzero_test_data): Likewise.
37183         (sinh_downward_test_data): Likewise.
37184         (sinh_upward_test_data): Likewise.
37185         (tan_test_data): Likewise.
37186         (tan_tonearest_test_data): Likewise.
37187         (tan_towardzero_test_data): Likewise.
37188         (tan_downward_test_data): Likewise.
37189         (tan_upward_test_data): Likewise.
37190         (tanh_test_data): Likewise.
37191         (tgamma_test_data): Likewise.
37192         (y0_test_data): Likewise.
37193         (y1_test_data): Likewise.
37194         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
37195         (special_real_inputs): Add pi/4.
37196         * sysdeps/i386/fpu/libm-test-ulps: Update.
37197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37199 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37201         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
37202         "longjmp_target" static probes.
37203         (__longjmp): Rename to __longjmp_symbol.
37204         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
37205         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
37206         on which longjmp to generate.
37207         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
37208         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
37209         probe.
37210         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37211         (__sigjmp_save): Rename to __sigjmp_save_symbol.
37212         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
37213         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
37214         and __sigjmp_save_symbol based on which sigsetjmp to generated.
37215         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
37216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
37217         __longjmp_symbol based on which __longjmp to generate.
37218         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
37219         probe.
37220         (setjmp): Rename to setjmp_symbol.
37221         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37222         (_setjmp): Rename to _setjmp_symbol.
37223         (__sigsetjmp): Rename to __sigsetjmp_symbol.
37224         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
37225         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
37226         which setjmp to generate.
37227         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
37228         "longjmp_target" static probes.
37230 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37232         * benchtests/README: Add note about output arguments.
37233         * benchtests/bench-sincos.c: Remove file.
37234         * benchtests/sincos-inputs: New file.
37235         * scripts/bench.pl: Identify output arguments and define
37236         static variables for them.
37238         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
37240         [BZ #15941]
37241         * Makefile (INSTALL): Add install-plain.texi as the primary
37242         dependency.
37243         * manual/install-plain.texi: New file.
37244         * manual/install.texi: Include node directive only for
37245         non-plaintext output.
37247 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
37249         * stdlib/longlong.h: Update from GCC.
37251         [BZ #6807]
37252         [BZ #15901]
37253         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
37254         * math/w_j0f.c (y0f): Likewise.
37255         * math/w_j0l.c (__y0l): Likewise.
37256         * math/w_j1.c (y1): Likewise.
37257         * math/w_j1f.c (y1f): Likewise.
37258         * math/w_j1l.c (__y1l): Likewise.
37259         * math/w_jn.c (yn): Likewise.
37260         * math/w_jnf.c (ynf): Likewise.
37261         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
37262         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
37263         value for Bessel function domain errors outside _SVID_ mode.
37264         Adjust sign of return value for yn (negative integer, 0).
37265         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
37266         by zero in return for negative x and set sign appropriately for
37267         negative n.
37268         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
37269         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37270         * math/libm-test.inc (y0_test_data): Add more tests and adjust
37271         expectations in error cases.
37272         (y1_test_data): Likewise.
37273         (yn_test_data): Likewise.
37274         * sysdeps/i386/fpu/libm-test-ulps: Update.
37275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37277 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37279         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
37280         "64" to "64-v1".  Add "64-v2".
37281         (abi-64-options): Rename to ...
37282         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
37283         (abi-64-condition): Rename to ...
37284         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
37285         (abi-64-ld-soname): Rename to ...
37286         (abi-64-v1-ld-soname): ... this.
37287         (abi-64-v2-options): Define.
37288         (abi-64-v2-condition): Likewise.
37289         (abi-64-v2-ld-soname): Likewise.
37290         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
37291         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
37292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
37293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
37294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
37296 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37297             Alan Modra  <amodra@gmail.com>
37299         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
37300         New versions for use with the ELFv2 ABI.
37301         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
37302         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
37303         declaration.
37304         (struct La_ppc64v2_retval): Likewise.
37305         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
37306         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
37307         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
37308         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
37309         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
37310         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
37311         Do not save or restore CR.
37312         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
37313         (_dl_profile_resolve): Do no save or restore CR.  Support extended
37314         return values for ELFv2 ABI.  Fix location of FPR return registers.
37315         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
37316         updated values for _CALL_ELF == 2.
37317         (La_regs, La_retval, int_retval): Likewise.
37319 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37321         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
37322         (FRAME_MIN_SIZE_PARM): Likewise.
37323         (FRAME_BACKCHAIN): Likewise.
37324         (FRAME_CR_SAVE): Likewise.
37325         (FRAME_LR_SAVE): Likewise.
37326         (FRAME_TOC_SAVE): Likewise.
37327         (FRAME_PARM_SAVE): Likewise.
37328         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
37329         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
37330         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37331         (call_mcount_parm_offset): New macro.
37332         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
37333         (PROF): Use symbolic stack frame offsets.
37334         (TAIL_CALL_SYSCALL_ERROR): Likewise.
37335         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
37336         Redefine in terms of FRAME_MIN_SIZE.
37337         (_dl_runtime_resolve): Use symbolic stack frame offsets.
37338         (_dl_profile_resolve): Likewise.  Update comment.
37339         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
37340         symbols stack frame offsets.
37341         (__sigsetjmp): Likewise.
37342         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
37343         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
37344         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
37345         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
37347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
37348         (FRAME_BACKCHAIN): Remove.
37349         (FRAME_CR_SAVE): Likewise.
37350         (FRAME_LR_SAVE): Likewise.
37351         (FRAME_COMPILER_DW): Likewise.
37352         (FRAME_LINKER_DW): Likewise.
37353         (FRAME_TOC_SAVE): Likewise.
37354         (FRAME_PARM_SAVE): Likewise.
37355         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
37356         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
37357         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
37358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
37359         (CHECK_SP): Use symbolic stack frame offsets.
37360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
37361         zone" instead of caller's parameter save area for temp storage.
37362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
37363         Likewise.  Also, use symbolic stack frame offsets.
37364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
37365         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
37366         our own stack frame instead of the caller's.
37367         (__socket): Use symbolic stack frame offsets.
37369 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37370             Alan Modra  <amodra@gmail.com>
37372         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
37373         Define.
37374         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
37375         (PPC64_LOCAL_ENTRY_OFFSET): Define.
37376         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
37377         New function.
37378         (elf_machine_fixup_plt): Call it.
37379         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
37380         reloc arguments.
37381         (elf_machine_rela): Update call to elf_machine_plt_conflict.
37382         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37383         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
37384         r2 before calling target.
37386 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37387             Alan Modra  <amodra@gmail.com>
37389         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
37390         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
37391         versions of macros to support ELFv2 ABI.
37392         (LOCALENTRY): New macro.
37393         (ENTRY, EALIGN): Use it.
37394         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
37395         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
37396         fall through into ENTRY entry point.
37397         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
37398         Only define if _CALL_ELF != 2.
37400         (elf_machine_matches_host): Verify ABI version matches.
37401         (RTLD_START): Use LOCALENTRY.
37402         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
37403         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
37404         (PLT_ENTRY_WORDS): New macro.
37405         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
37406         (elf_machine_runtime_setup): Support ELFv2 ABI.
37407         (elf_machine_fixup_plt): Likewise.
37408         (elf_machine_plt_conflict): Likewise.
37409         (resolve_ifunc): Likewise.
37410         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
37411         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
37412         Likewise.
37413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
37414         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
37415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37416         (makecontext): Support ELFv2 ABI.
37417         * elf/elf.h (EF_PPC64_ABI): Define.
37419 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37421         * sysdeps/powerpc/powerpc64/sysdep.h
37422         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
37423         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
37424         (ENTRY) [ASSEMBLER]: ... but instead here ...
37425         (EALIGN) [ASSEMBLER]: ... and here.
37426         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
37427         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
37428         (ENTRY_2) [!ASSEMBLER]: Use it.
37429         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
37430         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
37431         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
37432         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
37433         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
37434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
37435         Use PPC64_LOAD_FUNCPTR.
37437         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
37439 2013-12-04  Alan Modra  <amodra@gmail.com>
37441         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
37442         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
37443         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
37444         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
37446         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
37447         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
37448         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
37449         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
37450         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
37451         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
37453 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
37455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37456         (__makecontext): Fix incorrect CFI when backtracing out of
37457         context created via makecontext.
37458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
37459         (__setcontext): Fix incorrect CFI during switch to new context.
37460         (__novec_setcontext): Likewise.
37462 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
37464         [BZ #4772]
37465         * time/strptime_l.c (__strptime_internal): Allow modifiers
37466         in strptime.
37467         * time/tst-strptime.c (day_tests): Add testcase.
37469 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37471         * scripts/bench.pl: Skip over blank lines.
37473 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
37475         [BZ #926]
37476         * manual/time.texi (Calendar Time): Clarify what timezone functions
37477         use.
37479 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37481         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37483 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
37485         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
37486         implementation.
37487         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
37488         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
37489         * debug/memset_chk.c (__memset_chk): Likewise.
37490         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
37491         * debug/strncpy_chk.c: Likewise.
37493 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
37495         [BZ #15268]
37496         [BZ #15425]
37497         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
37498         (__ieee754_exp): For possibly underflowing results, check size of
37499         result and force underflow exception if required.
37500         * math/auto-libm-test-in: Add more tests of exp.
37501         * math/auto-libm-test-out: Regenerated.
37502         * sysdeps/i386/fpu/libm-test-ulps: Update.
37503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37505         [BZ #16283]
37506         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
37507         * math/w_exp2f.c (__exp2f): Likewise.
37508         * math/w_exp2l.c (__exp2l): Likewise.
37509         * math/auto-libm-test-in: Do not allow missing errno on exp2
37510         underflow.
37511         * math/auto-libm-test-out: Regenerated.
37513 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
37515         [BZ #16274]
37516         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
37517         handle filename validation.
37518         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
37519         (do_open): Delete.
37521 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
37523         [BZ #6786]
37524         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
37525         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
37526         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
37527         <float.h>.
37528         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
37529         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
37530         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37531         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
37532         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37533         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
37534         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
37535         * math/auto-libm-test-in: Don't allow missing errno from erfc.
37536         Add more erfc tests.
37537         * math/auto-libm-test-out: Regenerated.
37538         * sysdeps/i386/fpu/libm-test-ulps: Update.
37539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37541         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
37542         exp2, expm1, j0 and j1.
37543         * math/auto-libm-test-out: Regenerated.
37544         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
37545         (erfc_test_data): Likewise.
37546         (exp_test_data): Likewise.
37547         (exp_tonearest_test_data): Likewise.
37548         (exp_towardzero_test_data): Likewise.
37549         (exp_downward_test_data): Likewise.
37550         (exp_upward_test_data): Likewise.
37551         (exp10_test_data): Likewise.
37552         (exp2_test_data): Likewise.
37553         (expm1_test_data): Likewise.
37554         (j0_test_data): Likewise.
37555         (j1_test_data): Likewise.
37556         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
37557         (input_flag_type): Add flag_xfail_rounding.
37558         (input_flags): Add xfail-rounding.
37559         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
37560         (output_for_one_input_case): Handle flag_xfail_rounding.
37561         * sysdeps/i386/fpu/libm-test-ulps: Update.
37562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37564 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
37566         [BZ #16289]
37567         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
37568         division by 0.
37570 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37572         [BZ #16195]
37573         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
37574         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
37575         (STAP_PROBE0): New macro.
37576         (STAP_PROBE1): Likewise.
37577         (STAP_PROBE2): Likewise.
37578         (STAP_PROBE3): Likewise.
37579         (STAP_PROBE4): Likewise.
37581 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
37583         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
37585 2013-12-02  Steve Ellcey  <sellcey@mips.com>
37587         * benchtests/Makefile (bench): Add sqrt.
37588         (LDLIBS-bench-sqrt): New.
37589         * benchtests/sqrt-input: New.
37591 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
37593         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
37594         (GAIH_EAI): Likewise.
37595         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
37596         (gaih_inet): Likewise.
37597         (getaddrinfo): Don't use GAIH_EAI.
37599         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
37600         (struct gaih): Remove definition.
37602 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37604         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
37605         Use HERRNOP directly.
37607 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37611 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
37613         * math/gen-auto-libm-tests.c (test_functions): Add more
37614         single-argument functions.
37615         (special_fill_pi_2): New function.
37616         (special_fill_minus_pi_2): Likewise.
37617         (special_fill_pi_6): Likewise.
37618         (special_fill_minus_pi_6): Likewise.
37619         (special_fill_pi_3): Likewise.
37620         (special_fill_2pi_3): Likewise.
37621         (special_fill_e): Likewise.
37622         (special_fill_1_e): Likewise.
37623         (special_fill_e_minus_1): Likewise.
37624         (special_real_inputs): Add more special inputs.
37625         (output_for_one_input_case): Do not require ERANGE on underflow to
37626         zero if round-to-nearest result does not underflow to zero, unless
37627         exact results required.
37628         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
37629         atan, atanh, cbrt, cos and cosh.
37630         * math/auto-libm-test-out: Regenerated.
37631         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
37632         (acos_tonearest_test_data): Likewise.
37633         (acos_towardzero_test_data): Likewise.
37634         (acos_downward_test_data): Likewise.
37635         (acos_upward_test_data): Likewise.
37636         (acosh_test_data): Likewise.
37637         (asin_test_data): Likewise.
37638         (asin_tonearest_test_data): Likewise.
37639         (asin_towardzero_test_data): Likewise.
37640         (asin_upward_test_data): Likewise.
37641         (asinh_test_data): Likewise.
37642         (atan_test_data): Likewise.
37643         (atanh_test_data): Likewise.
37644         (cbrt_test_data): Likewise.
37645         (cos_test_data): Likewise.
37646         (cos_tonearest_test_data): Likewise.
37647         (cos_towardzero_test_data): Likewise.
37648         (cos_downward_test_data): Likewise.
37649         (cos_upward_test_data): Likewise.
37650         (cosh_test_data): Likewise.
37651         (cosh_tonearest_test_data): Likewise.
37652         (cosh_towardzero_test_data): Likewise.
37653         (cosh_downward_test_data): Likewise.
37654         (cosh_upward_test_data): Likewise.
37655         * sysdeps/i386/fpu/libm-test-ulps: Update.
37656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37658 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
37660         [BZ #6787]
37661         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
37662         * math/w_exp10f.c (__exp10f): Likewise.
37663         * math/w_exp10l.c (__exp10l): Likewise.
37664         * math/libm-test.inc (exp10_test_data): Add more tests and expect
37665         errno settings in existing tests.
37667         [BZ #14032]
37668         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
37669         precision control set to double precision.
37670         * sysdeps/i386/fpu/w_sqrt.c: New file.
37671         * math/auto-libm-test-in: Add more tests.
37672         * math/auto-libm-test-out: Update.
37674         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
37675         (sqrt_test_tonearest): New function.
37676         (sqrt_towardzero_test_data): New variable.
37677         (sqrt_test_towardzero): New function.
37678         (sqrt_downward_test_data): New variable.
37679         (sqrt_test_downward): New function.
37680         (sqrt_upward_test_data): New variable.
37681         (sqrt_test_upward): New function.
37682         (main): Call the new functions.
37684         * math/gen-auto-libm-tests.c: New file.
37685         * math/auto-libm-test-in: Likewise.
37686         * math/auto-libm-test-out: New generated file.
37687         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
37688         variables.
37689         (%beautify): Add generated representations of zero.
37690         (top level): Set $auto_input and call parse_auto_input.
37691         (beautify): Remove trailing "f" from hex float constants.
37692         (parse_args): Handle XFAIL_TEST.
37693         (convert_condition): New function.
37694         (or_value): Likewise.
37695         (or_cond_value): Likewise.
37696         (generate_testfile): Handle AUTO_TESTS_* lines.
37697         (parse_auto_input): New function.
37698         * math/libm-test.inc (XFAIL_TEST): New macro.
37699         (ERRNO_UNCHANGED): Update value.
37700         (ERRNO_EDOM): Likewise.
37701         (ERRNO_ERANGE): Likewise.
37702         (IGNORE_RESULT): Likewise.
37703         (TEST_COND_flt_32): New macro.
37704         (TEST_COND_dbl_64): Likewise.
37705         (TEST_COND_ldbl_96_intel): Likewise.
37706         (TEST_COND_ldbl_96_m68k): Likewise.
37707         (TEST_COND_ldbl_128): Likewise.
37708         (TEST_COND_ldbl_128ibm): Likewise.
37709         (TEST_COND_long32): Likewise.
37710         (TEST_COND_long64): Likewise.
37711         (TEST_COND_before_rounding): Likewise.
37712         (TEST_COND_after_rounding): Likewise.
37713         (enable_test): Handle XFAIL_TEST flag.
37714         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
37715         with finite results.
37716         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
37717         auto-libm-test-out.
37719 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37720             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37722         [BZ #16214]
37723         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
37724         __tls_get_addr_internal instead of __tls_get_offset in order to
37725         avoid GOT pointer dependency.  Make rtld export
37726         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
37727         __tls_get_addr since we are a __tls_get_offset platform.
37728         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
37729         GOT pointer being set up before.
37730         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
37732 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
37734         * manual/math.texi (Errors in Math Functions): Document accuracy
37735         goals.
37737         [BZ #15004]
37738         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
37739         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
37740         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37741         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37742         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37743         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37744         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37745         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37746         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37747         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37748         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37749         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37750         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37751         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37752         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37753         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37755         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
37756         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
37757         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
37758         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
37759         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
37760         Likewise.
37761         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
37762         Likewise.
37763         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
37764         Likewise.
37765         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
37766         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
37767         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
37768         atomic-feupdateenv and flt-rounds.
37769         * sysdeps/powerpc/nofpu/Versions (libc): Add
37770         __atomic_feholdexcept, __atomic_feclearexcept,
37771         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
37772         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
37773         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
37774         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
37775         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
37776         here.
37777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
37778         Update.
37780         * manual/arith.texi (FP Exceptions): Document that exceptions may
37781         not be raised when matherr is used.
37782         (Math Error Reporting): Document overflow in directed rounding
37783         modes.  Document that errno may not be set when finite values are
37784         returned on overflow.  Document intent to set errno on underflow
37785         only for underflow to zero.
37787         [BZ #16271]
37788         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
37789         round-to-nearest then adjust result for other rounding modes.
37790         * include/fenv.h (fegetround): Use libm_hidden_proto.
37791         * math/fegetround.c (fegetround): Use libm_hidden_def.
37792         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
37793         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
37794         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
37795         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
37796         Likewise.
37797         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
37798         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37799         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
37800         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
37802 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37804         [BZ #16077]
37805         * nss/Versions (libnss_files): Add
37806         _nss_files_gethostbyname3_r.
37807         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
37808         New function.
37809         (HOST_DB_LOOKUP): Remove macro.
37810         (_nss_files_gethostbyname_r): Implement function without the
37811         HOST_DB_LOOKUP macro.
37812         (_nss_files_gethostbyname2_r): Likewise.
37814 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
37816         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
37818 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
37820         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
37821         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
37822         warning.
37824 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37826         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
37827         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
37828         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
37829         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
37830         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
37831         __fe_nomask_env_priv and attribute_hidden.
37832         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
37833         (libc_feupdateenv_test_ppc): Likewise.
37834         (libc_feresetround_ppc): Likewise.
37835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37836         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
37837         compat_symbol macro.
37838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37839         (__fe_nomask_env): Likewise.
37840         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
37842 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37844         * string/Makefile: Remove ifunc tests.
37845         * string/test-string.h: Define TEST_IFUNC.
37846         * string/test-bcopy-ifunc.c: Remove.
37847         * string/test-bzero-ifunc.c: Likewise.
37848         * string/test-memccpy-ifunc.c: Likewise.
37849         * string/test-memchr-ifunc.c: Likewise.
37850         * string/test-memcmp-ifunc.c: Likewise.
37851         * string/test-memcpy-ifunc.c: Likewise.
37852         * string/test-memmem-ifunc.c: Likewise.
37853         * string/test-memmove-ifunc.c: Likewise.
37854         * string/test-mempcpy-ifunc.c: Likewise.
37855         * string/test-memrchr-ifunc.c: Likewise.
37856         * string/test-memset-ifunc.c: Likewise.
37857         * string/test-rawmemchr-ifunc.c: Likewise.
37858         * string/test-stpcpy-ifunc.c: Likewise.
37859         * string/test-stpncpy-ifunc.c: Likewise.
37860         * string/test-strcasecmp-ifunc.c: Likewise.
37861         * string/test-strcasestr-ifunc.c: Likewise.
37862         * string/test-strcat-ifunc.c: Likewise.
37863         * string/test-strchr-ifunc.c: Likewise.
37864         * string/test-strchrnul-ifunc.c: Likewise.
37865         * string/test-strcmp-ifunc.c: Likewise.
37866         * string/test-strcpy-ifunc.c: Likewise.
37867         * string/test-strcspn-ifunc.c: Likewise.
37868         * string/test-strlen-ifunc.c: Likewise.
37869         * string/test-strncasecmp-ifunc.c: Likewise.
37870         * string/test-strncat-ifunc.c: Likewise.
37871         * string/test-strncmp-ifunc.c: Likewise.
37872         * string/test-strncpy-ifunc.c: Likewise.
37873         * string/test-strnlen-ifunc.c: Likewise.
37874         * string/test-strpbrk-ifunc.c: Likewise.
37875         * string/test-strrchr-ifunc.c: Likewise.
37876         * string/test-strspn-ifunc.c: Likewise.
37877         * string/test-strstr-ifunc.c: Likewise.
37879 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37881         * benchtests/Makefile: Remove ifunc tests.
37882         * benchtests/bench-string.h: Define TEST_IFUNC.
37883         * benchtests/bench-bcopy-ifunc.c: Remove.
37884         * benchtests/bench-bzero-ifunc.c: Likewise.
37885         * benchtests/bench-memccpy-ifunc.c: Likewise.
37886         * benchtests/bench-memchr-ifunc.c: Likewise.
37887         * benchtests/bench-memcmp-ifunc.c: Likewise.
37888         * benchtests/bench-memcpy-ifunc.c: Likewise.
37889         * benchtests/bench-memmem-ifunc.c: Likewise.
37890         * benchtests/bench-memmove-ifunc.c: Likewise.
37891         * benchtests/bench-mempcpy-ifunc.c: Likewise.
37892         * benchtests/bench-memrchr-ifunc.c: Likewise.
37893         * benchtests/bench-memset-ifunc.c: Likewise.
37894         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
37895         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
37896         * benchtests/bench-stpcpy-ifunc.c: Likewise.
37897         * benchtests/bench-stpncpy-ifunc.c: Likewise.
37898         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
37899         * benchtests/bench-strcasestr-ifunc.c: Likewise.
37900         * benchtests/bench-strcat-ifunc.c: Likewise.
37901         * benchtests/bench-strchr-ifunc.c: Likewise.
37902         * benchtests/bench-strchrnul-ifunc.c: Likewise.
37903         * benchtests/bench-strcmp-ifunc.c: Likewise.
37904         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
37905         * benchtests/bench-strcpy-ifunc.c: Likewise.
37906         * benchtests/bench-strcspn-ifunc.c: Likewise.
37907         * benchtests/bench-strlen-ifunc.c: Likewise.
37908         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
37909         * benchtests/bench-strncat-ifunc.c: Likewise.
37910         * benchtests/bench-strncmp-ifunc.c: Likewise.
37911         * benchtests/bench-strncpy-ifunc.c: Likewise.
37912         * benchtests/bench-strnlen-ifunc.c: Likewise.
37913         * benchtests/bench-strpbrk-ifunc.c: Likewise.
37914         * benchtests/bench-strrchr-ifunc.c: Likewise.
37915         * benchtests/bench-strsep-ifunc.c: Likewise.
37916         * benchtests/bench-strspn-ifunc.c: Likewise.
37917         * benchtests/bench-strstr-ifunc.c: Likewise.
37919 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37921         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
37923 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
37925         * resolv/netdb.h: Use __glibc_reserved instead __unused.
37926         * rt/aio.h: Likewise.
37927         * sysdeps/gnu/bits/utmp.h: Likewise.
37928         * sysdeps/gnu/bits/utmpx.h: Likewise.
37929         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37930         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
37931         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
37932         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
37933         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
37934         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
37935         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
37936         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
37937         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
37938         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
37939         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
37940         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
37941         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
37942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
37943         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
37944         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
37945         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
37946         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
37947         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
37948         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
37949         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
37950         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
37951         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
37952         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37953         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
37954         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37955         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
37956         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
37957         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
37958         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
37959         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
37960         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
37961         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
37962         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
37963         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
37964         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
37965         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
37966         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
37967         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
37968         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
37969         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
37970         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
37972 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
37974         [BZ #16245]
37975         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
37976         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
37978 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
37980         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
37981         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
37982         Likewise.
37984 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37986         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
37987         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
37988         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
37989         (__fesetround): Remove define.
37990         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
37991         rounding and exceptions handling.
37992         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
37993         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
37994         (__fe_nomask_env): Likewise.
37995         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
37996         __fegetround instead of fegetround.
37997         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
37998         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
38000 2013-11-21  Roland McGrath  <roland@hack.frob.com>
38002         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
38003         it's there.
38005         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
38007 2013-11-21  Meador Inge  <meadori@codesourcery.com>
38009         [BZ #11157]
38010         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
38011         (encrypt_r): Likewise.
38012         * malloc/obstack.h (obstack_free): Likewise.
38013         * posix/unistd.h (encrypt): Likewise.
38015 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
38017         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
38018         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
38019         DL_CALL_DT_FINI() that call the functions directly.
38020         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
38021         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
38022         * elf/dl-fini.c: Likewise.
38024 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
38026         * malloc/hooks.c (memalign_check): Add alignment rounding.
38027         * malloc/malloc.c (_mid_memalign): New function.
38028         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
38029         Implement by calling _mid_memalign.
38030         * manual/probes.texi (Memory Allocation Probes): Remove
38031         memory_valloc_retry and memory_pvalloc_retry.
38033 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
38035         * locale/programs/locarchive.c (open_archive): Add const
38036         qualifier to ARCHIVEFNAME and copy default fname to
38037         DEFAULT_FNAME.
38039         [BZ #15601]
38040         * libio/tst-widetext.input: Rename Oriya to Odia.
38041         * locale/iso-639.def: Likewise.
38043         * manual/probes.texi (Mathematical Function Probes): Add
38044         documentation for sin, cos, asin and acos probes.
38045         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
38046         (__sin32): Add slowasin probe.
38047         (__cos32): Add slowacos probe.
38048         (__mpsin): Add slowsin probe.
38049         (__mpcos): Add slowcos probe.
38051 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
38053         [BZ #15483]
38054         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
38055         thread-local __sim_exceptions_thread and global
38056         __sim_exceptions_global.
38057         (__sim_disabled_exceptions): Change to thread-local
38058         __sim_disabled_exceptions_thread and global
38059         __sim_disabled_exceptions_global.
38060         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38061         and global __sim_round_mode_global.
38062         (__simulate_exceptions): Use thread-local floating-point state and
38063         set global state from it as needed.
38064         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
38065         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
38066         __sim_round_mode_thread.
38067         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
38068         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
38069         and global __sim_exceptions_global.
38070         (__sim_disabled_exceptions): Change to thread-local
38071         __sim_disabled_exceptions_thread and global
38072         __sim_disabled_exceptions_global.
38073         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
38074         and global __sim_round_mode_global.
38075         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
38076         (SIM_SET_GLOBAL): Likewise.
38077         * sysdeps/powerpc/soft-fp/sfp-machine.h
38078         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
38079         __sim_round_mode_thread.
38080         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
38081         __sim_disabled_exceptions_thread.
38082         (__sim_exceptions): Change to __sim_exceptions_thread.
38083         (__sim_disabled_exceptions): Change to
38084         __sim_disabled_exceptions_thread.
38085         (__sim_round_mode): Change to __sim_round_mode_thread.
38086         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
38087         thread-local floating-point state and set global state from it as
38088         needed.
38089         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
38090         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
38091         (__sim_disabled_exceptions): Remove extern declaration.
38092         (feenableexcept): Use thread-local floating-point state and set
38093         global state from it as needed.
38094         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
38095         extern declaration.
38096         (__sim_disabled_exceptions): Likewise.
38097         (__sim_round_mode): Likewise.
38098         (__fegetenv): Use thread-local floating-point state.
38099         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
38100         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
38101         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
38102         floating-point state and set global state from it as needed.
38103         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
38104         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38105         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
38106         Likewise.
38107         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
38108         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
38109         Likewise.
38110         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
38111         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
38112         Use __sim_round_mode_thread.
38113         * math/test-fenv-tls.c: New file.
38114         * math/Makefile (tests): Add test-fenv-tls.
38115         ($(objpfx)test-fenv-tls): Depend on
38116         $(common-objpfx)nptl/libpthread.so.
38118 2013-11-19  Andreas Schwab  <schwab@suse.de>
38120         * locale/programs/locale.c (show_info): Decode wordarray elements.
38121         * locale/categories.def (LC_MONETARY): Add element for
38122         _NL_MONETARY_CRNCYSTR.
38123         * locale/C-monetary.c (conversion_rate): New variable.
38124         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
38125         element.
38127 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
38129         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
38130         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
38132 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
38134         * elf/Makefile (tst-auxv): New test.
38135         * elf/tst-auxv.c: New
38136         * elf/rtld.c (dl_main): Adjust AT_EXECFN
38138 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
38140         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
38141         (hidden_proto): Caller changed.
38142         (hidden_tls_proto): New macro.
38143         (libc_hidden_tls_proto): Likewise.
38144         (rtld_hidden_tls_proto): Likewise.
38145         (libm_hidden_tls_proto): Likewise.
38146         (libresolv_hidden_tls_proto): Likewise.
38147         (librt_hidden_tls_proto): Likewise.
38148         (libdl_hidden_tls_proto): Likewise.
38149         (libnss_files_hidden_tls_proto): Likewise.
38150         (libnsl_hidden_tls_proto): Likewise.
38151         (libnss_nisplus_hidden_tls_proto): Likewise.
38152         (libutil_hidden_tls_proto): Likewise.
38154 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
38156         [BZ #10253]
38157         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
38158         (decompose_rpath): Defer expansion to fillin_rpath.
38159         (_dl_init_paths): Pass linkmap to fillin_rpath.
38161 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38163         * benchtests/Makefile: Add strsep.
38164         * benchtests/bench-strsep.c: New file: strsep benchtest.
38165         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
38167 2013-11-18  Andreas Schwab  <schwab@suse.de>
38169         * locale/programs/locale.c (show_info) [case byte]: Check for
38170         '\377' instead of '\177'.
38171         * locale/C-monetary.c (not_available): Always use "\377".
38172         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
38173         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
38174         detect unavailable sign_posn locale elements.
38175         * locale/localeconv.c (__localeconv): For grouping and
38176         mon_grouping handle "\177" and "\377" like no grouping.
38177         (INT_ELEM): New macro.  Use it to set all numeric members.
38178         * locale/programs/ld-monetary.c (monetary_read)
38179         <tok_mon_grouping>: Normalize single -1 to the empty string.
38180         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
38181         Likewise.
38183 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
38185         [BZ #16055]
38186         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
38187         when we match (nil).
38188         * stdio-common/tst-sscanf.c (struct test): Add testcase.
38190 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
38192         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
38193         (NO_TEST_INLINE): Update value.
38194         (ERRNO_UNCHANGED): Likewise.
38195         (ERRNO_EDOM): Likewise.
38196         (ERRNO_ERANGE): Likewise.
38197         (IGNORE_RESULT): Likewise.
38198         (check_float_internal): Check signs of NaN results if
38199         TEST_NAN_SIGN used.
38200         (check_complex): Pass TEST_NAN_SIGN flag through to second
38201         check_float_internal call.
38202         (copysign_test_data): Add tests with quiet NaNs as second
38203         argument.  Use TEST_NAN_SIGN.
38204         (fabs_test_data): Add test of negative quiet NaN argument.  Use
38205         TEST_NAN_SIGN.
38206         (signbit_test_data): Add tests of quiet NaN argument.
38207         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
38209         * math/gen-libm-test.pl (show_exceptions): Take extra argument
38210         $ignore_result.
38211         (parse_args): Handle function results specified as IGNORE.
38212         * math/libm-test.inc (IGNORE_RESULT): New macro.
38213         (check_float_internal): Do not check numerical result if flag
38214         IGNORE_RESULT set.
38215         (check_complex): Pass through IGNORE_RESULT to second
38216         check_float_internal call.
38217         (check_int): Do not check numerical result if flag IGNORE_RESULT
38218         set.
38219         (check_long): Likewise.
38220         (check_bool): Likewise.
38221         (check_longlong): Likewise.
38222         (lrint_test_data): Add tests of infinite and NaN arguments.
38223         (lrint_tonearest_test_data): Likewise.
38224         (lrint_towardzero_test_data): Likewise.
38225         (lrint_downward_test_data): Likewise.
38226         (lrint_upward_test_data): Likewise.
38227         (llrint_test_data): Likewise.
38228         (llrint_tonearest_test_data): Likewise.
38229         (llrint_towardzero_test_data): Likewise.
38230         (llrint_downward_test_data): Likewise.
38231         (llrint_upward_test_data): Likewise.
38232         (lround_test_data): Likewise.
38233         (llround_test_data): Likewise.
38235         * math/libm-test.inc (NO_TEST_INLINE): New macro.
38236         (ERRNO_UNCHANGED): Update value.
38237         (ERRNO_EDOM): Likewise.
38238         (ERRNO_ERANGE): Likewise.
38239         (NO_TEST_INLINE_FLOAT): New macro.
38240         (NO_TEST_INLINE_DOUBLE): Likewise.
38241         (enable_test): New function.
38242         (RUN_TEST_f_f): Check enable_test before running test.
38243         (RUN_TEST_2_f): Likewise.
38244         (RUN_TEST_fff_f): Likewise.
38245         (RUN_TEST_c_f): Likewise.
38246         (RUN_TEST_f_f1): Likewise.
38247         (RUN_TEST_fF_f1): Likewise.
38248         (RUN_TEST_fI_f1): Likewise.
38249         (RUN_TEST_ffI_f1): Likewise.
38250         (RUN_TEST_c_c): Likewise.
38251         (RUN_TEST_cc_c): Likewise.
38252         (RUN_TEST_f_i): Likewise.
38253         (RUN_TEST_f_i_tg): Likewise.
38254         (RUN_TEST_ff_i_tg): Likewise.
38255         (RUN_TEST_f_b): Likewise.
38256         (RUN_TEST_f_b_tg): Likewise.
38257         (RUN_TEST_f_l): Likewise.
38258         (RUN_TEST_f_L): Likewise.
38259         (RUN_TEST_fFF_11): Likewise.
38260         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
38261         conditionals.
38262         (cosh_test_data): Likewise.
38263         (exp_test_data): Likewise.
38264         (expm1_test_data): Likewise.
38265         (hypot_test_data): Likewise.
38266         (pow_test_data): Likewise.
38267         (sinh_test_data): Likewise.
38268         (tanh_test_data): Likewise.
38269         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
38270         flags argument.
38272         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
38273         tests with quiet NaN input and output.
38274         (acosh_test_data): Likewise.
38275         (asin_test_data): Likewise.
38276         (asinh_test_data): Likewise.
38277         (atan_test_data): Likewise.
38278         (atanh_test_data): Likewise.
38279         (atan2_test_data): Likewise.
38280         (cbrt_test_data): Likewise.
38281         (cos_test_data): Likewise.
38282         (cosh_test_data): Likewise.
38283         (erf_test_data): Likewise.
38284         (erfc_test_data): Likewise.
38285         (exp_test_data): Likewise.
38286         (exp10_test_data): Likewise.
38287         (exp2_test_data): Likewise.
38288         (expm1_test_data): Likewise.
38289         (hypot_test_data): Likewise.
38290         (j0_test_data): Likewise.
38291         (j1_test_data): Likewise.
38292         (jn_test_data): Likewise.
38293         (lgamma_test_data): Likewise.
38294         (log_test_data): Likewise.
38295         (log10_test_data): Likewise.
38296         (log1p_test_data): Likewise.
38297         (log2_test_data): Likewise.
38298         (pow_test_data): Likewise.
38299         (scalb_test_data): Likewise.
38300         (sin_test_data): Likewise.
38301         (sincos_test_data): Likewise.
38302         (sinh_test_data): Likewise.
38303         (tan_test_data): Likewise.
38304         (tanh_test_data): Likewise.
38305         (tgamma_test_data): Likewise.
38306         (y0_test_data): Likewise.
38307         (y1_test_data): Likewise.
38308         (yn_test_data): Likewise.
38310         [BZ #16167]
38311         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
38312         argument being NaN and avoid computations with second argument in
38313         that case.
38314         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38315         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38316         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38318 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
38320         * locale/iso-639.def: Add Chitwani Tharu (the).
38322 2013-11-14  Andreas Schwab  <schwab@suse.de>
38324         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
38325         word instead of empty string.
38327 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38330         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
38331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38332         (__fe_nomask_env): Likewise.
38334 2013-11-13  Steve Ellcey  <sellcey@mips.com>
38336         * benchtests/bench-timing.h: Include time.h.
38338 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
38340         [BZ #15997]
38341         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
38342         to 3.4.0 for x32.
38343         * sysdeps/unix/sysv/linux/configure: Regenerated.
38345 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
38347         [BZ #16151]
38348         * stdlib/strtod_l.c (round_and_return): Do not consider
38349         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
38350         exponent one less than half the least subnormal exponent.
38351         * stdlib/test-strtod-round-data: Add more tests.
38352         * stdlib/tst-strtod-round.c (tests): Regenerated.
38354 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38356         [BZ #14143]
38357         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
38358         (__fe_mask_env): Likewise.
38359         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
38360         libm_hidden_proto and add function prototype.
38361         (__fe_mask_env): Add function prototype.
38362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38363         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
38364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38365         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
38366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38367         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
38369 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38371         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
38372         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
38374 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38376         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
38377         of htab_find_slot().
38379 2013-11-11  David S. Miller  <davem@davemloft.net>
38381         [BZ #16150]
38382         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
38383         symbol in the non-vis3 case in static builds.
38384         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
38385         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
38386         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
38387         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
38389 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
38391         [BZ #387]
38392         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
38393         it is empty.
38395 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38397         * benchtests/Makefile: Add bench-strtod.
38398         * benchtests/bench-strtod.c: New file: strtod benchtest
38400 2013-11-11  Andreas Schwab  <schwab@suse.de>
38402         [BZ #16153]
38403         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
38404         terminating NUL in key length.
38406 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38408         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
38409         Add artificial ODP entry for vDSO symbol for PPC64.
38410         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
38411         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38413 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
38415         [BZ #15374]
38416         * nss/getent.c (services_keys): Recognize services starting with digit.
38418 2013-11-06  David S. Miller  <davem@davemloft.net>
38420         [BZ #15985]
38421         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
38422         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
38424 2013-11-06  Will Newton  <will.newton@linaro.org>
38426         * manual/memory.texi (Malloc Examples): Remove register
38427         keyword from examples.
38429 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
38431         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
38433 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
38435         [BZ #6981]
38436         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
38437         depending on [__GCC_IEC_559 > 0].
38438         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
38439         depending on [__GCC_IEC_559_COMPLEX > 0].
38441 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
38443         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
38444         to iso-639.def.
38446 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
38448         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
38450 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
38452         [BZ #16112]
38453         * malloc/malloc (malloc_info): Do not handle first bin as
38454         special case.
38456 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
38458         * locale/iso-639.def: Add Central Nahuatl (nhn).
38460 2013-11-01  Bruno Haible  <bruno@clisp.org>
38462         [BZ #7003]
38463         * manual/math.texi (BSD Random): Specify range upper bound as
38464         in POSIX.
38466 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
38468         * locale/iso-639.def: Add Meadow Mari (mhr).
38470 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
38472         [BZ #14752], [BZ #15763]
38473         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
38474         Validate name.
38475         * rt/tst_shm.c: Add test for escaping directory.
38477 2013-10-31  Andreas Schwab  <schwab@suse.de>
38479         [BZ #15917]
38480         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
38481         followed by 'x' as part of digit sequence.
38482         * stdio-common/tst-sscanf.c (double_tests2): New tests.
38484 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
38486         [BZ #16037]
38487         * configure.ac: allow GNU Make 4.0 and greater.
38488         * configure: Regenerated.
38490 2013-10-30  Will Newton  <will.newton@linaro.org>
38492         [BZ #16038]
38493         * malloc/hooks.c (memalign_check): Limit alignment to the
38494         maximum representable power of two.
38495         * malloc/malloc.c (__libc_memalign): Likewise.
38496         * malloc/tst-memalign.c (do_test): Add test for very
38497         large alignment values.
38498         * malloc/tst-posix_memalign.c (do_test): Likewise.
38500 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
38502         [BZ #11087]
38503         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
38504         (munmap_chunk): Likewise.
38505         (mremap_chunk): Likewise.
38507 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
38509         [BZ #15799]
38510         * stdlib/div.c (div): Remove obsolete code.
38511         * stdlib/ldiv.c (ldiv): Likewise.
38512         * stdlib/lldiv.c (lldiv): Likewise.
38514 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38516         [BZ #16071]
38517         * nss/nss_files/files-XXX.c (get_contents_ret): New
38518         enumerator.
38519         (get_contents): New function.
38520         (internal_getent): Use it.  Expand size of LINEBUFLEN.
38522 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
38524         * configure.in: Moved to ...
38525         * configure.ac: ... here. Change reference to configure.in
38526         to configure.ac.
38527         * sysdeps/arm/preconfigure.ac: ... here.
38528         configure.in to configure.ac.
38529         * sysdeps/gnu/configure.in: Moved to ...
38530         * sysdeps/gnu/configure.ac: ... here.
38531         * sysdeps/i386/configure.in: Moved to ...
38532         * sysdeps/i386/configure.ac: ... here.
38533         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
38534         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
38535         * sysdeps/mach/configure.in: Moved to ...
38536         * sysdeps/mach/configure.ac: ... here.
38537         * sysdeps/mach/hurd/configure.in: Moved to ...
38538         * sysdeps/mach/hurd/configure.ac: ... here.
38539         * sysdeps/powerpc/configure.in: Moved to ...
38540         * sysdeps/powerpc/configure.ac: ... here.
38541         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
38542         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
38543         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
38544         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
38545         * sysdeps/s390/s390-32/configure.in: Moved to ...
38546         * sysdeps/s390/s390-32/configure.ac: ... here.
38547         * sysdeps/s390/s390-64/configure.in: Moved to ...
38548         * sysdeps/s390/s390-64/configure.ac: ... here.
38549         * sysdeps/sh/configure.in: Moved to ...
38550         * sysdeps/sh/configure.ac: ... here.
38551         * sysdeps/sparc/configure.in: Moved to ...
38552         * sysdeps/sparc/configure.ac: ... here.
38553         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
38554         * sysdeps/unix/sysv/linux/configure.ac: ... here.
38555         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
38556         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
38557         * sysdeps/x86_64/configure.in: Moved to ...
38558         * sysdeps/x86_64/configure.ac: ... here.
38559         * sysdeps/x86_64/preconfigure.in: Moved to ...
38560         * sysdeps/x86_64/preconfigure.ac: ... here.
38561         * aclocal.m4: Change reference to configure.in to configure.ac.
38562         * config.h.in: Likewise.
38563         * manual/install.texi: Likewise.
38564         * manual/maint.texi: Likewise.
38565         * Makefile: Likewise.
38566         * malloc/Makefile: Likewise.
38567         * nscd/Makefile: Likewise.
38568         * Makeconfig: Change reference to configure.in and
38569         preconfigure.in to configure.ac and preconfigure.ac
38570         respectively.
38571         * INSTALL: Regenerated.
38572         * configure: Likewise.
38573         * sysdeps/gnu/configure: Likewise.
38574         * sysdeps/i386/configure: Likewise.
38575         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
38576         * sysdeps/mach/configure: Likewise.
38577         * sysdeps/mach/hurd/configure: Likewise.
38578         * sysdeps/powerpc/configure: Likewise.
38579         * sysdeps/powerpc/powerpc32/configure: Likewise.
38580         * sysdeps/powerpc/powerpc64/configure: Likewise.
38581         * sysdeps/s390/s390-32/configure: Likewise.
38582         * sysdeps/s390/s390-64/configure: Likewise.
38583         * sysdeps/sh/configure: Likewise.
38584         * sysdeps/sparc/configure: Likewise.
38585         * sysdeps/unix/sysv/linux/configure: Likewise.
38586         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
38587         * sysdeps/x86_64/configure: Likewise.
38588         * sysdeps/x86_64/preconfigure: Likewise.
38590 2013-10-29  Andreas Schwab  <schwab@suse.de>
38592         * stdio-common/Makefile (tst-swscanf-ENV): Define.
38594 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38596         * benchtests/pow-inputs: Add new inputs.
38598         * benchtests/exp-inputs: Add new inputs.
38600         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
38601         conditional check for return value.
38602         (__cos32): Likewise.
38604 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38606         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
38607         to provide a boost for large inputs with word alignment.
38608         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
38609         implementation based on optimized PPC64 strcpy.
38610         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
38611         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
38612         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
38613         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
38615 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38617         [BZ #2801]
38618         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
38620 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38622         [BZ #14876]
38623         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
38624         * time/tst-strptime.c (day_tests): Add testcase.
38626 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
38628         [BZ #14029]
38629         * manual/pattern.texi: Acknowledge that fnmatch can fail.
38631 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
38633         [BZ #16074]
38634         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
38635         MAP_FAILED on error.
38637 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38639         [BZ #16072]
38640         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
38641         heap for large requests.
38643 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
38645         [BZ #9954]
38646         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
38647         result if the result has no associated interface.
38648         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
38649         interface for all 127.X.Y.Z addresses.
38651 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
38653         * locale/iso-639.def: Add Ligurian (lij)
38655 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
38657         [BZ #15825]
38658         * sunrpc/rpc_main.c: Document rpcgen -5.
38660 2013-10-19  Michael Stahl  <mstahl@redhat.com>
38662         * elf/rtld.c (do_preload): Print the reason why preloading failed.
38664 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38666         [BZ #10278]
38667         * posix/glob.c: Match only directories when trailing slash is present.
38668         * posix/tst-gnuglob.c (my_opendir): Do not open files.
38669         (main): Add testcase.
38671 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
38673         [BZ #15670]
38674         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
38676 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
38678         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
38679         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
38680         AUTH_DES and cindex for FIPS 140-2.
38681         (DES Encryption): Add cindex FIPS 46-3.
38683         * locale/locarchive.h (struct locarhandle): Add fname.
38684         * locale/programs/localedef.c (main): Pass ARGV[remaining]
38685         if an optional argument was specified to --list-archive,
38686         otherwise NULL.
38687         * locale/programs/locarchive.c (show_archive_content): Take new
38688         argument fname and pass it via ah.fname to open_archive.
38689         * locale/programs/localedef.h: Update decl.
38690         (open_archive): If AH->fname is non-null, open that file
38691         rather than the default file name, and don't ignore ENOENT.
38692         (create_archive): Set AH.fname to NULL.
38693         (delete_locales_from_archive): Likewise.
38694         (add_locales_to_archive): Likewise.
38695         * locale/programs/locfile.c (write_all_categories): Likewise.
38697 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
38698             Aldy Hernandez  <aldyh@redhat.com>
38700         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
38701         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
38702         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
38703         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
38704         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
38705         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
38706         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
38707         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
38708         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
38709         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
38710         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
38711         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
38712         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
38713         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
38714         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
38715         Likewise.
38716         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
38717         Likewise.
38718         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
38719         Likewise.
38720         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
38721         Likewise.
38722         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
38723         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
38724         Likewise.
38725         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
38726         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
38727         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
38728         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
38729         Likewise.
38730         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
38731         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
38732         * sysdeps/powerpc/preconfigure: Likewise.
38733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
38734         Likewise.
38735         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
38736         Replace contents of file by #include of <fenv_libc.h>.
38737         * sysdeps/powerpc/soft-fp/sfp-machine.h
38738         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
38739         and <sys/prctl.h>.
38740         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
38741         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
38742         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
38743         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
38744         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
38745         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
38746         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
38747         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
38748         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
38749         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
38750         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
38751         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
38752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38753         Allow copysignl PLT reference to be missing.
38755 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
38756             Joseph Myers  <joseph@codesourcery.com
38758         [BZ #15948]
38759         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
38760         single character.
38761         (add_to_tablewc): Assert sequence of wide characters is nonempty.
38763 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38765         * elf/tst-tls-dlinfo.c: Don't include tls.h.
38766         * elf/tst-tls1.c: Likewise.
38767         * elf/tst-tls10.h: Likewise.
38768         * elf/tst-tls14.c: Likewise.
38769         * elf/tst-tls2.c: Likewise.
38770         * elf/tst-tls3.c: Likewise.
38771         * elf/tst-tls4.c: Likewise.
38772         * elf/tst-tls5.c: Likewise.
38773         * elf/tst-tls6.c: Likewise.
38774         * elf/tst-tls7.c: Likewise.
38775         * elf/tst-tls8.c: Likewise.
38776         * elf/tst-tls9.c: Likewise.
38777         * elf/tst-tlsmod1.c: Likewise.
38778         * elf/tst-tlsmod13.c: Likewise.
38779         * elf/tst-tlsmod13a.c: Likewise.
38780         * elf/tst-tlsmod14a.c: Likewise.
38781         * elf/tst-tlsmod16a.c: Likewise.
38782         * elf/tst-tlsmod16b.c: Likewise.
38783         * elf/tst-tlsmod2.c: Likewise.
38784         * elf/tst-tlsmod3.c: Likewise.
38785         * elf/tst-tlsmod4.c: Likewise.
38786         * elf/tst-tlsmod5.c: Likewise.
38787         * elf/tst-tlsmod6.c: Likewise.
38789 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
38791         [BZ #12486]
38792         * malloc/malloc.c: remove checks for statistics.
38794 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
38796         [BZ #15277]
38797         * inet/inet_net.c (inet_network): Detect additional invalid strings.
38798         * inet/tst-network.c: Add testcase.
38800 2013-10-17  Andreas Schwab  <schwab@suse.de>
38802         [BZ #15218]
38803         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
38804         to determine canonical name.
38806 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
38808         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
38809         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
38810         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38811         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38812         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38813         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38814         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38815         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38816         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38817         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38818         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38819         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38820         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38821         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38822         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38823         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38824         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38825         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38826         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38827         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38828         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38829         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38830         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38831         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
38832         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
38833         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38834         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38835         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
38836         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38837         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
38838         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38839         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38840         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38841         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38842         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38843         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38844         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38845         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38846         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38847         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38848         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38849         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38850         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38851         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38852         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38853         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38854         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38855         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38856         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38857         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38858         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38859         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38860         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38861         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38862         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38863         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38864         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38865         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38867 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
38869         [BZ #16041]
38870         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
38871         make result into a quiet NaN.
38873 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
38875         * soft-fp/adddf3.c: Fix horizontal whitespace.
38876         * soft-fp/addsf3.c: Likewise.
38877         * soft-fp/addtf3.c: Likewise.
38878         * soft-fp/divdf3.c: Likewise.
38879         * soft-fp/divsf3.c: Likewise.
38880         * soft-fp/divtf3.c: Likewise.
38881         * soft-fp/double.h: Likewise.
38882         * soft-fp/eqdf2.c: Likewise.
38883         * soft-fp/eqsf2.c: Likewise.
38884         * soft-fp/eqtf2.c: Likewise.
38885         * soft-fp/extenddftf2.c: Likewise.
38886         * soft-fp/extended.h: Likewise.
38887         * soft-fp/extendsfdf2.c: Likewise.
38888         * soft-fp/extendsftf2.c: Likewise.
38889         * soft-fp/extendxftf2.c: Likewise.
38890         * soft-fp/fixdfdi.c: Likewise.
38891         * soft-fp/fixdfsi.c: Likewise.
38892         * soft-fp/fixdfti.c: Likewise.
38893         * soft-fp/fixsfdi.c: Likewise.
38894         * soft-fp/fixsfsi.c: Likewise.
38895         * soft-fp/fixsfti.c: Likewise.
38896         * soft-fp/fixtfdi.c: Likewise.
38897         * soft-fp/fixtfsi.c: Likewise.
38898         * soft-fp/fixtfti.c: Likewise.
38899         * soft-fp/fixunsdfdi.c: Likewise.
38900         * soft-fp/fixunsdfsi.c: Likewise.
38901         * soft-fp/fixunsdfti.c: Likewise.
38902         * soft-fp/fixunssfdi.c: Likewise.
38903         * soft-fp/fixunssfsi.c: Likewise.
38904         * soft-fp/fixunssfti.c: Likewise.
38905         * soft-fp/fixunstfdi.c: Likewise.
38906         * soft-fp/fixunstfsi.c: Likewise.
38907         * soft-fp/fixunstfti.c: Likewise.
38908         * soft-fp/floatdidf.c: Likewise.
38909         * soft-fp/floatdisf.c: Likewise.
38910         * soft-fp/floatditf.c: Likewise.
38911         * soft-fp/floatsidf.c: Likewise.
38912         * soft-fp/floatsisf.c: Likewise.
38913         * soft-fp/floatsitf.c: Likewise.
38914         * soft-fp/floattidf.c: Likewise.
38915         * soft-fp/floattisf.c: Likewise.
38916         * soft-fp/floattitf.c: Likewise.
38917         * soft-fp/floatundidf.c: Likewise.
38918         * soft-fp/floatundisf.c: Likewise.
38919         * soft-fp/floatunditf.c: Likewise.
38920         * soft-fp/floatunsidf.c: Likewise.
38921         * soft-fp/floatunsisf.c: Likewise.
38922         * soft-fp/floatunsitf.c: Likewise.
38923         * soft-fp/floatuntidf.c: Likewise.
38924         * soft-fp/floatuntisf.c: Likewise.
38925         * soft-fp/floatuntitf.c: Likewise.
38926         * soft-fp/fmadf4.c: Likewise.
38927         * soft-fp/fmasf4.c: Likewise.
38928         * soft-fp/fmatf4.c: Likewise.
38929         * soft-fp/gedf2.c: Likewise.
38930         * soft-fp/gesf2.c: Likewise.
38931         * soft-fp/getf2.c: Likewise.
38932         * soft-fp/ledf2.c: Likewise.
38933         * soft-fp/lesf2.c: Likewise.
38934         * soft-fp/letf2.c: Likewise.
38935         * soft-fp/muldf3.c: Likewise.
38936         * soft-fp/mulsf3.c: Likewise.
38937         * soft-fp/multf3.c: Likewise.
38938         * soft-fp/negdf2.c: Likewise.
38939         * soft-fp/negsf2.c: Likewise.
38940         * soft-fp/negtf2.c: Likewise.
38941         * soft-fp/op-1.h: Likewise.
38942         * soft-fp/op-2.h: Likewise.
38943         * soft-fp/op-4.h: Likewise.
38944         * soft-fp/op-8.h: Likewise.
38945         * soft-fp/op-common.h: Likewise.
38946         * soft-fp/quad.h: Likewise.
38947         * soft-fp/single.h: Likewise.
38948         * soft-fp/soft-fp.h: Likewise.
38949         * soft-fp/sqrtdf2.c: Likewise.
38950         * soft-fp/sqrtsf2.c: Likewise.
38951         * soft-fp/sqrttf2.c: Likewise.
38952         * soft-fp/subdf3.c: Likewise.
38953         * soft-fp/subsf3.c: Likewise.
38954         * soft-fp/subtf3.c: Likewise.
38955         * soft-fp/truncdfsf2.c: Likewise.
38956         * soft-fp/trunctfdf2.c: Likewise.
38957         * soft-fp/trunctfsf2.c: Likewise.
38958         * soft-fp/trunctfxf2.c: Likewise.
38959         * soft-fp/unorddf2.c: Likewise.
38960         * soft-fp/unordsf2.c: Likewise.
38961         * soft-fp/unordtf2.c: Likewise.
38963 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
38965         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
38966         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
38968 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
38970         * elf/dl-libc.c: Clear initfini list after freeing.
38972 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
38974         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
38975         * soft-fp/addsf3.c: Likewise.
38976         * soft-fp/addtf3.c: Likewise.
38977         * soft-fp/divdf3.c: Likewise.
38978         * soft-fp/divsf3.c: Likewise.
38979         * soft-fp/divtf3.c: Likewise.
38980         * soft-fp/double.h: Likewise.
38981         * soft-fp/eqdf2.c: Likewise.
38982         * soft-fp/eqsf2.c: Likewise.
38983         * soft-fp/eqtf2.c: Likewise.
38984         * soft-fp/extenddftf2.c: Likewise.
38985         * soft-fp/extended.h: Likewise.
38986         * soft-fp/extendsfdf2.c: Likewise.
38987         * soft-fp/extendsftf2.c: Likewise.
38988         * soft-fp/extendxftf2.c: Likewise.
38989         * soft-fp/fixdfdi.c: Likewise.
38990         * soft-fp/fixdfsi.c: Likewise.
38991         * soft-fp/fixdfti.c: Likewise.
38992         * soft-fp/fixsfdi.c: Likewise.
38993         * soft-fp/fixsfsi.c: Likewise.
38994         * soft-fp/fixsfti.c: Likewise.
38995         * soft-fp/fixtfdi.c: Likewise.
38996         * soft-fp/fixtfsi.c: Likewise.
38997         * soft-fp/fixtfti.c: Likewise.
38998         * soft-fp/fixunsdfdi.c: Likewise.
38999         * soft-fp/fixunsdfsi.c: Likewise.
39000         * soft-fp/fixunsdfti.c: Likewise.
39001         * soft-fp/fixunssfdi.c: Likewise.
39002         * soft-fp/fixunssfsi.c: Likewise.
39003         * soft-fp/fixunssfti.c: Likewise.
39004         * soft-fp/fixunstfdi.c: Likewise.
39005         * soft-fp/fixunstfsi.c: Likewise.
39006         * soft-fp/fixunstfti.c: Likewise.
39007         * soft-fp/floatdidf.c: Likewise.
39008         * soft-fp/floatdisf.c: Likewise.
39009         * soft-fp/floatditf.c: Likewise.
39010         * soft-fp/floatsidf.c: Likewise.
39011         * soft-fp/floatsisf.c: Likewise.
39012         * soft-fp/floatsitf.c: Likewise.
39013         * soft-fp/floattidf.c: Likewise.
39014         * soft-fp/floattisf.c: Likewise.
39015         * soft-fp/floattitf.c: Likewise.
39016         * soft-fp/floatundidf.c: Likewise.
39017         * soft-fp/floatundisf.c: Likewise.
39018         * soft-fp/floatunsidf.c: Likewise.
39019         * soft-fp/floatunsisf.c: Likewise.
39020         * soft-fp/floatuntidf.c: Likewise.
39021         * soft-fp/floatuntisf.c: Likewise.
39022         * soft-fp/floatuntitf.c: Likewise.
39023         * soft-fp/fmadf4.c: Likewise.
39024         * soft-fp/fmasf4.c: Likewise.
39025         * soft-fp/fmatf4.c: Likewise.
39026         * soft-fp/gedf2.c: Likewise.
39027         * soft-fp/gesf2.c: Likewise.
39028         * soft-fp/getf2.c: Likewise.
39029         * soft-fp/ledf2.c: Likewise.
39030         * soft-fp/lesf2.c: Likewise.
39031         * soft-fp/letf2.c: Likewise.
39032         * soft-fp/muldf3.c: Likewise.
39033         * soft-fp/mulsf3.c: Likewise.
39034         * soft-fp/multf3.c: Likewise.
39035         * soft-fp/negdf2.c: Likewise.
39036         * soft-fp/negsf2.c: Likewise.
39037         * soft-fp/negtf2.c: Likewise.
39038         * soft-fp/op-1.h: Likewise.
39039         * soft-fp/op-2.h: Likewise.
39040         * soft-fp/op-4.h: Likewise.
39041         * soft-fp/op-8.h: Likewise.
39042         * soft-fp/op-common.h: Likewise.
39043         * soft-fp/quad.h: Likewise.
39044         * soft-fp/single.h: Likewise.
39045         * soft-fp/soft-fp.h: Likewise.
39046         * soft-fp/sqrtdf2.c: Likewise.
39047         * soft-fp/sqrtsf2.c: Likewise.
39048         * soft-fp/sqrttf2.c: Likewise.
39049         * soft-fp/subdf3.c: Likewise.
39050         * soft-fp/subsf3.c: Likewise.
39051         * soft-fp/subtf3.c: Likewise.
39052         * soft-fp/truncdfsf2.c: Likewise.
39053         * soft-fp/trunctfdf2.c: Likewise.
39054         * soft-fp/trunctfsf2.c: Likewise.
39055         * soft-fp/trunctfxf2.c: Likewise.
39056         * soft-fp/unorddf2.c: Likewise.
39057         * soft-fp/unordsf2.c: Likewise.
39058         * soft-fp/unordtf2.c: Likewise.
39060 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
39062         [BZ #15672]
39063         * misc/error.c (error_tail): Fix possible buffer overflow.
39065 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
39067         [BZ #13028]
39068         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
39069         address.
39071 2013-10-14  P. J. McDermott  <pj@pehjota.net>
39073         [BZ #832]
39074         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
39075         testing pipefail option.
39077 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
39079         * soft-fp/double.h: Indent preprocessor directives inside #if.
39080         * soft-fp/extended.h: Likewise.
39081         * soft-fp/op-2.h: Likewise.
39082         * soft-fp/op-4.h: Likewise.
39083         * soft-fp/op-common.h: Likewise.
39084         * soft-fp/quad.h: Likewise.
39085         * soft-fp/single.h: Likewise.
39086         * soft-fp/soft-fp.h: Likewise.
39088 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
39090         * iconv/iconv_prog.c: Fix typos.
39091         * stdio-common/psiginfo-data.h: Likewise.
39093 2013-10-12   Reuben Thomas <rrt@sc3d.org>
39095         [BZ #15764]
39096         * locale/setlocale.c: Fix typo.
39098 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
39100         [BZ #16036]
39101         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
39102         signaling NaN arguments.
39103         * soft-fp/unordsf2.c (__unordsf2): Likewise.
39104         * soft-fp/unordtf2.c (__unordtf2): Likewise.
39106         [BZ #14910]
39107         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
39108         unordered operands.
39109         * soft-fp/gesf2.c (__gesf2): Likewise.
39110         * soft-fp/getf2.c (__getf2): Likewise.
39111         * soft-fp/ledf2.c (__ledf2): Likewise.
39112         * soft-fp/lesf2.c (__lesf2): Likewise.
39113         * soft-fp/letf2.c (__letf2): Likewise.
39115         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
39116         * soft-fp/eqsf2.c (__eqsf2): Likewise.
39117         * soft-fp/eqtf2.c (__eqtf2): Likewise.
39118         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
39119         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
39120         * soft-fp/fixdfti.c (__fixdfti): Likewise.
39121         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
39122         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
39123         * soft-fp/fixsfti.c (__fixsfti): Likewise.
39124         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
39125         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
39126         * soft-fp/fixtfti.c (__fixtfti): Likewise.
39127         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
39128         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
39129         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
39130         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
39131         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
39132         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
39133         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
39134         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
39135         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
39136         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
39137         * soft-fp/floatdisf.c (__floatdisf): Likewise.
39138         * soft-fp/floatsisf.c (__floatsisf): Likewise.
39139         * soft-fp/floattidf.c (__floattidf): Likewise.
39140         * soft-fp/floattisf.c (__floattisf): Likewise.
39141         * soft-fp/floattitf.c (__floattitf): Likewise.
39142         * soft-fp/floatundidf.c (__floatundidf): Likewise.
39143         * soft-fp/floatundisf.c (__floatundisf): Likewise.
39144         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
39145         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
39146         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
39147         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
39148         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
39149         * soft-fp/gesf2.c (__gesf2): Likewise.
39150         * soft-fp/getf2.c (__getf2): Likewise.
39151         * soft-fp/ledf2.c (__ledf2): Likewise.
39152         * soft-fp/lesf2.c (__lesf2): Likewise.
39153         * soft-fp/letf2.c (__letf2): Likewise.
39155         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
39156         Undefine and redefine.
39157         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
39158         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
39159         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
39160         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
39161         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39162         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
39163         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39164         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
39165         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39166         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
39167         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39168         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
39169         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39170         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
39171         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
39173         [BZ #16032]
39174         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
39175         without decrementing exponent if mantissa >= that for the
39176         denominator, not >.
39177         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
39178         denominator, not >.  Decrement exponent in < case instead of
39179         incrementing in >= case.
39180         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
39181         without decrementing exponent if mantissa >= that for the
39182         denominator, not >.
39184         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
39185         computing saturated result for unsigned overflow.
39187 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
39188             Jeff Law  <law@redhat.com>
39190         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
39191         (atan2Mp): Add systemtap probe marker.
39192         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
39193         (__ieee754_log): Add systemtap probe marker.
39194         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
39195         (atanMp): Add systemtap probe marker.
39196         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
39197         (tanMp): Add systemtap probe marker.
39198         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
39199         (__slowexp): Add systemtap probe marker.
39200         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
39201         (__slowpow): Add systemtap probe marker.
39202         * manual/probes.texi: Document probes.
39204 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
39206         [BZ #15362]
39207         * libio/fileops.c (_IO_new_file_write): Return count of bytes
39208         written.
39209         (_IO_new_file_xsputn): Don't return EOF if nothing has been
39210         written.
39211         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
39212         written to buffer but not flushed.
39213         * libio/iofwrite_u.c:  Likewise.
39214         * libio/iopadn.c:  Return bytes returned even if EOF was
39215         encountered.
39216         * libio/iowpadn.c:  Likewise.
39217         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
39218         if _IO_padn does not write the whole buffer.
39219         [!COMPILE_WPRINTF] (PAD): Likewise.
39221 2013-10-10  David S. Miller  <davem@davemloft.net>
39223         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
39224         directory block.
39226 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
39228         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
39229         instead of FSF address.
39230         * soft-fp/fixdfti.c: Likewise.
39231         * soft-fp/fixsfti.c: Likewise.
39232         * soft-fp/fixtfti.c: Likewise.
39233         * soft-fp/fixunsdfti.c: Likewise.
39234         * soft-fp/fixunssfti.c: Likewise.
39235         * soft-fp/fixunstfti.c: Likewise.
39236         * soft-fp/floattidf.c: Likewise.
39237         * soft-fp/floattisf.c: Likewise.
39238         * soft-fp/floattitf.c: Likewise.
39239         * soft-fp/floatuntidf.c: Likewise.
39240         * soft-fp/floatuntisf.c: Likewise.
39241         * soft-fp/floatuntitf.c: Likewise.
39242         * soft-fp/trunctfxf2.c: Likewise.
39244         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
39245         * soft-fp/fixdfti.c: Likewise.
39246         * soft-fp/fixsfti.c: Likewise.
39247         * soft-fp/fixtfti.c: Likewise.
39248         * soft-fp/fixunsdfti.c: Likewise.
39249         * soft-fp/fixunssfti.c: Likewise.
39250         * soft-fp/fixunstfti.c: Likewise.
39251         * soft-fp/floattidf.c: Likewise.
39252         * soft-fp/floattisf.c: Likewise.
39253         * soft-fp/floattitf.c: Likewise.
39254         * soft-fp/floatuntidf.c: Likewise.
39255         * soft-fp/floatuntisf.c: Likewise.
39256         * soft-fp/floatuntitf.c: Likewise.
39257         * soft-fp/trunctfxf2.c: Likewise.
39259 2013-10-10  David S. Miller  <davem@davemloft.net>
39261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39263 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
39265         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
39266         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
39267         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
39268         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
39269         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
39270         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
39271         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
39273         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
39274         for NaNs before doing comparisons on argument.
39275         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
39276         Likewise.
39278 2013-10-10  Will Newton  <will.newton@linaro.org>
39280         * malloc/hooks.c (memalign_check): Ensure the value of bytes
39281         passed to _int_memalign does not overflow.
39283 2013-10-10  Torvald Riegel  <triegel@redhat.com>
39285         * scripts/bench.pl: Add include-sources directive.
39286         * benchtests/README: Update documentation.
39288 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
39290         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
39291         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
39292         instead of FP_INIT_ROUNDMODE.
39293         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
39294         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
39296         [BZ #16034]
39297         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
39298         copy class of input value.
39299         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
39300         not handle exceptions.
39301         * soft-fp/negsf2.c (__negsf2): Likewise.
39302         * soft-fp/negtf2.c (__negtf2): Likewise.
39303         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
39305 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
39307         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
39308         semicolon.  From Linux kernel.
39310 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
39312         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
39314 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
39316         [BZ #156]
39317         * manual/socket.texi: Added statement about buffer
39318         for gethostbyname2_r.
39320 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
39322         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
39323         Use .p2align directive instead, throughout.
39324         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
39325         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
39326         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
39327         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39328         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39329         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
39330         * sysdeps/x86_64/strchr.S: Likewise.
39331         * sysdeps/x86_64/strrchr.S: Likewise.
39333 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
39335         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
39337         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
39339         * sysdeps/generic/math_private.h (__mpsin1): Remove
39340         declaration.
39341         (__mpcos1): Likewise.
39342         (__mpsin): New argument __range_reduce.
39343         (__mpcos): Likewise.
39344         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39345         (slow): Use __mpsin and __mpcos.
39346         (slow1): Likewise.
39347         (slow2): Likewise.
39348         (sloww): Likewise.
39349         (sloww1): Likewise.
39350         (sloww2): Likewise.
39351         (bsloww): Likewise.
39352         (bsloww1): Likewise.
39353         (bsloww2): Likewise.
39354         (cslow2): Likewise.
39355         (csloww): Likewise.
39356         (csloww1): Likewise.
39357         (csloww2): Likewise.
39358         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
39359         range_reduce.  Merge in __mpsin1.
39360         (__mpcos): Likewise.
39361         (__mpsin1): Remove.
39362         (__mpcos1): Likewise.
39364 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
39366         * locale/loadlocale.c (_nl_intern_locale_data): Use
39367         LOCFILE_ALIGNED_P.
39368         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
39369         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
39370         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
39371         obstack data is appropriately aligned.
39372         (obstack_int32_grow_fast): Likewise.
39373         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
39374         * locale/programs/locfile.c (add_locale_uint32): Likewise.
39375         (add_locale_uint32_array): Likewise.
39377 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
39379         * benchtests/Makefile: Remove ARGLIST and RET variables.
39380         ($(objpfx)bench-%.c): Pass only function name to the script.
39381         * benchtests/README: Update documentation.
39382         * benchtests/acos-inputs: Add new directives.
39383         * benchtests/acosh-inputs: Likewise.
39384         * benchtests/asin-inputs: Likewise.
39385         * benchtests/asinh-inputs: Likewise.
39386         * benchtests/atan-inputs: Likewise.
39387         * benchtests/atanh-inputs: Likewise.
39388         * benchtests/cos-inputs: Likewise.
39389         * benchtests/cosh-inputs: Likewise.
39390         * benchtests/exp-inputs: Likewise.
39391         * benchtests/log-inputs: Likewise.
39392         * benchtests/pow-inputs: Likewise.
39393         * benchtests/rint-inputs: Likewise.
39394         * benchtests/sin-inputs: Likewise.
39395         * benchtests/sinh-inputs: Likewise.
39396         * benchtests/tan-inputs: Likewise.
39397         * benchtests/tanh-inputs: Likewise.
39398         * scripts/bench.pl: Add support for new directives.
39400 2013-10-07  Alan Modra  <amodra@gmail.com>
39402         * README: Fix careless merge.
39404 2013-10-05  Alan Modra  <amodra@gmail.com>
39406         * NEWS: Mention powerpc64le support and bugs fixed.
39407         * README: Both big-endian and little-endian powerpc64 supported.
39409 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39411         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
39412         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
39413         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
39414         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
39416 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
39418         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
39419         match prototype.
39421 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
39423         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
39424         Move -mhard-float appending from
39425         ports/sysdeps/powerpc/powerpc32/Makefile.
39426         [$(with-fp) = yes] (ASFLAGS): Likewise.
39427         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
39428         * sysdeps/powerpc/nofpu: Move directory from
39429         ports/sysdeps/powerpc/nofpu.
39430         * sysdeps/powerpc/soft-fp: Move directory from
39431         ports/sysdeps/powerpc/soft-fp.
39432         * sysdeps/powerpc/powerpc32/405: Move directory from
39433         ports/sysdeps/powerpc/powerpc32/405.
39434         * sysdeps/powerpc/powerpc32/440: Move directory from
39435         ports/sysdeps/powerpc/powerpc32/440.
39436         * sysdeps/powerpc/powerpc32/464: Move directory from
39437         ports/sysdeps/powerpc/powerpc32/464.
39438         * sysdeps/powerpc/powerpc32/476: Move directory from
39439         ports/sysdeps/powerpc/powerpc32/476.
39440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
39441         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
39442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
39443         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
39444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
39445         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
39446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
39447         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
39448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
39449         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
39450         * README: Update for powerpc-*-linux-gnu software floating point
39451         support in libc.
39453         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
39454         case to powerpc/powerpc32*.
39455         * sysdeps/unix/sysv/linux/configure: Regenerated.
39457         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
39458         (_FPU_MASK_OM): Define as 0x04.
39459         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
39460         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
39461         0x00c10080.
39462         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
39463         0x0000003c.
39464         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
39466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
39467         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39468         getcontext_e500.
39469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
39470         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
39471         setcontext_e500.
39472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
39473         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
39474         and setcontext_e500.
39476 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
39478         * locale/iso-3166.def: Update iso-1366.def and related occurrences
39480 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39482         * manual/threads.texi (Default Thread Attributes): Fix typo.
39484 2013-10-04  Will Newton  <will.newton@linaro.org>
39486         * malloc/Makefile: Add tst-memalign.
39487         * malloc/tst-memalign.c: New file.
39489         * malloc/tst-posix_memalign.c: Add comments.
39490         (do_test): Add comments and call free on all potentially
39491         allocated pointers. Add space after cast.
39493         * malloc/tst-pvalloc.c: Add comments.
39494         (do_test): Add comments and call free on all potentially
39495         allocated pointers. Remove duplicate check for NULL pointer.
39496         Add space after cast.
39498         * malloc/tst-valloc.c: Add comments.
39499         (do_test): Add comments and call free on all potentially
39500         allocated pointers. Remove duplicate check for NULL pointer.
39501         Add space after cast.
39503 2013-10-04  Alan Modra  <amodra@gmail.com>
39505         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39506         Use stdint types in rather than __attribute__((mode())).
39507         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39509 2013-10-04  Alan Modra  <amodra@gmail.com>
39511         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39512         Correct handling of unaligned relocs for little-endian.
39513         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39515 2013-10-04  Alan Modra  <amodra@gmail.com>
39517         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
39518         * configure: Regenerate.
39519         * nptl/shlib-versions: Powerpc*le starts at 2.18.
39520         * shlib-versions: Likewise.
39522 2013-10-04  Alan Modra  <amodra@gmail.com>
39524         * string/tester.c (test_memrchr): Increment reported test cycle.
39526 2013-10-04  Alan Modra  <amodra@gmail.com>
39528         * string/test-memcpy.c (do_one_test): When reporting errors, print
39529         string address and don't overrun end of string.
39531 2013-10-04  Alan Modra  <amodra@gmail.com>
39533         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
39534         insrdi.  Make better use of reg selection to speed exit slightly.
39535         Schedule entry path a little better.  Remove useless "are we done"
39536         checks on entry to main loop.  Handle wrapping around zero address.
39537         Correct main loop count.  Handle single left-over word from main
39538         loop inline rather than by using loop_small.  Remove extra word
39539         case in loop_small caused by wrong loop count.  Add little-endian
39540         support.
39541         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
39542         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
39543         cache hint.
39544         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
39545         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
39546         support.  Avoid rlwimi.
39547         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
39549 2013-10-04  Alan Modra  <amodra@gmail.com>
39551         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
39552         insrdi.  Formatting.
39553         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
39554         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
39555         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
39556         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
39557         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
39558         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
39560 2013-10-04  Alan Modra  <amodra@gmail.com>
39562         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
39563         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
39564         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
39565         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
39566         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
39567         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
39568         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
39569         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39570         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
39571         use of regs.  Use power7 mtocrf.  Tidy function tails.
39573 2013-10-04  Alan Modra  <amodra@gmail.com>
39575         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
39576         Formatting.  Consistently use rXXX register defines or rN defines.
39577         Use early exit labels that avoid restoring unused non-volatile regs.
39578         Make cr field use more consistent with rWORDn compares.  Rename
39579         regs used as shift registers for unaligned loop, using rN defines
39580         for short lifetime/multiple use regs.
39581         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
39582         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
39583         addi 1,1,64 to pop stack frame.  Simplify return value code.
39584         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
39586 2013-10-04  Alan Modra  <amodra@gmail.com>
39588         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
39589         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
39590         rather than rlwimi.
39591         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
39592         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
39593         little-endian support.  Correct typos.
39594         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
39595         rather than rlwimi.
39596         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
39597         in loop and entry code to keep "and." results.
39598         (strchr): Add little-endian support.  Comment.  Move cntlzd
39599         earlier in tail.
39600         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
39602 2013-10-04  Alan Modra  <amodra@gmail.com>
39604         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
39605         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
39606         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
39607         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
39609 2013-10-04  Alan Modra  <amodra@gmail.com>
39611         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
39612         (rTMP): Define as r11.
39613         (strcmp): Add little-endian support.  Optimise tail.
39614         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
39615         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
39616         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
39617         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39618         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
39619         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39620         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39622 2013-10-04  Alan Modra  <amodra@gmail.com>
39624         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
39625         little-endian support.  Remove unnecessary "are we done" tests.
39626         Handle "s" wrapping around zero and extremely large "size".
39627         Correct main loop count.  Handle single left-over word from main
39628         loop inline rather than by using small_loop.  Correct comments.
39629         Delete "zero" tail, use "end_max" instead.
39630         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
39632 2013-10-04  Alan Modra  <amodra@gmail.com>
39634         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
39635         support.  Don't branch over align.
39636         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
39637         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
39638         support.  Rearrange tmp reg use to suit.  Comment.
39639         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
39641 2013-10-04  Alan Modra  <amodra@gmail.com>
39643         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
39645 2013-10-04  Alan Modra  <amodra@gmail.com>
39647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
39648         conditional form of branch and link when obtaining pc.
39649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
39651 2013-10-04  Alan Modra  <amodra@gmail.com>
39653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
39654         HIWORD/LOWORD.
39655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
39656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
39658 2013-10-04  Alan Modra  <amodra@gmail.com>
39660         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
39661         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
39662         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
39663         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
39664         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39665         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
39666         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
39667         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39668         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
39669         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
39671 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39672             Alistair Popple <alistair@ozlabs.au.ibm.com>
39673             Alan Modra <amodra@gmail.com>
39675         [BZ #15723]
39676         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
39677         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
39678         _dl_hwcap access for little-endian.
39679         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
39680         destroy vmx regs when saving unaligned.
39681         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
39682         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
39683         destroy vmx regs when saving unaligned.
39685 2013-10-04  Alan Modra  <amodra@gmail.com>
39687         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
39688         Don't use a union to pack hi/low value.
39690 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39692         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
39693         for little-endian.
39694         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
39695         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
39696         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39697         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
39698         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
39700 2013-10-04  Alan Modra  <amodra@gmail.com>
39702         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
39703         constants to usual value for .cst8 section, and remove redundant
39704         high address load.
39705         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
39706         constant for 0x1p52.  Load little-endian words of double from
39707         correct stack offsets.
39709 2013-10-04  Alan Modra  <amodra@gmail.com>
39711         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
39712         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
39713         words of double from correct stack offsets.
39714         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
39715         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
39716         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
39717         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
39718         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
39719         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
39720         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
39721         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
39722         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
39723         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
39724         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
39725         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
39726         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
39727         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
39728         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
39729         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
39730         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
39732 2013-10-04  Alan Modra  <amodra@gmail.com>
39734         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
39735         64-bit int/double union.
39736         (_FPU_SETCW): Likewise.
39737         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
39738         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
39740 2013-10-04  Alan Modra  <amodra@gmail.com>
39742         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
39743         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
39745 2013-10-04  Alan Modra  <amodra@gmail.com>
39747         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
39748         use vector int constants.
39749         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
39751 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39753         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
39754         array with long long.
39755         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
39756         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
39757         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
39758         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
39759         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
39760         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
39761         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
39762         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
39763         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
39764         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
39765         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
39766         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
39767         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
39769 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
39771         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
39772         (__signbit): Likewise.  Correct for little-endian.
39773         (__signbitl): Call __signbit.
39774         (lrint): Correct for little-endian.
39775         (lrintf): Call lrint.
39777 2013-10-04  Alan Modra  <amodra@gmail.com>
39779         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
39780         union 32-bit int array member with 64-bit int array.
39781         (t515, tm256): Double rather than long double.
39782         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
39784 2013-10-04  Alan Modra  <amodra@gmail.com>
39786         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
39787         Delete.
39788         (IEEE854_LONG_DOUBLE_BIAS): Delete.
39789         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
39790         version of math_ldbl.h.
39792 2013-10-04  Alan Modra  <amodra@gmail.com>
39794         [BZ #15734], [BZ #15735]
39795         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
39796         all uses of ieee875 long double macros and unions.  Simplify test
39797         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
39798         ldbl_extract_mantissa value for ix,iy exponents.  Properly
39799         normalize after ldbl_extract_mantissa, and don't add hidden bit
39800         already handled.  Don't treat low word of ieee854 mantissa like
39801         low word of IBM long double and mask off bit when testing for
39802         zero.
39803         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
39804         all uses of ieee875 long double macros and unions.  Simplify tests
39805         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
39806         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
39807         two1022, instead use their values.  Recognise that tests for large
39808         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
39809         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
39810         Rewrite all uses of ieee875 long double macros and unions.  Simplify
39811         test for 0.0L and nan.  Correct negation.
39812         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
39813         ieee875 long double macros and unions.  Correct output for large
39814         magnitude x.  Correct absolute value calculation.
39815         (__erfcl): Likewise.
39816         * math/libm-test.inc: Add tests for errors discovered in IBM long
39817         double versions of fmodl, remainderl, erfl and erfcl.
39819 2013-10-04  Alan Modra  <amodra@gmail.com>
39821         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
39822         all uses of ieee854 long double macros and unions.  Simplify tests
39823         for long doubles that are fully specified by the high double.
39824         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
39825         Likewise.
39826         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
39827         Remove dead code too.
39828         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
39829         (__ieee754_ynl): Likewise.
39830         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
39831         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
39832         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
39833         Remove dead code too.
39834         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
39835         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
39836         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
39837         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
39838         Simplify.
39839         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
39840         Simplify.
39841         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
39842         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
39843         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
39844         Comment on variable precision.
39845         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
39846         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
39847         Likewise.
39848         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39849         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39850         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39851         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
39852         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
39854 2013-10-04  Alan Modra  <amodra@gmail.com>
39856         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
39857         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
39858         all uses of ieee854 long double macros and unions.
39859         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
39860         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
39861         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
39862         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
39863         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
39864         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
39865         Likewise.
39866         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
39867         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39868         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
39869         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39870         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
39871         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
39872         Simplify sign and nan test too.
39873         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
39874         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
39875         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
39876         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
39877         Likewise.
39878         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
39879         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
39880         Likewise.
39881         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39882         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
39883         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
39884         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
39885         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
39886         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
39888 2013-10-04  Alan Modra  <amodra@gmail.com>
39890         * stdio-common/printf_size.c (__printf_size): Don't use
39891         union ieee854_long_double in fpnum union.
39892         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
39893         signbit macro to retrieve sign from long double.
39894         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
39895         retrieve sign from long double.
39896         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
39897         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
39898         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
39899         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
39900         * math/test-misc.c (main): Don't use union ieee854_long_double.
39902 2013-10-04  Alan Modra  <amodra@gmail.com>
39904         [BZ #15680]
39905         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
39906         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
39907         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
39908         calculation.  Remove unnecessary test for denormal exponent.
39909         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
39910         Correct handling of denormals.  Avoid undefined shift behaviour.
39911         Correct normalisation of low mantissa when low double is denormal.
39912         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
39913         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
39914         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
39915         Correct normalisation of low mantissa.  Test for overflow of high
39916         mantissa and normalise.
39917         (ldbl_nearbyint): Use more readable constant for two52.
39918         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
39919         (__mpn_construct_long_double): Fix test for overflow of high
39920         mantissa and correct normalisation.  Avoid undefined shift.
39922 2013-10-04  Alan Modra  <amodra@gmail.com>
39924         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
39925         (union ibm_extended_long_double): Define as an array of ieee754_double.
39926         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
39927         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
39928         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
39929         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
39930         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39931         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
39932         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
39933         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
39934         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39935         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
39936         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
39938 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
39940         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
39941         page size instead of calling getpagesize.
39943         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
39944         (LOCFILE_ALIGN_MASK): Likewise.
39945         (LOCFILE_ALIGN_UP): Likewise.
39946         (LOCFILE_ALIGNED_P): Likewise.
39947         * locale/programs/ld-collate.c (collate_output): Use the new
39948         macros instead of __alignof__ (int32_t).
39949         * locale/weight.h (findidx): Likewise.
39951 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
39953         [BZ #431]
39954         * manual/string.texi: Fix strncat and wcsncat.
39956 2013-10-03  Brooks Moses  <bmoses@google.com>
39958         [BZ #15915]
39959         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
39960         * Makerules: ...here, and adjust associated comments.
39962 2013-10-02  Will Newton  <will.newton@linaro.org>
39964         * malloc/Makefile: Add tst-pvalloc.
39965         * malloc/tst-pvalloc.c: New file.
39967 2013-10-02  Will Newton  <will.newton@linaro.org>
39969         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
39970         improve test coverage.
39972 2013-10-02  Will Newton  <will.newton@linaro.org>
39974         * malloc/Makefile: Add tst-posix_memalign.
39975         * malloc/tst-posix_memalign.c: New file.
39977 2013-10-01  Eric Blake  <eblake@redhat.com>
39979         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
39980         Use __THROWNL rather than __THROW on static functions.
39982 2013-09-30  Petr Machata  <pmachata@redhat.com>
39984         * elf/elf.h (R_AARCH64_ABS16): New macro.
39985         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
39986         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
39987         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
39988         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
39989         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
39990         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
39991         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
39992         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
39993         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
39994         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
39995         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
39996         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
39997         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
39998         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
39999         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
40000         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
40001         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
40002         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
40003         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
40004         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
40005         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
40006         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
40007         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
40008         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
40009         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
40010         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
40011         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
40012         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
40013         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
40014         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
40015         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
40016         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
40017         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
40018         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
40019         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
40020         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
40021         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
40022         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
40023         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
40024         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
40025         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
40026         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
40027         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
40028         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
40029         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
40030         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
40031         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
40032         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
40033         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
40034         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
40035         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
40036         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
40037         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
40038         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
40039         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
40040         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
40041         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
40042         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
40043         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
40044         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
40045         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
40046         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
40047         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
40048         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
40049         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
40050         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
40051         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
40052         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
40053         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
40054         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
40055         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
40056         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
40057         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
40058         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
40059         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
40060         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
40061         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
40062         (R_AARCH64_TLSDESC_LDR): Likewise.
40063         (R_AARCH64_TLSDESC_ADD): Likewise.
40064         (R_AARCH64_TLSDESC_CALL): Likewise.
40066 2013-09-30  Andreas Schwab  <schwab@suse.de>
40068         [BZ #15048]
40069         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
40070         the nss database lookup.
40071         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40072         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40074 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
40076         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
40078 2013-09-28  P. J. McDermott  <pj@pehjota.net>
40080         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
40081         ${Bash-specific parameter/pattern/string} parameter expansion.
40082         * sysdeps/unix/make-syscalls.sh: Likewise.
40084 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40086         * sysdeps/sh/stackguard-macros.h: New file.
40088 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
40090         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
40091         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
40092         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
40093         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
40094         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40095         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
40097 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40099         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
40100         Fix thread ID register.
40102 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
40104         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
40105         [POSIX || UNIX98]: Require rather than permitting all symbols from
40106         <time.h>.
40107         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
40108         element of struct sched_param.
40109         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
40110         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
40111         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
40112         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
40113         constant.
40115 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
40117         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
40118         argument calculation.
40120 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
40122         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
40123         Expect macro.
40124         [POSIX] (pthread_attr_t): Do not require type.
40125         [POSIX] (pthread_cond_t): Likewise.
40126         [POSIX] (pthread_condattr_t): Likewise.
40127         [POSIX] (pthread_key_t): Likewise.
40128         [POSIX] (pthread_mutex_t): Likewise.
40129         [POSIX] (pthread_mutexattr_t): Likewise.
40130         [POSIX] (pthread_once_t): Likewise.
40131         [POSIX] (pthread_t): Likewise.
40132         [POSIX-based standards] (pthread_atfork): Expect function.
40134 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
40135             Richard Sandiford  <richard@codesourcery.com>
40137         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
40138         (swap_endianness_p): New extern variable.
40139         (set_big_endian): New inline function.
40140         (maybe_swap_uint32): Likewise.
40141         (maybe_swap_uint32_array): Likewise.
40142         (maybe_swap_uint32_obstack): Likewise.
40143         * locale/programs/locfile.c: Include <stdbool.h>.
40144         (swap_endianness_p): New variable.
40145         (add_locale_uint32): Call maybe_swap_uint32.
40146         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
40147         (write_locale_data): Call maybe_swap_uint32_array.
40148         * locale/programs/ld-collate.c (obstack_int32_grow): Call
40149         maybe_swap_uint32.
40150         (obstack_int32_grow_fast): Likewise.
40151         (output_weightwc): Call maybe_swap_uint32_obstack.
40152         (collate_output): Likewise.
40153         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
40154         (OPT_LITTLE_ENDIAN): Likewise.
40155         (options): Add --little-endian and --big-endian options.
40156         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
40157         * locale/programs/locarchive.c: Include "locfile.h".
40158         (GET): New macro.
40159         (SET): Likewise.
40160         (INC): Likewise.
40161         (create_archive): Use the new macros to access fields of
40162         structures directly mapped from or written to locale archives.
40163         (oldlocrecentcmp): Likewise.
40164         (enlarge_archive): Likewise.
40165         (insert_name): Likewise.
40166         (add_alias): Likewise.
40167         (add_locale): Likewise.
40168         (delete_locales_from_archive): Likewise.
40169         (show_archive_content): Likewise.
40170         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
40171         locale data.
40173 2013-09-24  Roland McGrath  <roland@hack.frob.com>
40175         * manual/freemanuals.texi: Updated from (newly) canonical copy at
40176         http://www.gnu.org/doc/freemanuals.texi.
40177         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
40179 2013-09-24  Will Newton  <will.newton@linaro.org>
40181         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
40182         macro.
40184 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
40186         * locale/hashval.h (compute_hashval): Interpret bytes of key as
40187         unsigned char.
40189 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
40191         * manual/threads.texi (POSIX Threads): Fix a typo.
40193 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
40195         [BZ #14547]
40196         * string/tst-strcoll-overflow.c: New test case.
40197         * string/Makefile (xtests): Add tst-strcoll-overflow.
40198         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
40199         cache if string sizes may cause integer overflow.
40201         [BZ #14547]
40202         * string/strcoll_l.c (coll_seq): New members rule, idx,
40203         save_idx and back_us.
40204         (get_next_seq_nocache): New function.
40205         (do_compare_nocache): New function.
40206         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
40207         when malloc fails.
40209 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
40211         [BZ #15754]
40212         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
40213         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
40214         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
40216         [BZ #15754]
40217         * elf/Makefile (tests): Add tst-ptrguard1.
40218         (tests-static): Add tst-ptrguard1-static.
40219         (tst-ptrguard1-ARGS): Define.
40220         (tst-ptrguard1-static-ARGS): Define.
40221         * elf/tst-ptrguard1.c: New file.
40222         * elf/tst-ptrguard1-static.c: New file.
40223         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
40224         * sysdeps/i386/stackguard-macros.h: Likewise.
40225         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40226         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40227         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40228         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40229         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40230         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40232 2013-09-23  Hector Marco  <hecmargi@upv.es>
40233             Ismael Ripoll  <iripoll@disca.upv.es>
40234             Carlos O'Donell  <carlos@redhat.com>
40236         [BZ #15754]
40237         * sysdeps/generic/stackguard-macros.h: Define
40238         __pointer_chk_guard_local and POINTER_CHK_GUARD.
40239         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
40240         Define __pointer_chk_guard_local.
40241         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
40242         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
40244 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
40246         [BZ #15859]
40247         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
40249 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
40251         * include/string.h (__ffs): Declare as hidden.
40252         * string/ffs.c (__ffs): Define as hidden.
40253         * sysdeps/i386/ffs.c (__ffs): Likewise.
40254         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
40255         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
40256         * sysdeps/s390/ffs.c (__ffs): Likewise.
40257         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
40259 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
40261         * NEWS: Mention malloc probes.
40263         * malloc/arena.c (new_heap): New memory_heap_new probe.
40264         (grow_heap): New memory_heap_more probe.
40265         (shrink_heap): New memory_heap_less probe.
40266         (heap_trim): New memory_heap_free probe.
40267         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
40268         (systrim): New memory_sbrk_less probe.
40269         * manual/probes.texi: Document them.
40271         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
40272         * manual/probes.texi: Document it.
40274         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
40275         (__libc_realloc): Add memory_realloc_retry probe.
40276         (__libc_memalign): Add memory_memalign_retry probe.
40277         (__libc_valloc): Add memory_valloc_retry probe.
40278         (__libc_pvalloc): Add memory_pvalloc_retry probe.
40279         (__libc_calloc): Add memory_calloc_retry probe.
40280         * manual/probes.texi: Document them.
40282         * malloc/arena.c (get_free_list): Add probe
40283         memory_arena_reuse_free_list.
40284         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
40285         and memory_arena_reuse.
40286         (arena_get2) [!PER_THREAD]: Likewise.
40287         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
40288         memory_arena_reuse_realloc.
40289         * manual/probes.texi: Document them.
40291         * malloc/malloc.c (__libc_free): Add
40292         memory_mallopt_free_dyn_thresholds probe.
40293         (__libc_mallopt): Add multiple memory_mallopt probes.
40294         * manual/probes.texi: Document them.
40296         * malloc/malloc.c: Include stap-probe.h.
40297         (__libc_mallopt): Add memory_mallopt probe.
40298         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
40299         * manual/probes.texi: New.
40300         * manual/Makefile (chapters): Add probes.
40301         * manual/threads.texi: Set next node.
40303 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
40305         [BZ #15963, #13985]
40306         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
40307         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
40308         Add `Chinese' to `nan' entry name.
40310 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40312         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
40313         (POLYNOMIAL): Likewise.
40314         (TAYLOR_SINCOS): Likewise.
40315         (TAYLOR_SLOW): Likewise.
40316         (__sin): Use TAYLOR_SINCOS.
40317         (__cos): Likewise.
40318         (slow): Use TAYLOR_SLOW.
40319         (sloww): Likewise.
40320         (bsloww): Likewise.
40321         (csloww): Likewise.
40323 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40325         * stdlib/strtod_l.c: Fix buffer overrun.
40327 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40329         * benchtests/Makefile (bench): Add sincos.
40330         * benchtests/bench-sincos.c: New file.
40332         * math/libm-test.inc (cos_test_data): New test inputs.
40333         (sin_test_data): Likewise.
40335         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
40336         macro.
40337         (__sin): Use it.
40338         (__cos): Likewise.
40339         (slow1): Likewise.
40340         (slow2): Likewise.
40341         (sloww1): Likewise.
40342         (sloww2): Likewise.
40343         (bsloww1): Likewise.
40344         (bsloww2): Likewise.
40345         (cslow2): Likewise.
40346         (csloww1): Likewise.
40347         (csloww2): Likewise.
40349         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
40350         function.
40351         (__sin): Use it.
40352         (__cos): Likewise.
40354         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
40355         gotos.
40356         (__cos): Likewise.
40358 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
40360         * config.h.in (HAVE_MIPS_NAN2008): New macro.
40361         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
40362         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
40363         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
40364         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
40365         * elf/cache.c (print_entry): Handle the new cache flags.
40367 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
40368             Aldy Hernandez  <aldyh@redhat.com>
40370         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
40371         Change condition to [_SOFT_FLOAT].
40372         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
40373         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
40374         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
40375         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
40376         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
40377         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
40378         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
40379         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
40380         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
40381         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
40382         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
40383         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
40384         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
40385         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
40386         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
40387         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
40388         declaration.
40390 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
40392         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
40393         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40394         (__longjmp): Use LOAD_GP to load saved GPRs.
40395         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
40396         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
40397         (__sigsetjmp): Use SAVE_GP to save GPRs.
40399         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
40400         Do not append -msoft-float.
40401         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
40403 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40405         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
40407 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
40409         [BZ #15966]
40410         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
40411         (_FPU_GETCW): Use initial "__" on variable and field names but not
40412         on macro parameter name.
40413         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
40414         parentheses around reference to macro parameter.
40416 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
40418         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
40419         prototype.
40420         (ctype_startup): Use uint32_t in cast and sizeof for
40421         ctype->charnames.
40423 2013-09-11  Jia Liu  <proljc@gmail.com>
40425         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
40426         __daddr_t_defined.
40427         [__FreeBSD__]: Likewise.
40429 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
40431         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
40432         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
40433         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
40434         (strchr): Remove __strchr_sse42 ifunc selection.
40435         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
40436         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
40438 2013-09-11  Will Newton  <will.newton@linaro.org>
40440         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
40441         parameter to RES. Remove hardcoded 1000 value.
40442         * benchtests/bench-skeleton.c (main): Pass RES parameter
40443         to TIMING_INIT and multiply result by 1000.
40445 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40447         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40449 2013-09-11  Andreas Schwab  <schwab@suse.de>
40451         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40452         if not defined.
40453         (O_TMPFILE) [__USE_GNU]: Define.
40454         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
40455         Define.
40457 2013-09-11  Will Newton  <will.newton@linaro.org>
40459         [BZ #15857]
40460         * malloc/malloc.c (__libc_memalign): Check the value of bytes
40461         does not overflow.
40463 2013-09-11  Will Newton  <will.newton@linaro.org>
40465         [BZ #15856]
40466         * malloc/malloc.c (__libc_valloc): Check the value of bytes
40467         does not overflow.
40469 2013-09-11  Will Newton  <will.newton@linaro.org>
40471         [BZ #15855]
40472         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
40473         does not overflow.
40475 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
40477         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
40478         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40479         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40480         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40481         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40483 2013-09-10  Allan McRae  <allan@archlinux.org>
40485         [BZ #15748]
40486         * manual/arith.texi (Parsing of Floats): Clarify
40487         cross-reference.
40489         [BZ #15849]
40490         * manual/install.texi (Running make install): Mention
40491         --enable-pt-chown.
40492         * INSTALL: Regenerated.
40494 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
40496         * csu/init-first.c (_init): Remove the !SHARED condition around
40497         FPU control word initialization.
40498         * elf/dl-support.c (_dl_fpu_control): New variable.
40499         (_dl_aux_init) <AT_FPUCW>: Initialize it.
40500         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
40501         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
40502         * math/test-fpucw-static.c: New file.
40503         * math/test-fpucw-ieee.c: New file.
40504         * math/test-fpucw-ieee-static.c: New file.
40505         * math/Makefile (tests): Add `test-fpucw-ieee' and
40506         `$(tests-static)'.
40507         (tests-static): New variable.
40508         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
40509         dependency to...
40510         [($(build-shared),yes)]
40511         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
40512         ... this.
40513         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
40514         New dependency.
40516 2013-09-09  Allan McRae  <allan@archlinux.org>
40518         [BZ #15939]
40519         * manual/string.texi (Collation Functions): Fix typo in
40520         strcoll example.
40521         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
40523         [BZ #15893]
40524         * stdlib/isomac.c (get_null_defines): Fix memory leak.
40526         [BZ #15892]
40527         * libio/memstream.c (open_memstream): Fix memory leak.
40528         * libio/wmemstream.c (open_wmemstream): Likewise.
40530         [BZ #15895]
40531         * nscd/netgroupcache.c: Fix nesting of ifdefs.
40533 2013-09-09  Will Newton  <will.newton@linaro.org>
40535         * malloc/Makefile: Add tst-realloc to tests.
40536         * malloc/tst-realloc.c: New file.
40538 2013-09-09  Allan McRae  <allan@archlinux.org>
40540         [BZ #15844]
40541         * COPYING: Update from GNU website to fix FSF address.
40542         * COPYING.LIB: Likewise.
40544 2013-09-06  David S. Miller  <davem@davemloft.net>
40546         * po/zh_TW.po: Update Chinese (traditional) translation from
40547         translation project.
40549 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
40550             Joseph Myers  <joseph@codesourcery.com>
40552         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
40553         "localeinfo.h".
40554         (obstack_chunk_alloc): New macro.
40555         (obstack_chunk_free): Likewise.
40556         (record_offset): New function.
40557         (init_locale_data): Likewise.
40558         (align_locale_data): Likewise.
40559         (add_locale_empty): Likewise.
40560         (add_locale_raw_data): Likewise.
40561         (add_locale_raw_obstack): Likewise.
40562         (add_locale_string): Likewise.
40563         (add_locale_wstring): Likewise.
40564         (add_locale_uint32): Likewise.
40565         (add_locale_uint32_array): Likewise.
40566         (add_locale_char): Likewise.
40567         (start_locale_structure): Likewise.
40568         (end_locale_structure): Likewise.
40569         (start_locale_prelude): Likewise.
40570         (end_locale_prelude): Likewise.
40571         (write_locale_data): Take locale_file structure rather than an
40572         iovec.
40573         * locale/programs/locfile.h: Include "obstack.h".
40574         (struct locale_file): Change to store locale file contents instead
40575         of header.
40576         (init_locale_data): New prototype.
40577         (align_locale_data): Likewise.
40578         (add_locale_empty): Likewise.
40579         (add_locale_raw_data): Likewise.
40580         (add_locale_raw_obstack): Likewise.
40581         (add_locale_string): Likewise.
40582         (add_locale_wstring): Likewise.
40583         (add_locale_uint32): Likewise.
40584         (add_locale_uint32_array): Likewise.
40585         (add_locale_char): Likewise.
40586         (start_locale_structure): Likewise.
40587         (end_locale_structure): Likewise.
40588         (start_locale_prelude): Likewise.
40589         (end_locale_prelude): Likewise.
40590         (write_locale_data): Update prototype.
40591         * locale/programs/3level.h (struct TABLE): Remove result field.
40592         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
40593         Use new locale_file interface.
40594         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
40595         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
40596         * locale/programs/ld-address.c (address_output): Use new
40597         locale_file interface.
40598         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
40599         NO_ADD_LOCALE.
40600         (collate_finish): Don't call collseq_table_finalize.
40601         (collate_output): Use new locale_file interface.
40602         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
40603         in file.
40604         (NO_FINALIZE): Change to NO_ADD_LOCALE.
40605         (TABLE): Move defines earlier in file.
40606         (ELEMENT): Likewise.
40607         (DEFAULT): Likewise.
40608         (wctrans_table_add): Move macro and inline function earlier in
40609         file.
40610         (struct wctype_table): Move type earlier in file.
40611         (add_locale_wctype_table): New static prototype.
40612         (struct locale_ctype_t): Use logical types instead of struct iovec
40613         pointers for members.
40614         (ctype_output): Use new locale_file interface.
40615         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
40616         new locale_file interface.
40617         (allocate_arrays): Update for use of new locale_file interface.
40618         * locale/programs/ld-identification.c (identification_output): Use
40619         new locale_file interface.
40620         * locale/programs/ld-measurement.c (measurement_output): Likewise.
40621         * locale/programs/ld-messages.c (messages_output): Likewise.
40622         * locale/programs/ld-monetary.c (monetary_output): Likewise.
40623         * locale/programs/ld-name.c (name_output): Likewise.
40624         * locale/programs/ld-numeric.c (numeric_output): Likewise.
40625         * locale/programs/ld-paper.c (paper_output): Likewise.
40626         * locale/programs/ld-telephone.c (telephone_output): Likewise.
40627         * locale/programs/ld-time.c (time_output): Likewise.
40629 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40631         * benchtests/Makefile: Add memrchr benchmark.
40632         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
40633         benchmark as memrchr.
40634         * benchtests/bench-memrchr-ifunc.c: New file.
40635         * benchtests/bench-memrchr.c: New file.
40637 2013-09-06   Will Newton  <will.newton@linaro.org>
40639         * benchtests/Makefile (string-bench): Add memcpy.
40641 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
40642             Cong Wang  <amwang@redhat.com>
40644         [BZ #15850]
40645         * sysdeps/unix/sysv/linux/bits/in.h
40646         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
40647         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
40648         before __USE_KERNEL_IPV6_DEFS uses.
40649         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
40650         IPPROTO_BEETPH.
40651         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
40652         sockaddr_in6, or ipv6_mreq.
40654 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40656         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
40657         memory access for final bytes in some large inputs.
40658         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
40660 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40662         * string/test-memrchr.c: New file.
40663         * string/test-memrchr-ifunc.c: New file.
40664         * string/Makefile: Add new memrchr testcase.
40666 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
40668         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
40669         fanotify_init returns EPERM.
40671 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40673         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
40674         errors.
40675         (top level): Treat second token from macro or constant entries for
40676         allowed headers as allowed.
40677         * include/complex.h: Condition internal declarations on
40678         [!_ISOMAC].
40679         * include/fenv.h: Condition include of <stdbool.h> and internal
40680         declarations on [!_ISOMAC].
40682 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
40684         [BZ #15923]
40685         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
40687 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
40689         * configure.in (--enable-versioning): Remove configure option.
40690         (libc_cv_asm_symver_directive): Remove configure test.
40691         (libc_cv_ld_version_script_option): Likewise.
40692         (VERSIONING): Remove variable and AC_SUBST.
40693         (DO_VERSIONING): Remove AC_DEFINE.
40694         * configure: Regenerated.
40695         * config.h.in (DO_VERSIONING): Remove macro.
40696         * Makerules [$(versioning) = yes]: Change conditionals to
40697         [$(build-shared) = yes].
40698         * config.make.in (versioning): Remove variable.
40699         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
40700         [$(build-shared) = yes].
40701         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
40702         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
40703         * elf/Makefile [$(versioning) = yes]: Change conditionals to
40704         [$(build-shared) = yes].
40705         * extra-lib.mk [$(versioning) = yes]: Likewise.
40706         * hurd/Makefile [$(versioning) = yes]: Likewise.
40707         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
40708         [SHARED].
40709         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
40710         [SHARED].
40711         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40712         [SHARED && !NO_HIDDEN].
40713         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
40714         [SHARED].
40715         [SHARED && DO_VERSIONING]: Likewise..
40716         * libio/Makefile [$(versioning) = yes]: Change conditionals to
40717         [$(build-shared) = yes].
40718         * manual/install.texi (--disable-versioning): Remove
40719         documentation.
40720         * INSTALL: Regenerated.
40721         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
40722         to [SHARED].
40723         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
40724         [$(build-shared) = yes].
40725         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
40726         * sysdeps/i386/i686/multiarch/strstr-c.c
40727         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
40728         [SHARED && !NO_HIDDEN].
40729         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
40730         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
40731         * sysdeps/powerpc/powerpc32/dl-machine.c
40732         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
40733         * sysdeps/powerpc/powerpc32/sysdep.h
40734         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
40735         to [SHARED && PIC && !NO_HIDDEN].
40736         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
40737         conditional to [SHARED].
40739 2013-09-04   Will Newton  <will.newton@linaro.org>
40741         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
40742         * benchtests/bench-string.h: Include bench-timing.h instead
40743         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
40744         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
40745         call to HP_TIMING_DIFF_INIT.
40746         * benchtests/bench-memccpy.c: Use bench-timing.h macros
40747         instead of hp-timing.h macros.
40748         * benchtests/bench-memchr.c: Likewise.
40749         * benchtests/bench-memcmp.c: Likewise.
40750         * benchtests/bench-memcpy.c: Likewise.
40751         * benchtests/bench-memmem.c: Likewise.
40752         * benchtests/bench-memmove.c: Likewise.
40753         * benchtests/bench-memset.c: Likewise.
40754         * benchtests/bench-rawmemchr.c: Likewise.
40755         * benchtests/bench-strcasecmp.c: Likewise.
40756         * benchtests/bench-strcasestr.c: Likewise.
40757         * benchtests/bench-strcat.c: Likewise.
40758         * benchtests/bench-strchr.c: Likewise.
40759         * benchtests/bench-strcmp.c: Likewise.
40760         * benchtests/bench-strcpy.c: Likewise.
40761         * benchtests/bench-strcpy_chk.c: Likewise.
40762         * benchtests/bench-strlen.c: Likewise.
40763         * benchtests/bench-strncasecmp.c: Likewise.
40764         * benchtests/bench-strncat.c: Likewise.
40765         * benchtests/bench-strncmp.c: Likewise.
40766         * benchtests/bench-strncpy.c: Likewise.
40767         * benchtests/bench-strnlen.c: Likewise.
40768         * benchtests/bench-strpbrk.c: Likewise.
40769         * benchtests/bench-strrchr.c: Likewise.
40770         * benchtests/bench-strspn.c: Likewise.
40771         * benchtests/bench-strstr.c: Likewise.
40773 2013-09-04  Will Newton  <will.newton@linaro.org>
40775         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
40777 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
40779         [BZ #15427]
40780         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
40781         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
40782         * math/libm-test.inc (lgamma_test_data): Add more tests.
40783         * sysdeps/i386/fpu/libm-test-ulps: Update.
40784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40786 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
40788         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
40789         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40790         Add ifunc.
40791         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
40792         Add strcmp-sse2-unaligned
40793         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
40795 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
40797         * Versions.def (libc): Add GLIBC_2.19.
40799 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
40801         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
40802         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
40804 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
40806         [BZ #14155]
40807         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
40808         intermediate calculations in recurrence.
40809         (__ieee754_ynf): Likewise.
40810         * math/libm-test.inc (jn_test_data): Do not allow spurious
40811         underflow exception.  Add more tests.
40812         (yn_test_data): Add more tests.
40813         * sysdeps/i386/fpu/libm-test-ulps: Update.
40814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40816 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
40818         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
40820 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
40822         * csu/init-first.c: Fix then/than typos.
40823         * locale/programs/ld-collate.c: Likewise.
40824         * locale/programs/linereader.h: Likewise.
40825         * manual/charset.texi: Likewise.
40826         * manual/filesys.texi: Likewise.
40827         * manual/stdio.texi: Likewise.
40828         * manual/string.texi: Likewise.
40829         * stdlib/fmtmsg.c: Likewise.
40830         * sysdeps/i386/stpncpy.S: Likewise.
40831         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
40832         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40833         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
40834         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
40836 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
40838         * elf/dl-open.c: Fix typos.
40839         * iconvdata/gbbig5.c: Likewise.
40840         * iconvdata/iso-2022-jp.c: Likewise.
40841         * iconv/gconv_int.h: Likewise.
40842         * iconv/loop.c: Likewise.
40843         * nis/rpcsvc/nis.h: Likewise.
40844         * resolv/ns_name.c: Likewise.
40845         * stdio-common/vfscanf.c: Likewise.
40846         * streams/stropts.h: Likewise.
40847         * sunrpc/rpc_thread.c: Likewise.
40848         * sysdeps/i386/strpbrk.S: Likewise.
40849         * sysdeps/ieee754/k_standard.c: Likewise.
40850         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
40851         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
40852         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
40853         * sysdeps/mach/hurd/profil.c: Likewise.
40854         * sysdeps/s390/dl-procinfo.h: Likewise.
40855         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
40856         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
40857         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
40858         * sysdeps/x86_64/dl-trampoline.S: Likewise.
40859         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40861 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
40863         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
40864         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
40866 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
40868         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
40869         aix specific files.
40870         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
40871         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
40872         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
40873         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
40874         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
40875         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
40876         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
40877         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
40879 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
40880             Roland McGrath  <roland@hack.frob.com>
40882         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
40883         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
40885 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40887         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
40888         __executable_start symbol instead of _start.
40890 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
40892         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
40893         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
40894         Move macros to...
40895         * sysdeps/gnu/ldsodefs.h: ... this new file.
40897         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
40898         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
40899         instead of ELFOSABI_LINUX.
40901         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
40902         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
40903         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
40904         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
40905         Likewise.
40906         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
40907         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
40908         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
40909         Likewise.
40910         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
40911         (ibm_extended_long_double): Add ieee_nan member.
40912         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
40913         (do_test): New function.
40915         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
40916         TEST_TRUNC.
40917         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
40918         functions, renamed from truncdfsf_test, trunctfsf_test,
40919         trunctfdf_test.
40920         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
40921         functions.
40922         (do_test): Run all these.
40924 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
40926         * argp/argp-help.c: Fix typos.
40927         * argp/argp-parse.c: Likewise.
40928         * debug/backtracesyms.c: Likewise.
40929         * elf/elf.h: Likewise.
40930         * malloc/malloc.c: Likewise.
40931         * nis/nis_print.c: Likewise.
40932         * resolv/res_comp.c: Likewise.
40933         * stdlib/stdlib.h: Likewise.
40934         * sunrpc/clnt_tcp.c: Likewise.
40935         * sunrpc/clnt_udp.c: Likewise.
40936         * sunrpc/clnt_unix.c: Likewise.
40937         * sysdeps/unix/bsd/ptsname.c: Likewise.
40938         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
40939         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
40940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
40941         Likewise.
40942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
40943         Likewise.
40944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
40945         Likewise.
40946         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
40948 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40950         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
40951         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40953 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
40955         [BZ #15897]
40956         * dlfcn/Makefile (tests): Add bug-dl-leaf.
40957         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
40958         ($(objpfx)bug-dl-leaf): New rule.
40959         ($(objpfx)bug-dl-leaf.so): Likewise.
40960         ($(objpfx)bug-dl-leaf.out): Likewise.
40961         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
40962         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
40963         * dlfcn/bug-dl-leaf.c: New test.
40964         * dlfcn/bug-dl-leaf-lib.c: Likewise.
40965         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
40966         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
40967         (dlclose): Likewise.
40968         (dlmopen): Likewise.
40970 2013-08-27  Roland McGrath  <roland@hack.frob.com>
40972         * include/netdb.h [!_ISOMAC]:
40973         Don't include <tls.h>.
40974         (h_errno, __libc_h_errno): Move declaration and macros out of
40975         [_LIBC_REENTRANT].
40977         * include/resolv.h [_RESOLV_H_]:
40978         Don't include <tls.h>.
40979         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
40980         * resolv/res_libc.c: Don't include <tls.h>.
40981         (_res): Use __attribute__ ((nocommon)) in place of
40982         __attribute__ ((section (".bss"))).
40984         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
40985         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
40987         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
40989         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
40990         only under [SIOCGIFCONF && SIOCGIFNETMASK].
40992         * resolv/res_mkquery.c: Include <sys/time.h>.
40994         * inet/ifreq.c: Moved to ...
40995         * sysdeps/unix/ifreq.c: ... here.
40996         * inet/ifreq.c: New file, true stub version.
40998         * socket/sa_len.c: New file.
40999         * socket/Makefile (aux): Add it.
41000         * sysdeps/unix/sysv/linux/Makefile
41001         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
41002         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
41003         and #include <socket/sa_len.c>.
41004         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
41005         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
41007         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
41008         * bits/socket.h: ... here.
41010         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
41011         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
41012         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
41014 2013-08-27  Andreas Schwab  <schwab@suse.de>
41016         [BZ #15736]
41017         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
41018         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
41019         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
41020         * string/test-strcasecmp.c (test_main): Run tests in several
41021         locales.
41022         * string/test-strncasecmp.c (test_main): Likewise.
41024         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
41025         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
41026         to __strcasecmp_nonascii and __strncasecmp_nonascii.
41027         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
41028         (__strncasecmp_ssse3) [PIC]: Likewise.
41030 2013-08-26  Roland McGrath  <roland@hack.frob.com>
41032         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
41034         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
41035         instead of explicitly declaring xdecrypt.
41036         * nis/nss_nis/nis-publickey.c: Likewise.
41038 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41040         [BZ #15890]
41041         * nscd/aicache.c: Include res_hconf.h.
41042         (addhstaiX): Initialize res_hconf.
41044 2013-08-26  Andreas Schwab  <schwab@suse.de>
41046         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
41047         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
41049 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41051         * nscd/aicache.c (addhstaiX): Fix indentation.
41053 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
41055         * configure.ac: Quote $build_pt_chown test.
41056         * configure: Regenerated.
41058 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
41060         [BZ #15532]
41061         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
41062         * math/s_cexpf.c (__cexpf): Likewise.
41063         * math/s_cexpl.c (__cexpl): Likewise.
41064         * math/libm-test.inc (cexp_test_data): Correct expected return
41065         value for NaN + i0.  Add another test.
41067 2013-08-22  David S. Miller  <davem@davemloft.net>
41069         * po/ca.po: Update Catalan translation from translation project.
41070         * po/uk.po: Add Ukrainian translations from translation project.
41072 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
41074         [BZ #15797]
41075         * math/s_fdim.c (__fdim): Check for infinite arguments if result
41076         is infinite, not alongside NaN test.
41077         * math/s_fdimf.c (__fdimf): Likewise.
41078         * math/s_fdiml.c (__fdiml): Likewise.
41079         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
41080         errno is unchanged.
41082 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
41084         * argp/argp-help.c: Fix typos.
41085         * crypt/speeds.c: Likewise.
41086         * csu/check_fds.c: Likewise.
41087         * elf/dl-load.c: Likewise.
41088         * elf/dl-open.c: Likewise.
41089         * elf/reldep3.c: Likewise.
41090         * elf/reldep.c: Likewise.
41091         * elf/sprof.c: Likewise.
41092         * iconv/iconv_charmap.c: Likewise.
41093         * iconv/skeleton.c: Likewise.
41094         * iconv/strtab.c: Likewise.
41095         * io/lockf64.c: Likewise.
41096         * libio/libioP.h: Likewise.
41097         * resolv/gai_notify.c: Likewise.
41098         * resolv/ns_name.c: Likewise.
41099         * resolv/ns_samedomain.c: Likewise.
41100         * resolv/res_send.c: Likewise.
41101         * stdlib/random.c: Likewise.
41102         * sunrpc/rpc/xdr.h: Likewise.
41103         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
41104         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
41105         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
41106         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
41107         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
41108         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
41109         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
41110         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
41111         * sysdeps/mach/hurd/check_fds.c: Likewise.
41112         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41113         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
41114         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41115         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41116         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
41117         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41118         * sysdeps/pthread/aio_notify.c: Likewise.
41119         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
41120         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
41121         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
41122         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41123         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
41125 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41127         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
41128         version if bit_Slow_SSE4_2 is set.
41129         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41130         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
41132 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41134         [BZ #15867]
41135         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
41136         trampoline stack frame information.
41137         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
41138         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
41139         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
41140         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
41141         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
41142         * sysdeps/unix/sysv/linux/powerpc/init-first.c
41143         (_libc_vdso_platform_setup): Initialize the signal trampolines.
41144         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
41145         sa_flags value.
41146         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
41147         interrupting a syscall and set with option SA_SIGINFO.
41149 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
41151         [BZ #15531]
41152         * math/s_cproj.c (__cproj): Only return an infinity if one part of
41153         argument is infinite.
41154         * math/s_cprojf.c (__cprojf): Likewise.
41155         * math/s_cprojl.c (__cprojl): Likewise.
41156         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
41157         * math/libm-test.inc (cproj_test_data): Add more tests.
41159         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
41161         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
41162         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
41163         size.  Use __ffs to determine corresponding shift.
41165 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
41166             Roland McGrath  <roland@hack.frob.com>
41168         * Makefile (INSTALL): Remove trailing blank lines from output of
41169         makeinfo.
41171 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41173         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
41174         Align 32 bit compat elf_greg to 8 bytes.
41176 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
41178         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
41180 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41182         * string/strcoll_l.c (coll_seq): New structure.
41183         (get_next_seq_cached): New function.
41184         (get_next_seq): New function.
41185         (do_compare): New function.
41186         (STRCOLL): Use GNU style definition.  Simplify implementation
41187         by using get_next_seq, get_next_seq_cached and do_compare.
41189 2013-08-16  Florian Weimer  <fweimer@redhat.com>
41191         [BZ #14699]
41192         CVE-2013-4237
41193         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
41194         member.
41195         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
41196         member.
41197         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
41198         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
41199         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
41200         conditional.
41201         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
41202         GETDENTS_64BIT_ALIGNED.
41203         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41204         * manual/filesys.texi (Reading/Closing Directory): Document
41205         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
41206         strongly.
41207         * manual/conf.texi (Limits for Files): Add portability note to
41208         NAME_MAX, PATH_MAX.
41209         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
41211 2013-08-13  Andreas Schwab  <schwab@suse.de>
41213         [BZ #15749]
41214         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
41215         of fabs.
41216         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
41217         LDBL_MAX_EXP >= 16384]: Add tests for it.
41219 2013-08-12  David S. Miller  <davem@davemloft.net>
41221         * version.h (RELEASE): Set to "development".
41222         (VERSION): Set to "2.18.90".
41223         * NEWS: Add 2.19 section.
41225 2013-08-03  David S. Miller  <davem@davemloft.net>
41227         * po/ko.po: Update Korean translation from translation project.
41229 2013-08-01  David S. Miller  <davem@davemloft.net>
41231         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
41232         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
41233         Bilka.
41235 2013-07-30  David S. Miller  <davem@davemloft.net>
41237         * po/fr.po: Update French translation from translation project.
41239 2013-07-28  David S. Miller  <davem@davemloft.net>
41241         * po/cs.po: Update Czech translation from translation project.
41243         * po/sv.po: Update Swedish translation from translation project.
41245 2013-07-27  David S. Miller  <davem@davemloft.net>
41247         * po/eo.po: Update Esperanto translation from translation project.
41249         * po/vi.po: Update Vietnamese translation from translation project.
41251         * po/de.po: Update German translation from translation project.
41253 2013-07-26  David S. Miller  <davem@davemloft.net>
41255         * po/bg.po: Update Bulgarian translation from translation project.
41257         * po/nl.po: Update Dutch translation from translation project.
41258         * po/pl.po: Update Polish translation from translation project.
41259         * po/ru.po: Update Russian translation from translation project.
41261 2013-07-24  David S. Miller  <davem@davemloft.net>
41263         * po/libc.pot: Update.
41265 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41267         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
41268         variable page size.
41269         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
41270         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
41271         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
41273 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41275         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
41277 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41278             Andreas Schwab  <schwab@suse.de>
41279             Roland McGrath  <roland@hack.frob.com>
41280             Joseph Myers  <joseph@codesourcery.com>
41281             Carlos O'Donell  <carlos@redhat.com>
41283         [BZ #15755]
41284         * config.h.in: Define HAVE_PT_CHOWN.
41285         * config.make.in (build-pt-chown): New variable.
41286         * configure.in (--enable-pt_chown): New configure option.
41287         * configure: Regenerate.
41288         * login/Makefile: Include Makeconfig.  Build pt_chown only if
41289         build-pt-chown is enabled.
41290         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
41291         pt_chown to fix pty ownership.
41292         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
41293         CLOSE_ALL_FDS.
41294         * manual/install.texi (Configuring and compiling): Mention
41295         --enable-pt_chown. Add @findex for grantpt.
41296         * INSTALL: Regenerate.
41298 2013-07-20  David S. Miller  <davem@davemloft.net>
41300         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
41301         difference between 32-bit and 64-bit.
41303 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
41305         [BZ #15711]
41306         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
41307         Avoid system header dependency with -ffreestanding.
41308         ($(objpfx)bits/syscall%d): Likewise.
41310 2013-07-13  David S. Miller  <davem@davemloft.net>
41312         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
41313         underflows from atanl/atan2l due to bug 15319.
41314         (casinh_test_data): Likewise.
41316 2013-07-07  David S. Miller  <davem@davemloft.net>
41318         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
41320 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
41322         * sysdeps/i386/fpu/libm-test-ulps: Update.
41323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41325 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41327         * configure.in (--enable-lock-elision): Fix message text.
41328         * INSTALL: Regenerate.
41329         * configure: Regenerate.
41331 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41335 2013-07-03  Andreas Jaeger  <aj@suse.de>
41337         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
41338         define.
41339         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
41340         (ptrace_peeksiginfo_args): Add.
41341         (__ptrace_peeksiginfo_flags): Add.
41342         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41343         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41344         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41346 2013-07-03  Allan McRae  <allan@archlinux.org>
41348         * sysdeps/i386/fpu/libm-test-ulps: Update.
41350 2013-07-02  David S. Miller  <davem@davemloft.net>
41352         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41354 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
41356         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41358 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
41360         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41363 2013-07-02  Andi Kleen <ak@linux.intel.com>
41365         * config.h.in (ENABLE_LOCK_ELISION): Add.
41366         * configure.in (--enable-lock-elision): Add option.
41367         * manual/install.texi: Document --enable lock elision.
41368         * configure: Regenerate
41369         * INSTALL: Regenerate.
41371 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
41373         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
41374         SSE4.2 strcasecmp for libc.a.
41375         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
41377 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
41379         [BZ #13304]
41380         * soft-fp/op-common.h (_FP_FMA): New macro.
41381         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
41382         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
41383         (_FP_MUL_MEAT_1_imm): ... here.
41384         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
41385         (_FP_MUL_MEAT_1_wide): ... here.
41386         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
41387         (_FP_MUL_MEAT_1_hard): ... here.
41388         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
41389         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
41390         (_FP_MUL_MEAT_2_wide): ... here.
41391         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
41392         (_FP_MUL_MEAT_2_wide_3mul): ... here.
41393         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
41394         (_FP_MUL_MEAT_2_gmp): ... here.
41395         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
41396         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
41397         (_FP_MUL_MEAT_4_wide): ... here.
41398         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
41399         (_FP_MUL_MEAT_4_gmp): ... here.
41400         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
41401         (_FP_WFRACBITS_DW_S): Likewise.
41402         (_FP_WFRACXBITS_DW_S): Likewise.
41403         (_FP_HIGHBIT_DW_S): Likewise.
41404         (FP_FMA_S): Likewise.
41405         (_FP_FRAC_HIGH_DW_S): Likewise.
41406         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
41407         (_FP_WFRACBITS_DW_D): Likewise.
41408         (_FP_WFRACXBITS_DW_D): Likewise.
41409         (_FP_HIGHBIT_DW_D): Likewise.
41410         (FP_FMA_D): Likewise.
41411         (_FP_FRAC_HIGH_DW_D): Likewise.
41412         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
41413         (_FP_WFRACBITS_DW_E): Likewise.
41414         (_FP_WFRACXBITS_DW_E): Likewise.
41415         (_FP_HIGHBIT_DW_E): Likewise.
41416         (FP_FMA_E): Likewise.
41417         (_FP_FRAC_HIGH_DW_E): Likewise.
41418         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
41419         (_FP_WFRACBITS_DW_Q): Likewise.
41420         (_FP_WFRACXBITS_DW_Q): Likewise.
41421         (_FP_HIGHBIT_DW_Q): Likewise.
41422         (FP_FMA_Q): Likewise.
41423         (_FP_FRAC_HIGH_DW_Q): Likewise.
41424         * soft-fp/fmasf4.c: New file.
41425         * soft-fp/fmadf4.c: Likewise.
41426         * soft-fp/fmatf4.c: Likewise.
41428 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41430         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41431         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
41432         Silvermont.
41433         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
41434         macro.
41435         (index_Slow_SSE4_2): Likewise.
41436         (index_Prefer_PMINUB_for_stringop): Likewise.
41437         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
41438         bit_Slow_SSE4_2 is set.
41439         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
41440         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
41442 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41444         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
41445         rtld_global._dl_hwcap2.
41446         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
41447         POWER8.
41448         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
41449         POWER8 feature descriptions defined in _dl_hwcap2.
41450         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
41451         string handling for POWER8 feature bits.
41452         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
41453         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
41454         _dl_powerpc_cap_flags.
41455         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
41456         * sysdeps/powerpc/rtld-global-offsets.sym
41457         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
41458         _dl_hwcap2 in the rtld_global_ro structure.
41460 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41462         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
41463         hardware capabilities in support of AT_HWCAP2.
41464         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
41465         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
41466         GLRO(dl_hwcap2).
41467         (_dl_show_auxv): Add support for calling _dl_procinfo to display
41468         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
41469         explicitly the unknown a_type display mechanism is used.
41470         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
41471         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
41472         struct member.
41473         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
41474         to macro prototype for AT_HWCAP2 support.
41475         * sysdeps/i386/dl-procinfo.h: Likewise.
41476         * sysdeps/s390/dl-procinfo.h: Likewise.
41477         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
41478         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
41479         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
41480         return -1 for unknown a_type display fallback.
41481         * sysdeps/sparc/dl-procinfo.h: Likewise.
41482         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
41483         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
41485 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
41487         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
41488         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
41490 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
41492         [BZ #12492]
41493         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
41494         mprotect making __stack_prot writable.
41496 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
41497             Joseph Myers  <joseph@codesourcery.com>
41499         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
41500         as being properly aligned.
41502 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
41504         * dlfcn/modstatic5.c: New file.
41505         * dlfcn/tststatic5.c: New file.
41506         * dlfcn/Makefile (tests): Add tststatic5.
41507         (tests-static): Likewise.
41508         (modules-names): Add modstatic5.
41509         (tststatic5-ENV): New variable.
41510         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
41512         [BZ #15022]
41513         * elf/dl-support.c (_dl_main_map): New variable.
41514         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
41515         (_dl_nns, _dl_load_adds): Set to 1.
41516         (_dl_initial_searchlist): Refer to _dl_main_map.
41517         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
41518         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
41519         call to _dl_get_origin.
41520         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
41521         around call_map.
41522         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
41523         * dlfcn/modstatic3.c: New file.
41524         * dlfcn/tststatic3.c: New file.
41525         * dlfcn/tststatic4.c: New file.
41526         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
41527         (tests-static): Likewise.
41528         (modules-names): Add modstatic3.
41529         (tststatic3-ENV, tststatic4-ENV): New variables.
41530         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
41531         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
41533 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
41535         * configure.in (CC): Require GCC version 4.4 or later.
41536         * configure: Regenerated.
41537         * manual/install.texi (Tools for Compilation): Update GCC version
41538         requirement.
41539         * INSTALL: Regenerated.
41541 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41543         [BZ #15674]
41544         * string/test-memcmp.c (check2): New.
41545         (main): Call check2.
41547         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
41549 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
41551         [BZ #15022]
41552         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
41553         over to...
41554         (dl_open_worker) [!SHARED]: ... here.
41556 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41558         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
41560 2013-06-25  Richard Henderson  <rth@redhat.com>
41562         * locale/programs/locarchive.c: Include <libc-internal.h>
41564 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
41566         * manual/texinfo.tex: Update to version 2013-06-21.17, with
41567         trailing whitespace removed.
41569 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
41571         [BZ #10283]
41572         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
41573         * locale/programs/locarchive.c: Include libc-mmap.h.
41574         (prepare_address_space): Take two new outputs (the mmap base and len).
41575         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
41576         values.
41577         (create_archive): Declare new mmap base and len values for
41578         prepare_address_space, and store the result in ah.
41579         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
41580         (enlarge_archive): If ah->mmap_base is not NULL, use that and
41581         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41582         Declare new mmap base and len values for
41583         prepare_address_space, and store the result in new_ah.
41584         (open_archive): Declare new mmap base and len values for
41585         prepare_address_space, and store the result in ah.
41586         (close_archive): If ah->mmap_base is not NULL, use that and
41587         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
41588         * sysdeps/generic/libc-mmap.h: New file.
41590 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
41592         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
41593         (ALIGN_UP): Likewise.
41594         (PTR_ALIGN_DOWN): Likewise.
41595         (PTR_ALIGN_UP): Likewise.
41597 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41599         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
41600         entry mapped to PPC_PLATFORM_POWER8.
41601         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
41602         POWER8.
41603         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
41604         (_dl_string_platform): Add case for exporting platform position for
41605         POWER8.
41606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
41607         search path to sysdeps/powerpc/powerpc32/power8 directory.
41608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
41609         search path to sysdeps/powerpc/powerpc64/power8 directory.
41610         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
41611         power7 directories.
41612         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
41613         power7 directories.
41615 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41617         * INSTALL: Regenerate.
41619         * nscd/connections.c (nscd_init): Fix comment.
41621 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
41623         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
41625         [BZ #15667]
41626         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
41627         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
41629 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41631         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
41632         DL_DST_REQ_STATIC.
41633         (DL_DST_REQ_STATIC): Remove macro.
41635 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
41637         [BZ #7006]
41638         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
41639         with a shift of 0 bits.
41641 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
41643         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
41644         $(tststatic-ENV).
41646 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41648         [BZ #15655]
41649         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
41651 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41653         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
41654         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
41655         accepts -fno-tree-loop-distribute-patterns.
41656         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
41657         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
41658         recursive call.
41659         * string/memset.c (memset): Likewise.
41660         * string/test-memmove.c (simple_memmove): Disable loop transformation
41661         to library calls.
41662         * string/test-memset.c (simple_memset): Likewise.
41663         * benchtests/bench-memmove.c (simple_memmove): Likewise.
41664         * benchtests/bench-memset.c (simple_memset): Likewise.
41665         * configure: Regenerated.
41667 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
41669         * math/test-misc.c (main): Ignore fesetround failure when failures
41670         of subsequent rounding tests would be ignored.
41672         [BZ #15654]
41673         * math/fedisblxcpt.c (fedisableexcept): Return 0.
41674         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
41675         * math/fegetenv.c (__fegetenv): Return 0.
41676         * math/fegetexcept.c (fegetexcept): Return 0.
41677         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
41678         FE_TONEAREST.
41679         * math/feholdexcpt.c (feholdexcept): Return 0.
41680         * math/fesetenv.c (__fesetenv): Return 0.
41681         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
41682         argument FE_TONEAREST.
41683         * math/feupdateenv.c (__feupdateenv): Return 0.
41684         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
41686 2013-06-18  Roland McGrath  <roland@hack.frob.com>
41688         * elf/rtld-Rules (rtld-compile-command.S): New variable.
41689         (rtld-compile-command.s, rtld-compile-command.c): New variables.
41690         ($(objpfx)rtld-%.os rules): Use them.
41692 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41694         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
41695         fields.
41697 2013-06-17  Roland McGrath  <roland@hack.frob.com>
41699         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
41700         length of target pattern, then descending length of dependency pattern.
41701         * configure.in (AWK): Require gawk 3.1.2 or newer.
41702         * manual/install.texi (Tools for Compilation): Say that we do.
41703         * configure: Regenerated.
41705         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
41706         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
41707         * scripts/sysd-rules.awk: ... this new script.
41708         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
41709         than a glob-style pattern.
41711 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
41713         * math/test-misc.c (main): Do not treat incorrectly rounded
41714         conversions as failure unless ROUNDING_TESTS passes.
41716 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
41718         [BZ #15631]
41719         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
41720         restore exception state around main square root computation, then
41721         check for inexactness explicitly.
41723         * math/libm-test.inc (fma_test_data): Add another test.
41725 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41727         * manual/threads.texi (Non-POSIX Extensions): New document
41728         node.  Document pthread_getattr_default_np and
41729         pthread_setattr_default_np.
41731         * Versions.def (libpthread): Add GLIBC_2.18.
41732         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
41733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
41734         Likewise.
41735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41736         Likewise.
41737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41738         Likewise.
41739         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41740         Likewise.
41741         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
41742         Likewise.
41743         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41744         Likewise.
41745         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41746         Likewise.
41747         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41748         Likewise.
41749         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41750         Likewise.
41752 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41754         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41755         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
41757 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41758             H.J. Lu  <hjl.tools@gmail.com>
41760         [BZ #15627]
41761         * sysdeps/x86_64/rtld-memset.c: Remove file.
41762         * sysdeps/x86_64/rtld-memset.S: New file.
41764 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
41766         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
41767         (test_in_one_mode): Take arguments for whether the rounding mode
41768         is supported for each floating-point type.
41769         (do_test): Pass new arguments to test_in_one_mode using
41770         ROUNDING_TESTS.
41772 2013-06-13  Roland McGrath  <roland@hack.frob.com>
41774         * posix/tst-waitid.c (do_test): Distinguish different instances of
41775         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
41776         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
41777         before entering the kernel for waitpid.
41779 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41781         * NEWS: Fix note on clock function precision.  Text by Roland
41782         McGrath.
41784 2013-06-13  Roland McGrath  <roland@hack.frob.com>
41786         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
41787         it into place only when and if the sanity check passes.
41789 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
41791         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
41792         output for whether conversion result is exact.  Take argument
41793         indicating whether type is IBM long double.
41794         (round_for_all): Change need_exact field to ibm_ld.
41795         * stdlib/tst-strtod-round.c (struct exactness): New type.
41796         (struct test): Change bool ld_ok field to struct exactness exact.
41797         (TEST): Update all definitions for change to field.
41798         (tests): Regenerate array contents.
41799         (test_in_one_mode): Take pointer to new field instead of old ld_ok
41800         field value.  Check for IBM long double here.
41801         (do_test): Update calls to test_in_one_mode.
41803 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
41805         [BZ #12515]
41806         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
41807         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
41809 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41811         [BZ #15605]
41812         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
41813         generated by the compiler on loop optimizations.
41814         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
41815         general definitions.
41817 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
41819         * math/bug-nextafter.c: Include <math-tests.h>.
41820         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41821         the relevant type.
41822         * math/bug-nexttoward.c: Include <math-tests.h>.
41823         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41824         the relevant type.
41825         * math/test-misc.c: Include <math-tests.h>.
41826         (main): Only test for exceptions if EXCEPTION_TESTS is true for
41827         the relevant type.
41829 2013-06-12  Andreas Jaeger  <aj@suse.de>
41831         * po/ia.po: Update Interlingua translation from translation
41832         project.
41834 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41836         * include/fenv.h: Include stdbool.h.
41837         (struct rm_ctx): New structure.
41838         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
41839         Define macro.
41840         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
41841         (SET_RESTORE_ROUNDF): Likewise.
41842         (SET_RESTORE_ROUNDL): Likewise.
41843         (SET_RESTORE_ROUND_NOEX): Likewise.
41844         (SET_RESTORE_ROUND_NOEXF): Likewise.
41845         (SET_RESTORE_ROUND_NOEXL): Likewise.
41846         (SET_RESTORE_ROUND_53BIT): Likewise.
41847         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
41848         (libc_feresetround_noexf_ctx): Likewise.
41849         (libc_feresetround_noexl_ctx): Likewise.
41850         (libc_feholdsetround_53bit_ctx): Likewise.
41851         (libc_feresetround_53bit_ctx): Likewise.
41852         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
41853         (libc_feholdexcept_setround_sse_ctx): New function.
41854         (libc_fesetenv_sse_ctx): Likewise.
41855         (libc_feupdateenv_sse_ctx): Likewise.
41856         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
41857         (libc_feholdexcept_setround_387_ctx): Likewise.
41858         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
41859         (libc_feholdsetround_387_prec_ctx): Likewise.
41860         (libc_feholdsetround_387_ctx): Likewise.
41861         (libc_feholdsetround_387_53bit_ctx): Likewise.
41862         (libc_feholdsetround_sse_ctx): Likewise.
41863         (libc_feresetround_sse_ctx): Likewise.
41864         (libc_feresetround_387_ctx): Likewise.
41865         (libc_feupdateenv_387_ctx): Likewise.
41866         (libc_feholdexcept_setroundf_ctx): Define macro.
41867         (libc_fesetenvf_ctx): Likewise.
41868         (libc_feupdateenvf_ctx): Likewise.
41869         (libc_feholdsetroundf_ctx): Likewise.
41870         (libc_feresetroundf_ctx): Likewise.
41871         (libc_feholdexcept_setround_ctx): Likewise.
41872         (libc_fesetenv_ctx): Likewise.
41873         (libc_feupdateenv_ctx): Likewise.
41874         (libc_feholdsetround_ctx): Likewise.
41875         (libc_feresetround_ctx): Likewise.
41876         (libc_feholdexcept_setroundl_ctx): Likewise.
41877         (libc_feupdateenvl_ctx): Likewise.
41878         (libc_feholdsetroundl_ctx): Likewise.
41879         (libc_feresetroundl_ctx): Likewise.
41880         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
41881         (libc_feresetround_53bit_ctx): Likewise.
41883 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41885         * locale/iso-639.def: Convert to UTF-8.
41887 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
41889         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
41890         (EXCEPTION_TESTS_double): Likewise.
41891         (EXCEPTION_TESTS_long_double): Likewise.
41892         (EXCEPTION_TESTS): Likewise.
41893         * math/libm-test.inc (test_exceptions): Only test exceptions if
41894         EXCEPTION_TESTS (FLOAT).
41896 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41898         * benchtests/Makefile (string-bench): Add strcpy_chk and
41899         stpcpy_chk.
41900         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
41901         * benchtests/bench-stpcpy_chk.c: New file.
41902         * benchtests/bench-strcpy_chk-ifunc.c: New file.
41903         * benchtests/bench-strcpy_chk.c: New file.
41904         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
41905         code.
41906         (do_test): Likewise.
41908 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41910         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
41911         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
41912         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
41913         with tabs where appropriate.
41914         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
41915         dl-procinfo.h.
41916         [PPC_PLATFORM_PPC440]: Likewise.
41917         [PPC_PLATFORM_PPC464]: Likewise.
41918         [PPC_PLATFORM_PPC476]: Likewise.
41919         (_dl_string_platform): Add support for detecting ppc405, ppc440,
41920         ppc464, and ppc476 platform strings merging from ports/
41921         dl-procinfo.h.
41923 2013-06-11  Andreas Schwab  <schwab@suse.de>
41925         [BZ #14991]
41926         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
41927         (from_ucs4_idx): Regenerate.
41928         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
41929         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
41930         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
41931         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
41932         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
41933         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
41934         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
41935         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
41936         from FROM_LOOP and TO_LOOP specific macros.
41937         (BODY): Handle combining characters.
41938         * iconvdata/BIG5HKSCS.irreversible: Update.
41939         * iconvdata/BIG5HKSCS.precomposed: New file.
41940         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
41941         characters.
41942         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
41944 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41946         * include/sys/time.h: Fix indentation and add copyright header.
41948         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
41949         (do_test): Likewise.
41950         * string/test-memchr.c (do_one_test): Likewise.
41951         (do_test): Likewise.
41952         * string/test-memcmp.c (do_one_test): Likewise.
41953         (do_test): Likewise.
41954         * string/test-memcpy.c (do_one_test): Likewise.
41955         (do_test): Likewise.
41956         * string/test-memmem.c (do_one_test): Likewise.
41957         (do_test): Likewise.
41958         (do_random_tests): Likewise.
41959         * string/test-memmove.c (do_one_test): Likewise.
41960         (do_test): Likewise.
41961         * string/test-memset.c (do_one_test): Likewise.
41962         (do_test): Likewise.
41963         * string/test-rawmemchr.c (do_one_test): Likewise.
41964         (do_test): Likewise.
41965         * string/test-strcasecmp.c (do_one_test): Likewise.
41966         (do_test): Likewise.
41967         * string/test-strcasestr.c (do_one_test): Likewise.
41968         (do_test): Likewise.
41969         * string/test-strcat.c (do_one_test): Likewise.
41970         (do_test): Likewise.
41971         * string/test-strchr.c (do_one_test): Likewise.
41972         (do_test): Likewise.
41973         * string/test-strcmp.c (do_one_test): Likewise.
41974         (do_test): Likewise.
41975         * string/test-strcpy.c (do_one_test): Likewise.
41976         (do_test): Likewise.
41977         * string/test-string.h: Likewise.
41978         (test_init): Likewise.
41979         * string/test-strlen.c (do_one_test): Likewise.
41980         (do_test): Likewise.
41981         * string/test-strncasecmp.c (do_one_test): Likewise.
41982         (do_test): Likewise.
41983         * string/test-strncat.c (do_one_test): Likewise.
41984         (do_test): Likewise.
41985         * string/test-strncmp.c (do_one_test): Likewise.
41986         (do_test_limit): Likewise.
41987         (do_test): Likewise.
41988         * string/test-strncpy.c (do_one_test): Likewise.
41989         (do_test): Likewise.
41990         * string/test-strnlen.c (do_one_test): Likewise.
41991         (do_test): Likewise.
41992         * string/test-strpbrk.c (do_one_test): Likewise.
41993         (do_test): Likewise.
41994         * string/test-strrchr.c (do_one_test): Likewise.
41995         (do_test): Likewise.
41996         * string/test-strspn.c (do_one_test): Likewise.
41997         (do_test): Likewise.
41998         * string/test-strstr.c (do_one_test): Likewise.
41999         (do_test): Likewise.
42001         * benchtests/Makefile (string-bench): Add string benchmarks.
42002         * benchtests/bench-bcopy-ifunc.c: New file.
42003         * benchtests/bench-bcopy.c: New file.
42004         * benchtests/bench-bzero-ifunc.c: New file.
42005         * benchtests/bench-bzero.c: New file.
42006         * benchtests/bench-memccpy-ifunc.c: New file.
42007         * benchtests/bench-memccpy.c: New file.
42008         * benchtests/bench-memchr-ifunc.c: New file.
42009         * benchtests/bench-memchr.c: New file.
42010         * benchtests/bench-memcmp-ifunc.c: New file.
42011         * benchtests/bench-memcmp.c: New file.
42012         * benchtests/bench-memmem-ifunc.c: New file.
42013         * benchtests/bench-memmem.c: New file.
42014         * benchtests/bench-memmove-ifunc.c: New file.
42015         * benchtests/bench-memmove.c: New file.
42016         * benchtests/bench-mempcpy-ifunc.c: New file.
42017         * benchtests/bench-mempcpy.c: New file.
42018         * benchtests/bench-memset-ifunc.c: New file.
42019         * benchtests/bench-memset.c: New file.
42020         * benchtests/bench-rawmemchr-ifunc.c: New file.
42021         * benchtests/bench-rawmemchr.c: New file.
42022         * benchtests/bench-stpcpy-ifunc.c: New file.
42023         * benchtests/bench-stpcpy.c: New file.
42024         * benchtests/bench-stpncpy-ifunc.c: New file.
42025         * benchtests/bench-stpncpy.c: New file.
42026         * benchtests/bench-strcasecmp-ifunc.c: New file.
42027         * benchtests/bench-strcasecmp.c: New file.
42028         * benchtests/bench-strcasestr-ifunc.c: New file.
42029         * benchtests/bench-strcasestr.c: New file.
42030         * benchtests/bench-strcat-ifunc.c: New file.
42031         * benchtests/bench-strcat.c: New file.
42032         * benchtests/bench-strchr-ifunc.c: New file.
42033         * benchtests/bench-strchr.c: New file.
42034         * benchtests/bench-strchrnul-ifunc.c: New file.
42035         * benchtests/bench-strchrnul.c: New file.
42036         * benchtests/bench-strcmp-ifunc.c: New file.
42037         * benchtests/bench-strcmp.c: New file.
42038         * benchtests/bench-strcpy-ifunc.c: New file.
42039         * benchtests/bench-strcpy.c: New file.
42040         * benchtests/bench-strcspn-ifunc.c: New file.
42041         * benchtests/bench-strcspn.c: New file.
42042         * benchtests/bench-strlen-ifunc.c: New file.
42043         * benchtests/bench-strlen.c: New file.
42044         * benchtests/bench-strncasecmp-ifunc.c: New file.
42045         * benchtests/bench-strncasecmp.c: New file.
42046         * benchtests/bench-strncat-ifunc.c: New file.
42047         * benchtests/bench-strncat.c: New file.
42048         * benchtests/bench-strncmp-ifunc.c: New file.
42049         * benchtests/bench-strncmp.c: New file.
42050         * benchtests/bench-strncpy-ifunc.c: New file.
42051         * benchtests/bench-strncpy.c: New file.
42052         * benchtests/bench-strnlen-ifunc.c: New file.
42053         * benchtests/bench-strnlen.c: New file.
42054         * benchtests/bench-strpbrk-ifunc.c: New file.
42055         * benchtests/bench-strpbrk.c: New file.
42056         * benchtests/bench-strrchr-ifunc.c: New file.
42057         * benchtests/bench-strrchr.c: New file.
42058         * benchtests/bench-strspn-ifunc.c: New file.
42059         * benchtests/bench-strspn.c: New file.
42060         * benchtests/bench-strstr-ifunc.c: New file.
42061         * benchtests/bench-strstr.c: New file.
42063         * benchtests/Makefile: Disable parallel execution of targets.
42064         (string-bench): Add memcpy.
42065         (benchset): New variable to store a list of benchmark sets.
42066         (bench-func): Renamed from bench.
42067         (bench-set): New target.
42068         (bench): Depend on bench-func and bench-set.
42069         * benchtests/README: Add section on benchmark sets.
42070         * benchtests/bench-memcpy-ifunc.c: New file.
42071         * benchtests/bench-memcpy.c: New file.
42072         * benchtests/bench-string.h: New file.
42074 2013-06-11  Andreas Schwab  <schwab@suse.de>
42076         [BZ #15577]
42077         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
42078         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
42079         values in the triple.
42080         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
42081         terminator in the group key.
42083 2013-06-11  Andreas Jaeger  <aj@suse.de>
42085         * po/zh_TW.po: Update Chinese (traditional) translation from
42086         translation project.
42088 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42090         * include/time.h (__clock_gettime): Add libc_hidden_proto.
42091         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
42092         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
42093         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42094         (clock_getcpuclockid): Likewise.
42095         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
42096         Add weak_alias and libc_hidden_def.
42097         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
42098         * rt/clock_gettime.c (clock_gettime): Rename to
42099         __clock_gettime.  Add weak_alias and libc_hidden_def.
42100         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
42101         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
42102         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
42103         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
42104         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
42105         Likewise.
42106         * rt/clock_settime.c (clock_settime): Rename to
42107         __clock_settime.  Add weak_alias and libc_hidden_def.
42108         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
42110 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
42112         * mach/err_boot.sub: Remove trailing whitespace.
42113         * mach/err_ipc.sub: Likewise.
42114         * mach/err_mach.sub: Likewise.
42116         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
42117         (ROUNDING_TESTS_double): Likewise.
42118         (ROUNDING_TESTS_long_double): Likewise.
42119         (ROUNDING_TESTS): Likewise.
42120         * math/libm-test.inc: Include <math-tests.h>.
42121         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
42122         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
42123         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
42124         (IF_ROUND_INIT_FE_UPWARD): Likewise.
42126 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
42128         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
42129         of assigning.
42131 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
42133         * sysdeps/gnu/errlist.awk: Do not generate space at end of
42134         otherwise empty TRANS lines.
42135         * sysdeps/gnu/errlist.c: Regenerated.
42137         * catgets/gencat.c (error_print): Use (void) in function
42138         definition.
42139         * crypt/crypt_util.c (__init_des): Likewise.
42140         * crypt/speeds.c (Stop): Likewise.
42141         (main): Likewise.
42142         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
42143         * inet/ruserpass.c (token): Likewise.
42144         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
42145         * intl/localealias.c (extend_alias_table): Likewise.
42146         * intl/plural-exp.c (init_germanic_plural): Likewise.
42147         * libio/fcloseall.c (__fcloseall): Likewise.
42148         * libio/genops.c (_IO_flush_all): Likewise.
42149         (_IO_flush_all_linebuffered): Likewise.
42150         (_IO_cleanup): Likewise.
42151         (_IO_iter_begin): Likewise.
42152         (_IO_iter_end): Likewise.
42153         (_IO_list_lock): Likewise.
42154         (_IO_list_unlock): Likewise.
42155         (_IO_list_resetlock): Likewise.
42156         * libio/getchar.c (getchar): Likewise.
42157         * libio/getchar_u.c (getchar_unlocked): Likewise.
42158         * libio/getwchar.c (getwchar): Likewise.
42159         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
42160         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
42161         * login/getpt.c (__getpt): Likewise.
42162         * login/tst-utmp.c (main): Likewise.
42163         * malloc/hooks.c (__malloc_check_init): Likewise.
42164         * malloc/malloc.c (__malloc_stats): Likewise.
42165         * malloc/mtrace.c (tr_break): Likewise.
42166         (mtrace): Likewise.
42167         (muntrace): Likewise.
42168         * misc/fstab.c (endfsent): Likewise.
42169         * misc/getclktck.c (__getclktck): Likewise.
42170         * misc/getdtsz.c (__getdtablesize): Likewise.
42171         * misc/gethostid.c (gethostid): Likewise.
42172         * misc/getpagesize.c (__getpagesize): Likewise.
42173         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
42174         (__get_nprocs): Likewise.
42175         (__get_phys_pages): Likewise.
42176         (__get_avphys_pages): Likewise.
42177         * misc/getttyent.c (getttyent): Likewise.
42178         (setttyent): Likewise.
42179         (endttyent): Likewise.
42180         * misc/getusershell.c (getusershell): Likewise.
42181         (endusershell): Likewise.
42182         (setusershell): Likewise.
42183         (initshells): Likewise.
42184         * misc/hsearch.c (__hdestroy): Likewise.
42185         * misc/sync.c (sync): Likewise.
42186         * misc/syslog.c (closelog_internal): Likewise.
42187         (closelog): Likewise.
42188         * misc/ttyslot.c (ttyslot): Likewise.
42189         * misc/vhangup.c (vhangup): Likewise.
42190         * posix/fork.c (__fork): Likewise.
42191         * posix/getegid.c (__getegid): Likewise.
42192         * posix/geteuid.c (__geteuid): Likewise.
42193         * posix/getgid.c (__getgid): Likewise.
42194         * posix/getpid.c (__getpid): Likewise.
42195         * posix/getppid.c (__getppid): Likewise.
42196         * posix/getuid.c (__getuid): Likewise.
42197         * posix/pause.c (pause): Likewise.
42198         * posix/setpgrp.c (setpgrp): Likewise.
42199         * posix/setsid.c (__setsid): Likewise.
42200         * posix/test-vfork.c (noop): Likewise.
42201         * resolv/gethnamaddr.c (_endhtent): Likewise.
42202         (_gethtent): Likewise.
42203         (ht_endhostent): Likewise.
42204         (gethostent): Likewise.
42205         (dns_service): Likewise.
42206         * stdlib/drand48.c (drand48): Likewise.
42207         * stdlib/lrand48.c (lrand48): Likewise.
42208         * stdlib/mrand48.c (mrand48): Likewise.
42209         * stdlib/rand.c (rand): Likewise.
42210         * stdlib/random.c (__random): Likewise.
42211         * stdlib/setenv.c (clearenv): Likewise.
42212         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
42213         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
42214         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
42215         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
42216         (__get_nprocs): Likewise.
42217         (__get_phys_pages): Likewise.
42218         (__get_avphys_pages): Likewise.
42219         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
42220         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
42221         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
42222         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
42223         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
42224         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
42225         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
42226         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
42227         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
42228         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
42229         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
42230         * sysdeps/mach/hurd/sync.c (sync): Likewise.
42231         * sysdeps/posix/clock.c (clock): Likewise.
42232         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
42233         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
42234         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
42235         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
42236         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
42237         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
42238         (__get_nprocs_conf): Likewise.
42239         (__get_phys_pages): Likewise.
42240         (__get_avphys_pages): Likewise.
42241         * time/clock.c (clock): Likewise.
42242         * time/tzset.c (__tzname_max): Likewise.
42244 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
42246         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
42247         (__bswap_32): Do not use "register".
42248         * crypt/crypt.c (_ufc_doit_r): Likewise.
42249         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
42250         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
42251         * gmon/gmon.c (__monstartup): Likewise.
42252         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
42253         * hurd/hurdmalloc.c (more_memory): Likewise.
42254         (malloc): Likewise.
42255         (free): Likewise.
42256         (realloc): Likewise.
42257         (malloc_fork_prepare): Likewise.
42258         (malloc_fork_parent): Likewise.
42259         (malloc_fork_child): Likewise.
42260         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
42261         (_svcauth_des): Likewise.
42262         * inet/inet_lnaof.c (inet_lnaof): Likewise.
42263         * inet/inet_net.c (inet_network): Likewise.
42264         * inet/inet_netof.c (inet_netof): Likewise.
42265         * inet/rcmd.c (__validuser2_sa): Likewise.
42266         * io/fts.c (fts_open): Likewise.
42267         (fts_load): Likewise.
42268         (fts_close): Likewise.
42269         (fts_read): Likewise.
42270         (fts_children): Likewise.
42271         (fts_build): Likewise.
42272         (fts_stat): Likewise.
42273         (fts_sort): Likewise.
42274         (fts_alloc): Likewise.
42275         (fts_lfree): Likewise.
42276         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
42277         (_IO_file_xsgetn): Likewise.
42278         (_IO_file_xsgetn_mmap): Likewise.
42279         * libio/iofopncook.c (_IO_cookie_read): Likewise.
42280         (_IO_cookie_write): Likewise.
42281         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
42282         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
42283         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
42284         * malloc/obstack.c (_obstack_begin): Likewise.
42285         (_obstack_begin_1): Likewise.
42286         (_obstack_newchunk): Likewise.
42287         (_obstack_allocated_p): Likewise.
42288         (obstack_free): Likewise.
42289         (_obstack_memory_used): Likewise.
42290         * misc/getttyent.c (getttynam): Likewise.
42291         (getttyent): Likewise.
42292         (skip): Likewise.
42293         (value): Likewise.
42294         * misc/getusershell.c (initshells): Likewise.
42295         * misc/syslog.c (__vsyslog_chk): Likewise.
42296         * misc/ttyslot.c (ttyslot): Likewise.
42297         * nis/nis_hash.c (__nis_hash): Likewise.
42298         * posix/fnmatch_loop.c (FCT): Likewise.
42299         * posix/getconf.c (print_all): Likewise.
42300         (main): Likewise.
42301         * posix/getopt.c (exchange): Likewise.
42302         * posix/glob.c (globfree): Likewise.
42303         (prefix_array): Likewise.
42304         (__glob_pattern_type): Likewise.
42305         * resolv/arpa/nameser.h (NS_GET16): Likewise.
42306         (NS_GET32): Likewise.
42307         (NS_PUT16): Likewise.
42308         (NS_PUT32): Likewise.
42309         * resolv/gethnamaddr.c (getanswer): Likewise.
42310         (gethostbyname2): Likewise.
42311         (gethostbyaddr): Likewise.
42312         (_gethtent): Likewise.
42313         (_gethtbyname2): Likewise.
42314         (_gethtbyaddr): Likewise.
42315         * resolv/ns_print.c (dst_s_get_int16): Likewise.
42316         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
42317         * resolv/res_init.c (__res_vinit): Likewise.
42318         (net_mask): Likewise.
42319         * resolv/res_mkquery.c (outchar): Likewise.
42320         (PRINT): Likewise.
42321         * stdio-common/printf_fp.c (outchar): Likewise.
42322         (PRINT): Likewise.
42323         * stdio-common/printf_fphex.c (outchar): Likewise.
42324         (PRINT): Likewise.
42325         * stdio-common/printf_size.c (outchar): Likewise.
42326         (PRINT): Likewise.
42327         * stdio-common/test_rdwr.c (main): Likewise.
42328         * stdio-common/tfformat.c (matches): Likewise.
42329         * stdio-common/vfprintf.c (outchar): Likewise.
42330         (printf_unknown): Likewise.
42331         (buffered_vfprintf): Likewise.
42332         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42333         * stdio-common/xbug.c (AppendToBuffer): Likewise.
42334         (ReadFile): Likewise.
42335         * stdlib/qsort.c (SWAP): Likewise.
42336         (_quicksort): Likewise.
42337         * stdlib/setenv.c (__add_to_environ): Likewise.
42338         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42339         * stdlib/strtol_l.c (__strtol_l): Likewise.
42340         * stdlib/tst-strtod.c (main): Likewise.
42341         * stdlib/tst-strtol.c (main): Likewise.
42342         * stdlib/tst-strtoll.c (main): Likewise.
42343         * string/bits/string2.h (__strcmp_cc): Likewise.
42344         (__strcmp_cg): Likewise.
42345         (__strcspn_c1): Likewise.
42346         (__strcspn_c2): Likewise.
42347         (__strcspn_c3): Likewise.
42348         (__strspn_c1): Likewise.
42349         (__strspn_c2): Likewise.
42350         (__strspn_c3): Likewise.
42351         (__strsep_1c): Likewise.
42352         (__strsep_2c): Likewise.
42353         (__strsep_3c): Likewise.
42354         * string/memccpy.c (__memccpy): Likewise.
42355         * string/stpcpy.c (__stpcpy): Likewise.
42356         * string/strcmp.c (strcmp): Likewise.
42357         * string/strrchr.c (strrchr): Likewise.
42358         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
42359         Likewise.
42360         * sysdeps/mach/hurd/getcwd.c
42361         (_hurd_canonicalize_directory_name_internal): Likewise.
42362         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
42363         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
42364         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
42365         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
42366         Likewise, in both definitions.
42367         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
42368         definitions.
42369         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
42370         64] (__bswap_64): Likewise.
42371         * time/test_time.c (main): Likewise.
42372         * time/tzfile.c (__tzfile_read): Likewise.
42373         (__tzfile_compute): Likewise.
42374         * time/tzset.c (__tzset_parse_tz): Likewise.
42375         (tzset_internal): Likewise.
42376         (compute_change): Likewise.
42377         * wcsmbs/wcscat.c (__wcscat): Likewise.
42378         * wcsmbs/wcschr.c (wcschr): Likewise.
42379         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
42380         * wcsmbs/wcscspn.c (wcscspn): Likewise.
42381         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
42382         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
42383         * wcsmbs/wcsspn.c (wcsspn): Likewise.
42384         * wcsmbs/wcsstr.c (wcsstr): Likewise.
42385         * wcsmbs/wmemchr.c (wmemchr): Likewise.
42386         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42387         * wcsmbs/wmemset.c (wmemset): Likewise.
42389 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
42391         * scripts/config.guess: Update to version 2013-05-16.
42392         * scripts/config.sub: Update to version 2013-04-24.
42393         * scripts/install-sh: Update to version 2011-11-20.07.
42394         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
42395         * scripts/move-if-change: Update to version 2012-01-06 07:23.
42397 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
42399         * debug/fgetws_u_chk.c: Fix leading whitespaces.
42400         * elf/sln.c: Likewise.
42401         * hurd/hurd/ioctl.h: Likewise.
42402         * hurd/hurdmalloc.c: Likewise.
42403         * hurd/xattr.c: Likewise.
42404         * include/shlib-compat.h: Likewise.
42405         * inet/ruserpass.c: Likewise.
42406         * libio/iofgets_u.c: Likewise.
42407         * libio/iofgetws_u.c: Likewise.
42408         * locale/programs/ld-identification.c: Likewise.
42409         * locale/programs/ld-time.c: Likewise.
42410         * mach/msg-destroy.c: Likewise.
42411         * nss/nss_files/files-netgrp.c: Likewise.
42412         * resolv/res_data.c: Likewise.
42413         * soft-fp/op-1.h: Likewise.
42414         * soft-fp/op-2.h: Likewise.
42415         * soft-fp/op-4.h: Likewise.
42416         * soft-fp/op-common.h: Likewise.
42417         * stdio-common/printf_fphex.c: Likewise.
42418         * stdlib/strtod_l.c: Likewise.
42419         * sunrpc/rpc/clnt.h: Likewise.
42420         * sysdeps/generic/framestate.c: Likewise.
42421         * sysdeps/i386/bsd-_setjmp.S: Likewise.
42422         * sysdeps/i386/bsd-setjmp.S: Likewise.
42423         * sysdeps/i386/__longjmp.S: Likewise.
42424         * sysdeps/i386/setjmp.S: Likewise.
42425         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42426         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42427         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42428         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42429         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42430         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
42431         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42432         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42433         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42434         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
42435         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
42436         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
42437         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
42438         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
42439         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
42440         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42441         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
42442         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
42443         * sysdeps/ieee754/support.c: Likewise.
42444         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42445         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
42446         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
42447         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
42448         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
42449         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
42450         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
42451         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
42452         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
42453         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
42454         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
42455         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
42456         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
42457         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
42458         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
42459         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
42460         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
42461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
42463 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
42465         * posix/transbug.c: Remove executable mode.
42467 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
42469         * crypt/speeds.c: Remove trailing whitespace.
42470         * dlfcn/default.c: Likewise.
42471         * elf/ifuncdep2.c: Likewise.
42472         * elf/ifuncmain1.c: Likewise.
42473         * elf/ifuncmain1vis.c: Likewise.
42474         * elf/testobj.h: Likewise.
42475         * elf/tst-stackguard1.c: Likewise.
42476         * gmon/sys/gmon.h: Likewise.
42477         * hurd/hurdmsg.c: Likewise.
42478         * hurd/new-fd.c: Likewise.
42479         * hurd/ports-get.c: Likewise.
42480         * iconvdata/ibm1008_420.c: Likewise.
42481         * inet/tst-getni1.c: Likewise.
42482         * inet/tst-getni2.c: Likewise.
42483         * libio/ioungetc.c: Likewise.
42484         * libio/wfiledoalloc.c: Likewise.
42485         * manual/libm-err-tab.pl: Likewise.
42486         * math/w_dremf.c: Likewise.
42487         * misc/ftruncate.c: Likewise.
42488         * posix/bug-glob2.c: Likewise.
42489         * posix/tst-pcre.c: Likewise.
42490         * posix/wait4.c: Likewise.
42491         * resolv/README: Likewise.
42492         * resolv/res_debug.h: Likewise.
42493         * resolv/tst-inet_ntop.c: Likewise.
42494         * setjmp/bug269-setjmp.c: Likewise.
42495         * soft-fp/extended.h: Likewise.
42496         * soft-fp/op-1.h: Likewise.
42497         * soft-fp/op-2.h: Likewise.
42498         * soft-fp/op-4.h: Likewise.
42499         * soft-fp/op-8.h: Likewise.
42500         * soft-fp/testit.c: Likewise.
42501         * stdio-common/bug16.c: Likewise.
42502         * stdlib/random.c: Likewise.
42503         * sunrpc/rpcsvc/rquota.x: Likewise.
42504         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
42505         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42506         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42507         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42508         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42509         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42510         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42511         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42512         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42513         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42514         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42515         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
42516         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42517         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
42518         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42519         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
42520         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
42521         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42522         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
42523         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42524         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42525         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42526         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
42527         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
42528         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
42529         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
42530         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42531         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42532         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42533         * sysdeps/ieee754/s_lib_version.c: Likewise.
42534         * sysdeps/mach/hurd/check_fds.c: Likewise.
42535         * sysdeps/mach/hurd/getsockname.c: Likewise.
42536         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
42537         * sysdeps/mach/hurd/recvfrom.c: Likewise.
42538         * sysdeps/powerpc/bits/link.h: Likewise.
42539         * sysdeps/powerpc/dl-procinfo.c: Likewise.
42540         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
42541         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
42542         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
42543         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
42544         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
42545         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
42546         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
42547         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
42548         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
42549         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
42550         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42551         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
42552         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
42553         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
42554         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
42555         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42556         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42557         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
42558         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
42559         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
42560         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
42561         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
42562         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
42563         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
42564         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42565         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42566         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
42567         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
42568         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42569         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42570         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42571         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
42572         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
42573         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
42574         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
42575         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
42576         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42577         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
42578         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
42579         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
42580         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
42581         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
42582         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
42583         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42584         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
42585         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
42586         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42587         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
42588         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
42589         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42590         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42591         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
42592         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
42593         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
42594         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
42595         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
42596         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
42597         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
42598         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
42599         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
42600         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
42601         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
42602         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
42603         * sysdeps/powerpc/sysdep.h: Likewise.
42604         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42605         * sysdeps/s390/s390-64/sub_n.S: Likewise.
42606         * sysdeps/sh/dl-trampoline.S: Likewise.
42607         * sysdeps/sh/memset.S: Likewise.
42608         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
42609         * sysdeps/sh/strlen.S: Likewise.
42610         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
42611         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
42612         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
42613         * sysdeps/sparc/sparc32/rem.S: Likewise.
42614         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
42615         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
42616         * sysdeps/sparc/sparc32/strchr.S: Likewise.
42617         * sysdeps/sparc/sparc32/udiv.S: Likewise.
42618         * sysdeps/sparc/sparc32/urem.S: Likewise.
42619         * sysdeps/sparc/sparc64/add_n.S: Likewise.
42620         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42621         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
42622         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
42623         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
42624         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
42625         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
42626         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
42627         * sysdeps/unix/bsd/times.c: Likewise.
42628         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
42629         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
42630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
42631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
42632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
42633         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
42634         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
42635         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
42636         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
42637         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
42638         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
42639         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
42640         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
42641         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42642         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
42643         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
42644         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
42645         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
42646         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
42647         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
42648         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
42649         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
42650         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42651         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
42652         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
42653         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
42654         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
42655         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42656         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
42657         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
42658         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
42659         * sysdeps/x86_64/strcspn.S: Likewise.
42661 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42663         * locale/C-translit.h: Revert #include <stdint.h> because this is a
42664         generated file.  Regenerate properly from gen-translit.pl.
42665         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
42666         locale/C-translit.h.
42668 2013-06-05  Andreas Schwab  <schwab@suse.de>
42670         [BZ #15100]
42671         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
42672         week as 6 instead of -1.
42673         * time/tst-strptime.c (day_tests): Add test case.
42675 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42677         * sysdeps/generic/math_private.h
42678         (libc_feholdexcept_setround_53bit): Replace with
42679         libc_feholdsetround_53bit.
42680         (libc_feupdateenv_53bit): Replace with
42681         libc_feresetround_53bit.
42682         (SET_RESTORE_ROUND_53BIT): Adjust.
42684 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42686         * string/test-strchrnul.c: Add copyright header.
42688         * posix/tst-getaddrinfo4.c: Increase test timeout.
42690 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
42692         [BZ #15536]
42693         * math/libm-test.inc (MAX_EXP): Remove
42694         (MIN_EXP): Define.
42695         (ulp): Use MIN_EXP - MANT_DIG.
42696         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
42698 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
42700         * po/be.po: Revert last change.
42701         * po/zh_CN.po: Likewise.
42702         * po/header.pot: Likewise.
42704 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
42706         * Makefile ($(common-objpfx)linkobj/libc.so): Define
42707         link-libc-deps to empty as target-specific variable.
42708         * Makerules (link-libc-args): New variable.
42709         (libc-for-link): Likewise.
42710         (link-libc-deps): Likewise.
42711         (lib%.so): Depend on $(link-libc-deps).  Link with
42712         $(link-libc-args).
42713         (build-module): Link with $(link-libc-args).
42714         (build-module-asneeded): Likewise.
42715         (build-module-helper-objlist): Filter out $(link-libc-deps) from
42716         list of objects.
42717         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
42718         target-specific variable.
42719         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
42720         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
42721         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
42722         libc.
42723         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
42724         libc and ld.so.
42725         ($(objpfx)libpcprofile.so): Likewise.
42726         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
42727         libc_nonshared.a.
42728         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
42729         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
42730         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
42731         $(link-libc-deps).
42732         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
42733         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
42734         * login/Makefile ($(objpfx)libutil.so): Likewise.
42735         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
42736         * math/Makefile ($(objpfx)libm.so): Likewise.
42737         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
42738         $(objpfx)libnsl.so): Define libc-for-link as target-specific
42739         variable instead of depending directly on libc.
42740         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
42741         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
42742         $(link-libc-deps).
42743         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
42744         libc.
42745         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
42746         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
42747         ($(objpfx)libanl.so): Likewise.
42748         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
42749         ld.so.
42750         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
42751         $(link-libc-deps).
42752         * sysdeps/i386/fpu/Makefile: Remove file.
42753         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
42754         ($(objpfx)libm.so): Remove dependency on ld.so.
42756 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
42758         [BZ # 15553]
42759         * nis/yp_xdr.c (XDRMAXNAME): Define.
42760         (XDRMAXRECORD): Define.
42761         (xdr_domainname): Use XDRMAXNAME.
42762         (xdr_mapname): Likewise.
42763         (xdr_peername): Likewise.
42764         (xdr_keydat): Use XDRMAXRECORD.
42765         (xdr_valdat): Likewise.
42767 2013-05-30  Jeff Law  <law@redhat.com>
42769         [BZ #14256]
42770         * manual/errno.texi (ESTALE): Update to account for more than
42771         just NFS file systems.
42772         * sysdeps/gnu/errlist.c: Regenerated.
42774 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42776         [BZ #15465]
42777         * elf/Makefile (tests): Add tst-null-argv.
42778         (modules-names):  Add tst-null-argv-lib.
42779         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
42780         (tst-null-argv-ENV): Set environment for tst-null-argv.
42781         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
42782         (RTLD_PROGNAME): New macro.
42783         * elf/tst-null-argv.c: New test case.
42784         * elf/tst-null-argv-lib.c: Library for test case.
42785         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
42786         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
42787         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
42788         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
42789         * elf/dl-init.c (call_init): Likewise.
42790         (_dl_init): Likewise.
42791         * elf/dl-load.c (print_search_path): Likewise.
42792         (_dl_map_object): Likewise.
42793         * elf/dl-lookup.c (do_lookup_x): Likewise.
42794         (add_dependency): Likewise.
42795         (_dl_lookup_symbol_x): Likewise.
42796         (_dl_debug_bindings): Likewise.
42797         * elf/dl-open.c (_dl_show_scope): Likewise.
42798         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42799         * elf/dl-version.c (match_symbol): Likewise.
42800         (_dl_check_map_versions): Likewise.
42801         * elf/rtld.c (dl_main): Likewise.
42802         (print_unresolved): Use RTLD_PROGNAME.
42803         (print_missing_version): Likewise.
42804         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
42805         (elf_machine_rela): Likewise.
42806         * sysdeps/powerpc/powerpc32/dl-machine.c
42807         (__process_machine_rela): Likewise.
42808         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42809         Likewise.
42810         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42811         Likewise.
42812         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
42813         Likewise.
42814         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42815         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
42816         Likewise.
42817         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
42818         Likewise.
42819         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42821 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
42823         * po/be.po: Add descriptive title.
42824         * po/zh_CN.po: Likewise.
42825         * po/header.pot: Likewise.
42827 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
42829         * locale/programs/locarchive.c (create_archive): Inlucde fname in
42830         error message.
42831         (enlarge_archive): Likewise.
42833 2013-05-28  Ben North  <ben@redfrontdoor.org>
42835         * manual/arith.texi (frexp): It is the magnitude of the return
42836         value which lies in [0.5, 1), not the return value itself.
42838 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42842 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
42844         * stdio-common/bug26.c (main): Correct fscanf template.
42846         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
42847         declare _dl_skip_args.
42849         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
42850         Don't declare.
42852         * manual/platform.texi: Add missing @end deftypefun.
42854 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
42856         [BZ #15529]
42857         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
42858         bit of mantissa of 2^16382.
42859         * math/libm-test.inc (hypot_test_data): Add more tests.
42861         * math/libm-test.inc: Add drem and pow10 to list of tested
42862         functions.
42863         (pow10_test): New function.
42864         (drem_test): Likewise.
42865         (drem_test_tonearest): Likewise.
42866         (drem_test_towardzero): Likewise.
42867         (drem_test_downward): Likewise.
42868         (drem_test_upward): Likewise.
42869         (main): Call the new functions.
42871         * math/libm-test.inc (finite_test_data): Remove.
42872         (finite_test): Run tests from isfinite_test_data.
42873         (gamma_test_data): Remove.
42874         (gamma_test): Run tests from lgamma_test_data.
42875         * sysdeps/i386/fpu/libm-test-ulps: Update.
42876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42878 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42880         * manual/platform.texi: Add PowerPC PPR function set documentation.
42881         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
42882         implementation.
42884 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
42886         * math/libm-test.inc (MAX_EXP): Define.
42887         (ULPDIFF): Define.
42888         (ulp): New function.
42889         (check_float_internal): Use ULPDIFF.
42890         (cpow_test): Disable failing test.
42891         (check_ulp): Test ulp() implemetnation.
42892         (main): Call check_ulp before starting tests.
42894 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
42896         * math/gen-libm-test.pl (generate_testfile): Do not handle
42897         START_DATA and END_DATA.
42898         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
42899         END_DATA.
42900         (acos_tonearest_test_data): Likewise.
42901         (acos_towardzero_test_data): Likewise.
42902         (acos_downward_test_data): Likewise.
42903         (acos_upward_test_data): Likewise.
42904         (acosh_test_data): Likewise.
42905         (asin_test_data): Likewise.
42906         (asin_tonearest_test_data): Likewise.
42907         (asin_towardzero_test_data): Likewise.
42908         (asin_downward_test_data): Likewise.
42909         (asin_upward_test_data): Likewise.
42910         (asinh_test_data): Likewise.
42911         (atan_test_data): Likewise.
42912         (atanh_test_data): Likewise.
42913         (atan2_test_data): Likewise.
42914         (cabs_test_data): Likewise.
42915         (cacos_test_data): Likewise.
42916         (cacosh_test_data): Likewise.
42917         (carg_test_data): Likewise.
42918         (casin_test_data): Likewise.
42919         (casinh_test_data): Likewise.
42920         (catan_test_data): Likewise.
42921         (catanh_test_data): Likewise.
42922         (cbrt_test_data): Likewise.
42923         (ccos_test_data): Likewise.
42924         (ccosh_test_data): Likewise.
42925         (ceil_test_data): Likewise.
42926         (cexp_test_data): Likewise.
42927         (cimag_test_data): Likewise.
42928         (clog_test_data): Likewise.
42929         (clog10_test_data): Likewise.
42930         (conj_test_data): Likewise.
42931         (copysign_test_data): Likewise.
42932         (cos_test_data): Likewise.
42933         (cos_tonearest_test_data): Likewise.
42934         (cos_towardzero_test_data): Likewise.
42935         (cos_downward_test_data): Likewise.
42936         (cos_upward_test_data): Likewise.
42937         (cosh_test_data): Likewise.
42938         (cosh_tonearest_test_data): Likewise.
42939         (cosh_towardzero_test_data): Likewise.
42940         (cosh_downward_test_data): Likewise.
42941         (cosh_upward_test_data): Likewise.
42942         (cpow_test_data): Likewise.
42943         (cproj_test_data): Likewise.
42944         (creal_test_data): Likewise.
42945         (csin_test_data): Likewise.
42946         (csinh_test_data): Likewise.
42947         (csqrt_test_data): Likewise.
42948         (ctan_test_data): Likewise.
42949         (ctan_tonearest_test_data): Likewise.
42950         (ctan_towardzero_test_data): Likewise.
42951         (ctan_downward_test_data): Likewise.
42952         (ctan_upward_test_data): Likewise.
42953         (ctanh_test_data): Likewise.
42954         (ctanh_tonearest_test_data): Likewise.
42955         (ctanh_towardzero_test_data): Likewise.
42956         (ctanh_downward_test_data): Likewise.
42957         (ctanh_upward_test_data): Likewise.
42958         (erf_test_data): Likewise.
42959         (erfc_test_data): Likewise.
42960         (exp_test_data): Likewise.
42961         (exp_tonearest_test_data): Likewise.
42962         (exp_towardzero_test_data): Likewise.
42963         (exp_downward_test_data): Likewise.
42964         (exp_upward_test_data): Likewise.
42965         (exp10_test_data): Likewise.
42966         (exp2_test_data): Likewise.
42967         (expm1_test_data): Likewise.
42968         (fabs_test_data): Likewise.
42969         (fdim_test_data): Likewise.
42970         (finite_test_data): Likewise.
42971         (floor_test_data): Likewise.
42972         (fma_test_data): Likewise.
42973         (fma_towardzero_test_data): Likewise.
42974         (fma_downward_test_data): Likewise.
42975         (fma_upward_test_data): Likewise.
42976         (fmax_test_data): Likewise.
42977         (fmin_test_data): Likewise.
42978         (fmod_test_data): Likewise.
42979         (fpclassify_test_data): Likewise.
42980         (frexp_test_data): Likewise.
42981         (gamma_test_data): Likewise.
42982         (hypot_test_data): Likewise.
42983         (ilogb_test_data): Likewise.
42984         (isfinite_test_data): Likewise.
42985         (isgreater_test_data): Likewise.
42986         (isgreaterequal_test_data): Likewise.
42987         (isinf_test_data): Likewise.
42988         (isless_test_data): Likewise.
42989         (islessequal_test_data): Likewise.
42990         (islessgreater_test_data): Likewise.
42991         (isnan_test_data): Likewise.
42992         (isnormal_test_data): Likewise.
42993         (issignaling_test_data): Likewise.
42994         (isunordered_test_data): Likewise.
42995         (j0_test_data): Likewise.
42996         (j1_test_data): Likewise.
42997         (jn_test_data): Likewise.
42998         (ldexp_test_data): Likewise.
42999         (lgamma_test_data): Likewise.
43000         (lrint_test_data): Likewise.
43001         (lrint_tonearest_test_data): Likewise.
43002         (lrint_towardzero_test_data): Likewise.
43003         (lrint_downward_test_data): Likewise.
43004         (lrint_upward_test_data): Likewise.
43005         (llrint_test_data): Likewise.
43006         (llrint_tonearest_test_data): Likewise.
43007         (llrint_towardzero_test_data): Likewise.
43008         (llrint_downward_test_data): Likewise.
43009         (llrint_upward_test_data): Likewise.
43010         (log_test_data): Likewise.
43011         (log10_test_data): Likewise.
43012         (log1p_test_data): Likewise.
43013         (log2_test_data): Likewise.
43014         (logb_test_data): Likewise.
43015         (logb_downward_test_data): Likewise.
43016         (lround_test_data): Likewise.
43017         (llround_test_data): Likewise.
43018         (modf_test_data): Likewise.
43019         (nearbyint_test_data): Likewise.
43020         (nextafter_test_data): Likewise.
43021         (nexttoward_test_data): Likewise.
43022         (pow_test_data): Likewise.
43023         (pow_tonearest_test_data): Likewise.
43024         (pow_towardzero_test_data): Likewise.
43025         (pow_downward_test_data): Likewise.
43026         (pow_upward_test_data): Likewise.
43027         (remainder_test_data): Likewise.
43028         (remainder_tonearest_test_data): Likewise.
43029         (remainder_towardzero_test_data): Likewise.
43030         (remainder_downward_test_data): Likewise.
43031         (remainder_upward_test_data): Likewise.
43032         (remquo_test_data): Likewise.
43033         (rint_test_data): Likewise.
43034         (rint_tonearest_test_data): Likewise.
43035         (rint_towardzero_test_data): Likewise.
43036         (rint_downward_test_data): Likewise.
43037         (rint_upward_test_data): Likewise.
43038         (round_test_data): Likewise.
43039         (scalb_test_data): Likewise.
43040         (scalbn_test_data): Likewise.
43041         (scalbln_test_data): Likewise.
43042         (signbit_test_data): Likewise.
43043         (sin_test_data): Likewise.
43044         (sin_tonearest_test_data): Likewise.
43045         (sin_towardzero_test_data): Likewise.
43046         (sin_downward_test_data): Likewise.
43047         (sin_upward_test_data): Likewise.
43048         (sincos_test_data): Likewise.
43049         (sinh_test_data): Likewise.
43050         (sinh_tonearest_test_data): Likewise.
43051         (sinh_towardzero_test_data): Likewise.
43052         (sinh_downward_test_data): Likewise.
43053         (sinh_upward_test_data): Likewise.
43054         (sqrt_test_data): Likewise.
43055         (tan_test_data): Likewise.
43056         (tan_tonearest_test_data): Likewise.
43057         (tan_towardzero_test_data): Likewise.
43058         (tan_downward_test_data): Likewise.
43059         (tan_upward_test_data): Likewise.
43060         (tanh_test_data): Likewise.
43061         (tgamma_test_data): Likewise.
43062         (trunc_test_data): Likewise.
43063         (y0_test_data): Likewise.
43064         (y1_test_data): Likewise.
43065         (yn_test_data): Likewise.
43066         (significand_test_data): Likewise.
43068         * math/gen-libm-test.pl (@functions): Remove variable.
43069         (generate_testfile): Don't handle START and END lines.
43070         * math/libm-test.inc (START): New macro.
43071         (END): Likewise.
43072         (END_COMPLEX): Likewise.
43073         (acos_test): Use END macro without arguments.
43074         (acos_test_tonearest): Likewise.
43075         (acos_test_towardzero): Likewise.
43076         (acos_test_downward): Likewise.
43077         (acos_test_upward): Likewise.
43078         (acosh_test): Likewise.
43079         (asin_test): Likewise.
43080         (asin_test_tonearest): Likewise.
43081         (asin_test_towardzero): Likewise.
43082         (asin_test_downward): Likewise.
43083         (asin_test_upward): Likewise.
43084         (asinh_test): Likewise.
43085         (atan_test): Likewise.
43086         (atanh_test): Likewise.
43087         (atan2_test): Likewise.
43088         (cabs_test): Likewise.
43089         (cacos_test): Use END_COMPLEX macro without arguments.
43090         (cacosh_test): Likewise.
43091         (carg_test): Use END macro without arguments.
43092         (casin_test): Use END_COMPLEX macro without arguments.
43093         (casinh_test): Likewise.
43094         (catan_test): Likewise.
43095         (catanh_test): Likewise.
43096         (cbrt_test): Use END macro without arguments.
43097         (ccos_test): Use END_COMPLEX macro without arguments.
43098         (ccosh_test): Likewise.
43099         (ceil_test): Use END macro without arguments.
43100         (cexp_test): Use END_COMPLEX macro without arguments.
43101         (cimag_test): Use END macro without arguments.
43102         (clog_test): Use END_COMPLEX macro without arguments.
43103         (clog10_test): Likewise.
43104         (conj_test): Likewise.
43105         (copysign_test): Use END macro without arguments.
43106         (cos_test): Likewise.
43107         (cos_test_tonearest): Likewise.
43108         (cos_test_towardzero): Likewise.
43109         (cos_test_downward): Likewise.
43110         (cos_test_upward): Likewise.
43111         (cosh_test): Likewise.
43112         (cosh_test_tonearest): Likewise.
43113         (cosh_test_towardzero): Likewise.
43114         (cosh_test_downward): Likewise.
43115         (cosh_test_upward): Likewise.
43116         (cpow_test): Use END_COMPLEX macro without arguments.
43117         (cproj_test): Likewise.
43118         (creal_test): Use END macro without arguments.
43119         (csin_test): Use END_COMPLEX macro without arguments.
43120         (csinh_test): Likewise.
43121         (csqrt_test): Likewise.
43122         (ctan_test): Likewise.
43123         (ctan_test_tonearest): Likewise.
43124         (ctan_test_towardzero): Likewise.
43125         (ctan_test_downward): Likewise.
43126         (ctan_test_upward): Likewise.
43127         (ctanh_test): Likewise.
43128         (ctanh_test_tonearest): Likewise.
43129         (ctanh_test_towardzero): Likewise.
43130         (ctanh_test_downward): Likewise.
43131         (ctanh_test_upward): Likewise.
43132         (erf_test): Use END macro without arguments.
43133         (erfc_test): Likewise.
43134         (exp_test): Likewise.
43135         (exp_test_tonearest): Likewise.
43136         (exp_test_towardzero): Likewise.
43137         (exp_test_downward): Likewise.
43138         (exp_test_upward): Likewise.
43139         (exp10_test): Likewise.
43140         (exp2_test): Likewise.
43141         (expm1_test): Likewise.
43142         (fabs_test): Likewise.
43143         (fdim_test): Likewise.
43144         (finite_test): Likewise.
43145         (floor_test): Likewise.
43146         (fma_test): Likewise.
43147         (fma_test_towardzero): Likewise.
43148         (fma_test_downward): Likewise.
43149         (fma_test_upward): Likewise.
43150         (fmax_test): Likewise.
43151         (fmin_test): Likewise.
43152         (fmod_test): Likewise.
43153         (fpclassify_test): Likewise.
43154         (frexp_test): Likewise.
43155         (gamma_test): Likewise.
43156         (hypot_test): Likewise.
43157         (ilogb_test): Likewise.
43158         (isfinite_test): Likewise.
43159         (isgreater_test): Likewise.
43160         (isgreaterequal_test): Likewise.
43161         (isinf_test): Likewise.
43162         (isless_test): Likewise.
43163         (islessequal_test): Likewise.
43164         (islessgreater_test): Likewise.
43165         (isnan_test): Likewise.
43166         (isnormal_test): Likewise.
43167         (issignaling_test): Likewise.
43168         (isunordered_test): Likewise.
43169         (j0_test): Likewise.
43170         (j1_test): Likewise.
43171         (jn_test): Likewise.
43172         (ldexp_test): Likewise.
43173         (lgamma_test): Likewise.
43174         (lrint_test): Likewise.
43175         (lrint_test_tonearest): Likewise.
43176         (lrint_test_towardzero): Likewise.
43177         (lrint_test_downward): Likewise.
43178         (lrint_test_upward): Likewise.
43179         (llrint_test): Likewise.
43180         (llrint_test_tonearest): Likewise.
43181         (llrint_test_towardzero): Likewise.
43182         (llrint_test_downward): Likewise.
43183         (llrint_test_upward): Likewise.
43184         (log_test): Likewise.
43185         (log10_test): Likewise.
43186         (log1p_test): Likewise.
43187         (log2_test): Likewise.
43188         (logb_test): Likewise.
43189         (logb_test_downward): Likewise.
43190         (lround_test): Likewise.
43191         (llround_test): Likewise.
43192         (modf_test): Likewise.
43193         (nearbyint_test): Likewise.
43194         (nextafter_test): Likewise.
43195         (nexttoward_test): Likewise.
43196         (pow_test): Likewise.
43197         (pow_test_tonearest): Likewise.
43198         (pow_test_towardzero): Likewise.
43199         (pow_test_downward): Likewise.
43200         (pow_test_upward): Likewise.
43201         (remainder_test): Likewise.
43202         (remainder_test_tonearest): Likewise.
43203         (remainder_test_towardzero): Likewise.
43204         (remainder_test_downward): Likewise.
43205         (remainder_test_upward): Likewise.
43206         (remquo_test): Likewise.
43207         (rint_test): Likewise.
43208         (rint_test_tonearest): Likewise.
43209         (rint_test_towardzero): Likewise.
43210         (rint_test_downward): Likewise.
43211         (rint_test_upward): Likewise.
43212         (round_test): Likewise.
43213         (scalb_test): Likewise.
43214         (scalbn_test): Likewise.
43215         (scalbln_test): Likewise.
43216         (signbit_test): Likewise.
43217         (sin_test): Likewise.
43218         (sin_test_tonearest): Likewise.
43219         (sin_test_towardzero): Likewise.
43220         (sin_test_downward): Likewise.
43221         (sin_test_upward): Likewise.
43222         (sincos_test): Likewise.
43223         (sinh_test): Likewise.
43224         (sinh_test_tonearest): Likewise.
43225         (sinh_test_towardzero): Likewise.
43226         (sinh_test_downward): Likewise.
43227         (sinh_test_upward): Likewise.
43228         (sqrt_test): Likewise.
43229         (tan_test): Likewise.
43230         (tan_test_tonearest): Likewise.
43231         (tan_test_towardzero): Likewise.
43232         (tan_test_downward): Likewise.
43233         (tan_test_upward): Likewise.
43234         (tanh_test): Likewise.
43235         (tgamma_test): Likewise.
43236         (trunc_test): Likewise.
43237         (y0_test): Likewise.
43238         (y1_test): Likewise.
43239         (yn_test): Likewise.
43240         (significand_test): Likewise.
43242 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
43244         [BZ #15381]
43245         * libio/genops.c (_IO_no_init): Initialize wide struct info.
43247 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
43249         [BZ #14894]
43250         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
43251         __ppc_mdoio and __ppc_mdoom.
43252         * manual/platform.texi: Document new functions __ppc_yield,
43253         __ppc_mdoio and __ppc_mdoom.
43255 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
43257         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
43258         (main): Mention "tls" pseudo-hwcap is legacy.
43259         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
43261 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
43263         * math/gen-libm-test.pl (parse_args): Output only string of
43264         arguments as text for test name, not full call or descriptions of
43265         tests for extra outputs.
43266         (generate_testfile): Do not pass function name to parse_args.
43267         Generate this_func variable from START.
43268         * math/libm-test.inc (struct test_f_f_data): Rename test_name
43269         field to arg_str.
43270         (struct test_ff_f_data): Likewise.
43271         (test_ff_f_data_nexttoward): Likewise.
43272         (struct test_fi_f_data): Likewise.
43273         (struct test_fl_f_data): Likewise.
43274         (struct test_if_f_data): Likewise.
43275         (struct test_fff_f_data): Likewise.
43276         (struct test_c_f_data): Likewise.
43277         (struct test_f_f1_data): Likewise.  Remove field extra_name.
43278         (struct test_fF_f1_data): Likewise.
43279         (struct test_ffI_f1_data): Likewise.
43280         (struct test_c_c_data): Rename test_name field to arg_str.
43281         (struct test_cc_c_data): Likewise.
43282         (struct test_f_i_data): Likewise.
43283         (struct test_ff_i_data): Likewise.
43284         (struct test_f_l_data): Likewise.
43285         (struct test_f_L_data): Likewise.
43286         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
43287         and extra2_name.
43288         (COMMON_TEST_SETUP): New macro.
43289         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
43290         (COMMON_TEST_CLEANUP): Likewise.
43291         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
43292         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
43293         macros.
43294         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
43295         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
43296         macros.
43297         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
43298         (RUN_TEST_fff_f): Take argument string.  Call new setup and
43299         cleanup macros.
43300         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
43301         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
43302         macros.
43303         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
43304         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
43305         macros.
43306         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43307         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
43308         cleanup macros.
43309         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43310         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
43311         cleanup macros.
43312         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43313         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
43314         cleanup macros.
43315         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43316         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
43317         macros.
43318         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
43319         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
43320         macros.
43321         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
43322         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
43323         macros.
43324         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
43325         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
43326         cleanup macros.
43327         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
43328         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
43329         cleanup macros.
43330         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
43331         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
43332         macros.
43333         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
43334         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
43335         cleanup macros.
43336         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
43337         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
43338         macros.
43339         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
43340         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
43341         macros.
43342         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
43343         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
43344         cleanup macros.
43345         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
43347 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
43349         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
43350         to _sifields.sigfault.
43351         (si_addr_lsb): Define new macro.
43352         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
43353         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
43354         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
43356 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
43358         [BZ #15441]
43359         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
43360         returns -1.
43361         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
43362         null return -1.
43363         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
43364         loading the domain.
43366 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
43368         * math/gen-libm-test.pl (parse_args): Do not include expected
43369         result in test name.
43370         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
43371         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43372         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43373         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43374         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43377 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43379         * benchtests/Makefile: Sort function entries.
43381         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
43382         tanh, asinh, acosh, atanh.
43383         * benchtests/acos-inputs: New file.
43384         * benchtests/acosh-inputs: New file.
43385         * benchtests/asin-inputs: New file.
43386         * benchtests/asinh-inputs: New file.
43387         * benchtests/atanh-inputs: New file.
43388         * benchtests/cosh-inputs: New file.
43389         * benchtests/log-inputs: New file.
43390         * benchtests/sinh-inputs: New file.
43391         * benchtests/tanh-inputs: New file.
43393 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
43395         [BZ #15339]
43396         * posix/tst-getaddrinfo4.c: New test.
43397         * posix/Makefile (tests): Add it.
43399 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43401         [BZ #15339]
43402         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
43403         when no services were used.
43404         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
43405         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
43407 2013-05-21  Andreas Schwab  <schwab@suse.de>
43409         [BZ #15014]
43410         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
43411         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
43412         successful.
43413         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
43414         redundant variable declarations and reallocation of buffer when
43415         parsing as IPv6 address.  Always set NSS status when called from
43416         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
43417         buffer too small.  Correct computation of needed size.
43418         * nss/Makefile (tests): Add test-digits-dots.
43419         * nss/test-digits-dots.c: New test.
43421 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43423         * benchtests/Makefile: Remove instructions for adding
43424         benchmark tests.
43425         * benchtests/README: New file to explain how to execute and
43426         enhance the benchmark tests.
43428 2013-05-21  Andreas Schwab  <schwab@suse.de>
43430         [BZ #15493]
43431         * setjmp/Makefile (tests): Add tst-sigsetjmp.
43432         * setjmp/tst-sigsetjmp.c: New test.
43434 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
43436         * sysdeps/x86_64/memset.S (memset): New implementation.
43437         (__bzero): Likewise.
43438         (__memset_tail): New function.
43440 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
43442         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
43443         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
43444         __memcpy_sse2_unaligned ifunc selection.
43445         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43446         Add memcpy-sse2-unaligned.S.
43447         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43448         Add: __memcpy_sse2_unaligned.
43450 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
43452         [BZ #15490]
43453         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
43454         math_force_eval before restoring floating-point envrionment.
43455         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
43456         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
43457         Likewise.
43458         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
43459         <math_private.h>.
43460         (__nearbyintl): Use math_force_eval before restoring
43461         floating-point environment.
43462         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
43464         * math/gen-libm-test.pl (special_functions): Remove.
43465         (parse_args): Don't handle TEST_extra.  Handle functions with no
43466         return value.
43467         * math/libm-test.inc (struct test_sincos_data): Replace with
43468         struct test_fFF_11_data.
43469         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
43470         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
43471         (sincos_test_data): Change element type to struct
43472         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
43473         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
43474         RUN_TEST_LOOP_sincos.
43475         * math/README.libm-test: Don't mention special handling of
43476         individual functions.
43477         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
43478         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43479         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43480         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
43481         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43484         * math/gen-libm-test.pl (get_variable): Remove function.
43485         (parse_args): Don't show pointer parameters to call in test
43486         names.  Use "extra output N" in test names for extra outputs
43487         rather than naming variables.
43489 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
43491         [BZ #15488]
43492         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
43493         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
43494         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
43495         double tests.
43496         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
43497         disable.
43498         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
43499         check_long_double.
43501         * math/gen-libm-test.pl (@tests): Remove variable.
43502         ($count): Likewise.
43503         (new_test): Remove function.
43504         (show_exceptions): New function.
43505         (special_functions): Use show_exceptions instead of new_test.
43506         (parse_args): Likewise.
43507         (generate_testfile): Pass only function name in generated call to
43508         print_max_error or print_complex_max_error.
43509         (get_ulps): Do not handle complex tests specially.
43510         (output_test): Rename to ...
43511         (get_all_ulps_for_test): ... this.  Return a string rather than
43512         printing to a file.  Require ulps to be present.
43513         (output_ulps): Generate arrays rather than #defines.
43514         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
43515         (struct ulp_data): New type.
43516         (BUILD_COMPLEX_ULP): Remove macro.
43517         (compare_ulp_data): New function.
43518         (find_ulps): Likewise.
43519         (find_test_ulps): Likewise.
43520         (find_function_ulps): Likewise.
43521         (find_complex_function_ulps): Likewise.
43522         (print_max_error): Determine allowed ulps using
43523         find_function_ulps.
43524         (print_complex_max_error): Determine allowed ulps using
43525         find_complex_function_ulps.
43526         (check_float_internal): Determine max ulps using find_test_ulps.
43527         (check_float): Do not take max_ulp parameter.  Update call to
43528         check_float_internal.
43529         (check_complex): Likewise.
43530         (check_int): Do not take max_ulp parameter.
43531         (check_long): Likewise.
43532         (check_bool): Likewise.
43533         (check_longlong): Likewise.
43534         (struct test_f_f_data): Remove max_ulp field.
43535         (struct test_ff_f_data): Likewise.
43536         (struct test_ff_f_data_nexttoward): Likewise.
43537         (struct test_fi_f_data): Likewise.
43538         (struct test_fl_f_data): Likewise.
43539         (struct test_if_f_data): Likewise.
43540         (struct test_fff_f_data): Likewise.
43541         (struct test_c_f_data): Likewise.
43542         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
43543         (struct test_fF_f1_data): Likewise.
43544         (struct test_ffI_f1_data): Likewise.
43545         (struct test_c_c_data): Remove max_ulp field.
43546         (struct test_cc_c_data): Likewise.
43547         (struct test_f_i_data): Likewise.
43548         (struct test_ff_i_data): Likewise.
43549         (struct test_f_l_data): Likewise.
43550         (struct test_f_L_data): Likewise.
43551         (struct test_sincos_data): Likewise.
43552         (RUN_TEST_f_f): Do not handle ulps.
43553         (RUN_TEST_LOOP_f_f): Likewise.
43554         (RUN_TEST_2_f): Likewise.
43555         (RUN_TEST_LOOP_2_f): Likewise.
43556         (RUN_TEST_fff_f): Likewise.
43557         (RUN_TEST_LOOP_fff_f): Likewise.
43558         (RUN_TEST_c_f): Likewise.
43559         (RUN_TEST_LOOP_c_f): Likewise.
43560         (RUN_TEST_f_f1): Likewise.
43561         (RUN_TEST_LOOP_f_f1): Likewise.
43562         (RUN_TEST_fF_f1): Likewise.
43563         (RUN_TEST_LOOP_fF_f1): Likewise.
43564         (RUN_TEST_fI_f1): Likewise.
43565         (RUN_TEST_LOOP_fI_f1): Likewise.
43566         (RUN_TEST_ffI_f1): Likewise.
43567         (RUN_TEST_LOOP_ffI_f1): Likewise.
43568         (RUN_TEST_c_c): Likewise.
43569         (RUN_TEST_LOOP_c_c): Likewise.
43570         (RUN_TEST_cc_c): Likewise.
43571         (RUN_TEST_LOOP_cc_c): Likewise.
43572         (RUN_TEST_f_i): Likewise.
43573         (RUN_TEST_LOOP_f_i): Likewise.
43574         (RUN_TEST_f_i_tg): Likewise.
43575         (RUN_TEST_LOOP_f_i_tg): Likewise.
43576         (RUN_TEST_ff_i_tg): Likewise.
43577         (RUN_TEST_LOOP_ff_i_tg): Likewise.
43578         (RUN_TEST_f_b): Likewise.
43579         (RUN_TEST_LOOP_f_b): Likewise.
43580         (RUN_TEST_f_b_tg): Likewise.
43581         (RUN_TEST_LOOP_f_b_tg): Likewise.
43582         (RUN_TEST_f_l): Likewise.
43583         (RUN_TEST_LOOP_f_l): Likewise.
43584         (RUN_TEST_f_L): Likewise.
43585         (RUN_TEST_LOOP_f_L): Likewise.
43586         (RUN_TEST_sincos): Likewise.
43587         (RUN_TEST_LOOP_sincos): Likewise.
43589 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
43591         [BZ #15480]
43592         [BZ #15485]
43593         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
43594         main case of finite arguments, set rounding mode to FE_TONEAREST
43595         and discard exceptions.
43596         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
43597         exceptions.
43598         (remainder_tonearest_test_data): New variable.
43599         (remainder_test_tonearest): New function.
43600         (remainder_towardzero_test_data): New variable.
43601         (remainder_test_towardzero): New function.
43602         (remainder_downward_test_data): New variable.
43603         (remainder_test_downward): New function.
43604         (remainder_upward_test_data): New variable.
43605         (remainder_test_upward): New function.
43606         (main): Call the new test functions.
43608         * math/libm-test.inc (struct test_f_f1_data): Remove field
43609         extra_init.
43610         (struct test_fF_f1_data): Likewise.
43611         (struct test_ffI_f1_data): Likewise.
43612         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
43613         based on value of EXTRA_EXPECTED.
43614         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
43615         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
43616         EXTRA_VAR based on value of EXTRA_EXPECTED.
43617         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
43618         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
43619         EXTRA_VAR based on value of EXTRA_EXPECTED.
43620         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
43621         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
43622         EXTRA_VAR based on value of EXTRA_EXPECTED.
43623         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
43624         * math/gen-libm-test.pl (parse_args): Don't output initializers
43625         for extra output values.
43627         * math/libm-test.inc (check_int): Expect result to be exactly
43628         equal to expected value and do not handle ulps.
43629         (check_long): Likewise.
43630         (check_longlong): Likewise.
43632         * math/libm-test.inc (ceil_test_data): Test for "inexact"
43633         exceptions.
43634         (cimag_test_data): Likewise.
43635         (conj_test_data): Likewise.
43636         (copysign_test_data): Likewise.
43637         (cproj_test_data): Likewise.
43638         (creal_test_data): Likewise.
43639         (fabs_test_data): Likewise.
43640         (fdim_test_data): Likewise.
43641         (finite_test_data): Likewise.
43642         (floor_test_data): Likewise.
43643         (fmax_test_data): Likewise.
43644         (fmin_test_data): Likewise.
43645         (fmod_test_data): Likewise.
43646         (fpclassify_test_data): Likewise.
43647         (frexp_test_data): Likewise.
43648         (ilogb_test_data): Likewise.
43649         (isfinite_test_data): Likewise.
43650         (isgreater_test_data): Likewise.
43651         (isgreaterequal_test_data): Likewise.
43652         (isinf_test_data): Likewise.
43653         (isless_test_data): Likewise.
43654         (islessequal_test_data): Likewise.
43655         (islessgreater_test_data): Likewise.
43656         (isnan_test_data): Likewise.
43657         (isnormal_test_data): Likewise.
43658         (issignaling_test_data): Likewise.
43659         (isunordered_test_data): Likewise.
43660         (ldexp_test_data): Likewise.
43661         (lrint_test_data): Likewise.
43662         (lrint_test_data) [TEST_FLOAT]: Disable one test.
43663         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
43664         (lrint_tonearest_test_data): Test for "inexact" exceptions.
43665         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43666         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
43667         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43668         test input.
43669         (lrint_towardzero_test_data): Test for "inexact" exceptions.
43670         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43671         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
43672         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
43673         that test input.
43674         (lrint_downward_test_data): Test for "inexact" exceptions.
43675         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43676         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
43677         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
43678         test input.
43679         (lrint_upward_test_data): Test for "inexact" exceptions.
43680         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
43681         test input.
43682         (llrint_test_data): Test for "inexact" exceptions.
43683         (llrint_test_data) [TEST_FLOAT]: Disable one test.
43684         (llrint_tonearest_test_data): Test for "inexact" exceptions.
43685         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
43686         (llrint_towardzero_test_data): Test for "inexact" exceptions.
43687         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
43688         (llrint_downward_test_data): Test for "inexact" exceptions.
43689         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
43690         (llrint_upward_test_data): Test for "inexact" exceptions.
43691         (logb_test_data): Likewise.
43692         (logb_downward_test_data): Likewise.
43693         (nextafter_test_data): Likewise.
43694         (nexttoward_test_data): Likewise.
43695         (remainder_test_data): Likewise.
43696         (remquo_test_data): Likewise.
43697         (scalbn_test_data): Likewise.
43698         (scalbln_test_data): Likewise.
43699         (signbit_test_data): Likewise.
43700         (sqrt_test_data): Likewise.
43701         (significand_test_data): Likewise.
43703 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
43705         [BZ #15424]
43706         * benchtests/bench-modf.c (struct args): Mark arg0 as
43707         volatile.
43708         * scripts/bench.pl: Mark members of struct args as volatile.
43710 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43712         [BZ # 15497]
43713         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
43714         negative infinity on POWER6 or lower.
43715         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
43717 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
43719         [BZ #15442]
43720         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
43721         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
43722         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
43723         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
43724         (_FP_SETQNAN): New macro.
43725         (_FP_SETQNAN_SEMIRAW): Likewise.
43726         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
43727         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
43728         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
43729         (FP_EXTEND): Use _FP_FRAC_SNANP.
43730         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
43731         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
43732         into account.
43733         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43734         New macro.
43735         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
43736         Likewise.
43738 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
43740         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
43741         with DIVIDE_BY_ZERO_EXCEPTION.
43742         (gamma_test_data): Likewise.
43743         (lgamma_test_data): Likewise.
43744         (log_test_data): Likewise.
43745         (log10_test_data): Likewise.
43746         (log2_test_data): Likewise.
43747         (tgamma_test_data): Likewise.
43749         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
43750         (acos_test_tonearest): Likewise.
43751         (acos_test_towardzero): Likewise.
43752         (acos_test_downward): Likewise.
43753         (acos_test_upward): Likewise.
43754         (acosh_test): Likewise.
43755         (asin_test): Likewise.
43756         (asin_test_tonearest): Likewise.
43757         (asin_test_towardzero): Likewise.
43758         (asin_test_downward): Likewise.
43759         (asin_test_upward): Likewise.
43760         (asinh_test): Likewise.
43761         (atan_test): Likewise.
43762         (atanh_test): Likewise.
43763         (atan2_test): Likewise.
43764         (cabs_test): Likewise.
43765         (cacos_test): Likewise.
43766         (cacosh_test): Likewise.
43767         (casin_test): Likewise.
43768         (casinh_test): Likewise.
43769         (catan_test): Likewise.
43770         (catanh_test): Likewise.
43771         (cbrt_test): Likewise.
43772         (ccos_test): Likewise.
43773         (ccosh_test): Likewise.
43774         (cexp_test): Likewise.
43775         (clog_test): Likewise.
43776         (clog10_test): Likewise.
43777         (cos_test): Likewise.
43778         (cos_test_tonearest): Likewise.
43779         (cos_test_towardzero): Likewise.
43780         (cos_test_downward): Likewise.
43781         (cos_test_upward): Likewise.
43782         (cosh_test): Likewise.
43783         (cosh_test_tonearest): Likewise.
43784         (cosh_test_towardzero): Likewise.
43785         (cosh_test_downward): Likewise.
43786         (cosh_test_upward): Likewise.
43787         (cpow_test): Likewise.
43788         (csin_test): Likewise.
43789         (csinh_test): Likewise.
43790         (csqrt_test): Likewise.
43791         (ctan_test): Likewise.
43792         (ctan_test_tonearest): Likewise.
43793         (ctan_test_towardzero): Likewise.
43794         (ctan_test_downward): Likewise.
43795         (ctan_test_upward): Likewise.
43796         (ctanh_test): Likewise.
43797         (ctanh_test_tonearest): Likewise.
43798         (ctanh_test_towardzero): Likewise.
43799         (ctanh_test_downward): Likewise.
43800         (ctanh_test_upward): Likewise.
43801         (erf_test): Likewise.
43802         (erfc_test): Likewise.
43803         (exp_test): Likewise.
43804         (exp_test_tonearest): Likewise.
43805         (exp_test_towardzero): Likewise.
43806         (exp_test_downward): Likewise.
43807         (exp_test_upward): Likewise.
43808         (exp10_test): Likewise.
43809         (exp2_test): Likewise.
43810         (expm1_test): Likewise.
43811         (fmod_test): Likewise.
43812         (gamma_test): Likewise.
43813         (hypot_test): Likewise.
43814         (j0_test): Likewise.
43815         (j1_test): Likewise.
43816         (jn_test): Likewise.
43817         (lgamma_test): Likewise.
43818         (log_test): Likewise.
43819         (log10_test): Likewise.
43820         (log1p_test): Likewise.
43821         (log2_test): Likewise.
43822         (logb_test_downward): Likewise.
43823         (pow_test): Likewise.
43824         (pow_test_tonearest): Likewise.
43825         (pow_test_towardzero): Likewise.
43826         (pow_test_downward): Likewise.
43827         (pow_test_upward): Likewise.
43828         (remainder_test): Likewise.
43829         (remquo_test): Likewise.
43830         (sin_test): Likewise.
43831         (sin_test_tonearest): Likewise.
43832         (sin_test_towardzero): Likewise.
43833         (sin_test_downward): Likewise.
43834         (sin_test_upward): Likewise.
43835         (sincos_test): Likewise.
43836         (sinh_test): Likewise.
43837         (sinh_test_tonearest): Likewise.
43838         (sinh_test_towardzero): Likewise.
43839         (sinh_test_downward): Likewise.
43840         (sinh_test_upward): Likewise.
43841         (sqrt_test): Likewise.
43842         (tan_test): Likewise.
43843         (tan_test_tonearest): Likewise.
43844         (tan_test_towardzero): Likewise.
43845         (tan_test_downward): Likewise.
43846         (tan_test_upward): Likewise.
43847         (tanh_test): Likewise.
43848         (tgamma_test): Likewise.
43849         (y0_test): Likewise.
43850         (y1_test): Likewise.
43851         (yn_test): Likewise.
43853         * math/gen-libm-test.pl (adjust_arg): Remove function.
43854         (special_function): Remove argument $in_func.  Only handle
43855         generating output for tables of tests, not inside functions.
43856         (parse_args): Likewise.
43857         (generate_testfile): Remove variable $in_func.  Update call to
43858         parse_args.
43859         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
43860         (MINUS_ZERO_INIT): Rename macro to minus_zero.
43861         (PLUS_INFTY_INIT): Rename macro to plus_infty.
43862         (MINUS_INFTY_INIT): Rename macro to minus_infty.
43863         (QNAN_VALUE_INIT): Rename macro to qnan_value.
43864         (MAX_VALUE_INIT): Rename macro to max_value.
43865         (MIN_VALUE_INIT): Rename macro to min_value.
43866         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
43867         (plus_zero): Remove variable.
43868         (minus_zero): Likewise.
43869         (plus_infty): Likewise.
43870         (minus_infty): Likewise.
43871         (qnan_value): Likewise.
43872         (max_value): Likewise.
43873         (min_value): Likewise.
43874         (min_subnorm_value): Likewise.
43876 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43878         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
43879         uint64_t or uint32_t usage.
43880         * crypt/sha256-block.c: Likewise.
43881         * crypt/sha256-crypt.c: Likewise.
43882         * crypt/sha256.c: Likewise.
43883         * crypt/sha512-block.c: Likewise.
43884         * crypt/sha512-crypt.c: Likewise.
43885         * crypt/sha512.c: Likewise.
43886         * debug/backtrace-tst.c: Likewise.
43887         * debug/pcprofiledump.c: Likewise.
43888         * elf/cache.c: Likewise.
43889         * elf/dl-cache.c: Likewise.
43890         * elf/dl-misc.c: Likewise.
43891         * elf/dl-profile.c: Likewise.
43892         * elf/dl-support.c: Likewise.
43893         * elf/ldconfig.c: Likewise.
43894         * elf/sprof.c: Likewise.
43895         * iconv/dummy-repertoire.c: Likewise.
43896         * iconv/iconv_charmap.c: Likewise.
43897         * iconv/skeleton.c: Likewise.
43898         * iconvdata/8bit-generic.c: Likewise.
43899         * iconvdata/cp737.h: Likewise.
43900         * iconvdata/cp775.h: Likewise.
43901         * iconvdata/ibm1008.h: Likewise.
43902         * iconvdata/ibm1025.h: Likewise.
43903         * iconvdata/ibm1046.h: Likewise.
43904         * iconvdata/ibm1097.h: Likewise.
43905         * iconvdata/ibm1112.h: Likewise.
43906         * iconvdata/ibm1122.h: Likewise.
43907         * iconvdata/ibm1123.h: Likewise.
43908         * iconvdata/ibm1124.h: Likewise.
43909         * iconvdata/ibm1129.h: Likewise.
43910         * iconvdata/ibm1130.h: Likewise.
43911         * iconvdata/ibm1132.h: Likewise.
43912         * iconvdata/ibm1133.h: Likewise.
43913         * iconvdata/ibm1137.h: Likewise.
43914         * iconvdata/ibm1140.h: Likewise.
43915         * iconvdata/ibm1141.h: Likewise.
43916         * iconvdata/ibm1142.h: Likewise.
43917         * iconvdata/ibm1143.h: Likewise.
43918         * iconvdata/ibm1144.h: Likewise.
43919         * iconvdata/ibm1145.h: Likewise.
43920         * iconvdata/ibm1146.h: Likewise.
43921         * iconvdata/ibm1147.h: Likewise.
43922         * iconvdata/ibm1148.h: Likewise.
43923         * iconvdata/ibm1149.h: Likewise.
43924         * iconvdata/ibm1153.h: Likewise.
43925         * iconvdata/ibm1154.h: Likewise.
43926         * iconvdata/ibm1155.h: Likewise.
43927         * iconvdata/ibm1156.h: Likewise.
43928         * iconvdata/ibm1157.h: Likewise.
43929         * iconvdata/ibm1158.h: Likewise.
43930         * iconvdata/ibm1160.h: Likewise.
43931         * iconvdata/ibm1161.h: Likewise.
43932         * iconvdata/ibm1162.h: Likewise.
43933         * iconvdata/ibm1163.h: Likewise.
43934         * iconvdata/ibm1164.h: Likewise.
43935         * iconvdata/ibm1166.h: Likewise.
43936         * iconvdata/ibm1167.h: Likewise.
43937         * iconvdata/ibm12712.h: Likewise.
43938         * iconvdata/ibm1390.h: Likewise.
43939         * iconvdata/ibm1399.h: Likewise.
43940         * iconvdata/ibm16804.h: Likewise.
43941         * iconvdata/ibm4517.h: Likewise.
43942         * iconvdata/ibm4899.h: Likewise.
43943         * iconvdata/ibm4909.h: Likewise.
43944         * iconvdata/ibm4971.h: Likewise.
43945         * iconvdata/ibm5347.h: Likewise.
43946         * iconvdata/ibm803.h: Likewise.
43947         * iconvdata/ibm856.h: Likewise.
43948         * iconvdata/ibm901.h: Likewise.
43949         * iconvdata/ibm902.h: Likewise.
43950         * iconvdata/ibm9030.h: Likewise.
43951         * iconvdata/ibm9066.h: Likewise.
43952         * iconvdata/ibm921.h: Likewise.
43953         * iconvdata/ibm922.h: Likewise.
43954         * iconvdata/ibm9448.h: Likewise.
43955         * iconvdata/isiri-3342.h: Likewise.
43956         * iconvdata/jis0201.h: Likewise.
43957         * include/link.h: Likewise.
43958         * include/netdb.h: Likewise.
43959         * inet/check_native.c: Likewise.
43960         * inet/check_pf.c: Likewise.
43961         * inet/getipv4sourcefilter.c: Likewise.
43962         * inet/getnameinfo.c: Likewise.
43963         * inet/getsourcefilter.c: Likewise.
43964         * inet/htonl.c: Likewise.
43965         * inet/setipv4sourcefilter.c: Likewise.
43966         * inet/setsourcefilter.c: Likewise.
43967         * inet/test-inet6_opt.c: Likewise.
43968         * inet/tst-network.c: Likewise.
43969         * locale/C-collate.c: Likewise.
43970         * locale/C-ctype.c: Likewise.
43971         * locale/C-time.c: Likewise.
43972         * locale/C-translit.h: Likewise.
43973         * locale/loadarchive.c: Likewise.
43974         * locale/programs/3level.h: Likewise.
43975         * locale/programs/charmap.c: Likewise.
43976         * locale/programs/charmap.h: Likewise.
43977         * locale/programs/ld-address.c: Likewise.
43978         * locale/programs/ld-collate.c: Likewise.
43979         * locale/programs/ld-ctype.c: Likewise.
43980         * locale/programs/ld-identification.c: Likewise.
43981         * locale/programs/ld-measurement.c: Likewise.
43982         * locale/programs/ld-messages.c: Likewise.
43983         * locale/programs/ld-monetary.c: Likewise.
43984         * locale/programs/ld-name.c: Likewise.
43985         * locale/programs/ld-numeric.c: Likewise.
43986         * locale/programs/ld-paper.c: Likewise.
43987         * locale/programs/ld-telephone.c: Likewise.
43988         * locale/programs/ld-time.c: Likewise.
43989         * locale/programs/linereader.c: Likewise.
43990         * locale/programs/locale.c: Likewise.
43991         * locale/programs/locarchive.c: Likewise.
43992         * locale/programs/locfile.h: Likewise.
43993         * locale/programs/repertoire.c: Likewise.
43994         * locale/programs/simple-hash.c: Likewise.
43995         * locale/programs/simple-hash.h: Likewise.
43996         * malloc/memusage.c: Likewise.
43997         * malloc/memusagestat.c: Likewise.
43998         * nis/nis_defaults.c: Likewise.
43999         * nis/nis_hash.c: Likewise.
44000         * nis/nis_print.c: Likewise.
44001         * nis/nis_xdr.c: Likewise.
44002         * nscd/connections.c: Likewise.
44003         * nscd/hstcache.c: Likewise.
44004         * nscd/nscd_gethst_r.c: Likewise.
44005         * nscd/nscd_getserv_r.c: Likewise.
44006         * nscd/nscd_helper.c: Likewise.
44007         * nscd/servicescache.c: Likewise.
44008         * nss/makedb.c: Likewise.
44009         * nss/nss_db/db-XXX.c: Likewise.
44010         * nss/nss_db/db-initgroups.c: Likewise.
44011         * nss/nss_db/db-netgrp.c: Likewise.
44012         * nss/nss_files/files-network.c: Likewise.
44013         * nss/nss_files/files-parse.c: Likewise.
44014         * posix/bug-regex5.c: Likewise.
44015         * posix/fnmatch_loop.c: Likewise.
44016         * posix/regcomp.c: Likewise.
44017         * posix/regexec.c: Likewise.
44018         * posix/tst-rfc3484-2.c: Likewise.
44019         * posix/tst-rfc3484-3.c: Likewise.
44020         * posix/tst-rfc3484.c: Likewise.
44021         * resolv/nss_dns/dns-canon.c: Likewise.
44022         * resolv/nss_dns/dns-network.c: Likewise.
44023         * resolv/res_init.c: Likewise.
44024         * resolv/res_mkquery.c: Likewise.
44025         * resolv/tst-aton.c: Likewise.
44026         * stdlib/cxa_atexit.c: Likewise.
44027         * stdlib/cxa_finalize.c: Likewise.
44028         * stdlib/gen-fpioconst.c: Likewise.
44029         * stdlib/strtol_l.c: Likewise.
44030         * string/tst-endian.c: Likewise.
44031         * sunrpc/auth_des.c: Likewise.
44032         * sunrpc/clnt_udp.c: Likewise.
44033         * sunrpc/rtime.c: Likewise.
44034         * sunrpc/svcauth_des.c: Likewise.
44035         * sunrpc/xdr.c: Likewise.
44036         * sunrpc/xdr_intXX_t.c: Likewise.
44037         * sunrpc/xdr_rec.c: Likewise.
44038         * sysdeps/generic/ldconfig.h: Likewise.
44039         * sysdeps/generic/ldsodefs.h: Likewise.
44040         * sysdeps/generic/memusage.h: Likewise.
44041         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
44042         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
44043         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
44044         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
44045         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44046         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
44047         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
44048         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
44049         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44050         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44051         * sysdeps/posix/getaddrinfo.c: Likewise.
44052         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44053         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44054         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44055         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44056         * sysdeps/powerpc/test-gettimebase.c: Likewise.
44057         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44058         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
44059         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
44060         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
44061         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
44062         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
44063         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
44064         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
44065         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
44066         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
44067         * sysdeps/x86_64/dl-tls.h: Likewise.
44068         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
44069         * time/alt_digit.c: Likewise.
44070         * time/era.c: Likewise.
44071         * wcsmbs/tst-c16c32-1.c: Likewise.
44073 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44075         * math/libm-test.inc (struct test_sincos_data): New type.
44076         (RUN_TEST_LOOP_sincos): New macro.
44077         (sincos_test_data): New variable.
44078         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
44080 2013-05-16  Richard Henderson  <rth@redhat.com>
44082         * math/atest-exp2.c (LIMB64): New macro.
44083         (CONSTSZ): New macro.
44084         (mp_exp1, mp_exp_m1, mp_log2): New variables.
44085         (hexdig): Move ...
44086         (print_mpn_fp): ... to function scope.
44087         (read_mpn_hex): Remove.
44088         (get_log2): Remove.
44089         (exp2_mpn): Use mp_log2.
44090         (main): Use mp_exp1.
44092 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
44094         * math/libm-test.inc: Remove comment about not testing "inexact"
44095         exceptions.
44096         (INEXACT_EXCEPTION): New macro.
44097         (NO_INEXACT_EXCEPTION): Likewise.
44098         (INVALID_EXCEPTION_OK): Update value.
44099         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44100         (OVERFLOW_EXCEPTION_OK): Likewise.
44101         (UNDERFLOW_EXCEPTION_OK): Likewise.
44102         (IGNORE_ZERO_INF_SIGN): Likewise.
44103         (ERRNO_UNCHANGED): Likewise.
44104         (ERRNO_EDOM): Likewise.
44105         (ERRNO_ERANGE): Likewise.
44106         (test_exceptions): Handle testing "inexact" exceptions.
44107         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
44108         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
44109         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
44110         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
44111         INEXACT_EXCEPTION.
44112         (rint_towardzero_test_data): Likewise.
44113         (rint_downward_test_data): Likewise.
44114         (rint_upward_test_data): Likewise.
44116         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
44117         with OVERFLOW_EXCEPTION.
44118         (exp10_test_data): Likewise.
44119         (exp2_test_data): Likewise.
44120         (expm1_test_data): Likewise.
44121         (lgamma_test_data): Likewise.
44122         (pow_test_data): Likewise.
44123         (tgamma_test_data): Likewise.
44124         (yn_test_data): Remove duplicate test of overflow.
44126         * math/libm-test.inc (struct test_cc_c_data): New type.
44127         (RUN_TEST_LOOP_cc_c): New macro.
44128         (cpow_test_data): New variable.
44129         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
44131         * math/libm-test.inc (struct test_f_L_data): New type.
44132         (RUN_TEST_LOOP_f_L): New macro.
44133         (llrint_test_data): New variable.
44134         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
44135         (llrint_tonearest_test_data): New variable.
44136         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
44137         (llrint_towardzero_test_data): New variable.
44138         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
44139         (llrint_downward_test_data): New variable.
44140         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
44141         (llrint_upward_test_data): New variable.
44142         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
44143         (llround_test_data): New variable.
44144         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
44146 2013-05-13  Peter Collingbourne  <pcc@google.com>
44148         * math/atest-exp2.c (get_log2): Remove const attribute.
44150 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
44152         * math/libm-test.inc (struct test_f_l_data): New type.
44153         (RUN_TEST_LOOP_f_l): New macro.
44154         (lrint_test_data): New variable.
44155         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
44156         (lrint_tonearest_test_data): New variable.
44157         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
44158         (lrint_towardzero_test_data): New variable.
44159         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
44160         (lrint_downward_test_data): New variable.
44161         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
44162         (lrint_upward_test_data): New variable.
44163         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
44164         (lround_test_data): New variable.
44165         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
44167 2013-05-15  Peter Collingbourne  <pcc@google.com>
44169         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
44170         (EXTRACT_WORDS64) Use where appropriate.
44171         (INSERT_WORDS64) Likewise.
44173         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
44174         constraints with x constraints.
44175         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
44177         * malloc/obstack.c (_obstack_compat): Add initializer.
44179 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
44181         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
44182         si_trapno and add si_addr_lsb to _sifields.sigfault.
44183         (si_trapno): Remove macro.
44184         (si_addr_lsb): Define new macro.
44185         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
44187 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
44189         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
44190         instead of TEST_f_l.
44191         (llrint_test_tonearest): Likewise.
44192         (llrint_test_towardzero): Likewise.
44193         (llrint_test_downward): Likewise.
44194         (llrint_test_upward): Likewise.
44195         (llround_test): Likewise.
44197         * math/libm-test.inc (struct test_f_i_data): Add comment.
44198         (RUN_TEST_LOOP_f_b): New macro.
44199         (RUN_TEST_LOOP_f_b_tg): Likewise.
44200         (finite_test_data): New variable.
44201         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
44202         (isfinite_test_data): New variable.
44203         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44204         (isinf_test_data): New variable.
44205         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44206         (isnan_test_data): New variable.
44207         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44208         (isnormal_test_data): New variable.
44209         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44210         (issignaling_test_data): New variable.
44211         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44212         (signbit_test_data): New variable.
44213         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
44215         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
44216         with INVALID_EXCEPTION.
44217         (acosh_test_data): Likewise.
44218         (asin_test_data): Likewise.
44219         (atanh_test_data): Likewise.
44220         (fmod_test_data): Likewise.
44221         (log_test_data): Likewise.
44222         (log10_test_data): Likewise.
44223         (log2_test_data): Likewise.
44224         (pow_test_data): Likewise.
44225         (sqrt_test_data): Likewise.
44226         (y0_test_data): Likewise.
44227         (y1_test_data): Likewise.
44228         (yn_test_data): Likewise.
44230         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
44231         function contents.
44233         * math/libm-test.inc (struct test_ff_i_data): New type.
44234         (RUN_TEST_LOOP_ff_i_tg): New macro.
44235         (isgreater_test_data): New variable.
44236         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44237         (isgreaterequal_test_data): New variable.
44238         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44239         (isless_test_data): New variable.
44240         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44241         (islessequal_test_data): New variable.
44242         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44243         (islessgreater_test_data): New variable.
44244         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44245         (isunordered_test_data): New variable.
44246         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
44248 2013-05-14  David S. Miller  <davem@davemloft.net>
44250         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44252 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
44254         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
44256         * math/libm-test.inc (struct test_fF_f1_data): Change type of
44257         extra_test to int.
44258         (struct test_f_i_data): Change type of max_ulp to int.
44260         * math/libm-test.inc (test_ffI_f1_data): New type.
44261         (RUN_TEST_LOOP_ffI_f1): New macro.
44262         (remquo_test_data): New variable.
44263         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
44265         * setjmp/tst-setjmp-fp.c: New file.
44266         * setjmp/Makefile (tests): Add tst-setjmp-fp.
44267         (link-libm): New variable.
44268         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
44270         * math/libm-test.inc (struct test_f_i_data): New type.
44271         (RUN_TEST_LOOP_f_i): New macro.
44272         (RUN_TEST_LOOP_f_i_tg): Likewise.
44273         (fpclassify_test_data): New variable.
44274         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
44275         (ilogb_test_data): New variable.
44276         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
44278         * math/libm-test.inc (scalbln_test): Correct function name in END
44279         call.
44281         * math/libm-test.inc (struct test_f_f1_data): Add comment.
44282         (RUN_TEST_LOOP_fI_f1): New macro.
44283         (frexp_test_data): New variable.
44284         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
44286         * math/libm-test.inc (struct test_fF_f1_data): New type.
44287         (RUN_TEST_LOOP_fF_f1): New macro.
44288         (modf_test_data): New variable.
44289         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
44291         * math/libm-test.inc (struct test_f_f1_data): New type.
44292         (RUN_TEST_LOOP_f_f1): New macro.
44293         (gamma_test_data): New variable.
44294         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44295         (lgamma_test_data): New variable.
44296         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
44298 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
44300         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
44301         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
44302         (main): Comment "tls" pseudo-hwcap.
44304 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
44306         * math/libm-test.inc (struct test_fl_f_data): New type.
44307         (RUN_TEST_LOOP_fl_f): New variable.
44308         (scalbln_test_data): New variable.
44309         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
44311         * math/libm-test.inc (struct test_fi_f_data): New type.
44312         (RUN_TEST_LOOP_fi_f): New macro.
44313         (ldexp_test_data): New variable.
44314         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
44315         (scalbn_test_data): New variable.
44316         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
44318         * math/libm-test.inc (struct test_c_f_data): New type.
44319         (RUN_TEST_LOOP_c_f): New macro.
44320         (cabs_test_data): New variable.
44321         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
44322         (carg_test_data): New variable.
44323         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
44324         (cimag_test_data): New variable.
44325         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
44326         (creal_test_data): New variable.
44327         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
44329         * math/libm-test.inc (struct test_if_f_data): New type.
44330         (RUN_TEST_LOOP_if_f): New macro.
44331         (jn_test_data): New variable.
44332         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
44333         (yn_test_data): New variable.
44334         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
44336         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
44338 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44340         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
44341         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
44343 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44345         * benchtests/Makefile (CPPFLAGS-nonlib): Add
44346         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
44347         (bench-deps): Add bench-timing.h.
44348         * benchtests-bench-skeleton.c: Include bench-timing.h.
44349         (main): Use TIMING_* macros instead of clock_gettime.
44350         * benchtests/bench-timing.h: New file.
44352         [BZ #14582]
44353         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
44354         Renamed from _LIB_VERSION.
44355         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
44357 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
44359         * math/libm-test.inc (struct test_fff_f_data): New type.
44360         (RUN_TEST_LOOP_fff_f): New macro.
44361         (fma_test_data): New variable.
44362         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
44363         (fma_towardzero_test_data): New variable.
44364         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
44365         (fma_downward_test_data): New variable.
44366         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
44367         (fma_upward_test_data): New variable.
44368         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
44370         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
44371         (struct test_c_c_data): New type.
44372         (RUN_TEST_LOOP_c_c): New macro.
44373         (cacos_test_data): New variable.
44374         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
44375         (cacosh_test_data): New variable.
44376         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
44377         (casin_test_data): New variable.
44378         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
44379         (casinh_test_data): New variable.
44380         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
44381         (catan_test_data): New variable.
44382         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
44383         (catanh_test_data): New variable.
44384         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
44385         (ccos_test_data): New variable.
44386         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
44387         (ccosh_test_data): New variable.
44388         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
44389         (cexp_test_data): New variable.
44390         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
44391         (clog_test_data): New variable.
44392         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
44393         (clog10_test_data): New variable.
44394         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
44395         (conj_test_data): New variable.
44396         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
44397         (cproj_test_data): New variable.
44398         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
44399         (csin_test_data): New variable.
44400         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
44401         (csinh_test_data): New variable.
44402         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
44403         (csqrt_test_data): New variable.
44404         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
44405         (ctan_test_data): New variable.
44406         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
44407         (ctan_tonearest_test_data): New variable.
44408         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44409         (ctan_towardzero_test_data): New variable.
44410         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44411         (ctan_downward_test_data): New variable.
44412         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44413         (ctan_upward_test_data): New variable.
44414         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44415         (ctanh_test_data): New variable.
44416         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
44417         (ctanh_tonearest_test_data): New variable.
44418         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
44419         (ctanh_towardzero_test_data): New variable.
44420         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
44421         (ctanh_downward_test_data): New variable.
44422         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
44423         (ctanh_upward_test_data): New variable.
44424         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
44425         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
44426         of BUILD_COMPLEX.
44428         * math/libm-test.inc (struct test_ff_f_data): New type.
44429         (struct test_ff_f_data_nexttoward): Likewise.
44430         (RUN_TEST_LOOP_2_f): New macro.
44431         (RUN_TEST_LOOP_ff_f): Likewise.
44432         (atan2_test_data): New variable.
44433         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
44434         (copysign_test_data): New variable.
44435         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
44436         (fdim_test_data): New variable.
44437         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
44438         (fmax_test_data): New variable.
44439         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
44440         (fmin_test_data): New variable.
44441         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
44442         (fmod_test_data): New variable.
44443         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
44444         (hypot_test_data): New variable.
44445         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
44446         (nextafter_test_data): New variable.
44447         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
44448         (nexttoward_test_data): New variable.
44449         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
44450         (pow_test_data): New variable.
44451         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
44452         (pow_tonearest_test_data): New variable.
44453         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
44454         (pow_towardzero_test_data): New variable.
44455         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
44456         (pow_downward_test_data): New variable.
44457         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
44458         (pow_upward_test_data): New variable.
44459         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
44460         (remainder_test_data): New variable.
44461         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
44462         (scalb_test_data): New variable.
44463         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
44464         * sysdeps/i386/fpu/libm-test-ulps: Update.
44466 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
44468         * math/libm-test.inc (fma_test): Use max_value instead of local
44469         variable fltmax.
44470         (nextafter_test): Likewise.
44472         * math/libm-test.inc (acos_towardzero_test_data): New variable.
44473         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44474         (acos_downward_test_data): New variable.
44475         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44476         (acos_upward_test_data): New variable.
44477         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44478         (acosh_test_data): New variable.
44479         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
44480         (asin_test_data): New variable.
44481         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
44482         (asin_tonearest_test_data): New variable.
44483         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44484         (asin_towardzero_test_data): New variable.
44485         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44486         (asin_downward_test_data): New variable.
44487         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44488         (asin_upward_test_data): New variable.
44489         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44490         (asinh_test_data): New variable.
44491         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
44492         (atan_test_data): New variable.
44493         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
44494         (atanh_test_data): New variable.
44495         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
44496         (cbrt_test_data): New variable.
44497         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
44498         (ceil_test_data): New variable.
44499         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
44500         (cos_test_data): New variable.
44501         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
44502         (cos_tonearest_test_data): New variable.
44503         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44504         (cos_towardzero_test_data): New variable.
44505         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44506         (cos_downward_test_data): New variable.
44507         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44508         (cos_upward_test_data): New variable.
44509         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44510         (cosh_test_data): New variable.
44511         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
44512         (cosh_tonearest_test_data): New variable.
44513         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44514         (cosh_towardzero_test_data): New variable.
44515         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44516         (cosh_downward_test_data): New variable.
44517         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44518         (cosh_upward_test_data): New variable.
44519         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44520         (erf_test_data): New variable.
44521         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
44522         (erfc_test_data): New variable.
44523         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
44524         (exp_test_data): New variable.
44525         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
44526         (exp_tonearest_test_data): New variable.
44527         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44528         (exp_towardzero_test_data): New variable.
44529         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44530         (exp_downward_test_data): New variable.
44531         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44532         (exp_upward_test_data): New variable.
44533         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44534         (exp10_test_data): New variable.
44535         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
44536         (exp2_test_data): New variable.
44537         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
44538         (expm1_test_data): New variable.
44539         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
44540         (fabs_test_data): New variable.
44541         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
44542         (floor_test_data): New variable.
44543         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
44544         (j0_test_data): New variable.
44545         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
44546         (j1_test_data): New variable.
44547         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
44548         (log_test_data): New variable.
44549         (log_test): Run tests with RUN_TEST_LOOP_f_f.
44550         (log10_test_data): New variable.
44551         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
44552         (log1p_test_data): New variable.
44553         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
44554         (log2_test_data): New variable.
44555         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
44556         (logb_test_data): New variable.
44557         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
44558         (logb_downward_test_data): New variable.
44559         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44560         (nearbyint_test_data): New variable.
44561         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
44562         (rint_test_data): New variable.
44563         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
44564         (rint_tonearest_test_data): New variable.
44565         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44566         (rint_towardzero_test_data): New variable.
44567         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44568         (rint_downward_test_data): New variable.
44569         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44570         (rint_upward_test_data): New variable.
44571         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44572         (round_test_data): New variable.
44573         (round_test): Run tests with RUN_TEST_LOOP_f_f.
44574         (sin_test_data): New variable.
44575         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
44576         (sin_tonearest_test_data): New variable.
44577         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44578         (sin_towardzero_test_data): New variable.
44579         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44580         (sin_downward_test_data): New variable.
44581         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44582         (sin_upward_test_data): New variable.
44583         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44584         (sinh_test_data): New variable.
44585         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
44586         (sinh_tonearest_test_data): New variable.
44587         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44588         (sinh_towardzero_test_data): New variable.
44589         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44590         (sinh_downward_test_data): New variable.
44591         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44592         (sinh_upward_test_data): New variable.
44593         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44594         (sqrt_test_data): New variable.
44595         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
44596         (tan_test_data): New variable.
44597         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
44598         (tan_tonearest_test_data): New variable.
44599         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44600         (tan_towardzero_test_data): New variable.
44601         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
44602         (tan_downward_test_data): New variable.
44603         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
44604         (tan_upward_test_data): New variable.
44605         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
44606         (tanh_test_data): New variable.
44607         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
44608         (tgamma_test_data): New variable.
44609         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
44610         (trunc_test_data): New variable.
44611         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
44612         (y0_test_data): New variable.
44613         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
44614         (y1_test_data): New variable.
44615         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
44616         (significand_test_data): New variable.
44617         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
44619 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
44621         [BZ #12387]
44622         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
44624 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44626         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
44628 2013-05-10  Andreas Jaeger  <aj@suse.de>
44630         [BZ #15448]
44631         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
44632         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
44634 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44636         * math/gen-libm-test.pl (adjust_arg): New function.
44637         (special_functions): Handle generating output in both functions
44638         and arrays.
44639         (parse_args): Likewise.
44640         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
44641         $in_func argument to parse_args.
44642         * math/libm-test.inc (struct test_f_f_data): New type.
44643         (IF_ROUND_INIT_): New macro.
44644         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
44645         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44646         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44647         (IF_ROUND_INIT_FE_UPWARD): Likewise.
44648         (ROUND_RESTORE_): Likewise.
44649         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
44650         (ROUND_RESTORE_FE_TONEAREST): Likewise.
44651         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
44652         (ROUND_RESTORE_FE_UPWARD): Likewise.
44653         (RUN_TEST_LOOP_f_f): New macro.
44654         (acos_test_data): New variable.
44655         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
44656         (acos_tonearest_test_data): New variable.
44657         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
44659 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44661         * benchtests/bench-skeleton.c (startup): Fix coding style.
44663 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
44665         [BZ #6809]
44666         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
44667         negative infinity argument.
44668         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
44669         negative infinity argument.
44670         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
44671         negative infinity argument.
44672         * math/libm-test.inc (tgamma_test): Expect errno to be set for
44673         domain errors.
44675 2013-05-10  Florian Weimer  <fweimer@redhat.com>
44677         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
44678         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
44679         * iconv/iconv_prog.c (main): Likewise.
44680         * locale/programs/charmap-dir.c (charmap_readdir)
44681         (fopen_uncompressed): Likewise.
44682         * locale/programs/locfile.c (siblings_uncached)
44683         (write_locale_data): Use lstat64 instead of lstat.
44684         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
44685         stat.
44687 2013-05-10  Andreas Jaeger  <aj@suse.de>
44689         [BZ #15395]
44690         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
44691         localization.
44692         Include <locale.h>.
44694 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
44696         * elf/dl-close.c (_dl_close_worker): Add comments.
44698 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
44700         [BZ #15359]
44701         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
44702         high part of pi/2.
44703         (__ieee754_rem_pio2l): Update comments.
44705         [BZ #15429]
44706         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
44707         high part of pi/2.
44708         (__ieee754_rem_pio2l): Update comments.
44710         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
44711         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
44713         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
44714         M_PI_4l.
44716         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
44717         (M_PI_34_LOG10El): Likewise.
44718         (M_PI2_LOG10El): Likewise.
44719         (M_PI4_LOG10El): Likewise.
44720         (M_PI_LOG10El): Likewise.
44722 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44726 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
44728         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
44729         (MINUS_ZERO_INIT): Likewise.
44730         (PLUS_INFTY_INIT): Likewise.
44731         (MINUS_INFTY_INIT): Likewise.
44732         (QNAN_VALUE_INIT): Likewise.
44733         (MAX_VALUE_INIT): Likewise.
44734         (MIN_VALUE_INIT): Likewise.
44735         (MIN_SUBNORM_VALUE_INIT): Likewise.
44736         (plus_zero): Initialize with PLUS_ZERO_INIT.
44737         (minus_zero): Initialize with MINUS_ZERO_INIT.
44738         (plus_infty): Initialize with PLUS_INFTY_INIT.
44739         (minus_infty): Initialize with MINUS_INFTY_INIT.
44740         (qnan_value): Initialize with QNAN_VALUE_INIT.
44741         (max_value): Initialize with MAX_VALUE_INIT.
44742         (min_value): Initialize with MIN_VALUE_INIT.
44743         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
44745         * math/libm-test.inc (RUN_TEST_if_f): New macro.
44746         (jn_test): Use TEST_if_f instead of TEST_ff_f.
44747         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
44748         (yn_test): Use TEST_if_f instead of TEST_ff_f.
44750         * math/libm-test.inc (RUN_TEST_f_f): New macro.
44751         (RUN_TEST_2_f): Likewise.
44752         (RUN_TEST_ff_f): Likewise.
44753         (RUN_TEST_fi_f): Likewise.
44754         (RUN_TEST_fl_f): Likewise.
44755         (RUN_TEST_fff_f): Likewise.
44756         (RUN_TEST_c_f): Likewise.
44757         (RUN_TEST_f_f1): Likewise.
44758         (RUN_TEST_fF_f1): Likewise.
44759         (RUN_TEST_fI_f1): Likewise.
44760         (RUN_TEST_ffI_f1): Likewise.
44761         (RUN_TEST_c_c): Likewise.
44762         (RUN_TEST_cc_c): Likewise.
44763         (RUN_TEST_f_i): Likewise.
44764         (RUN_TEST_f_i_tg): Likewise.
44765         (RUN_TEST_ff_i_tg): Likewise.
44766         (RUN_TEST_f_b): Likewise.
44767         (RUN_TEST_f_b_tg): Likewise.
44768         (RUN_TEST_f_l): Likewise.
44769         (RUN_TEST_f_L): Likewise.
44770         (RUN_TEST_sincos): Likewise.
44771         * math/gen-libm-test.pl (new_test): Take new argument to indicate
44772         whether to show exceptions.  Do not include ");\n" in return
44773         value.
44774         (special_functions): Output call to RUN_TEST_sincos instead of
44775         check_float calls.  Update calls to new_test.
44776         (parse_args): Output call to single RUN_TEST_* macro instead of
44777         check_* calls and other assignments.  Update calls to new_test.
44779         [BZ #2546]
44780         [BZ #2560]
44781         [BZ #5159]
44782         [BZ #15426]
44783         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
44784         input to result for tgamma overflow.
44785         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
44786         (gamma_coeff): New variable.
44787         (NCOEFF): New macro.
44788         (gamma_positive): New function.
44789         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
44790         underflow here.  Use gamma_positive instead of exp (lgamma) for
44791         other arguments.
44792         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
44793         (gamma_coeff): New variable.
44794         (NCOEFF): New macro.
44795         (gammaf_positive): New function.
44796         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
44797         underflow here.  Use gamma_positive instead of exp (lgamma) for
44798         other arguments.
44799         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
44800         (gamma_coeff): New variable.
44801         (NCOEFF): New macro.
44802         (gammal_positive): New function.
44803         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
44804         underflow here.  Use gamma_positive instead of exp (lgamma) for
44805         other arguments.
44806         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
44807         (gamma_coeff): New variable.
44808         (NCOEFF): New macro.
44809         (gammal_positive): New function.
44810         (__ieee754_gammal_r): Handle positive infinity, overflow and
44811         underflow here.  Handle NaN the same as positive infinity.  Remove
44812         check x < 0xffffffff for negative integers.  Use gamma_positive
44813         instead of exp (lgamma) for other arguments.
44814         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
44815         (gamma_coeff): New variable.
44816         (NCOEFF): New macro.
44817         (gammal_positive): New function.
44818         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
44819         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
44820         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
44821         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
44822         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
44823         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
44824         * sysdeps/generic/math_private.h (__gamma_productf): New
44825         prototype.
44826         (__gamma_product): Likewise.
44827         (__gamma_productl): Likewise.
44828         * math/Makefile (libm-calls): Add gamma_product.
44829         * math/libm-test.inc (tgamma_test): Add more tests.
44830         * sysdeps/i386/fpu/libm-test-ulps: Update.
44831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44833 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
44835         * benchtests/bench-skeleton.c (main): Preheat CPU.
44837 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
44839         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
44841 2013-05-07  Roland McGrath  <roland@hack.frob.com>
44843         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
44844         and _dl_skip_args_internal.
44846 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
44848         * manual/message.texi (Message Translation): Talk about users.
44849         Message to key mapping impacts design.
44851 2013-05-06  Roland McGrath  <roland@hack.frob.com>
44853         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
44855         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
44857         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
44858         * sysdeps/wordsize-64/glob64.c: ... here.
44860         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
44861         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
44862         New macros.
44864         * debug/getlogin_r_chk.c: Moved to ...
44865         * login/getlogin_r_chk.c: ... here.
44866         * debug/Makefile (routines): Move getlogin_r_chk to ...
44867         * login/Makefile (routines): ... here.
44868         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
44869         * login/Versions (libc: GLIBC_2.4): ... here.
44871         * io/poll.c (__poll): Renamed from poll.
44872         Add libc_hidden_def.
44873         (poll): Define as weak alias.
44875         * debug/ptsname_r_chk.c: Moved to ...
44876         * login/ptsname_r_chk.c: ... here.
44877         * debug/Makefile (routines): Move ptsname_r_chk to ...
44878         * login/Makefile (routines): ... here.
44879         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
44880         * login/Versions (libc: GLIBC_2.4): ... here.
44882         * posix/getlogin.c: Moved to ...
44883         * login/getlogin.c: ... here.
44884         * posix/getlogin_r.c: Moved to ...
44885         * login/getlogin_r.c: ... here.
44886         * posix/getlogin_r.c: Moved to ...
44887         * login/getlogin_r.c: ... here.
44888         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
44889         * login/Makefile (routines): ... here.
44890         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
44891         * login/Versions (libc: GLIBC_2.0): ... here.
44893         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
44894         (setrlimit): Define as weak alias.
44896         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
44897         Call __ names for open, ftruncate, and close.
44898         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
44899         (truncate): Define as weak alias.
44901 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
44903         * math/gen-libm-test.pl (parse_args): Initialize x before each
44904         test of frexp, modf and remquo.
44906         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
44907         test signgam value.
44909 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44911         [BZ #15418]
44912         [BZ #15419]
44913         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
44914         internal tests.
44915         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44917 2013-05-06  Roland McGrath  <roland@hack.frob.com>
44919         * elf/dl-writev.h: New file.
44920         * elf/dl-misc.c: Include it.
44921         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
44922         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
44924 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
44926         * math/libm-test.inc (noXFails): Remove variable.
44927         (noXPasses): Likewise.
44928         (BUILD_COMPLEX_INT): Remove macro.
44929         (print_screen): Remove xfail argument.
44930         (print_screen_max_error): Likewise.
44931         (update_stats): Likewise.
44932         (print_max_error): Likewise.  Update calls to other affected
44933         functions.
44934         (print_complex_max_error): Likewise.
44935         (test_single_exception): Update calls to print_screen.
44936         (test_single_errno): Likewise.
44937         (check_float_internal): Remove xfail argument.  Update calls to
44938         other affected functions.
44939         (check_float): Likewise.
44940         (check_complex): Likewise.
44941         (check_int): Likewise.
44942         (check_long): Likewise.
44943         (check_bool): Likewise.
44944         (check_longlong): Likewise.
44945         (main): Don't print noXFails and noXPasses.
44946         * math/gen-libm-test.pl (top level): Don't mention expected
44947         failure handling in comment.
44948         (new_test): Don't handle expected failures.
44949         (parse_args): Don't mention expected failure handling in comment.
44950         (generate_testfile): Don't handle expected failures.
44951         (parse_ulps): Likewise.
44952         (print_ulps_file): Likewise.
44953         (get_failure): Remove function.
44954         (output_test): Don't handle expected failures.
44955         * make/README.libm-test: Don't mention expected failure handling.
44957         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
44958         (minus_zero): Likewise.
44959         (plus_infty): Likewise.
44960         (minus_infty): Likewise.
44961         (qnan_value): Likewise.
44962         (max_value): Likewise.
44963         (min_value): Likewise.
44964         (min_subnorm_value): Likewise.
44965         (initialize): Do not initialize those variables dynamically.
44967 2013-05-03  Roland McGrath  <roland@hack.frob.com>
44969         * io/open.c (__open_2): Moved to ...
44970         * io/open_2.c: ... this new file.
44971         * io/open64.c (__open64_2): Moved to ...
44972         * io/open64_2.c: ... this new file.
44973         * io/openat.c (__openat_2): Moved to ...
44974         * io/openat_2.c: ... this new file.
44975         * io/openat64.c (__openat64_2): Moved to ...
44976         * io/openat64_2.c: ... this new file.
44977         * io/Makefile (routines): Add them.
44978         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
44979         * sysdeps/unix/sysv/linux/open_2.c: File removed.
44980         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
44981         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
44982         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
44983         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
44984         (__openat64): Add hidden_ver.
44985         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
44986         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
44988         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
44989         Separately conditionalize setting of GLRO(dl_sysinfo) so
44990         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
44991         as well, but the actual setting is only under [NEED_DL_SYSINFO].
44993 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44995         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
44996         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
44997         definition.
44998         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
44999         * sysdeps/unix/sysv/linux/powerpc/init-first.c
45000         (_libc_vdso_platform_setup): Add __vdso_time initialization.
45001         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
45002         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
45004 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
45006         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
45007         test signgam value.
45009         * math/libm-test.inc (hypot_test): Do not use
45010         IGNORE_ZERO_INF_SIGN.
45012 2013-05-03  Andreas Jaeger  <aj@suse.de>
45014         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
45015         Linux 3.9.
45016         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
45017         (PF_MAX): Adjust for VSOCK change.
45019 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45023 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
45025         [BZ #15264]
45026         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
45027         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
45028         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
45030 2013-05-02  David S. Miller  <davem@davemloft.net>
45032         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45034 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
45036         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
45038 2013-05-01  Roland McGrath  <roland@hack.frob.com>
45040         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
45042 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
45044         [BZ #14952]
45045         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
45046         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45047         Use __attribute__ ((__gnu_inline__)).
45048         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
45049         Don't use __attribute__ ((__gnu_inline__)).
45051 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
45053         [BZ #15423]
45054         * math/s_catan.c (__catan): Handle small real or imaginary part of
45055         input specially to avoid spurious underflow.
45056         * math/s_catanf.c (__catanf): Likewise.
45057         * math/s_catanh.c (__catanh): Likewise.
45058         * math/s_catanhf.c (__catanhf): Likewise.
45059         * math/s_catanhl.c (__catanhl): Likewise.
45060         * math/s_catanl.c (__catanl): Likewise.
45061         * math/libm-test.inc (catan_test): Add more tests.
45062         (catanh_test): Likewise.
45063         * sysdeps/i386/fpu/libm-test-ulps: Update.
45064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45066 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45070 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
45072         [BZ #15416]
45073         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
45074         accurately for denominator in atan2.
45075         * math/s_catanf.c (__catanf): Likewise.
45076         * math/s_catanh.c (__catanh): Likewise.
45077         * math/s_catanhf.c (__catanhf): Likewise.
45078         * math/s_catanhl.c (__catanhl): Likewise.
45079         * math/s_catanl.c (__catanl): Likewise.
45080         * math/libm-test.inc (catan_test): Add more tests.
45081         (catanh_test): Likewise.
45082         * sysdeps/i386/fpu/libm-test-ulps: Update.
45083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45085 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45087         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
45089         * benchtests/Makefile (bench): Remove slow benchmarks.
45090         * benchtests/atan-inputs: Add slow benchmark inputs.
45091         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
45092         (BENCH_FUNC): Accept variant offset.
45093         (VARIANT): Define.
45094         * benchtests/bench-skeleton.c (main): Run benchmark for each
45095         variant.
45096         * benchtests/cos-inputs: Add slow benchmark inputs.
45097         * benchtests/exp-inputs: Likewise.
45098         * benchtests/pow-inputs: Likewise.
45099         * benchtests/sin-inputs: Likewise.
45100         * benchtests/slowatan-inputs: Remove.
45101         * benchtests/slowatan.c: Remove.
45102         * benchtests/slowcos-inputs: Remove.
45103         * benchtests/slowcos.c: Remove.
45104         * benchtests/slowexp-inputs: Remove.
45105         * benchtests/slowexp.c: Remove.
45106         * benchtests/slowpow-inputs: Remove.
45107         * benchtests/slowpow.c: Remove.
45108         * benchtests/slowsin-inputs: Remove.
45109         * benchtests/slowsin.c: Remove.
45110         * benchtests/slowtan-inputs: Remove.
45111         * benchtests/slowtan.c: Remove.
45112         * benchtests/tan-inputs: Add slow benchmark inputs.
45113         * scripts/bench.pl: Parse comments and directives.
45115         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
45116         in CPPFLAGS.
45117         ($(objpfx)bench-%.c): Remove *-ITER.
45118         * benchtests/bench-modf.c: Remove definition of ITER.
45119         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
45120         (main): Loop for DURATION seconds instead of fixed number of
45121         iterations.
45122         * scripts/bench.pl: Don't expect iterations in parameters.
45124 2013-04-29  Roland McGrath  <roland@hack.frob.com>
45126         * io/fchdir.c (__fchdir): Renamed from fchdir.
45127         (fchdir): Define as weak alias.
45129 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
45131         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
45132         (ERRNO_EDOM): Likewise.
45133         (ERRNO_ERANGE): Likewise.
45134         (noErrnoTests): New variable.
45135         (init_max_error): Set errno to 0.
45136         (test_single_errno): New function.
45137         (test_errno): Likewise.
45138         (check_float_internal): Call test_errno.  Set errno to 0.
45139         (check_complex): Refer to errno tests in comment.
45140         (check_int): Call test_errno.  Set errno to 0.
45141         (check_long): Likewise.
45142         (check_bool): Likewise.
45143         (check_longlong): Likewise.
45144         (cos_test): Use ERRNO_* flags for errno tests instead of
45145         check_int.
45146         (expm1_test): Likewise.
45147         (fmod_test): Likewise.
45148         (ilogb_test): Likewise.
45149         (lgamma_test): Likewise.
45150         (pow_test): Likewise.
45151         (remainder_test): Likewise.
45152         (sin_test): Likewise.
45153         (tan_test): Likewise.
45154         (yn_test): Likewise.
45155         (initialize): Set errno to 0.
45156         (main): Print number of errno tests.
45157         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
45159 2013-04-29  Andreas Jaeger  <aj@suse.de>
45161         [BZ #15084]
45162         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
45163         and RES_USEVC.
45165         [BZ #15085]
45166         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
45167         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
45168         unimplemented.
45170         [BZ #15380]
45171         * stdlib/random.c (__initstate): Return NULL if
45172         __initstate fails.
45174         [BZ #15086]
45175         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
45176         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
45177         RES_SNGLKUPREOP.
45179 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45181         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45183 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
45185         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
45186         of individual tests.
45187         (casin_test): Likewise.
45188         (casinh_test): Likewise.
45190 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
45192         [BZ #15409]
45193         * math/s_catan.c (__catan): Handle arguments with large real or
45194         imaginary part separately without squaring.
45195         * math/s_catanf.c (__catanf): Likewise.
45196         * math/s_catanh.c (__catanh): Likewise.
45197         * math/s_catanhf.c (__catanhf): Likewise.
45198         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45199         and redefine.
45200         (__catanhl): Handle arguments with large real or imaginary part
45201         separately without squaring.
45202         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
45203         and redefine.
45204         (__catanl): Handle arguments with large real or imaginary part
45205         separately without squaring.
45206         * math/libm-test.inc (catan_test): Add more tests.
45207         (catanh_test): Likewise.
45208         * sysdeps/i386/fpu/libm-test-ulps: Update.
45209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45211 2013-04-27  Andreas Jaeger  <aj@suse.de>
45213         [BZ #15007]
45214         * stdlib/stdlib.h: Update guards for qecvt.
45215         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
45216         <stdlib.h>.
45218 2013-04-27  Allan McRae  <allan@archlinux.org>
45220         * sysdeps/i386/fpu/libm-test-ulps: Update.
45222 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
45224         [BZ #15406]
45225         * math/s_catan.c: Include <float.h>.
45226         (__catan): Ensure underflow exception occurs for underflowed
45227         result.
45228         * math/s_catanf.c: Include <float.h>.
45229         (__catanf): Ensure underflow exception occurs for underflowed
45230         result.
45231         * math/s_catanh.c: Include <float.h>.
45232         (__catanh): Ensure underflow exception occurs for underflowed
45233         result.
45234         * math/s_catanhf.c: Include <float.h>.
45235         (__catanhf): Ensure underflow exception occurs for underflowed
45236         result.
45237         * math/s_catanhl.c: Include <float.h>.
45238         (__catanhl): Ensure underflow exception occurs for underflowed
45239         result.
45240         * math/s_catanl.c: Include <float.h>.
45241         (__catanl): Ensure underflow exception occurs for underflowed
45242         result.
45243         * math/libm-test.inc (catan_test): Add more tests.
45244         (catanh_test): Likewise.
45246         [BZ #15405]
45247         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
45248         underflowed result.
45249         * math/s_ccoshf.c (__ccoshf): Likewise.
45250         * math/s_ccoshl.c (__ccoshl): Likewise.
45251         * math/s_csin.c (__csin): Likewise.
45252         * math/s_csinf.c (__csinf): Likewise.
45253         * math/s_csinh.c (__csinh): Likewise.
45254         * math/s_csinhf.c (__csinhf): Likewise.
45255         * math/s_csinhl.c (__csinhl): Likewise.
45256         * math/s_csinl.c (__csinl): Likewise.
45257         * math/libm-test.inc (ccos_test): Add more tests.
45258         (ccosh_test): Likewise.
45259         (csin_test): Likewise.
45260         (csinh_test): Likewise.
45262 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45264         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
45265         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
45266         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
45267         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
45268         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
45269         powerpc/power5+/fpu folders.
45270         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
45273 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
45275         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45277 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
45279         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
45280         additions to variable.
45281         [$(config-machine) = x86_64] (modules-names): Likewise.
45282         ($(objpfx)tst-audit3): Remove dependency.
45283         ($(objpfx)tst-audit3.out): Likewise.
45284         ($(objpfx)tst-audit4): Likewise.
45285         ($(objpfx)tst-audit4.out): Likewise.
45286         ($(objpfx)tst-audit5): Likewise.
45287         ($(objpfx)tst-audit5.out): Likewise.
45288         ($(objpfx)tst-audit6): Likewise.
45289         ($(objpfx)tst-audit6.out): Likewise.
45290         ($(objpfx)tst-audit7): Likewise.
45291         ($(objpfx)tst-audit7.out): Likewise.
45292         (tst-audit3-ENV): Remove variable.
45293         (tst-audit4-ENV): Likewise.
45294         (tst-audit5-ENV): Likewise.
45295         (tst-audit6-ENV): Likewise.
45296         (tst-audit7-ENV): Likewise.
45297         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
45298         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
45299         addition to variable.
45300         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
45301         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
45302         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
45303         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
45304         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
45305         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
45306         tst-audit3, tst-audit4 and tst-audit5.
45307         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
45308         tst-audit6 and tst-audit7.
45309         [$(subdir) = elf] (modules-names): Add audit modules for those
45310         tests.
45311         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
45312         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
45313         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
45314         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
45315         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
45316         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
45317         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
45318         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
45319         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
45320         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
45321         [$(subdir) = elf] (tst-audit3-ENV): New variable.
45322         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
45323         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
45324         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
45325         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
45326         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
45327         Likewise.
45328         [$(subdir) = elf && $(config-cflags-avx) = yes]
45329         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
45330         [$(subdir) = elf && $(config-cflags-avx) = yes]
45331         (CFLAGS-tst-auditmod4a.c): Likewise.
45332         [$(subdir) = elf && $(config-cflags-avx) = yes]
45333         (CFLAGS-tst-auditmod4b.c): Likewise.
45334         [$(subdir) = elf && $(config-cflags-avx) = yes]
45335         (CFLAGS-tst-auditmod6b.c): Likewise.
45336         [$(subdir) = elf && $(config-cflags-avx) = yes]
45337         (CFLAGS-tst-auditmod6c.c): Likewise.
45338         [$(subdir) = elf && $(config-cflags-avx) = yes]
45339         (CFLAGS-tst-auditmod7b.c): Likewise.
45340         * elf/tst-audit3.c: Move to ...
45341         * sysdeps/x86_64/tst-audit3.c: ... here.
45342         * elf/tst-audit4.c: Move to ...
45343         * sysdeps/x86_64/tst-audit4.c: ... here.
45344         * elf/tst-audit5.c: Move to ...
45345         * sysdeps/x86_64/tst-audit5.c: ... here.
45346         * elf/tst-audit6.c: Move to ...
45347         * sysdeps/x86_64/tst-audit6.c: ... here.
45348         * elf/tst-audit7.c: Move to ...
45349         * sysdeps/x86_64/tst-audit7.c: ... here.
45350         * elf/tst-auditmod3a.c: Move to ...
45351         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
45352         * elf/tst-auditmod3b.c: Move to ...
45353         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
45354         * elf/tst-auditmod4a.c: Move to ...
45355         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
45356         * elf/tst-auditmod4b.c: Move to ...
45357         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
45358         * elf/tst-auditmod5a.c: Move to ...
45359         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
45360         * elf/tst-auditmod5b.c: Move to ...
45361         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
45362         * elf/tst-auditmod6a.c: Move to ...
45363         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
45364         * elf/tst-auditmod6b.c: Move to ...
45365         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
45366         * elf/tst-auditmod6c.c: Move to ...
45367         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
45368         * elf/tst-auditmod7a.c: Move to ...
45369         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
45370         * elf/tst-auditmod7b.c: Move to ...
45371         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
45373 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
45375         [BZ #15366]
45376         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
45377         define unconditionally.
45378         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
45379         define unconditionally.
45380         (INT8_C, INT16_C, etc.): Likewise.
45382 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
45384         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
45385         __ehdr_start with hidden visibility.
45387         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
45389 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
45391         * math/libm-test.inc (cos_test): Use accurate hex constants.
45392         (sincost_test): Likewise.
45394 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
45396         * math/libm-test.inc (catan_test): Add more tests.
45397         (catanh_test): Likewise.
45399         * math/s_catanf.c (__catanf): Use suffixed floating-point
45400         constants.
45401         * math/s_catanhf.c (__catanhf): Likewise.
45402         * math/s_catanhl.c (__catanhl): Likewise.
45403         * math/s_catanl.c (__catanl): Likewise.
45405         [BZ #15394]
45406         * math/s_catan.c (__catan): Calculate imaginary part of result
45407         with log1p not log unless computing log of number close to 0.
45408         * math/s_catanf.c (__catanf): Likewise.
45409         * math/s_catanl.c (__catanl): Likewise.
45410         * math/s_catanh.c (__catanh): Calculate real part of result with
45411         log1p not log unless computing log of number close to 0.
45412         * math/s_catanhf.c (__catanhf): Likewise.
45413         * math/s_catanhl.c (__catanhl): Likewise.
45414         * math/libm-test.inc (catan_test): Add more tests.
45415         (catanh_test): Likewise.
45416         * sysdeps/i386/fpu/libm-test-ulps: Update.
45417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45419 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
45421         * benchtests/Makefile: Mention files in which fast and slow
45422         paths of math functions are implemented.
45424 2013-04-23  Roland McGrath  <roland@hack.frob.com>
45426         * sysdeps/posix/timespec_get.c: New file.
45428 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45430         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
45431         POWER.
45432         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
45433         for POWER.
45434         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
45435         powerpc/power5/fpu folders.
45436         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
45437         * benchtests/Makefile: Add modf testcase.
45438         * benchtests/bench-modf.c: New file: Benchmark test for mo
45440 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45442         [BZ #14888]
45443         * time/Makefile (tests): Add tst-strptime-whitespace.
45444         * time/strptime_l.c (get_number): Use ISSPACE.
45445         (__strptime_internal): Likewise.
45446         * time/tst-strptime-whitespace.c: New test case.
45448 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
45450         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
45451         member.
45452         (_nss_files_init): Set it here.
45454 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
45456         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
45457         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
45458         unsigned.
45460 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
45462         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
45464 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45466         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
45467         size just once.
45469 2013-04-21  David S. Miller  <davem@davemloft.net>
45471         * po/ru.po: Update Russion translation from translation project.
45473 2013-04-17  Adam Conrad  <adconrad@0c3.net>
45475         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
45476         and setfsgid.
45478 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
45480         * configure.in: Remove i386 configure warning. Remove i386 case.
45481         * configure: Regenerate.
45482         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
45483         Add example to error message.
45484         * sysdeps/i386/configure: Regenerate.
45486 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45488         * benchtests/Makefile (bench): Add cos, tan, slowcos and
45489         slowtan.
45490         * benchtests/cos-inputs: New file.
45491         * benchtests/slowcos-inputs: New file.
45492         * benchtests/slowcos.c: New file.
45493         * benchtests/slowtan-inputs: New file.
45494         * benchtests/slowtan.c: New file.
45495         * benchtests/tan-inputs: New file.
45497 2013-04-16  Roland McGrath  <roland@hack.frob.com>
45499         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
45500         considered kosher.
45502 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45504         * benchtests/Makefile: Include cppflags-iterator.mk to add
45505         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
45507         * Makefile.in (bench-clean): New target.
45508         * benchtests/Makefile (bench-clean): Likewise.
45510 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
45512         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
45514 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
45516         * stdio-common/tstdiomisc.c: Fix coding-style violation.
45518 2013-04-15  Andreas Schwab  <schwab@suse.de>
45520         * nscd/grpcache.c (cache_addgr): Properly check for short write.
45521         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45522         * nscd/pwdcache.c (cache_addpw): Likewise.
45523         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
45524         more than recsize.
45526 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45528         * benchtests/Makefile (bench): Write all output to
45529         bench-out.tmp together.
45531 2013-04-15  Andreas Schwab  <schwab@suse.de>
45533         * nscd/nscd.c (main): Don't fork again after closing files.
45535 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45537         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
45539         * benchtests/Rules (bench-deps): Collect dependencies into a
45540         single variable.  Add Makefile to dependencies.
45541         ($(objpfx)bench-%.c): Depend on bench-deps.
45543 2013-04-12  Roland McGrath  <roland@hack.frob.com>
45544             Xavier Roche  <roche+kml2@exalead.com>
45546         [BZ #15361]
45547         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
45548         just that it's a file descriptor.
45549         * manual/llio.texi (Synchronizing AIO Operations): Update description
45550         for EBADF error from aio_fsync.
45552 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45554         * Rules (bench): Move target definition...
45555         * benchtests/Makefile: ... here.
45557 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
45559         * math/libm-test.inc (cos_test): Fix PI/2 test.
45560         (sincos_test): Likewise.
45561         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45562         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
45564 2013-04-11  Andreas Schwab  <schwab@suse.de>
45566         [BZ #13988]
45567         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
45568         accept exponent character only when digits were seen.
45569         * stdio-common/Makefile (tests): Add bug26.
45570         * stdio-common/bug26.c: New file.
45572         [BZ #14293]
45573         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
45574         non-freeable.
45576 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45578         * Makeconfig (rtld-prefix): Define built linker prefix.
45579         * Rules (run-bench): Use it.
45580         * math/Makefile (run-regen-ulps): Likewise.
45582         * Rules (bench): Remove eval.
45584 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45585             Roland McGrath  <roland@hack.frob.com>
45586             Ondrej Bilka  <neleai@seznam.cz>
45588         [BZ #15346]
45589         * time/getdate.c: Include ctype.h and alloca.h.
45590         (__getdate_r): Trim leading and trailing spaces of input.
45591         * time/tst-getdate.c (tests): Add tests with leading and
45592         trailing spaces.
45594 2013-04-08  Roland McGrath  <roland@hack.frob.com>
45596         [BZ #14280]
45597         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
45598         when computing value.
45600 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45602         * math/README.libm-test (How can I generate "libm-test-ulps"?):
45603         Use testrun.sh to run libm tests.
45605         [BZ #15309]
45606         * elf/dl-open.c (dl_open_worker): memset all of seen array.
45608 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
45610         [BZ #15264]
45611         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
45613 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45615         * Makefile.in (regen-ulps): New target.
45616         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
45617         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
45618         [ifneq (no,$(PERL)] (regen-ulps): New target.
45619         [ifeq (no,$(PERL)] (regen-ulps): New target.
45620         * math/libm-test.inc (ulps_file_name): Define.
45621         (output_dir): New variable.
45622         (options): Add "output-dir" option.
45623         (parse_opt): Handle 'o' case.
45624         (main): If output_dir is non-NULL use it as a prefix
45625         otherwise use "".
45626         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
45628 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45630         [BZ #10060, #10062]
45631         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
45632         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
45633         fail configure if __sync_val_compare_and_swap is not inlined.
45634         * sysdeps/i386/configure: Regenerate.
45635         * configure.in: Build for i686 when configured for i386.
45636         * configure: Regenerate.
45637         * README: Remove i386 reference.
45639 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
45641         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
45642         * sysdeps/s390/s390-64/sysdep.h: Likewise.
45644 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45646         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
45647         (lmsnanval): New variables.
45648         (F): Add conversion tests.
45649         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
45650         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
45652         * stdio-common/tstdiomisc.c (F): Properly collect individual
45653         tests' results.
45655         [BZ #14686, #15336]
45656         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
45657         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
45658         Instead, use input NaN values or generate a qNaN by arithmetic
45659         operation.  Also fix bugs to comply with the standard.
45660         * math/libm-test.inc (remainder_test): Add more tests.
45662         [BZ #15335, #15342]
45663         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
45664         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
45665         input NaN values or generate a qNaN by arithmetic operation.
45667         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
45668         unreachable code.
45670         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
45671         definitions.
45673 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
45675         [BZ #14478]
45676         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
45677         underflowed result.
45678         * math/s_cexpf.c (__cexpf): Likewise.
45679         * math/s_cexpl.c (__cexpl): Likewise.
45680         * math/libm-test.inc (cexp_test): Add more tests.
45682 2013-04-03  Andreas Schwab  <schwab@suse.de>
45684         [BZ #15330]
45685         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
45686         order arrays from heap if bigger than alloca cutoff.
45688 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
45690         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
45691         (SNAN_TESTS_double): Refer to GCC PR56831.
45692         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
45693         GCC PR56828.
45695 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45697         * Rules (bench): Move bench.out after the run is complete.
45699         * Rules (bench): Echo currently running benchmark.
45701         * benchtests/Makefile (bench): Add atan and slowatan.
45702         * benchtests/atan-inputs: New file.
45703         * benchtests/slowatan-inputs: New file.
45704         * benchtests/slowatan.c: New file.
45706         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
45707         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
45708         its value.
45710         [BZ #15305]
45711         * sysdeps/unix/sysv/linux/kernel-features.h
45712         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
45713         __ASSUME_XFS_RESTRICTED_CHOWN.
45714         * sysdeps/unix/sysv/linux/pathconf.c
45715         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
45716         Save and restore errno.
45718 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
45720         [BZ #15327]
45721         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
45722         arguments using __kernel_casinh.
45723         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
45724         arguments using __kernel_casinhf.
45725         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
45726         arguments using __kernel_casinhl.
45727         * math/libm-test.inc (cacosh_test): Add more tests.
45728         * sysdeps/i386/fpu/libm-test-ulps: Update.
45729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45731 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45733         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
45734         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
45736         * bench/Makefile (bench): Add sin and slowsin.
45737         * benchtests/sin-inputs: New file.
45738         * benchtests/slowsin-inputs: New file.
45739         * benchtests/slowsin.c: New file.
45741         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
45742         (bench): Add slowexp and slowpow.
45743         (exp-ITER): Increase iterations.
45744         (pow-ITER): Likewise.
45745         * benchtests/exp-inputs: Change input.
45746         * benchtests/pow-inputs: Likewise.
45747         * benchtests/slowexp-inputs: New file.
45748         * benchtests/slowexp.c: New file.
45749         * benchtests/slowpow-inputs: New file.
45750         * benchtests/slowpow.c: New file.
45752 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45754         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
45755         instructions.
45756         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
45757         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
45758         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45759         * benchtests/Makefile: Add rint benchtest.
45760         * benchtests/rint-inputs: Input for rint benchtest.
45762 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
45764         * Versions.def (libm): Add GLIBC_2.18.
45765         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
45766         hidden libm prototypes.
45767         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
45768         * math/Makefile (libm-calls): Add s_issignaling.
45769         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
45770         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
45771         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
45772         declaration.
45773         * math/math.h [__USE_GNU] (issignaling): New macro.
45774         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
45775         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
45776         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
45777         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
45778         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
45779         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
45780         * manual/arith.texi (issignaling): New section.
45781         * manual/libm-err-tab.pl (@all_functions): Update comment.
45782         * math/gen-libm-test.pl (parse_args): Apply special handling for
45783         issignaling.
45784         * math/libm-test.inc (print_float, issignaling_test): New
45785         functions.
45786         (check_float_internal): Add issignaling checks.
45787         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
45788         default definition.
45789         * sysdeps/powerpc/math-tests.h: New file.
45790         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
45791         tests.
45792         * math/test-snan.c (TEST_FUNC): Likewise.
45794 2013-03-30  David S. Miller  <davem@davemloft.net>
45796         * po/de.po: Update from translation team.
45798 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
45800         [BZ #10357]
45801         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45802         imaginary part less than 1.0 and real part less than 0.5
45803         specially.
45804         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45805         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45806         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
45807         (cacos_test): Add more tests.
45808         (casin_test): Likewise.
45809         (casinh_test): Likewise.
45810         * sysdeps/i386/fpu/libm-test-ulps: Update.
45811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45813 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45815         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
45816         ONE with its value.
45818         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
45819         (__pow_mp): Replace ONE and MONE with their values.
45820         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45821         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
45822         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45823         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
45824         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45825         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45827         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
45829         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
45830         (__pow_mp): Replace ZERO and MZERO with their values.
45831         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45832         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45833         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
45834         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
45835         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45836         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
45837         (__sqr): Likewise.
45839         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
45841         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
45843 2013-03-28  Roland McGrath  <roland@hack.frob.com>
45845         * include/stdlib.h [!SHARED] (__call_tls_dtors):
45846         Declare with __attribute__ ((weak)).
45847         * stdlib/exit.c (__libc_atexit) [!SHARED]:
45848         Call __call_tls_dtors only if it's not NULL.
45850 2013-03-28  Roland McGrath  <roland@hack.frob.com>
45852         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
45853         didn't do it already, then set _dl_phdr and _dl_phnum based on the
45854         magic __ehdr_start linker symbol if it's defined.
45855         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
45856         them up here if it was already done.
45858         * elf/dl-support.c (_dl_phdr): Make pointer to const.
45859         (_dl_aux_init): Use const in cast when setting it.
45860         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
45861         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
45862         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
45864         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
45865         Declare them here.
45866         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
45867         * csu/libc-tls.c: Nor here.
45868         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
45870         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
45871         (__libc_message): Never call vsyslog.
45873 2013-03-28  Alan Modra  <amodra@gmail.com>
45875         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
45876         Define as empty.
45877         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
45878         Likewise.
45880 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45882         [BZ #15214]
45883         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
45884         underflow.
45885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45887 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45889         [BZ #15304]
45890         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
45891         Don't add gid passed as argument.
45893         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
45895 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
45897         [BZ #15307]
45898         * math/k_casinh.c (__kernel_casinh): Handle arguments with
45899         imaginary part between 1.0 and 1.5 and real part less than 0.5
45900         specially.
45901         * math/k_casinhf.c (__kernel_casinhf): Likewise.
45902         * math/k_casinhl.c (__kernel_casinhl): Likewise.
45903         * math/libm-test.inc (cacos_test): Add more tests.
45904         (casin_test): Likewise.
45905         (casinh_test): Likewise.
45906         * sysdeps/i386/fpu/libm-test-ulps: Update.
45907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45909 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45911         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
45912         constants.
45913         (norm): Likewise.
45914         (denorm): Likewise.
45915         (__dbl_mp): Likewise.
45916         (add_magnitudes): Likewise.
45917         (sub_magnitudes): Likewise.
45918         (__add): Likewise.
45919         (__sub): Likewise.
45920         (__mul): Likewise.
45921         (__sqr): Likewise.
45922         (__inv): Likewise.
45923         (__dvd): Likewise.
45925         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
45926         commented code.
45927         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
45928         (__dubcos): Likewise.
45929         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
45930         (__ieee754_acos): Likewise.
45931         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
45932         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
45933         (__exp1): Likewise.
45934         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
45935         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45936         (log1): Likewise.
45937         (my_log2): Likewise.
45938         (checkint): Likewise.
45939         * sysdeps/ieee754/dbl-64/e_remainder.c
45940         (__ieee754_remainder): Likewise.
45941         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
45942         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
45943         (bsloww): Likewise.
45944         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
45946         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
45947         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
45948         MANTISSA_STORE_T to store computations on mantissa.  Use
45949         macros for rounding and division.
45950         (denorm): Likewise.
45951         (__dbl_mp): Likewise.
45952         (add_magnitudes): Likewise.
45953         (sub_magnitudes): Likewise.
45954         (__mul): Likewise.
45955         (__sqr): Likewise.
45956         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
45957         powers of two in terms of TWOPOW macro.
45958         (mp_no): Make type of mantissa as MANTISSA_T.
45959         [!RADIXI]: Define RADIXI.
45960         [!TWO52]: Define TWO52.
45961         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
45963 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45965         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
45966         llroundl symbol when building for PPC32.
45968 2013-03-24  Mark H Weaver  <mhw@netris.org>
45970         * manual/arith.texi (Normalization Functions): Fix prototypes for
45971         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
45973 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45975         [BZ #13889]
45976         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
45977         high value to check if expl overflow.
45978         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
45979         to check for underflow and overflow.
45980         * math/libm-test.inc: Add exp test.
45982 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
45984         [BZ #11120]
45985         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
45986         with NOT_IN_libc.
45988 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45990         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
45991         symbol.
45993 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45995         * math/gen-libm-test.pl (parse_args, special_functions): Properly
45996         wrap blocks consisting of several statements.
45998         * sysdeps/generic/math-tests.h: New file.
45999         * sysdeps/i386/fpu/math-tests.h: Likewise.
46000         * math/test-snan.c: Include it.
46001         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
46003 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
46005         [BZ #15285]
46006         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
46007         (__ieee754_j0l): Do not improve calculations using cos of twice
46008         input for inputs above LDBL_MAX / 2.0L.
46009         (__ieee754_y0l): Likewise.
46010         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
46011         (__ieee754_j1l): Do not improve calculations using cos of twice
46012         input for inputs above LDBL_MAX / 2.0L.
46013         (__ieee754_y1l): Likewise.
46014         * math/libm-test.inc (j0_test): Add another test.
46015         (j1_test): Likewise.
46016         (y0_test): Likewise.
46017         (y1_test): Likewise.
46018         * sysdeps/i386/fpu/libm-test-ulps: Update.
46020 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46022         * Rules ($(objpfx)bench-%.c): Include code from a C source
46023         file.
46025 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
46027         [BZ #15287]
46028         * math/k_casinh.c (__kernel_casinh): Handle arguments with
46029         imaginary part 1.0 and real part less than 0.5 specially.
46030         * math/k_casinhf.c (__kernel_casinhf): Likewise.
46031         * math/k_casinhl.c (__kernel_casinhl): Likewise.
46032         * math/libm-test.inc (cacos_test): Add more tests.
46033         (casin_test): Likewise.
46034         (casinh_test): Likewise.
46035         * sysdeps/i386/fpu/libm-test-ulps: Update.
46036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46038 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46040         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
46041         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
46043 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
46045         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
46046         * config.make.in (config-cflags-sse4): Remove variable.
46047         (config-cflags-avx): Likewise.
46048         (config-cflags-sse2avx): Likewise.
46049         (config-cflags-novzeroupper): Likewise.
46050         (config-asflags-i686): Likewise.
46051         (have-mfma4): Likewise.
46052         (have-as-vis3): Likewise.
46053         (MIG): Likewise.
46054         * configure.in (MIG): Do not AC_SUBST.
46055         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
46056         (libc_cv_cc_sse4): Do not AC_SUBST.
46057         (libc_cv_cc_avx): Likewise.
46058         (libc_cv_cc_sse2avx): Likewise.
46059         (libc_cv_cc_novzeroupper): Likewise.
46060         (libc_cv_cc_fma4): Likewise.
46061         (libc_cv_as_i686): Likewise.
46062         (libc_cv_sparc_as_vis3): Likewise.
46063         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
46064         LIBC_CONFIG_VAR.
46065         (config-asflags-i686): Likewise.
46066         (config-cflags-avx): Likewise.
46067         (config-cflags-sse2avx): Likewise.
46068         (have-mfma4): Likewise.
46069         (config-cflags-novzeroupper): Likewise.
46070         * sysdeps/mach/configure.in (MIG): Likewise.
46071         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
46072         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
46073         LIBC_CONFIG_VAR.
46074         (config-cflags-avx): Likewise.
46075         (config-cflags-sse2avx): Likewise.
46076         (have-mfma4): Likewise.
46077         (config-cflags-novzeroupper): Likewise.
46078         * configure: Regenerated.
46079         * sysdeps/i386/configure: Likewise.
46080         * sysdeps/mach/configure: Likewise.
46081         * sysdeps/sparc/configure: Likewise.
46082         * sysdeps/x86_64/configure: Likewise.
46084 2013-03-20  Roland McGrath  <roland@hack.frob.com>
46086         [BZ #14812]
46087         * locale/programs/localedef.c (options): Put N_ translation marker
46088         on argument names, not just descriptions.
46090 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46092         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
46094 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
46096         [BZ #14176]
46097         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
46099 2013-03-19  Roland McGrath  <roland@hack.frob.com>
46101         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
46102         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
46103         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
46104         [!BEFORE_ABORT] (before_abort): New function.
46105         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
46106         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
46107         (writev_for_fatal): New function.
46108         (WRITEV_FOR_FATAL): New macro; call that.
46109         (backtrace_and_maps): New function.
46110         (BEFORE_ABORT): New macro; call that.
46111         (struct str_list): Type removed.
46112         (__libc_message, __libc_fatal): Functions removed.
46113         Include <sysdeps/posix/libc_fatal.c> instead.
46115 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
46117         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
46118         constants.
46119         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
46120         double constants.
46122 2013-03-19  Andreas Schwab  <schwab@suse.de>
46124         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
46125         * sysdeps/gnu/configure: Regenerate.
46127         * configure.in: Substitute libc_cv_rtlddir.
46128         * configure: Regenerate.
46129         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
46130         * Makeconfig (rtlddir, inst_rtlddir): New variables.
46131         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
46132         * elf/Makefile (install-others, CFLAGS-interp.c)
46133         (ldso_install, common-ldd-rewrite): Likewise.
46134         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
46135         $(inst_slibdir)/$(rtld-installed-name).
46136         * scripts/rellns-sh: Add -p option.
46137         * Makerules (make-shlib-link): Use rellns-sh to get relative name
46138         for source.
46140 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46142         * manual/nptl.texi: Renamed to ...
46143         * manual/threads.texi: ... this.
46144         * manual/Makefile (chapters): Update.
46146 2013-03-18  Roland McGrath  <roland@hack.frob.com>
46148         [BZ #14812]
46149         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
46150         on argument names, not just descriptions.
46151         * malloc/memusagestat.c (options): Likewise.
46152         * nss/getent.c (options): Likewise.
46154 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
46156         [BZ #14812]
46157         * iconv/iconv_prog.c (options): Put N_ translation marker
46158         on argument names, not just descriptions.
46159         * iconv/iconvconfig.c (options): Likewise.
46161 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
46163         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
46164         implementation which is faster on all x86_64 architectures.
46165         Tested on AMD, Intel Nehalem, SNB, IVB.
46166         * sysdeps/x86_64/strnlen.S: Likewise.
46168         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46169         Remove all multiarch strlen and strnlen versions.
46170         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
46171         Remove strlen and strnlen related parts.
46173         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
46174         Inline strlen part.
46175         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
46177         * sysdeps/x86_64/multiarch/strlen.S: Remove.
46178         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
46179         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
46180         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
46181         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46182         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
46184 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
46186         * manual/memory.texi (Malloc Tunable Parameters):
46187         Sort parameters alphabetically. Add comments for missing entries.
46189 2013-03-17  David S. Miller  <davem@davemloft.net>
46191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46193 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
46195         [BZ #15283]
46196         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
46197         for arguments at most half maximum finite value.
46198         * math/libm-test.inc (j0_test): Add more tests.
46199         (j1_test): Likewise.
46200         (y0_test): Likewise.
46201         (y1_test): Likewise.
46202         * sysdeps/i386/fpu/libm-test-ulps: Update.
46203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46205         [BZ #14155]
46206         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
46207         1 / x and functions P and Q for arguments above 0x1p256L.
46208         (__ieee754_y0l): Likewise.
46209         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
46210         (__ieee754_y1l): Likewise.
46211         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
46212         (j1_test): Likewise.
46213         (y0_test): Likewise.
46214         (y1_test): Likewise.
46216 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
46218         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
46219         variable.
46221 2013-03-15  Roland McGrath  <roland@hack.frob.com>
46223         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
46224         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
46225         zero since it's initialized to EXEC_PAGESIZE.
46227         * sysdeps/unix/sysv/linux/ldsodefs.h
46228         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
46229         * sysdeps/generic/ldsodefs.h: ... here.
46231 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
46233         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
46235         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
46236         math/test-snan.c.
46237         * math/test-snan.c: Renamed from
46238         sysdeps/powerpc/fpu/test-powerpc-snan.c.
46239         * math/Makefile (tests): Add test-snan.
46240         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
46241         test-powerpc-snan.
46243         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
46244         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
46245         functions.
46246         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
46247         __builtin_nan family of functions.
46248         * math/libm-test.inc (initialize): Initialize qnan_value with
46249         __builtin_nan family of functions.
46250         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
46251         Remove variables.
46252         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
46253         Remove functions.
46254         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
46255         storage class.  Initialize qNaN_var and sNaN_var with
46256         __builtin_nan and __builtin_nans families of functions,
46257         respectively.
46259         * math/libm-test.inc (acosh_test): Also test with qNaN input.
46260         (sqrt_test): Remove duplicate test with qNaN input.
46261         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
46262         (round_test, signbit_test, significand_test): Note missing +/-Inf
46263         as well as qNaN tests.
46265         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
46266         qNaN_var.  Fix a few strings, too.
46267         * math/libm-test.inc (nan_value): Rename to qnan_value.
46268         * math/gen-libm-test.pl (%beautify): Adjust to that.
46269         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
46270         * math/test-misc.c (main): Likewise.
46271         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
46272         to __qnan_bytes, and __qnan_union, respectively.
46273         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
46274         Likewise.
46275         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
46276         and lqnanval, respectively.
46277         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
46278         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
46279         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
46280         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
46282         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
46283         * math/test-misc.c (main) [__x86_64__]: Enable test for long
46284         doubles.
46286         * math/test-misc.c (main): Fix copy'n'pastos.
46287         * misc/tst-efgcvt.c (special): Likewise.
46289         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
46290         Remove declarations.
46292 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46294         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
46295         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
46296         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
46297         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
46299 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46301         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
46302         macro to return vdso values correctly in IFUNC implementations.
46303         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
46304         Optimization by using IFUNC.
46306 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46307             Richard Henderson  <rth@redhat.com>
46308             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46310         * Makefile.in (bench): New target.
46311         * NEWS: Mention the benchmark framework.
46312         * Rules (bench): Likewise.
46313         (binaries-bench): Generate binaries for functions to
46314         benchmark.
46315         * benchtests/Makefile: New makefile for benchmark tests.
46316         * benchtests/bench-skeleton.c: New skeleton file for benchmark
46317         programs.
46318         * benchtests/exp-inputs: New input file for EXP function.
46319         * benchtests/pow-inputs: New input file for POW function.
46320         * scripts/bench.pl: New script to generate source files for
46321         benchmark programs.
46323 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46325         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
46326         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
46327         computations on mantissa.  Use macros for rounding and
46328         division.
46329         (denorm): Likewise.
46330         (__dbl_mp): Likewise.
46331         (add_magnitudes): Likewise.
46332         (sub_magnitudes): Likewise.
46333         (__mul): Likewise.
46334         (__sqr): Likewise.
46335         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
46336         powers of two in terms of TWOPOW macro.
46337         (mp_no): Make type of mantissa as MANTISSA_T.
46338         [!RADIXI]: Define RADIXI.
46339         [!TWO52]: Define TWO52.
46340         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
46342         * manual/nptl.texi (cindex): Modify threads to pthreads.
46344 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
46346         * sysdeps/x86_64/preconfigure: Regenerated.
46348 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
46350         [BZ #14155]
46351         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
46352         0x1p28 and above.
46353         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
46354         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
46355         0x1p28 and above.
46356         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
46357         * math/libm-test.inc (j0_test): Do not allow one spurious
46358         underflow exception.
46359         (y1_test): Likewise.
46361 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
46363         * manual/Makefile (chapters): Add nptl.
46364         * manual/debug.texi (Debugging Support): Add link to Threads
46365         chapter.
46366         * manual/nptl.texi: New file.
46368         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
46370 2013-03-14  Petr Baudis  <pasky@ucw.cz>
46372         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
46373         for non-NULL pointer before the memory validity test. Pointed
46374         out by Holger Brunck <holger.brunck@keymile.com>.
46376 2013-03-13  Andreas Schwab  <schwab@suse.de>
46378         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
46379         instead of .os.
46381 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
46383         * timezone/zic.c: Update from tzcode 2013b.
46385 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
46387         * manual/install.texi (Configuring and compiling):
46388         Mention i686 and i586.
46389         * INSTALL: Regenerate.
46391 2013-03-12  Roland McGrath  <roland@hack.frob.com>
46393         * sysdeps/init_array/elf-init.c: New file.
46394         * csu/elf-init.c
46395         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
46396         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
46398         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
46399         __gmon_start__ as global, but as static with a .preinit_array pointer.
46400         * sysdeps/init_array/gmon-start.c: New file.  Use that.
46401         * sysdeps/init_array/crti.S: New file, empty except for comments.
46402         * sysdeps/init_array/crtn.S: Likewise.
46404 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
46406         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
46407         definining bcopy.
46408         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46409         Remove Prefer_SSE_for_memop.
46410         * sysdeps/x86_64/multiarch/init-arch.h: Remove
46411         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
46412         HAS_PREFER_SSE_FOR_MEMOP.
46413         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
46414         memset-x86-64.
46415         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46416         Remove bzero, memset ifunc support.
46417         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
46418         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
46419         * sysdeps/x86_64/multiarch/memset.S: Likewise.
46420         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46422 2013-03-11  Andreas Schwab  <schwab@suse.de>
46424         [BZ #15234]
46425         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
46426         by SHLIB_COMPAT.
46427         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
46428         (GLIBC_2.16): Remove pthread_atfork.
46430 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
46432         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
46433         (ptestcases.h): Likewise.
46435 2013-03-08  Roland McGrath  <roland@hack.frob.com>
46437         * Makeconfig ($(common-objpfx)config.status): Depend on
46438         sysdeps/*/preconfigure{,.in} too.
46440 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
46442         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
46443         (__free_hook): Use void * instead of __malloc_ptr_t.
46444         (__malloc_hook): Likewise.
46445         (__realloc_hook): Likewise.
46446         (__memalign_hook): Likewise.
46447         (__after_morecore_hook): Likewise.
46448         * malloc/arena.c (save_malloc_hook): Likewise.
46449         (save_free_hook): Likewise.
46450         * malloc/hooks.c (malloc_hook_ini): Likewise.
46451         (realloc_hook_ini): Likewise.
46452         (memalign_hook_ini): Likewise.
46453         * malloc/malloc.c (malloc_hook_ini): Likewise.
46454         (realloc_hook_ini): Likewise.
46455         (memalign_hook_ini): Likewise.
46456         (__free_hook): Likewise.
46457         (__malloc_hook): Likewise.
46458         (__realloc_hook): Likewise.
46459         (__memalign_hook): Likewise.
46460         (__libc_malloc): Likewise.
46461         (__libc_free): Likewise.
46462         (__libc_realloc): Likewise.
46463         (__libc_memalign): Likewise.
46464         (__libc_valloc): Likewise.
46465         (__libc_pvalloc): Likewise.
46466         (__libc_calloc): Likewise.
46467         (__posix_memalign): Likewise.
46468         * malloc/morecore.c (__sbrk): Likewise.
46469         (__default_morecore): Likewise.
46471         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
46473         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
46474         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
46475         __malloc_ptrdiff_t.
46477         * malloc/malloc.h (__malloc_size_t): Remove macro.
46478         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
46479         __malloc_size_t.
46480         (old_memalign_hook): Likewise.
46481         (old_realloc_hook): Likewise.
46482         (struct hdr): Likewise.
46483         (flood): Likewise.
46484         (mallochook): Likewise.
46485         (memalignhook): Likewise.
46486         (reallochook): Likewise.
46487         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
46488         (tr_old_realloc_hook): Likewise.
46489         (tr_old_memalign_hook): Likewise.
46490         (tr_mallochook): Likewise.
46491         (tr_reallochook): Likewise.
46492         (tr_memalignhook): Likewise.
46494 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46496         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
46497         default_ldbl_pack and using as default implementation.
46498         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
46499         implementation.
46500         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
46501         redundant definition.
46502         (ldbl_insert_mantissa): Likewise.
46503         (ldbl_canonicalize): Likewise.
46504         (ldbl_nearbyint): Likewise.
46505         (ldbl_pack): Rename to ldbl_pack_ppc.
46506         (ldbl_unpack): Rename to ldbl_unpack_ppc.
46507         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
46508         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
46510 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46512         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
46513         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
46514         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
46515         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
46516         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
46517         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
46518         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
46519         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
46521 2013-03-07  Andreas Jaeger  <aj@suse.de>
46523         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46524         bits/mman-linux.h.
46526 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46528         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
46529         Include mpa.h and declare __MPEXP.
46530         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
46531         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46532         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46533         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
46534         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46535         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
46536         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
46538         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
46539         (__slowpow): Use long double EXPL and LOGL functions to
46540         compute POW.
46541         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
46542         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46543         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
46544         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
46545         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
46546         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
46548         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
46549         intermediate variable to calculate exponent.
46550         (__sqr): Likewise.
46551         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
46552         Likewise.
46553         (__sqr): Likewise.
46555         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
46556         [!NO__SQR]: Define __sqr.
46557         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
46558         and NO__SQR.  Remove all code except __mul and __sqr.  Include
46559         sysdeps/ieee754/dbl-64/mpa.c.
46560         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
46562         [BZ #12723]
46563         * posix/Makefile (tests): Add tst-pathconf.
46564         * posix/tst-pathconf.c: New test case.
46565         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
46566         _PC_PIPE_BUF.
46567         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
46569 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
46571         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
46573 2013-03-06  Andreas Jaeger  <aj@suse.de>
46575         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
46576         definition via __MAP_ANONYMOUS.
46578         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
46579         it's not part of Linux headers.
46581         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
46582         (MAP_HUGE_MASK): Define.
46584         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46585         Define.
46586         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46587         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46588         Define.
46589         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46590         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
46591         Define.
46592         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46593         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
46594         Define.
46595         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
46597         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
46598         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
46599         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
46600         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
46601         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
46602         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
46604         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
46605         Handle f2fs.
46607         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46608         Handle f2fs and efivarfs.
46610         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
46611         f2fs.
46613         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
46614         (EFIVARFS_MAGIC): Add.
46615         (F2FS_LINK_MAX): Add.
46617 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46619         * stdio-common/vfprintf.c: Replace __builtin_expect with
46620         __glibc_unlikely.
46622 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
46624         [BZ #13550]
46625         * sysdeps/generic/bp-sym.h: Remove file.
46626         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
46627         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
46628         <bp-sym.h> and <bp-asm.h>.
46629         (__longjmp): Don't use BP_SYM.
46630         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
46631         and <bp-asm.h>.
46632         (memcpy): Don't use BP_SYM.
46633         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
46634         <bp-sym.h> and <bp-asm.h>.
46635         (memcpy): Don't use BP_SYM.
46636         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
46637         <bp-asm.h>.
46638         (memcpy): Don't use BP_SYM.
46639         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
46640         <bp-asm.h>.
46641         (memset): Don't use BP_SYM.
46642         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46643         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46644         (__bzero): Don't use BP_SYM.
46645         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46646         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46647         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
46648         <bp-sym.h> and <bp-asm.h>.
46649         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46650         pointers.
46651         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
46652         <bp-sym.h> and <bp-asm.h>.
46653         (memcpy): Don't use BP_SYM.
46654         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
46655         <bp-sym.h> and <bp-asm.h>.
46656         (memset): Don't use BP_SYM.
46657         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46658         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46659         (__bzero): Don't use BP_SYM.
46660         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46661         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46662         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
46663         <bp-sym.h> and <bp-asm.h>.
46664         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46665         pointers.
46666         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
46667         <bp-sym.h> and <bp-asm.h>.
46668         (memcpy): Don't use BP_SYM.
46669         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
46670         <bp-sym.h> and <bp-asm.h>.
46671         (memset): Don't use BP_SYM.
46672         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46673         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46674         (__bzero): Don't use BP_SYM.
46675         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46676         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46677         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
46678         <bp-sym.h> and <bp-asm.h>.
46679         (__memchr): Don't use BP_SYM.
46680         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
46681         <bp-sym.h> and <bp-asm.h>.
46682         (memcmp): Don't use BP_SYM.  Remove comment about bounded
46683         pointers.
46684         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
46685         <bp-sym.h> and <bp-asm.h>.
46686         (memcpy): Don't use BP_SYM.
46687         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
46688         <bp-sym.h> and <bp-asm.h>.
46689         (__mempcpy): Don't use BP_SYM.
46690         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
46691         <bp-sym.h> and <bp-asm.h>.
46692         (__memrchr): Don't use BP_SYM.
46693         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
46694         <bp-sym.h> and <bp-asm.h>.
46695         (memset): Don't use BP_SYM.
46696         (__bzero): Likewise.
46697         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
46698         <bp-sym.h> and <bp-asm.h>.
46699         (__rawmemchr): Don't use BP_SYM.
46700         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
46701         <bp-sym.h> and <bp-asm.h>.
46702         (__STRCMP): Don't use BP_SYM.
46703         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
46704         <bp-sym.h> and <bp-asm.h>.
46705         (strchr): Don't use BP_SYM.
46706         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
46707         <bp-sym.h> and <bp-asm.h>.
46708         (__strchrnul): Don't use BP_SYM.
46709         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
46710         <bp-sym.h> and <bp-asm.h>.
46711         (strlen): Don't use BP_SYM.
46712         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
46713         <bp-sym.h> and <bp-asm.h>.
46714         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46715         pointers.
46716         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
46717         <bp-sym.h> and <bp-asm.h>.
46718         (__strnlen): Don't use BP_SYM.
46719         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
46720         <bp-sym.h> and <bp-asm.h>.
46721         (__GI__setjmp): Don't use BP_SYM.
46722         (_setjmp): Likewise.
46723         (__sigsetjmp): Likewise.
46724         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
46725         (L(start_addresses)): Don't use BP_SYM.
46726         (_start): Likewise.
46727         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
46728         <bp-asm.h>.
46729         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
46730         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
46731         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46732         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46733         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
46734         <bp-asm.h>.
46735         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
46736         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
46737         about bounded pointers.
46738         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
46739         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
46740         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
46741         <bp-asm.h>.
46742         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
46743         about bounded pointers.  Remove GKM FIXME comments.
46744         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
46745         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
46746         <bp-asm.h>.
46747         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
46748         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
46749         Remove GKM FIXME comments.
46750         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
46751         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
46752         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
46753         <bp-asm.h>.
46754         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
46755         about bounded pointers.  Remove GKM FIXME comment.
46756         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
46757         and <bp-asm.h>.
46758         (strncmp): Don't use BP_SYM.  Remove comment about bounded
46759         pointers.
46760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
46761         <bp-sym.h> and <bp-asm.h>.
46762         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
46763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
46764         <bp-sym.h> and <bp-asm.h>.
46765         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
46766         comment.
46768 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46770         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
46771         call free(NULL).
46773 2013-03-05  David S. Miller  <davem@davemloft.net>
46775         * po/es.po: Update from translation team.
46777 2013-03-05  Andreas Jaeger  <aj@suse.de>
46779         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
46780         <bits/mman-linux.h>.
46781         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46782         is fine.
46783         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
46784         <bits/mman-linux.h> to end of file.
46785         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46786         is fine.
46787         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
46788         <bits/mman-linux.h> to end of file.
46789         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
46790         is fine.
46791         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
46792         <bits/mman-linux.h> to end of file.
46794         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
46795         (MCL_CURRENT, MCL_FUTURE): Define here.
46797 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46799         [BZ #15232]
46800         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
46801         attribute_hidden.
46802         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46804 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46806         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
46807         fourth parameter needed for rt_sigprocmask syscall.
46808         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46809         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
46810         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
46811         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
46812         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
46813         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
46815 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
46817         [BZ #13550]
46818         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
46819         comment about bounded pointers.
46820         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
46821         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
46823 2013-03-04  Andreas Jaeger  <aj@suse.de>
46825         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
46826         common definitions.
46828         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
46829         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
46830         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
46831         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46832         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46833         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46835 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46837         [BZ #15055]
46838         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
46839         __ieee754_sqrl instead of __sqrl.
46841 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
46843         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
46844         * sysdeps/powerpc/fpu_control.h: ... here.
46845         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
46846         * sysdeps/powerpc/bits/fenvinline.h: ... here.
46847         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
46848         * sysdeps/powerpc/bits/mathinline.h: ... here.
46850 2013-03-01  Roland McGrath  <roland@hack.frob.com>
46852         * elf/dl-hwcaps.c (_dl_important_hwcaps):
46853         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
46854         to just [NEED_DL_SYSINFO_DSO].
46855         * elf/dl-support.c: Likewise.
46856         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
46857         * elf/rtld.c (dl_main): Likewise.
46858         * elf/setup-vdso.h (setup_vdso): Likewise.
46859         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
46860         * sysdeps/unix/sysv/linux/dl-sysdep.c
46861         (_dl_discover_osversion): Likewise.
46863 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
46865         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
46866         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46868 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46870         * NEWS: Mention libm performance improvements and non-x86 PI
46871         futex support.
46873         * csu/libc-start.c (__pthread_initialize_minimal): Change
46874         function arguments.
46875         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
46877 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
46879         [BZ #13550]
46880         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
46881         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
46882         <bp-sym.h> and <bp-asm.h>.
46883         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46884         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
46885         and <bp-asm.h>.
46886         (memcpy): Don't use BP_SYM.
46887         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
46888         <bp-asm.h>.
46889         (__mpn_add_n): Don't use BP_SYM.
46890         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
46891         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
46892         and <bp-asm.h>.
46893         (__mpn_addmul_1): Don't use BP_SYM.
46894         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46895         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
46896         <bp-sym.h>.
46897         (_setjmp): Don't use BP_SYM.
46898         (__novmx_setjmp): Likewise.
46899         (__GI__setjmp): Likewise.
46900         (__vmx_setjmp): Likewise.
46901         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
46902         <bp-sym.h>.
46903         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
46904         (__bzero): Don't use BP_SYM.
46905         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
46906         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
46907         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
46908         <bp-sym.h> and <bp-asm.h>.
46909         (memcpy): Don't use BP_SYM.
46910         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
46911         <bp-sym.h> and <bp-asm.h>.
46912         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46913         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
46914         <bp-sym.h> and <bp-asm.h>.
46915         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
46916         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
46917         <bp-asm.h>.
46918         (__mpn_lshift): Don't use BP_SYM.
46919         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46920         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
46921         <bp-asm.h>.
46922         (memset): Don't use BP_SYM.
46923         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
46924         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
46925         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
46926         <bp-asm.h>.
46927         (__mpn_mul_1): Don't use BP_SYM.
46928         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
46929         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
46930         <bp-sym.h> and <bp-asm.h>.
46931         (memcmp): Don't use BP_SYM.
46932         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
46933         <bp-sym.h> and <bp-asm.h>.
46934         (memcpy): Don't use BP_SYM.
46935         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
46936         <bp-sym.h> and <bp-asm.h>.
46937         (memset): Don't use BP_SYM.
46938         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
46939         <bp-sym.h> and <bp-asm.h>.
46940         (strncmp): Don't use BP_SYM.
46941         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
46942         <bp-sym.h> and <bp-asm.h>.
46943         (memcpy): Don't use BP_SYM.
46944         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
46945         <bp-sym.h> and <bp-asm.h>.
46946         (memset): Don't use BP_SYM.
46947         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
46948         <bp-sym.h> and <bp-asm.h>.
46949         (__memchr): Don't use BP_SYM.
46950         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
46951         <bp-sym.h> and <bp-asm.h>.
46952         (memcmp): Don't use BP_SYM.
46953         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
46954         <bp-sym.h> and <bp-asm.h>.
46955         (memcpy): Don't use BP_SYM.
46956         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
46957         <bp-sym.h> and <bp-asm.h>.
46958         (__mempcpy): Don't use BP_SYM.
46959         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
46960         <bp-sym.h> and <bp-asm.h>.
46961         (__memrchr): Don't use BP_SYM.
46962         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
46963         <bp-sym.h> and <bp-asm.h>.
46964         (memset): Don't use BP_SYM.
46965         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
46966         <bp-sym.h> and <bp-asm.h>.
46967         (__rawmemchr): Don't use BP_SYM.
46968         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
46969         <bp-sym.h> and <bp-asm.h>.
46970         (__STRCMP): Don't use BP_SYM.
46971         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
46972         <bp-sym.h> and <bp-asm.h>.
46973         (strchr): Don't use BP_SYM.
46974         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
46975         <bp-sym.h> and <bp-asm.h>.
46976         (__strchrnul): Don't use BP_SYM.
46977         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
46978         <bp-sym.h> and <bp-asm.h>.
46979         (strlen): Don't use BP_SYM.
46980         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
46981         <bp-sym.h> and <bp-asm.h>.
46982         (strncmp): Don't use BP_SYM.
46983         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
46984         <bp-sym.h> and <bp-asm.h>.
46985         (__strnlen): Don't use BP_SYM.
46986         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
46987         <bp-asm.h>.
46988         (__mpn_rshift): Don't use BP_SYM.
46989         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
46990         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
46991         <bp-sym.h> and <bp-asm.h>.
46992         (__sigsetjmp): Don't use BP_SYM.
46993         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
46994         (L(start_addresses)): Don't use BP_SYM.
46995         (_start): Likewise.
46996         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
46997         <bp-asm.h>.
46998         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
46999         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47000         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47001         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
47002         <bp-asm.h>.
47003         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
47004         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47005         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47006         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
47007         <bp-asm.h>.
47008         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
47009         comments.
47010         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47011         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
47012         <bp-asm.h>.
47013         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
47014         FIXME comments.
47015         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47016         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
47017         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
47018         <bp-asm.h>.
47019         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
47020         comment.
47021         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
47022         and <bp-asm.h>.
47023         (strncmp): Don't use BP_SYM,
47024         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
47025         <bp-asm.h>.
47026         (__mpn_sub_n): Don't use BP_SYM.
47027         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47028         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
47029         and <bp-asm.h>.
47030         (__mpn_submul_1): Don't use BP_SYM.
47031         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
47033         <bp-sym.h> and <bp-asm.h>.
47034         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
47035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
47036         <bp-sym.h> and <bp-asm.h>.
47037         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
47038         comment.
47040 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47042         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
47043         Use ZK to minimize writes to Z.
47044         (sub_magnitudes): Simplify code a bit.
47045         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
47046         Use ZK to minimize writes to Z.
47047         (sub_magnitudes): Simplify code a bit.
47049 2013-02-27  Roland McGrath  <roland@hack.frob.com>
47051         * csu/gmon-start.c: Add special exception to license text.
47053 2013-02-27  Richard Henderson  <rth@redhat.com>
47055         * scripts/config.guess: Update from config.git.
47056         * scripts/config.sub: Likewise.
47058 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47060         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
47062         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
47064         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
47066         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
47068         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
47070 2013-02-26  Roland McGrath  <roland@hack.frob.com>
47072         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
47073         [$(build-shared = yes].
47075 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47077         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
47078         (__mul): Reduce iterations for calculating mantissa.
47080         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
47081         MPTWO.
47082         (__mpranred): Likewise.
47084         [BZ #15160]
47085         * malloc/memusagestat.c (main): Draw graphs for heap and stack
47086         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
47088 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
47090         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
47091         Define __attribute__.
47093 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47095         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
47096         unused.
47097         * posix/regex_internal.h (__attribute): Remove.
47098         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
47099         (re_string_context_at): Likewise.
47100         (bitset_not): Use __attribute__ and mark function as possibly
47101         unused.
47102         (bitset_merge): Likewise.
47103         (bitset_mask): Likewise.
47104         (re_string_char_size_at): Likewise.
47105         (re_string_wchar_at): Likewise.
47106         (re_string_elem_size_at): Likewise.
47108 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47110         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
47111         code.
47112         (cc32): Likewise.
47114         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
47115         (__acr): Likewise.
47116         (__cpy): Likewise.
47117         (norm): Likewise.
47118         (denorm): Likewise.
47119         (__dbl_mp): Likewise.
47120         (add_magnitudes): Likewise.
47121         (sub_magnitudes): Likewise.
47122         (__mul): Likewise.
47123         (__inv): Likewise.
47125         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
47126         style.
47128         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
47129         style.
47131         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
47132         code.
47134         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
47135         up changes with default code.
47136         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
47137         Likewise.
47139 2013-02-24  Allan McRae  <allan@archlinux.org>
47141         * manual/socket.texi (The Internet Namespace): Order menu items
47142         to match that in the file.
47144         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
47145         node listing of the info page menu.
47147 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
47149         [BZ #13550]
47150         * sysdeps/i386/bp-asm.h: Remove file.
47151         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47152         (PARMS): Do not use macros from bp-asm.h.
47153         (S1): Likewise.
47154         (S2): Likewise.
47155         (SIZE): Likewise.
47156         (__mpn_add_n): Do not use BP_SYM
47157         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
47158         "bp-asm.h".
47159         (PARMS): Do not use macros from bp-asm.h.
47160         (S1): Likewise.
47161         (SIZE): Likewise.
47162         (__mpn_addmul_1): Do not use BP_SYM
47163         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
47164         "bp-asm.h".
47165         (PARMS): Do not use macros from bp-asm.h.
47166         (SIGMSK): Likewise.
47167         (_setjmp): Likewise.  Do not use BP_SYM.
47168         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
47169         "bp-asm.h".
47170         (PARMS): Do not use macros from bp-asm.h.
47171         (SIGMSK): Likewise.
47172         (setjmp): Likewise.  Do not use BP_SYM.
47173         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
47174         "bp-asm.h".
47175         (PARMS): Do not use macros from bp-asm.h.
47176         (__frexp): Do not use BP_SYM.
47177         (frexp): Likewise.
47178         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
47179         "bp-asm.h".
47180         (PARMS): Do not use macros from bp-asm.h.
47181         (__frexpf): Do not use BP_SYM.
47182         (frexpf): Likewise.
47183         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
47184         "bp-asm.h".
47185         (PARMS): Do not use macros from bp-asm.h.
47186         (__frexpl): Do not use BP_SYM.
47187         (frexpl): Likewise.
47188         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
47189         "bp-asm.h".
47190         (PARMS): Do not use macros from bp-asm.h.
47191         (__remquo): Do not use BP_SYM.
47192         (remquo): Likewise.
47193         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
47194         "bp-asm.h".
47195         (PARMS): Do not use macros from bp-asm.h.
47196         (__remquof): Do not use BP_SYM.
47197         (remquof): Likewise.
47198         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
47199         "bp-asm.h".
47200         (PARMS): Do not use macros from bp-asm.h.
47201         (__remquol): Do not use BP_SYM.
47202         (remquol): Likewise.
47203         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
47204         "bp-asm.h".
47205         (PARMS): Do not use macros from bp-asm.h.
47206         (DEST): Likewise.
47207         (SRC): Likewise.
47208         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
47209         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
47210         "bp-asm.h".
47211         (PARMS): Do not use macros from bp-asm.h.
47212         (strlen): Do not use BP_SYM.
47213         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
47214         "bp-asm.h".
47215         (PARMS): Do not use macros from bp-asm.h.
47216         (S1): Likewise.
47217         (S2): Likewise.
47218         (SIZE): Likewise.
47219         (__mpn_add_n): Do not use BP_SYM.
47220         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
47221         "bp-asm.h".
47222         (PARMS): Do not use macros from bp-asm.h.
47223         (S1): Likewise.
47224         (SIZE): Likewise.
47225         (__mpn_addmul_1): Do not use BP_SYM.
47226         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
47227         weak_alias.
47228         (bzero): Likewise.
47229         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
47230         "bp-asm.h".
47231         (PARMS): Do not use macros from bp-asm.h.
47232         (S): Likewise.
47233         (SIZE): Likewise.
47234         (__mpn_lshift): Do not use BP_SYM.
47235         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
47236         "bp-asm.h".
47237         (PARMS): Do not use macros from bp-asm.h.
47238         (DEST): Likewise.
47239         (SRC): Likewise.
47240         (LEN): Likewise.
47241         (memcpy): Likewise.  Do not use BP_SYM.
47242         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
47243         libc_hidden_def and weak_alias.
47244         (mempcpy): Do not use BP_SYM in weak_alias.
47245         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
47246         "bp-asm.h".
47247         (PARMS): Do not use macros from bp-asm.h.
47248         (DEST): Likewise.
47249         (LEN): Likewise.
47250         [!BZERO_P] (CHR): Likewise.
47251         (memset): Likewise.  Do not use BP_SYM.
47252         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
47253         "bp-asm.h".
47254         (PARMS): Do not use macros from bp-asm.h.
47255         (S1): Likewise.
47256         (SIZE): Likewise.
47257         (__mpn_mul_1): Do not use BP_SYM.
47258         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
47259         "bp-asm.h".
47260         (PARMS): Do not use macros from bp-asm.h.
47261         (S): Likewise.
47262         (SIZE): Likewise.
47263         (__mpn_rshift): Do not use BP_SYM.
47264         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
47265         "bp-asm.h".
47266         (PARMS): Do not use macros from bp-asm.h.
47267         (STR): Likewise.
47268         (CHR): Likewise.
47269         (strchr): Likewise.  Do not use BP_SYM.
47270         (index): Do not use BP_SYM in weak_alias.
47271         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
47272         "bp-asm.h".
47273         (PARMS): Do not use macros from bp-asm.h.
47274         (DEST): Likewise.
47275         (SRC): Likewise.
47276         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
47277         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
47278         "bp-asm.h".
47279         (PARMS): Do not use macros from bp-asm.h.
47280         (strlen): Do not use BP_SYM.
47281         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
47282         "bp-asm.h".
47283         (PARMS): Do not use macros from bp-asm.h.
47284         (S1): Likewise.
47285         (S2): Likewise.
47286         (SIZE): Likewise.
47287         (__mpn_sub_n): Do not use BP_SYM.
47288         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
47289         "bp-asm.h".
47290         (PARMS): Do not use macros from bp-asm.h.
47291         (S1): Likewise.
47292         (SIZE): Likewise.
47293         (__mpn_submul_1): Do not use BP_SYM.
47294         * sysdeps/i386/i686/add_n.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         (S2): Likewise.
47299         (SIZE): Likewise.
47300         (__mpn_add_n): Do not use BP_SYM.
47301         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
47302         weak_alias.
47303         (bzero): Likewise.
47304         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
47305         "bp-asm.h".
47306         (PARMS): Do not use macros from bp-asm.h.
47307         (BLK2): Likewise.
47308         (LEN): Likewise.
47309         (memcmp): Do not use BP_SYM.
47310         (bcmp): Do not use BP_SYM in weak_alias.
47311         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
47312         "bp-asm.h".
47313         (PARMS): Do not use macros from bp-asm.h.
47314         (DEST): Likewise.
47315         (SRC): Likewise.
47316         (LEN): Likewise.
47317         (memcpy): Likewise.  Do not use BP_SYM.
47318         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
47319         "bp-asm.h".
47320         (PARMS): Do not use macros from bp-asm.h.
47321         (DEST): Likewise.
47322         (SRC): Likewise.
47323         (LEN): Likewise.
47324         (memmove): Likewise.  Do not use BP_SYM.
47325         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
47326         "bp-asm.h".
47327         (PARMS): Do not use macros from bp-asm.h.
47328         (DEST): Likewise.
47329         (SRC): Likewise.
47330         (LEN): Likewise.
47331         (__mempcpy): Likewise.  Do not use BP_SYM.
47332         (mempcpy): Do not use BP_SYM in weak_alias.
47333         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
47334         "bp-asm.h".
47335         (PARMS): Do not use macros from bp-asm.h.
47336         (DEST): Likewise.
47337         (LEN): Likewise.
47338         [!BZERO_P] (CHR): Likewise.
47339         (memset): Likewise.  Do not use BP_SYM.
47340         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
47341         "bp-asm.h".
47342         (PARMS): Do not use macros from bp-asm.h.
47343         (STR2): Likewise.
47344         (strcmp): Do not use BP_SYM.
47345         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
47346         "bp-asm.h".
47347         (PARMS): Do not use macros from bp-asm.h.
47348         (STR): Likewise.
47349         (DELIM): Likewise.
47350         [USE_AS_STRTOK_R] (SAVE): Likewise.
47351         (FUNCTION): Likewise.  Do not use BP_SYM.
47352         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
47353         aliases.
47354         (strtok_r): Likewise.
47355         (__GI___strtok_r): Likewise.
47356         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47357         (PARMS): Do not use macros from bp-asm.h.
47358         (S): Likewise.
47359         (SIZE): Likewise.
47360         (__mpn_lshift): Do not use BP_SYM.
47361         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47362         (PARMS): Do not use macros from bp-asm.h.
47363         (STR): Likewise.
47364         (CHR): Likewise.
47365         (__memchr): Do not use BP_SYM.
47366         (memchr): Do not use BP_SYM in weak_alias.
47367         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47368         (PARMS): Do not use macros from bp-asm.h.
47369         (BLK2): Likewise.
47370         (LEN): Likewise.
47371         (memcmp): Do not use BP_SYM.
47372         (bcmp): Do not use BP_SYM in weak_alias.
47373         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
47374         (PARMS): Do not use macros from bp-asm.h.
47375         (S1): Likewise.
47376         (SIZE): Likewise.
47377         (__mpn_mul_1): Do not use BP_SYM.
47378         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
47379         "bp-asm.h".
47380         (PARMS): Do not use macros from bp-asm.h.
47381         (STR): Likewise.
47382         (CHR): Likewise.
47383         (__rawmemchr): Do not use BP_SYM.
47384         (rawmemchr): Do not use BP_SYM in weak_alias.
47385         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
47386         (PARMS): Do not use macros from bp-asm.h.
47387         (S): Likewise.
47388         (SIZE): Likewise.
47389         (__mpn_rshift): Do not use BP_SYM.
47390         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
47391         (PARMS): Do not use macros from bp-asm.h.
47392         (SIGMSK): Likewise.
47393         (__sigsetjmp): Likewise.  Do not use BP_SYM.
47394         * sysdeps/i386/start.S: Do not include "bp-sym.h".
47395         (_start): Do not use BP_SYM.
47396         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
47397         (PARMS): Do not use macros from bp-asm.h.
47398         (DEST): Likewise.
47399         (SRC): Likewise.
47400         (__stpcpy): Likewise.  Do not use BP_SYM.
47401         (stpcpy): Do not use BP_SYM in weak_alias.
47402         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
47403         "bp-asm.h".
47404         (PARMS): Do not use macros from bp-asm.h.
47405         (DEST): Likewise.
47406         (SRC): Likewise.
47407         (LEN): Likewise.
47408         (__stpncpy): Likewise.  Do not use BP_SYM.
47409         (stpncpy): Do not use BP_SYM in weak_alias.
47410         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
47411         (PARMS): Do not use macros from bp-asm.h.
47412         (STR): Likewise.
47413         (CHR): Likewise.
47414         (strchr): Likewise.  Do not use BP_SYM.
47415         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
47416         "bp-asm.h".
47417         (PARMS): Do not use macros from bp-asm.h.
47418         (STR): Likewise.
47419         (CHR): Likewise.
47420         (__strchrnul): Likewise.  Do not use BP_SYM.
47421         (strchrnul): Do not use BP_SYM in weak_alias.
47422         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
47423         "bp-asm.h".
47424         (PARMS): Do not use macros from bp-asm.h.
47425         (STOP): Likewise.
47426         (strcspn): Do not use BP_SYM.
47427         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
47428         "bp-asm.h".
47429         (PARMS): Do not use macros from bp-asm.h.
47430         (STR): Likewise.
47431         (STOP): Likewise.
47432         (strpbrk): Likewise.  Do not use BP_SYM.
47433         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
47434         "bp-asm.h".
47435         (PARMS): Do not use macros from bp-asm.h.
47436         (STR): Likewise.
47437         (CHR): Likewise.
47438         (strrchr): Likewise.  Do not use BP_SYM.
47439         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
47440         (PARMS): Do not use macros from bp-asm.h.
47441         (SKIP): Likewise.
47442         (strspn): Do not use BP_SYM.
47443         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
47444         (PARMS): Do not use macros from bp-asm.h.
47445         (STR): Likewise.
47446         (DELIM): Likewise.
47447         (SAVE): Likewise.
47448         (FUNCTION): Likewise.  Do not use BP_SYM.
47449         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
47450         aliases.
47451         (strtok_r): Likewise.
47452         (__GI___strtok_r): Likewise.
47453         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
47454         (PARMS): Do not use macros from bp-asm.h.
47455         (S1): Likewise.
47456         (S2): Likewise.
47457         (SIZE): Likewise.
47458         (__mpn_sub_n): Do not use BP_SYM.
47459         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
47460         "bp-asm.h".
47461         (PARMS): Do not use macros from bp-asm.h.
47462         (S1): Likewise.
47463         (SIZE): Likewise.
47464         (__mpn_submul_1): Do not use BP_SYM.
47465         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
47466         <bp-sym.h>.
47467         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
47468         and <bp-asm.h>.
47469         (PARMS): Do not use macros from bp-asm.h.
47470         (FLAGS): Likewise.
47471         (PTID): Likewise.
47472         (TLS): Likewise.
47473         (CTID): Likewise.
47474         (__clone): Do not use BP_SYM.
47475         (clone): Do not use BP_SYM in weak_alias.
47476         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
47477         and <bp-asm.h>.
47478         (PARMS): Do not use macros from bp-asm.h.
47479         (LEN): Likewise.
47480         (__mmap64): Do not use BP_SYM.
47481         (mmap64): Do not use BP_SYM in weak_alias.
47482         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
47483         <bp-sym.h> and <bp-asm.h>.
47484         (PARMS): Do not use macros from bp-asm.h.
47485         (__posix_fadvise64_l64): Do not use BP_SYM.
47486         * sysdeps/unix/sysv/linux/i386/semtimedop.S
47487         (PARMS): Do not use macros from bp-asm.h.
47488         (NSOPS): Likewise.
47489         (semtimedop): Do not use BP_SYM.
47490         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
47491         and <bp-asm.h>.
47493 2013-02-21  Allan McRae  <allan@archlinux.org>
47495         * manual/message.texi (Charset conversion in gettext):
47496         Move @end statement to beginning of line.
47498 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47500         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
47501         static.
47502         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
47503         Likewise.
47505         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
47506         (denorm): Likewise.
47507         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
47508         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
47510 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47512         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
47513         tail-call to the resolved function if pltexit isn't needed.
47515 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47517         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
47518         or Y being zero as being unlikely.
47519         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
47520         Likewise.
47522 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
47524         * manual/nss.texi (System Databases and Name Service Switch):
47525         Remove frobnicate @pxref.
47527 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
47529         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47530         __attribute__ ((unused)) to __attribute__ ((__unused__)).
47532 2013-02-20  Petr Machata  <pmachata@redhat.com>
47534         * elf/elf.h (R_ARM_TARGET1): New macro.
47535         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
47536         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
47537         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
47538         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
47539         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
47540         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
47541         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
47542         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
47543         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
47544         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
47545         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
47546         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
47547         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
47548         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
47549         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
47550         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
47551         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
47552         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
47553         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
47554         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
47555         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
47556         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
47557         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
47558         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
47559         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
47560         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
47561         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
47562         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
47563         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
47564         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
47565         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
47566         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
47567         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
47568         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
47569         (R_ARM_THM_GOT_BREL12): Likewise.
47570         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
47571         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
47572         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
47573         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
47574         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
47575         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
47576         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
47577         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
47578         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
47580 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
47582         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
47583         __attribute_used__ to __attribute__ ((unused)).
47585 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47587         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
47588         powerpc mpa.c.
47589         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
47590         comment formatting.
47591         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
47593 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
47595         [BZ #13550]
47596         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
47597         Remove macro.
47598         (ENTER): Remove both macro definitions.
47599         (LEAVE): Likewise.
47600         (CHECK_BOUNDS_LOW): Likewise.
47601         (CHECK_BOUNDS_HIGH): Likewise.
47602         (CHECK_BOUNDS_BOTH): Likewise.
47603         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
47604         (RETURN_BOUNDED_POINTER): Likewise.
47605         (RETURN_NULL_BOUNDED_POINTER): Likewise.
47606         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
47607         (POP_ERRNO_LOCATION_RETURN): Likewise.
47608         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
47609         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47610         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
47611         macros.
47612         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47613         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
47614         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
47615         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
47616         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
47617         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
47618         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
47619         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
47620         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
47621         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
47622         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
47623         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
47624         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47625         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
47626         removed macros.
47627         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47628         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
47629         macros.
47630         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47631         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
47632         * sysdeps/i386/i586/memset.S (memset): Likewise.
47633         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
47634         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47635         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
47636         macros.
47637         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47638         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
47639         Change uses of L(2) to L(out).
47640         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
47641         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
47642         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
47643         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47644         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
47645         removed macros.
47646         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47647         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
47648         macros.
47649         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47650         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
47651         (RETURN): Do not use macro LEAVE.
47652         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
47653         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
47654         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
47655         * sysdeps/i386/i686/memset.S (memset): Likewise.
47656         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
47657         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
47658         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
47659         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
47660         Likewise.
47661         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47662         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
47663         L(1_2) and L(1_3) into L(1).
47664         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47665         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
47666         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47667         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
47668         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
47669         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
47670         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
47671         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47672         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
47673         macros.
47674         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
47675         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
47676         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
47677         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
47678         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
47679         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
47680         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
47681         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
47682         * sysdeps/i386/strcspn.S (strcspn): Likewise.
47683         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
47684         * sysdeps/i386/strrchr.S (strrchr): Likewise.
47685         * sysdeps/i386/strspn.S (strspn): Likewise.
47686         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
47687         conditional code.
47688         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
47689         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
47690         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
47691         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
47692         L(1_3) into L(1_1).
47693         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
47694         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
47695         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
47696         macros.
47697         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
47699 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
47701         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
47702         macro.
47704 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47706         * math/atest-exp.c (exp_mpn): Remove ROUND.
47707         * math/atest-exp2.c (exp_mpn): Likewise.
47708         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
47710         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
47711         * stdlib/tst-tls-atexit-lib.c: Likewise.
47712         * stdlib/tst-tls-atexit.c: Likewise.
47714 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47716         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
47717         and __attribute_alloc_size__.
47719 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47721         * include/programs/xmalloc.h: Change __attribute_alloc_size to
47722         __attribute_alloc_size__.
47723         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
47724         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
47726 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
47728         * include/programs/xmalloc.h: New file.
47729         * catgets/gencat.c: Include it.
47730         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
47731         * elf/pldd.c: Likewise.
47732         * iconv/iconv_charmap.c: Likewise.
47733         * iconv/iconvconfig.c: Likewise.
47734         * iconv/strtab.c: Likewise.
47735         * locale/programs/locale.c: Likewise.
47736         * locale/programs/localedef.h: Likewise.
47737         * locale/programs/simple-hash.c: Likewise.
47738         * nscd/nscd.h: Likewise.
47739         * nss/makedb.c: Likewise.
47740         * sysdeps/generic/ldconfig.h: Likewise.
47742 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47744         * Versions.def: Add GLIBC_2.18.
47745         * include/link.h (struct link_map): New member l_tls_dtor_count.
47746         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
47747         (__call_tls_dtors): Likewise.
47748         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
47749         __cxa_thread_atexit_impl.
47750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47751         Likewise.
47752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47753         Likewise.
47754         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47755         Likewise.
47756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47757         Likewise.
47758         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47759         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
47760         Likewise.
47761         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
47762         Likewise.
47763         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47764         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
47765         Likewise.
47766         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
47767         (tests): Add test case tst-tls-atexit.
47768         (modules-names): Add shared library for tst-tls-atexit.
47769         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
47770         (GLIBC_PRIVATE): Add __call_tls_dtors.
47771         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
47772         for libstdc++.
47773         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
47774         * stdlib/tst-tls-atexit.c: New test case.
47775         * stdlib/tst-tls-atexit-lib.c: New test case.
47777         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
47779         * elf/Versions (ld): Add _dl_find_dso_for_object.
47780         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
47781         * elf/dl-open.c (_dl_find_dso_for_object): New function.
47782         (dl_open_worker): Use _dl_find_dso_for_object.
47783         * elf/dl-sym.c (do_sym): Likewise.
47784         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
47786 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47788         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
47789         Syntactic changes only.
47790         (_dl_runtime_profile): Do a tail-call to the resolved function.
47792 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
47794         [BZ #13550]
47795         * sysdeps/x86_64/bp-asm.h: Remove file.
47796         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
47797         <bp-sym.h> and <bp-asm.h>.
47798         (__clone): Do not use BP_SYM.
47799         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
47800         <bp-sym.h> and <bp-asm.h>.
47801         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47802         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
47803         "bp-asm.h".
47804         (_setjmp): Do not use BP_SYM.
47805         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
47806         "bp-asm.h".
47807         (setjmp): Do not use BP_SYM.
47808         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
47809         libc_hidden_def.
47810         (mempcpy): Do not use BP_SYM in weak_alias.
47811         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
47812         "bp-asm.h".
47813         (strchr): Do not use BP_SYM.
47814         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
47815         "bp-asm.h".
47816         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
47817         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
47818         (_start): Do not use BP_SYM.
47819         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
47820         "bp-asm.h".
47821         (strcat): Do not use BP_SYM.
47822         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
47823         "bp-asm.h".
47824         (STRCMP): Do not use BP_SYM.
47825         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
47826         "bp-asm.h".
47827         (STRCPY): Do not use BP_SYM.
47828         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
47829         "bp-asm.h".
47830         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
47831         "bp-asm.h".
47832         (FUNCTION): Do not use BP_SYM.
47833         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
47834         weak_alias.
47835         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
47837 2013-02-17  Andreas Jaeger  <aj@suse.de>
47839         * time/Versions: Sort entries.
47840         * string/Versions: Likewise.
47841         * resolv/Versions: Likewise.
47842         * posix/Versions: Likewise.
47843         * iconv/Versions: Likewise.
47844         * elf/Versions: Likewise.
47845         * wcsmbs/Versions: Likewise.
47847 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47849         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
47850         loop termination condition.
47852         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
47853         variable to calculate EZ.
47854         (__sqr): Likewise.
47856         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
47857         the lower precision input.
47859 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
47861         [BZ #13550]
47862         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
47863         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
47864         (run-via-rtld-prefix): Do not handle %-bp tests.
47865         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
47866         (all-object-suffixes): Remove .ob.
47867         (bppfx): Remove variable.
47868         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
47869         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
47870         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
47871         [$(build-bounded) = yes] (libtype.ob): Likewise.
47872         * Makerules (elide-routines.ob): Remove variable.
47873         (do-tests-clean): Do not handle *-bp.out.
47874         (common-mostlyclean): Do not handle *-bp and *-bp.out.
47875         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
47876         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
47877         (tests): Do not include $(tests-bp.out).
47878         (xtests): Do not include $(xtests-bp.out).
47879         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
47880         [$(build-bounded) = yes] ($(addprefix
47881         $(objpfx),$(binaries-bounded))): Remove rule.
47882         ($(objpfx)%-bp.out): Remove rule.
47883         * config.make.in (build-bounded): Remove variable.
47884         * crypt/Makefile [$(build-bounded) = yes]
47885         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
47886         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
47887         append to variable.
47888         [$(build-bounded) = yes] (install-lib): Likewise.
47889         [$(build-bounded) = yes] (generated): Likewise.
47890         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
47891         Remove rule.
47892         * intl/Makefile [$(build-bounded) = yes]
47893         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
47894         * math/Makefile [$(build-bounded) = yes]
47895         ($(tests:%=$(objpfx)%-bp): Likewise.
47896         * misc/Makefile [$(build-bounded) = yes]
47897         ($(objpfx)tst-tsearch-bp): Likewise.
47898         * nptl/Makeconfig (bounded-thread-library): Remove variable.
47899         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
47900         Remove dependency.
47901         * string/Makefile (o-objects.ob): Remove variable.
47902         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
47903         (CFLAGS-.ob): Remove variable.
47904         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
47905         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
47906         both definitions of variable.
47907         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
47908         (ASFLAGS-.ob): Remove variable.
47910 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
47912         [BZ #13550]
47913         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
47914         Remove __BOUNDED_POINTERS__ from condition.
47915         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
47916         * string/bits/string2.h [!__NO_STRING_INLINES &&
47917         !__BOUNDED_POINTERS__]: Likewise.
47918         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
47919         Likewise.
47920         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
47921         Remove conditional code.
47922         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
47923         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
47924         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
47925         condition.
47927         [BZ #13550]
47928         * csu/libc-start.c: Do not include <bp-sym.h>.
47929         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
47930         * elf/dl-open.c: Do not include <bp-sym.h>.
47931         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
47932         * math/fegetenv.c: Do not include <bp-sym.h>.
47933         (fegetenv): Do not use BP_SYM in versioned symbols.
47934         * nptl/sysdeps/pthread/bits/libc-lockP.h
47935         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
47936         <bp-sym.h>.
47937         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47938         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
47939         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47940         (__pthread_mutex_destroy): Likewise.
47941         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47942         (__pthread_mutex_lock): Likewise.
47943         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47944         (__pthread_mutex_trylock): Likewise.
47945         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47946         (__pthread_mutex_unlock): Likewise.
47947         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47948         (__pthread_mutexattr_init): Likewise.
47949         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47950         (__pthread_mutexattr_destroy): Likewise.
47951         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47952         (__pthread_mutexattr_settype): Likewise.
47953         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47954         (__pthread_rwlock_init): Likewise.
47955         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47956         (__pthread_rwlock_destroy): Likewise.
47957         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47958         (__pthread_rwlock_rdlock): Likewise.
47959         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47960         (__pthread_rwlock_tryrdlock): Likewise.
47961         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47962         (__pthread_rwlock_wrlock): Likewise.
47963         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47964         (__pthread_rwlock_trywrlock): Likewise.
47965         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47966         (__pthread_rwlock_unlock): Likewise.
47967         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47968         (__pthread_key_create): Likewise.
47969         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47970         (__pthread_setspecific): Likewise.
47971         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47972         (__pthread_getspecific): Likewise.
47973         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
47974         Likewise.
47975         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47976         (_pthread_cleanup_push_defer): Likewise.
47977         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47978         (_pthread_cleanup_pop_restore): Likewise.
47979         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
47980         (pthread_setcancelstate): Likewise.
47981         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
47982         <bp-sym.h>.
47983         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
47984         (memchr): Do not use BP_SYM in weak_alias.
47985         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
47986         (fegetenv): Do not use BP_SYM in versioned symbols.
47987         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
47988         (fesetenv): Do not use BP_SYM in versioned symbols.
47989         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
47990         (feupdateenv): Do not use BP_SYM in versioned symbols.
47991         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
47992         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
47993         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
47994         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
47995         (open64): Do not use BP_SYM in weak_alias.
47996         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
47997         (fegetenv): Do not use BP_SYM in versioned symbols.
47998         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
47999         (fesetenv): Do not use BP_SYM in versioned symbols.
48000         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
48001         (feupdateenv): Do not use BP_SYM in versioned symbols.
48002         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
48003         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
48004         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
48005         (feraiseexcept): Do not use BP_SYM in versioned symbols.
48006         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
48007         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
48008         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
48009         <bp-sym.h>.
48010         (__libc_start_main): Do not use BP_SYM.
48012 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48014         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
48015         redundant return line.
48016         (norm): Likewise.
48017         (denorm): Likewise.
48018         (dbl_mp): Likewise.
48019         (sub_magnitudes): Likewise.
48020         (__add): Likewise.
48021         (__sub): Likewise.
48022         (__mul): Likewise.
48023         (__inv): Likewise.
48024         (__dvd): Likewise.
48025         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
48026         (norm): Likewise.
48027         (denorm): Likewise.
48028         (dbl_mp): Likewise.
48029         (sub_magnitudes): Likewise.
48030         (__add): Likewise.
48031         (__sub): Likewise.
48032         (__mul): Likewise.
48033         (__inv): Likewise.
48034         (__dvd): Likewise.
48036         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
48037         instead of __mul.
48038         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48039         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
48040         (cc32): Likewise.
48042         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
48043         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
48044         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
48045         of __mul for squares.
48046         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
48047         function
48048         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
48049         Likewise.
48050         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
48051         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48053 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
48055         [BZ #13550]
48056         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
48057         code.
48058         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
48059         prototype or function definition.  Rename ubp_* variables and
48060         parameters.  Remove argv definitions conditional on
48061         [__BOUNDED_POINTERS__].
48062         * debug/backtrace.c (__backtrace): Do not use __unbounded.
48063         * elf/dl-runtime.c (_dl_fixup): Likewise.
48064         * include/set-hooks.h (RUN_HOOK): Likewise.
48065         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
48066         definition.
48067         * string/strcpy.c (strcpy): Do not use __unbounded.
48068         * sysdeps/generic/frame.h (struct layout): Likewise.
48069         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
48070         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
48071         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
48072         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
48073         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
48074         (__backtrace): Likewise.
48075         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
48076         use __ptrvalue.
48077         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
48078         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
48079         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
48080         Likewise.
48081         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
48082         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
48083         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
48084         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48085         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
48086         Do not use __unbounded.
48087         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
48088         Rename __unboundedrlimits parameter to rlimits in prototype.
48089         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
48090         Do not use __unbounded.
48091         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
48092         not use __ptrvalue.
48093         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48094         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
48095         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48096         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
48097         __ptrvalue or __unbounded.
48098         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
48099         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
48100         use __unbounded.
48101         (__new_msgctl): Do not use __ptrvalue.
48102         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
48103         __unbounded.
48104         (__libc_msgrcv): Do not use __ptrvalue.
48105         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
48106         startup_info): Do not use __unbounded.
48107         (__libc_start_main): Likewise.  Rename ubp_* variables and
48108         parameters.  Remove argv definitions conditional on
48109         [__BOUNDED_POINTERS__].
48110         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
48111         __ptrvalue.
48112         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
48113         use __unbounded.
48114         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
48115         or __ptrvalue.
48116         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
48117         use __unbounded.
48118         (__new_shmctl): Do not use __ptrvalue.
48119         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
48120         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
48121         Likewise.
48122         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
48123         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
48124         (__libc_sigaction): Likewise.
48125         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
48126         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
48127         Likewise.
48128         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48130 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
48132         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
48134         * string/mempcpy.c: Implement by calling memcpy.
48136 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48138         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
48140         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
48141         evaluation.
48143         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
48144         values in the mantissa.
48146         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
48147         minimize writes to Z.
48148         (sub_magnitudes): Simplify code a bit.
48150 2013-02-12  Roland McGrath  <roland@hack.frob.com>
48152         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
48153         from the message.  The linker prefixes all warnings with that already.
48155 2013-02-12  Andreas Schwab  <schwab@suse.de>
48157         [BZ #15078]
48158         * posix/regexec.c (extend_buffers): Add parameter min_len.
48159         (check_matching): Pass minimum needed length.
48160         (clean_state_log_if_needed): Likewise.
48161         (get_subexp): Likewise.
48162         * posix/Makefile (tests): Add bug-regex34.
48163         (bug-regex34-ENV): Define.
48164         * posix/bug-regex34.c: New file.
48166         [BZ #11561]
48167         * posix/regcomp.c (parse_bracket_exp): When looking up collating
48168         elements compare against the byte sequence of it, not its name.
48169         * posix/Makefile (tests): Add bug-regex35.
48170         (bug-regex35-ENV): Define.
48171         * posix/bug-regex35.c: New file.
48173 2013-02-11  Tom de Vries  <tom@codesourcery.com>
48175         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
48176         comment.
48177         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
48178         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
48179         (CHECK_EOL): Add undef.
48181 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
48183         * bits/stdlib-bsearch.h: New file.
48184         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
48185         * stdlib/stdlib.h: Likewise.
48187 2013-02-11  Roland McGrath  <roland@hack.frob.com>
48189         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
48190         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
48191         declaration.
48192         * manual/search.texi (Array Search Function): Add missing const in
48193         lfind prototype.
48194         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
48195         declaration to use rlim_t.
48196         (Basic Scheduling Functions): Remove erroneous const from
48197         sched_getparam prototype.  Remove erroneous * from
48198         sched_get_priority_max and sched_get_priority_min prototypes.
48199         (Resource Usage): Fix summary @comment on vtimes to refer to
48200         sys/vtimes.h rather than vtimes.h.
48201         Add missing *s in vtimes prototype.
48202         (Limits on Resources): Fix ulimit prototype to return long int.
48203         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
48204         prototypes to use long int rather than double.
48205         (BSD Random): Fix initstate and setstate to use char *, not void *.
48206         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
48207         prototype to make second argument 'struct aiocb64 *const[]'.
48208         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
48209         (Status of AIO Operations): Remove erroneous const in aio_return and
48210         aio_return64 prototypes.
48211         (Synchronizing I/O): Fix sync prototype to return void.
48212         * manual/startup.texi (Suboptions): Remove an erroneous const in
48213         getsubopt prototype.
48214         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
48215         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
48216         use size_t rather than int.
48217         (Scanning All Users): Likewise for getpwent_r.
48218         (Setting Groups): Add missing const to setgroups prototype.
48219         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
48220         * manual/socket.texi (Host Names): Fix gethostbyaddr and
48221         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
48222         'const void *' rather than 'const char *'.
48223         (Host Address Functions): Likewise for inet_ntop.
48224         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
48225         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
48226         ssize_t for return value.
48227         (Sending Data): Likewise for send, sendto, sendmsg.
48228         (Socket Option Functions): Add a missing const in setsockopt prototype.
48229         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
48230         use wchar_t for the argument.
48231         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
48232         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
48233         take no arguments.
48234         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
48235         double/float/long double for second argument.
48236         Fix return types of significand, significandf, significandl.
48237         * manual/filesys.texi (Setting Permissions): Use mode_t for second
48238         argument in fchmod prototype.
48239         (File Owner): Use uid_t and gid_t in fchown prototype.
48240         (File Times): Add const to utimes, futimes, and lutimes prototypes.
48241         (Making Special Files): Use mode_t and dev_t in mknod prototype.
48242         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
48243         use 'const struct dirent **' as argument types to CMP function pointer
48244         argument.
48245         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
48246         (File Times): Fix summary magic @comment for struct utimbuf and utime
48247         to refer to utime.h, not time.h.
48248         * manual/string.texi (Argz Functions): Add missing const in
48249         argz_extract and argz_next prototypes.
48250         (Finding Tokens in a String): Likewise for basename.
48251         (String/Array Comparison): Fix typo in wcscasecmp prototype.
48252         (Copying and Concatenation): Fix typo in wmemmove prototype.
48253         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
48254         (Signal Stack): Remove erroneous const in sigstack prototype.
48255         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
48256         prototype.
48257         (Simple Calendar Time): Likewise for stime.
48258         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
48259         prototype.
48260         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
48261         say sys/sysctl.h instead.
48262         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
48263         and vsyslog prototypes.
48265 2013-02-11  Tom de Vries  <tom@codesourcery.com>
48267         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
48268         Remove.
48270 2013-02-11  Roland McGrath  <roland@hack.frob.com>
48272         * misc/sys/mman.h: Fix typo in mremap comment.
48274 2013-02-08  Roland McGrath  <roland@hack.frob.com>
48276         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
48277         the '\0' terminator.
48279 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
48281         [BZ #13550]
48282         * debug/segfault.c: Don't include <bp-checks.h>.
48283         * sysdeps/generic/bp-checks.h: Remove file.
48284         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
48285         (__GETDENTS): Don't use CHECK_N.
48286         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
48287         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
48288         (__getgroups): Don't use CHECK_N.
48289         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
48290         (setgroups): Don't use CHECK_N.
48291         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
48292         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
48293         (__libc_msgrcv): Don't use CHECK_N.
48294         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
48295         (__libc_msgsnd): Don't use CHECK_N.
48296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
48297         <bp-checks.h>.
48298         (__libc_pread): Don't use CHECK_N.
48299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
48300         include <bp-checks.h>.
48301         (__libc_pread64): Don't use CHECK_N.
48302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
48303         include <bp-checks.h>.
48304         (__libc_pwrite): Don't use CHECK_N.
48305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
48306         include <bp-checks.h>.
48307         (__libc_pwrite64): Don't use CHECK_N.
48308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
48309         <bp-checks.h>.
48310         (__libc_pread): Don't use CHECK_N.
48311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
48312         include <bp-checks.h>.
48313         (__libc_pread64): Don't use CHECK_N.
48314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
48315         include <bp-checks.h>.
48316         (__libc_pwrite): Don't use CHECK_N.
48317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
48318         include <bp-checks.h>.
48319         (__libc_pwrite64): Don't use CHECK_N.
48320         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
48321         (do_pread): Don't use CHECK_N.
48322         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
48323         (do_pread64): Don't use CHECK_N.
48324         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
48325         (do_pwrite): Don't use CHECK_N.
48326         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
48327         (do_pwrite64): Don't use CHECK_N.
48328         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
48329         (__libc_readv): Don't use CHECK_N.
48330         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
48331         (semop): Don't use CHECK_N.
48332         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
48333         <bp-checks.h>.
48334         (semtimedop): Don't use CHECK_N.
48335         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
48336         (__libc_pread): Don't use CHECK_N.
48337         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
48338         <bp-checks.h>.
48339         (__libc_pread64): Don't use CHECK_N.
48340         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
48341         <bp-checks.h>.
48342         (__libc_pwrite): Don't use CHECK_N.
48343         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
48344         <bp-checks.h>.
48345         (__libc_pwrite64): Don't use CHECK_N.
48346         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
48347         <bp-checks.h>.
48348         (__libc_msgrcv): Don't use CHECK_N.
48349         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
48350         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
48351         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
48352         (__libc_writev): Don't use CHECK_N.
48354 2013-02-08  Roland McGrath  <roland@hack.frob.com>
48356         * string/strcpy.c: Removed unused variable.
48358         * Makeconfig (+sysdep-includes): Define with := rather than =.
48359         Use an existing include/ subdir of each sysdeps dir before it.
48361 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48363         * nscd/connection.c (register_traced_file): Comment function.
48364         [HAVE_INOTIFY] (union __inev): Define.
48365         [HAVE_INOTIFY] (inotify_check_files): New function.
48366         [HAVE_INOTIFY] (clear_db_cache): Likewise.
48367         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
48368         clear_db_cache.
48369         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
48371 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48373         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
48374         loaded if not already and that a failure is permanent.
48376 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
48378         [BZ #15006]
48379         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
48380         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
48382 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
48384         [BZ #13550]
48385         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
48386         (CHECK_1_NULL_OK): Likewise.
48387         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
48388         (__fxstat): Do not use CHECK_1.
48389         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
48390         <bp-checks.h>.
48391         (___fxstat64): Do not use CHECK_1.
48392         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
48393         <bp-checks.h>.
48394         (__fxstatat): Do not use CHECK_1.
48395         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
48396         <bp-checks.h>.
48397         (__fxstatat64): Do not use CHECK_1.
48398         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
48399         <bp-checks.h>.
48400         (__fxstat): Do not use CHECK_1.
48401         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
48402         <bp-checks.h>.
48403         (__fxstatat): Do not use CHECK_1.
48404         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
48405         <bp-checks.h>.
48406         (__getresgid): Do not use CHECK_1.
48407         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
48408         <bp-checks.h>.
48409         (__getresuid): Do not use CHECK_1.
48410         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
48411         <bp-checks.h>.
48412         (__lxstat): Do not use CHECK_1.
48413         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
48414         <bp-checks.h>.
48415         (__old_msgctl): Do not use CHECK_1.
48416         (__new_msgctl): Likewise.
48417         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
48418         <bp-checks.h>.
48419         (__new_setrlimit): Do not use CHECK_1.
48420         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
48421         <bp-checks.h>.
48422         (__old_shmctl): Do not use CHECK_1.
48423         (__new_shmctl): Likewise.
48424         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
48425         <bp-checks.h>.
48426         (__xstat): Do not use CHECK_1.
48427         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
48428         (__lxstat): Do not use CHECK_1.
48429         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
48430         <bp-checks.h>.
48431         (___lxstat64): Do not use CHECK_1.
48432         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
48433         (__old_msgctl): Do not use CHECK_1.
48434         (__new_msgctl): Likewise.
48435         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
48436         <bp-checks.h>.
48437         (__gettimeofday): Do not use CHECK_1.
48438         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
48439         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
48440         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
48441         <bp-checks.h>.
48442         (__gettimeofday): Do not use CHECK_1.
48443         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
48444         (__old_shmctl): Do not use CHECK_1_NULL_OK.
48445         (__new_shmctl): Do not use CHECK_1.
48446         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
48447         <bp-checks.h>.
48448         (do_sigtimedwait): Do not use CHECK_1.
48449         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
48450         <bp-checks.h>.
48451         (do_sigwaitinfo): Do not use CHECK_1.
48452         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
48453         <bp-checks.h>.
48454         (msgctl): Do not use CHECK_1.
48455         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
48456         <bp-checks.h>.
48457         (shmctl): Do not use CHECK_1.
48458         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
48459         (ustat): Do not use CHECK_1.
48460         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
48461         <bp-checks.h>.
48462         (__fxstat): Do not use CHECK_1.
48463         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
48464         <bp-checks.h>.
48465         (__fxstatat): Do not use CHECK_1.
48466         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
48467         <bp-checks.h>.
48468         (__lxstat): Do not use CHECK_1.
48469         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
48470         <bp-checks.h>.
48471         (__xstat): Do not use CHECK_1.
48472         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
48473         (__xstat): Do not use CHECK_1.
48474         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
48475         (___xstat64): Do not use CHECK_1.
48477         [BZ #13550]
48478         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
48479         definitions.
48480         (CHECK_BOUNDS_HIGH): Likewise.
48481         * string/strcpy.c: Do not include <bp-checks.h>.
48482         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
48484 2013-02-07  Roland McGrath  <roland@hack.frob.com>
48486         * nscd/nscd-client.h (__nscd_drop_map_ref):
48487         Add __attribute__ ((unused)).
48488         * nis/nss-nisplus.h (niserr2nss): Likewise.
48490         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
48491         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
48493         * csu/libc-tls.c (init_static_tls, init_slotinfo):
48494         Remove inline keyword.
48495         * include/rounding-mode.h (round_away): Likewise.
48496         * libio/wfileops.c (adjust_wide_data): Likewise.
48497         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
48498         (__m128i_strloadu_tolower): Likewise.
48499         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
48500         (__m128i_strloadu_tolower): Likewise.
48501         * time/mktime.c (ydhms_diff): Likewise.
48502         * locale/elem-hash.h (elem_hash): Likewise.
48503         * locale/setlocale.c (setdata): Likewise.
48504         * posix/regex_internal.h (re_string_char_size_at): Likewise.
48505         (re_string_wchar_at): Likewise.
48506         (bitset_not, bitset_merge, bitset_mask): Likewise.
48507         [!(__GNUC__ > 3)] (inline): Remove macro.
48508         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
48509         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
48510         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
48511         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
48512         * string/memcmp.c (memcmp_bytes): Likewise.
48513         * locale/programs/locarchive.c (compute_hashval): Likewise.
48514         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
48515         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
48516         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
48517         * nss/getent.c (print_rpc, print_protocols): Likewise.
48518         (print_passwd, print_group, print_aliases): Likewise.
48519         * nis/nss-nisplus.h (niserr2nss): Likewise.
48520         * nscd/connections.c (restart_p): Likewise.
48521         Change return type to bool.
48523 2013-02-05  Roland McGrath  <roland@hack.frob.com>
48525         * Makeconfig (all-Depend-files): Add existing
48526         $(sorted-subdirs:=/Depend) files.
48527         (all-subdirs): Remove nss.
48528         * sysdeps/unix/inet/Subdirs: Add it here instead.
48529         * hesiod/Depend: New file.
48531         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
48532         instead of calling alloca.
48534         * io/lseek.c (__lseek): Rename to __libc_lseek.
48535         Define __lseek as an alias.
48537         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
48539 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
48541         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
48542         else clause and remove check for non-standard endianness.
48544 2013-02-04  David S. Miller  <davem@davemloft.net>
48546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48548 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
48550         [BZ #13550]
48551         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
48552         (__ubp_memchr): Remove prototype.
48553         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
48554         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48555         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
48556         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
48557         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
48558         Remove alias.
48559         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
48560         (__ubp_memchr): Likewise.
48561         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
48562         (__ubp_memchr): Likewise.
48563         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
48564         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
48565         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
48566         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
48567         CHECK_STRING.
48568         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
48569         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
48570         (__getcwd): Do not use CHECK_STRING.
48571         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
48572         <bp-checks.h>.
48573         (__real_chown): Do not use CHECK_STRING.
48574         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
48575         <bp-checks.h>.
48576         (fchownat): Do not use CHECK_STRING.
48577         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
48578         CHECK_STRING.
48579         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
48580         <bp-checks.h>.
48581         (__lchown): Do not use CHECK_STRING.
48582         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
48583         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
48584         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
48585         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
48586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
48587         include <bp-checks.h>.
48588         (truncate64): Do not use CHECK_STRING.
48589         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
48590         <bp-checks.h>.
48591         (__real_chown): Do not use CHECK_STRING.
48592         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
48593         <bp-checks.h>.
48594         (__lchown): Do not use CHECK_STRING.
48595         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
48596         <bp-checks.h>.
48597         (__chown): Do not use CHECK_STRING.
48598         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
48599         <bp-checks.h>.
48600         (truncate64): Do not use CHECK_STRING.
48601         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
48602         Likewise.
48603         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
48604         (__xmknod): Do not use CHECK_STRING.
48605         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
48606         <bp-checks.h>.
48607         (__xmknodat): Do not use CHECK_STRING.
48608         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
48609         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
48611 2013-02-04  Andreas Schwab  <schwab@suse.de>
48613         [BZ #14142]
48614         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
48615         * include/netdb.h: Likewise for h_errno.
48616         * elf/tst-stackguard1.c: Include <tls.h>.
48618 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
48620         * elf/link.h (struct link_map): Extend the l_addr comment.
48621         * include/link.h (struct link_map): Likewise.
48623 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
48625         [BZ #13550]
48626         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
48627         (BOUNDED_1): Remove macro.
48628         * debug/backtrace.c: Don't include <bp-checks.h>.
48629         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
48630         (__backtrace): Likewise.
48631         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
48632         <bp-checks.h>.
48633         (__backtrace): Don't use BOUNDED_1.
48634         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
48635         <bp-checks.h>.
48636         (__backtrace): Don't use BOUNDED_1.
48637         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
48638         (__backtrace): Don't use BOUNDED_1.
48639         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
48640         (shmat): Don't use BOUNDED_N.
48642 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
48644         [BZ #13550]
48645         * sysdeps/generic/bp-start.h: Remove file.
48646         * csu/libc-start.c: Don't include <bp-start.h>.
48647         (LIBC_START_MAIN): Set up __environ directly instead of using
48648         INIT_ARGV_and_ENVIRON.
48649         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
48650         <bp-start.h>.
48652         [BZ #13550]
48653         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
48654         definitions.
48655         (CHECK_FCNTL): Likewise.
48656         (CHECK_N_PAGES): Likewise.
48658         [BZ #13550]
48659         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
48660         definitions.
48661         (CHECK_SIGSET_NULL_OK): Likewise.
48662         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
48663         <bp-checks.h>.
48664         (sigpending): Don't use CHECK_SIGSET.
48665         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
48666         <bp-checks.h>.
48667         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48668         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
48669         <bp-checks.h>.
48670         (do_sigsuspend): Don't use CHECK_SIGSET.
48671         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
48672         use CHECK_SIGSET.
48673         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
48674         (do_sigwait): Don't use CHECK_SIGSET.
48675         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
48676         use CHECK_SIGSET.
48677         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
48678         include <bp-checks.h>.
48679         (sigpending): Don't use CHECK_SIGSET.
48680         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
48681         include <bp-checks.h>.
48682         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48683         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
48684         <bp-checks.h>.
48685         (sigpending): Don't use CHECK_SIGSET.
48686         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
48687         <bp-checks.h>.
48688         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
48690         [BZ #13550]
48691         * sysdeps/generic/bp-semctl.h: Remove file.
48692         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
48693         <bp-checks.h> and <bp-semctl.h>.
48694         (__old_semctl): Don't use CHECK_SEMCTL.
48695         (__new_semctl): Likewise.
48696         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
48697         and <bp-semctl.h>.
48698         (__old_semctl): Don't use CHECK_SEMCTL.
48699         (__new_semctl): Likewise.
48700         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
48701         <bp-checks.h> and <bp-semctl.h>.
48702         (__old_semctl): Don't use CHECK_SEMCTL.
48703         (__new_semctl): Likewise.
48704         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
48705         <bp-checks.h> and <bp-semctl.h>.
48706         (semctl): Don't use CHECK_SEMCTL.
48708         [BZ #13550]
48709         * Makerules (elide-bp-thunks): Remove variable.
48710         (elide-routines.oS): Don't use $(elide-bp-thunks).
48711         (elide-routines.os): Likewise.
48712         (elide-routines.o): Likewise.
48713         (elide-routines.op): Likewise.
48714         (elide-routines.og): Likewise.
48715         (objects): Don't use $(bp-thunks).
48716         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
48717         include.
48718         (common-generated): Do not add s-proto-bp.d.
48719         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
48720         (int): Likewise.
48721         (typ): Likewise.
48722         Do not generate makefile rules for bounded-pointer thunks.
48723         * sysdeps/generic/bp-thunks.h: Remove file.
48724         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
48725         * sysdeps/unix/s-proto-bp.S: Likewise.
48727         [BZ #15062]
48728         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
48729         parts of result separately when argument is not close to line from
48730         -i to i and one part of argument is small.
48731         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48732         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48733         * math/libm-test.inc (cacos_test): Add more tests.
48734         (casin_test): Likewise.
48735         (casinh_test): Likewise.
48736         * sysdeps/i386/fpu/libm-test-ulps: Update.
48737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48739 2013-01-31  David S. Miller  <davem@davemloft.net>
48741         * po/de.po: Update from translation team.
48743 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
48745         * time/tzfile.c: Include stdint.h for SIZE_MAX.
48747 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
48749         * configure.in (_AC_PROG_CC_C89): New definition.
48750         * configure: Regenerate.
48752         * configure.in (AC_PROG_CPP): New definition.
48753         * configure: Regenerate.
48755 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
48757         * debug/tst-backtrace.h: New file.
48758         * debug/tst-backtrace2.c: Include tst-backtrace.h.
48759         (ret): Remove variable.
48760         (x): Likewise.
48761         (FAIL): Remove macro.
48762         (NO_INLINE): Likewise.
48763         (fn1): Use match function instead of strstr.
48764         * debug/tst-backtrace3.c: Include tst-backtrace.h.
48765         (ret): Remove variable.
48766         (x): Likewise.
48767         (FAIL): Remove macro.
48768         (NO_INLINE): Likewise.
48769         (fn): Use match function instead of strstr.
48770         * debug/tst-backtrace4.c: Include tst-backtrace.h.
48771         (ret): Remove variable.
48772         (x): Likewise.
48773         (FAIL): Remove macro.
48774         (NO_INLINE): Likewise.
48775         (handle_signal): Use match function instead of strstr.
48776         * debug/tst-backtrace5.c: Include tst-backtrace.h.
48777         (ret): Remove variable.
48778         (x): Likewise.
48779         (FAIL): Remove macro.
48780         (NO_INLINE): Likewise.
48781         (handle_signal): Use match function instead of strstr.
48783 2013-01-23  Roland McGrath  <roland@hack.frob.com>
48785         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
48787 2013-01-23  David S. Miller  <davem@davemloft.net>
48789         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
48790         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
48791         argument of CAS if possible.
48792         * sysdeps/sparc/sparc64/bits/atomic.h
48793         (__arch_compare_and_exchange_val_32_acq): Likewise.
48794         (__arch_compare_and_exchange_val_64_acq): Likewise.
48796 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
48798         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
48799         * sysdeps/posix/ulimit.c: ... this.
48800         Include <limits.h>.
48801         * sysdeps/unix/bsd/ulimit.c: Remove file.
48803 2013-01-23  Adam Conrad  <adconrad@0c3.net>
48805         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
48806         (LDFLAGS-tst-array5): Likewise.
48808 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
48810         [BZ #15036]
48811         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
48812         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
48813         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
48814         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
48816 2013-01-21  David S. Miller  <davem@davemloft.net>
48818         * sysdeps/sparc/backtrace.c: New file.
48819         * sysdeps/sparc/sparc32/backtrace.h: New file.
48820         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
48821         * sysdeps/sparc/sparc64/backtrace.h: New file.
48822         * sysdeps/sparc/sparc64/backtrace.c: Delete.
48823         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
48824         -funwind-tables.
48826 2013-01-21  Andreas Schwab  <schwab@suse.de>
48828         [BZ #15020]
48829         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
48830         closed its stdout.
48832 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
48834         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
48835         "mpa2.h".
48836         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48838 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
48839             Mark Mitchell  <mark@codesourcery.com>
48840             Tom de Vries  <tom@codesourcery.com>
48841             Paul Pluzhnikov  <ppluzhnikov@google.com>
48843         * debug/tst-backtrace2.c: New file.
48844         * debug/tst-backtrace3.c: Likewise.
48845         * debug/tst-backtrace4.c: Likewise.
48846         * debug/tst-backtrace5.c: Likewise.
48847         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
48848         (CFLAGS-tst-backtrace3.c): Likewise.
48849         (CFLAGS-tst-backtrace4.c): Likewise.
48850         (CFLAGS-tst-backtrace5.c): Likewise.
48851         (LDFLAGS-tst-backtrace2): Likewise.
48852         (LDFLAGS-tst-backtrace3): Likewise.
48853         (LDFLAGS-tst-backtrace4): Likewise.
48854         (LDFLAGS-tst-backtrace5): Likewise.
48855         (tests): Add new tests tst-backtrace2, tst-backtrace3,
48856         tst-backtrace4 and tst-backtrace5.
48858 2013-01-18  Anton Blanchard  <anton@samba.org>
48859             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48861         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
48862         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
48863         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
48864         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
48865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
48866         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
48867         "+r" and remove output regs list as redundant.  Add explicit inline
48868         asm to specify register of return val to work around compiler codegen
48869         bug.  Remove (int) cast on return value.  Add return type parameter to
48870         use in macro so that this macro does not truncate return value for
48871         64-bit values.
48872         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
48873         pass to INTERNAL_VSYSCALL_NCS.
48874         (INLINE_VSYSCALL): Add 'long int' as return type to
48875         INTERNAL_VSYSCALL_NCS macro invocation.
48876         (INTERNAL_VSYSCALL): Add 'long int' as return type to
48877         INTERNAL_VSYSCALL_NCS macro invocation.
48878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48880 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48882         [BZ #14496]
48883         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
48884         Fix application of SIMD FP exception mask.
48886         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
48887         mp_no from a power of two.
48888         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
48889         __mpexp_twomm1.  Use __pow_mp.
48891         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
48892         multiplication.
48894 2013-01-17  David S. Miller  <davem@davemloft.net>
48896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48898 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
48900         [BZ #15023]
48901         * include/complex.h: Condition contents on [!_COMPLEX_H].
48902         (__kernel_casinhf): New prototype.
48903         (__kernel_casinh): Likewise.
48904         (__kernel_casinhl): Likewise.
48905         * math/Makefile (libm_calls): Add k_casinh.
48906         * math/k_casinh.c: New file.
48907         * math/k_casinhf.c: Likewise.
48908         * math/k_casinhl.c: Likewise.
48909         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
48910         finite nonzero arguments.
48911         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
48912         finite nonzero arguments.
48913         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
48914         finite nonzero arguments.
48915         * math/s_casinh.c: Do not include <float.h>.
48916         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
48917         * math/s_casinhf.c: Do not include <float.h>.
48918         (__casinhf): Move code for finite nonzero arguments to
48919         k_casinhf.c.
48920         * math/s_casinhl.c: Do not include <float.h>.
48921         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
48922         redefine.
48923         (__casinhl): Move code for finite nonzero arguments to
48924         k_casinhl.c.
48925         * math/libm-test.inc (cacos_test): Add more tests.
48926         * sysdeps/i386/fpu/libm-test-ulps: Update.
48927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48929 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
48931         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
48932         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
48933         [!HAVE_MREMAP]: Remove [defined linux] case.
48934         * malloc/arena.c: Do not include <malloc-sysdep.h>.
48936 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
48938         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
48940 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
48942         * elf/elf.h (R_386_SIZE32): New relocation.
48943         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
48944         R_386_SIZE32.
48945         (elf_machine_rela): Likewise.
48946         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
48947         R_X86_64_SIZE64 and R_X86_64_SIZE32.
48949 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
48951         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
48952         (FP_FAST_FMA): Do not define.
48953         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
48954         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
48955         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
48956         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
48957         !_SOFT_FLOAT]: Likewise.
48958         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
48959         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
48960         value.
48961         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
48962         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
48963         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
48964         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
48965         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
48966         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
48967         file.
48969 2013-01-16  Andreas Schwab  <schwab@suse.de>
48971         [BZ #14327]
48972         * include/stdlib.h (__mktemp): Add declaration.
48973         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
48974         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
48976 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48978         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
48979         definitions.
48980         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
48981         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
48982         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
48983         definitions here.
48984         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
48985         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
48986         definitions.
48987         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
48988         and ONE.
48989         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
48990         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
48991         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
48992         definitions.
48993         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
48994         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
48995         definitions.
48996         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
48998         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
49000 2013-01-15  David S. Miller  <davem@davemloft.net>
49002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49003         trunc{,f} to libm-sysdep_routes.
49004         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
49006         file.
49007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
49008         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
49009         file.
49010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
49011         file.
49012         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
49013         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
49014         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
49015         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
49016         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
49017         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
49018         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
49019         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
49021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49022         nearbyint{,f} to libm-sysdep_routes.
49023         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
49025         New file.
49026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
49027         file.
49028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
49029         New file.
49030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
49031         file.
49032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
49033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
49034         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
49035         file.
49036         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
49037         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
49038         file.
49039         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
49040         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
49041         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
49043         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49044         libc_feholdexcept and libc_fesetenv.
49046 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
49048         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
49050 2013-01-14  David S. Miller  <davem@davemloft.net>
49052         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
49053         (SPARC_ASM_VIS2_IFUNC): Likewise.
49054         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
49055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
49056         use of 'siam' instruction.
49057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
49058         Likewise.
49059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
49060         Likewise.
49061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
49062         Likewise.
49063         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
49064         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
49065         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
49066         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
49067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
49068         file.
49069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
49070         file.
49071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
49072         file.
49073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
49074         file.
49075         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
49076         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
49077         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
49078         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
49079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
49080         new VIS2 routines.
49081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
49082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49084         Likewise.
49085         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49086         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49087         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49088         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
49090         routines to libm-sysdep_routines.
49091         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
49093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
49094         fdim/fdimf to libm-sysdep_routines.
49095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
49096         file.
49097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
49098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
49099         file.
49100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
49101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
49102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
49103         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
49104         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
49105         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
49106         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
49108 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
49110         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
49111         to optimize copies.
49113         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
49114         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49115         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49117         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
49118         local variable MPTWO.
49119         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49120         Likewise.
49122 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49124         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
49125         GLOB_NOESCAPE.
49127 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49129         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
49131 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
49133         * manual/pattern.texi (glob_t): Document gl_flags.
49134         (glob64_t): Likewise.
49136 2013-01-11  David S. Miller  <davem@davemloft.net>
49138         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
49139         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
49140         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
49141         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
49142         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
49143         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
49144         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
49145         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
49146         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
49147         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
49148         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
49149         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
49150         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
49152         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49153         sparc V9 rather than using V8 code.
49154         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49155         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49157         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
49158         Move to...
49159         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
49160         Here.
49162 2013-01-11  Roland McGrath  <roland@hack.frob.com>
49164         [BZ #14941]
49165         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
49166         not in the main loop.
49167         * configure: Regenerated.
49169 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
49171         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
49172         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
49173         to just #else.
49174         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
49175         [!__GLIBC_HAVE_LONG_LONG] case.
49176         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
49177         condition to just #else.
49178         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
49179         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
49180         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
49181         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
49182         unconditional.
49183         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
49184         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49185         #elif condition to just #else.
49186         * sysdeps/unix/sysv/linux/sys/sysmacros.h
49187         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
49188         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
49189         #elif condition to just #else.
49191 2013-01-11  Steve Ellcey  <sellcey@mips.com>
49193         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
49194         (EF_MIPS_ARCH_64): Fix value.
49195         (EF_MIPS_ARCH_32R2): New.
49196         (EF_MIPS_ARCH_64R2): New.
49198 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
49200         * Makeconfig (+link-pie-before-libc): New.
49201         (+link-pie-after-libc): Likewise.
49202         (+link-pie-tests): Likewise.
49203         (+link-pie): Rewritten.
49204         (link-before-libc): Remove $(config-LDFLAGS).
49205         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
49206         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
49207         (config-LDFLAGS): Renamed to ...
49208         (rtld-LDFLAGS): This.
49209         (rtld-tests-LDFLAGS): New macro.
49210         (link-libc-rpath-link): Likewise.
49211         (link-libc-tests-rpath-link): Likewise.
49212         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
49213         (link-libc): Prepand $(link-libc-rpath-link).
49214         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
49215         (test-program-prefix): New macro.
49216         (test-via-rtld-prefix): Likewise.
49217         (test-program-cmd): Likewise.
49218         (host-test-program-cmd): Likewise.
49219         * Makefile ($(common-objpfx)testrun.sh): Replace
49220         $(run-program-prefix) with $(test-program-prefix).
49221         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
49222         $(rtld-LDFLAGS).
49223         ($(common-objpfx)shlib.lds): Likewise.
49224         (build-module-helper): Likewise.
49225         ($(common-objpfx)format.lds): Likewise.
49226         * Rules (binaries-pie-tests): New.
49227         (binaries-pie-notests): Likewise.
49228         (binaries-pie): Rewritten.
49229         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
49230         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
49231         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
49232         (make-test-out): Replace $(host-built-program-cmd) with
49233         $(host-test-program-cmd).
49234         * config.make.in (build-hardcoded-path-in-tests): New variable.
49235         * configure.in (--enable-hardcoded-path-in-tests): New configure
49236         option.
49237         (hardcoded_path_in_tests): New AC_SUBST.
49238         * configure: Regenerated.
49239         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
49240         $(built-program-cmd) with $(test-program-cmd).
49241         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
49242         (test_program_cmd): This.
49243         * elf/Makefile ($(objpfx)order.out): Run test with
49244         $(test-program-prefix).
49245         ($(objpfx)order2.out): Likewise.
49246         ($(objpfx)tst-initorder.out): Likewise.
49247         ($(objpfx)tst-initorder2.out): Likewise.
49248         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
49249         $(test-program-cmd).
49250         ($(objpfx)tst-array1-static.out): Likewise.
49251         ($(objpfx)tst-array2.out): Likewise.
49252         ($(objpfx)tst-array3.out): Likewise.
49253         ($(objpfx)tst-array4.out): Likewise.
49254         ($(objpfx)tst-array5.out): Likewise.
49255         ($(objpfx)tst-array5-static.out): Likewise.
49256         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
49257         $(test-program-cmd).
49258         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
49259         $(run-program-prefix) with $(test-program-prefix).
49260         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
49261         (test_program_prefix): This.
49262         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
49263         $(run-program-prefix) with $(test-program-prefix).
49264         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
49265         (test_program_prefix): This.
49266         * iconvdata/tst-tables.sh: Likewise.
49267         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
49268         $(run-program-prefix) with $(test-program-prefix).
49269         ($(objpfx)tst-translit.out): Likewise.
49270         ($(objpfx)tst-gettext2.out): Likewise.
49271         ($(objpfx)tst-gettext4.out): Likewise.
49272         ($(objpfx)tst-gettext6.out): Likewise.
49273         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
49274         (test_program_prefix): This.
49275         * intl/tst-gettext2.sh: Likewise.
49276         * intl/tst-gettext4.sh  Likewise.
49277         * intl/tst-gettext6.sh: Likewise.
49278         * intl/tst-translit.sh: Likewise.
49279         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
49280         with $(test-program-cmd).
49281         * libio/Makefile ($(objpfx)test-freopen.out): Replace
49282         $(run-program-prefix) with $(test-program-prefix).
49283         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
49284         (test_program_prefix): This.
49285         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
49286         $(run-program-prefix) with $(test-program-prefix).
49287         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
49288         (test_program_prefix): This.
49289         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
49290         * posix/Makefile ($(objpfx)globtest.out): Replace
49291         $(run-via-rtld-prefix) and $(test-wrapper) with
49292         $(test-program-prefix) and $(test-via-rtld-prefix).
49293         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
49294         $(test-program-prefix).
49295         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
49296         $(host-test-program-cmd).
49297         (tst-spawn-ARGS): Likewise.
49298         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
49299         $(test-program-prefix).
49300         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
49301         (test_via_rtld_prefix): This.
49302         (test_wrapper): Renamed to ...
49303         (test_program_prefix): This.
49304         (run_program_prefix): Replaced by test_program_prefix.
49305         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
49306         (test_program_prefix): This.
49307         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
49308         with $(host-test-program-cmd).
49309         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
49310         $(run-program-prefix) with $(test-program-prefix).
49311         ($(objpfx)tst-printf.out): Likewise.
49312         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
49313         $(test-program-cmd).
49314         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
49315         (test_program_prefix): This.
49316         * stdio-common/tst-unbputc.sh: Likewise.
49317         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
49318         $(run-program-prefix) with $(test-program-prefix).
49319         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
49320         (test_program_prefix): This.
49321         * string/Makefile ($(objpfx)tst-svc.out):  Replace
49322         $(built-program-cmd) with $(test-program-cmd).
49324 2013-01-11  Andreas Jaeger  <aj@suse.de>
49326         [BZ #15003]
49327         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
49328         value. Sync with Linux 3.7.
49330 2013-01-10  David S. Miller  <davem@davemloft.net>
49332         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
49333         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49334         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49336 2013-01-10  Roland McGrath  <roland@hack.frob.com>
49338         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
49339         never set.
49340         * configure: Regenerated.
49342 2013-01-10  David S. Miller  <davem@davemloft.net>
49344         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
49345         sparc V9 rather than using V8 code.
49346         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
49347         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
49349 2013-01-10  Roland McGrath  <roland@hack.frob.com>
49351         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
49352         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
49353         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
49354         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
49355         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
49356         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
49357         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
49358         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
49359         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
49360         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
49361         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
49362         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
49363         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
49364         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
49365         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
49366         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
49367         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
49368         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
49369         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
49370         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
49371         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
49372         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
49373         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
49374         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
49375         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
49376         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
49377         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
49379 2013-01-10  David S. Miller  <davem@davemloft.net>
49381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49383 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
49385         * posix/Makefile (tests-static): New variable.
49386         (tests): Add $(tests-static).
49387         (tst-exec-static-ARGS): New variable.
49388         (tst-spawn-static-ARGS): Likewise.
49389         * posix/tst-exec-static.c: New file.
49390         * posix/tst-spawn-static.c: Likewise.
49391         * posix/tst-exec.c: Support run directly.
49392         * posix/tst-spawn.c: Likewise.
49394 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
49396         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
49397         long.
49398         * math/bits/mathcalls.h (llrint): Likewise.
49399         (llround): Likewise.
49400         * stdlib/stdlib.h (struct drand48_data): Likewise.
49401         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
49402         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
49403         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
49404         Likewise.
49405         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
49406         Likewise.
49407         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
49408         (elf_greg_t): Likewise.
49409         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
49410         (__jmp_buf): Likewise.
49411         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
49412         definitions.
49413         (llrint): Likewise, for all definitions.
49414         (llrintl): Likewise.
49416         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
49417         Remove [__GNUC__] condition.
49418         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
49419         condition to just [__USE_ISOC99].
49420         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
49422 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
49424         [BZ #14200]
49425         * sysdeps/unix/sysv/linux/x86/bits/environments.h
49426         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
49427         defined.
49428         (_POSIX_V6_ILP32_OFF32): Likewise.
49429         (_XBS5_ILP32_OFF32): Likewise.
49430         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
49431         (__ILP32_OFFBIG_LDFLAGS): Likewise.
49433 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49435         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
49437         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
49438         doubles __mpexp_twomm1.  Adjust usage.
49439         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
49440         Remove.
49442 2013-01-10  Andreas Schwab  <schwab@suse.de>
49444         [BZ #14964]
49445         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
49446         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
49448 2013-01-09  David S. Miller  <davem@davemloft.net>
49450         [BZ #15003]
49451         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
49452         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
49453         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
49454         (TCP_FASTOPEN): Define.
49455         (tcp_repair_opt): New structure.
49456         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
49457         enum values.
49458         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
49459         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
49460         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
49461         (tcp_cookie_transactions): New structure.
49463 2013-01-09  Anton Blanchard  <anton@samba.org>
49465         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
49466         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
49467         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
49468         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
49470 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
49472         * include/features.h (__USE_ANSI): Remove.
49474 2013-01-09  Roland McGrath  <roland@hack.frob.com>
49476         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
49478         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
49480 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
49482         * sysdeps/s390/fpu/libm-test-ulps: Update.
49484         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49486         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
49487         (__acr): Likewise.
49488         (__cpy): Likewise.
49489         (norm): Likewise.
49490         (denorm): Likewise.
49491         (__mp_dbl): Likewise.
49492         (__dbl_mp): Likewise.
49493         (add_magnitudes): Likewise.
49494         (sub_magnitudes): Likewise.
49495         (__add): Likewise.
49496         (__sub): Likewise.
49497         (__mul): Likewise.
49498         (__inv): Likewise.
49499         (__dvd): Likewise.
49500         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
49501         (__acr): Likewise.
49502         (__cpy): Likewise.
49503         (norm): Likewise.
49504         (denorm): Likewise.
49505         (__mp_dbl): Likewise.
49506         (__dbl_mp): Likewise.
49507         (add_magnitudes): Likewise.
49508         (sub_magnitudes): Likewise.
49509         (__add): Likewise.
49510         (__sub): Likewise.
49511         (__mul): Likewise.
49512         (__inv): Likewise.
49513         (__dvd): Likewise.
49514         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
49515         (__acr): Likewise.
49516         (__cpy): Likewise.
49517         (norm): Likewise.
49518         (denorm): Likewise.
49519         (__mp_dbl): Likewise.
49520         (__dbl_mp): Likewise.
49521         (add_magnitudes): Likewise.
49522         (sub_magnitudes): Likewise.
49523         (__add): Likewise.
49524         (__sub): Likewise.
49525         (__mul): Likewise.
49526         (__inv): Likewise.
49527         (__dvd): Likewise.
49529 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
49531         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
49532         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
49533         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
49534         2 && __USE_EXTERN_INLINES]: Likewise.
49536 2013-01-08  Andreas Jaeger  <aj@suse.de>
49538         [BZ# 14985]
49539         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
49540         Remove.
49541         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49542         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
49544 2013-01-07  Anton Blanchard  <anton@samba.org>
49546         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
49547         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
49548         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
49549         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
49550         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49551         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49552         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
49553         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49554         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49555         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49556         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49557         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49558         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49559         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49560         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49561         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49562         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49563         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49564         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49565         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49566         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49567         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
49568         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49569         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49570         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
49571         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49572         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
49573         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
49574         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
49575         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49576         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49577         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49578         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49579         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49580         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49581         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49582         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49583         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
49584         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
49585         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
49586         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
49587         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49588         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49590 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
49592         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
49593         (__MALLOC_PMT): Likewise.
49594         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
49595         [__GNUC__], only on [_LIBC].
49596         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49597         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
49598         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
49599         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
49600         forward declaration.
49601         (realloc_hook_ini): Likewise.
49602         (memalign_hook_ini): Likewise.
49603         (__libc_memalign): Do not use __MALLOC_PMT in variable
49604         declaration.
49605         (__libc_valloc): Likewise.
49606         (__libc_pvalloc): Likewise.
49607         (__libc_calloc): Likewise.
49608         (__posix_memalign): Likewise.
49610         [BZ #14996]
49611         * math/s_casinh.c: Include <float.h>.
49612         (__casinh): Do not do computation with squaring and square root
49613         for large arguments.
49614         * math/s_casinhf.c: Include <float.h>.
49615         (__casinhf): Do not do computation with squaring and square root
49616         for large arguments.
49617         * math/s_casinhl.c: Include <float.h>.
49618         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
49619         (__casinhl): Do not do computation with squaring and square root
49620         for large arguments.
49621         * math/libm-test.inc (casin_test): Add more tests.
49622         (casinh_test): Likewise.
49623         * sysdeps/i386/fpu/libm-test-ulps: Update.
49624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49626 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
49628         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
49629         (__x86_64_raw_data_cache_size): Likewise.
49630         (__x86_64_data_cache_size_half): Likewise.
49631         (__x86_64_raw_data_cache_size_half): Likewise.
49632         (__x86_64_shared_cache_size): Likewise.
49633         (__x86_64_raw_shared_cache_size): Likewise.
49634         (__x86_64_shared_cache_size_half): Likewise.
49635         (__x86_64_raw_shared_cache_size_half): Likewise.
49636         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
49637         to ...
49638         (__x86_data_cache_size): This.
49639         (__x86_64_raw_data_cache_size): Renamed to ...
49640         (__x86_raw_data_cache_size): This.
49641         (__x86_64_data_cache_size_half): Renamed to ...
49642         (__x86_data_cache_size_half): This.
49643         (__x86_64_raw_data_cache_size_half): Renamed to ...
49644         (__x86_raw_data_cache_size_half): This.
49645         (__x86_64_shared_cache_size): Renamed to ...
49646         (__x86_shared_cache_size): This.
49647         (__x86_64_raw_shared_cache_size): Renamed to ...
49648         (__x86_raw_shared_cache_size): This.
49649         (__x86_64_shared_cache_size_half): Renamed to ...
49650         (__x86_shared_cache_size_half): This.
49651         (__x86_64_raw_shared_cache_size_half): Renamed to ...
49652         (__x86_raw_shared_cache_size_half): This.
49653         * sysdeps/x86_64/memcpy.S: Updated.
49654         * sysdeps/x86_64/memset.S: Likewise.
49655         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49656         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49657         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49659 2013-01-04  David S. Miller  <davem@davemloft.net>
49661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49663 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
49665         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
49666         1 to avoid redefinition warning.
49667         (__USE_GNU): Don't define.
49668         (init_signaling_nan): Protoize.
49670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49672 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49674         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
49675         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
49676         (__cpymn): Likewise.
49677         (norm): Remove commented code.
49678         (denorm): Likewise.
49679         (__mp_dbl): Likewise.
49680         (__inv): Likewise.
49681         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
49682         (__cpymn): Likewise.
49683         (norm): Remove commented code.
49684         (denorm): Likewise.
49685         (__mp_dbl): Likewise.
49686         (__inv): Likewise.
49688         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
49689         mp_no value for 1.0 and 2.0.
49690         (norm): Use RADIXI instead of radixi.d.
49691         (denorm): Likewise.
49692         (__mul): Use 0.0 instead of zero.d.
49693         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
49694         mp_no value for 1.0 and 2.0.
49695         (norm): Use RADIXI instead of radixi.d.
49696         (denorm): Likewise.
49697         (__mul): Use 0.0 instead of zero.d.
49699 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
49701         [BZ #14994]
49702         * math/s_casinh.c (__casinh): Reduce finite argument to first
49703         quadrant then set signs of results at the end.
49704         * math/s_casinhf.c (__casinhf): Likewise.
49705         * math/s_casinhl.c (__casinhl): Likewise.
49706         * math/libm-test.inc (casin_test): Add more tests.
49707         (casinh_test): Likewise.
49708         * sysdeps/i386/fpu/libm-test-ulps: Update.
49709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49711 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49713         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
49715         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
49717         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
49718         declarations.
49719         (denorm): Likewise.
49720         (__mp_dbl): Likewise.
49721         (__inv): Likewise.
49723         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
49724         and adjust the header comment.
49726         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
49727         variable name from declaration.
49729 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
49731         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49732         Initialize COMMON_CPUID_INDEX_7 element.
49733         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
49734         (CPUID_RTM): Likewise.
49735         (HAS_RTM): Likewise.
49736         (COMMON_CPUID_INDEX_7): New enum.
49738 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
49740         [BZ #14981]
49741         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
49742         size is zero, record memory as freed.
49744 2013-01-03  Andreas Jaeger  <aj@suse.de>
49746         * po/ia.po: Add new Interlingua translation.
49748 2012-01-03  Allan McRae  <allan@archlinux.org>
49750         * locale/programs/localedef.c: Fix description of '--posix' flag.
49752 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
49754         * NEWS: Update dates in second copyright notice.
49755         * README: Update copyright dates in example.
49756         * manual/libc.texinfo: Update copyright dates.
49757         * scripts/test-installation.pl: Update copyright date in --version
49758         output.
49760         * hurd/ctty-input.c: Fix copyright notice formatting.
49761         * hurd/ctty-output.c: Likewise.
49762         * hurd/dtable.c: Likewise.
49763         * hurd/hurd-raise.c: Likewise.
49764         * hurd/hurdprio.c: Likewise.
49765         * hurd/msgportdemux.c: Likewise.
49766         * misc/sys/file.h: Likewise.
49767         * misc/sys/ioctl.h: Likewise.
49768         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
49769         * sysdeps/mach/hurd/chdir.c: Likewise.
49770         * sysdeps/mach/hurd/fchdir.c: Likewise.
49771         * sysdeps/mach/hurd/rename.c: Likewise.
49772         * sysdeps/mach/hurd/rmdir.c: Likewise.
49773         * sysdeps/mach/hurd/seekdir.c: Likewise.
49774         * sysdeps/mach/hurd/setsid.c: Likewise.
49775         * sysdeps/posix/wait3.c: Likewise.
49777         * All files with FSF copyright notices: Update copyright dates
49778         using scripts/update-copyrights.
49779         * intl/plural.c: Regenerated.
49780         * locale/programs/charmap-kw.h: Likewise.
49781         * locale/programs/locfile-kw.h: Likewise.
49783 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
49785         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
49786         four values.
49788         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
49789         calculation loop and add branch prediction.
49791         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
49792         check access beyond bounds of m1np.
49794         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
49795         MPTWO.
49796         (__inv): Remove local variable MPTWO to use the global
49797         constant.
49798         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
49799         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
49800         variable MPTWO.
49801         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
49802         MP3HALFS static const.
49804 2013-01-01  David S. Miller  <davem@davemloft.net>
49806         * po/ca.po: Update from translation team.
49808 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
49810         * scripts/update-copyrights: New file.
49811         * Makeconfig: Reformat copyright notice.
49812         * ctype/ctype.h: Likewise.
49813         * debug/swprintf_chk.c: Likewise.
49814         * elf/dl-cache.c: Likewise.
49815         * elf/dl-debug.c: Likewise.
49816         * elf/dl-object.c: Likewise.
49817         * grp/initgroups.c: Likewise.
49818         * hurd/Makefile: Likewise.
49819         * hurd/hurd/signal.h: Likewise.
49820         * hurd/hurdfault.c: Likewise.
49821         * hurd/hurdioctl.c: Likewise.
49822         * hurd/hurdlookup.c: Likewise.
49823         * hurd/intr-msg.c: Likewise.
49824         * iconv/gconv_open.c: Likewise.
49825         * libio/swprintf.c: Likewise.
49826         * locale/lc-ctype.c: Likewise.
49827         * locale/nl_langinfo.c: Likewise.
49828         * mach/Machrules: Likewise.
49829         * mach/Makefile: Likewise.
49830         * malloc/obstack.h: Likewise.
49831         * manual/Makefile: Likewise.
49832         * manual/tsort.awk: Likewise.
49833         * misc/bits/stab.def: Likewise.
49834         * nis/nis_print_group_entry.c: Likewise.
49835         * nis/nis_table.c: Likewise.
49836         * nis/nss_compat/compat-pwd.c: Likewise.
49837         * nis/nss_compat/compat-spwd.c: Likewise.
49838         * po/Makefile: Likewise.
49839         * posix/fnmatch.c: Likewise.
49840         * posix/regex.h: Likewise.
49841         * resolv/Makefile: Likewise.
49842         * resolv/nss_dns/dns-network.c: Likewise.
49843         * resolv/res_hconf.c: Likewise.
49844         * scripts/gen-sorted.awk: Likewise.
49845         * soft-fp/soft-fp.h: Likewise.
49846         * stdio-common/printf.h: Likewise.
49847         * stdlib/monetary.h: Likewise.
49848         * stdlib/random.c: Likewise.
49849         * stdlib/random_r.c: Likewise.
49850         * sysdeps/generic/Makefile: Likewise.
49851         * sysdeps/gnu/Makefile: Likewise.
49852         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49853         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49854         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49855         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49856         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49857         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49858         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49859         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49860         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49861         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49862         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49863         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49864         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49865         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49866         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
49867         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49868         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49869         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49870         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49871         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49872         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49873         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49874         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49875         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
49876         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
49877         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49878         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
49879         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
49880         * sysdeps/mach/hurd/errnos.awk: Likewise.
49881         * sysdeps/mach/hurd/fork.c: Likewise.
49882         * sysdeps/mach/hurd/getcwd.c: Likewise.
49883         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
49884         * sysdeps/mach/hurd/mmap.c: Likewise.
49885         * sysdeps/mach/hurd/utimes.c: Likewise.
49886         * sysdeps/mach/hurd/xmknod.c: Likewise.
49887         * sysdeps/posix/profil.c: Likewise.
49888         * sysdeps/posix/readdir_r.c: Likewise.
49889         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49890         * sysdeps/powerpc/bits/setjmp.h: Likewise.
49891         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
49892         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
49893         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
49894         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49895         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49896         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49897         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
49898         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49899         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49900         * sysdeps/pthread/lio_listio.c: Likewise.
49901         * sysdeps/sparc/dl-procinfo.h: Likewise.
49902         * sysdeps/unix/i386/sysdep.S: Likewise.
49903         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
49904         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
49905         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
49906         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
49907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49908         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
49909         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
49910         * sysdeps/unix/sysv/linux/speed.c: Likewise.
49911         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
49912         * sysdeps/wordsize-32/divdi3.c: Likewise.
49913         * time/sys/time.h: Likewise.
49914         * wcsmbs/Makefile: Likewise.
49916 2013-01-01  David S. Miller  <davem@davemloft.net>
49918         * po/fr.po: Update from translation team.
49920         * catgets/gencat.c: Update copyright year.
49921         * csu/version.c: Likewise.
49922         * debug/catchsegv.sh: Likewise.
49923         * debug/pcprofiledump.c: Likewise.
49924         * debug/xtrace.sh: Likewise.
49925         * elf/ldconfig.c: Likewise.
49926         * elf/ldd.bash.in: Likewise.
49927         * elf/pldd.c: Likewise.
49928         * elf/sotruss.ksh: Likewise.
49929         * elf/sprof.c: Likewise.
49930         * iconv/iconv_prog.c: Likewise.
49931         * iconv/iconvconfig.c: Likewise.
49932         * locale/programs/locale.c: Likewise.
49933         * locale/programs/localedef.c: Likewise.
49934         * login/programs/pt_chown.c: Likewise.
49935         * malloc/memusage.sh: Likewise.
49936         * malloc/memusagestat.c: Likewise.
49937         * malloc/mtrace.pl: Likewise.
49938         * nscd/nscd.c: Likewise.
49939         * nss/getent.c: Likewise.
49940         * nss/makedb.c: Likewise.
49941         * posix/getconf.c: Likewise.
49943 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49945         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
49946         numbers.
49948 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
49950         * math/bits/mathcalls.h (modf): Use __nonnull.
49952 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49954         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
49955         (split): Use macro CN instead of the bare value.
49956         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
49957         could be used.
49958         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
49959         instead of the bare value.
49960         (power1): Likewise.
49962 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49964         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
49965         __ATAN_TWOM.
49966         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49968         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
49969         their values.
49970         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
49971         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
49972         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
49973         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
49975 2012-12-28  Andreas Jaeger  <aj@suse.de>
49977         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
49978         values are from Linux 3.7.
49980         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
49981         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
49983 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49985         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
49986         TRUE case.
49988         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
49989         (norm): Likewise.
49990         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
49991         variables with preprocessor constants.
49992         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49993         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49994         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49996 2012-12-27  Bruno Haible  <bruno@clisp.org>
49998         [BZ #14317]
49999         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
50000         only if needed.
50002 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50004         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
50005         and use variable directly.
50006         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
50008         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
50009         MPONE.
50010         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
50011         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
50012         variable MPONE.
50013         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
50014         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
50015         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
50016         include directive.  Remove local variable MPONE.
50017         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
50018         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
50019         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50021 2012-12-25  David S. Miller  <davem@davemloft.net>
50023         * version.h (RELEASE): Set to "development".
50024         (VERSION): Set to "2.17.90".
50025         * NEWS: Add 2.18 section.
50027 2012-12-21  David S. Miller  <davem@davemloft.net>
50029         * po/hr.po: Update from translation team.
50031 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50033         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
50035 2012-12-19  Steve Ellcey  <sellcey@mips.com>
50037         * NEWS:  Mention new memcpy for MIPS.
50039 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50041         * manual/contrib.texi (Contributors): Spelling correction.
50043 2012-12-15  David S. Miller  <davem@davemloft.net>
50045         * po/ru.po: Update from translation team.
50047 2012-12-13  David S. Miller  <davem@davemloft.net>
50049         * NEWS: Mention IFUNC testsuite enhancements.
50051         * po/pl.po: Update from translation team.
50052         * po/bg.po: Likewise.
50054         * manual/contrib.texi (Contributors): Update entries for Hongjiu
50055         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
50057 2012-12-11  David S. Miller  <davem@davemloft.net>
50059         * po/sv.po: Update from translation team.
50061         * po/vi.po: Update from translation team.
50063         * po/cs.po: Update from translation team.
50065         * po/de.po: Update from translation team.
50066         * po/eo.po: Likewise.
50067         * po/nl.po: Likewise.
50069 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50071         [BZ #14246]
50072         * manual/argp.texi (Argp Helper Functions): Move node to follow
50073         Argp Parsing State.
50075         [BZ #14872]
50076         * manual/conf.texi (Limits on File System Capacity): Mention if
50077         terminating null is included in the max size.
50079 2012-12-10  Andreas Jaeger  <aj@suse.de>
50081         * po/cs.po: Update from translation team.
50083 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
50085         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
50086         void pointer and cast to uintptr_t.
50087         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
50088         path.
50089         * sysdeps/s390/s390-64/memcpy.S: Likewise.
50090         * sysdeps/s390/s390-64/memset.S: Likewise.
50092 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
50094         [BZ #14833]
50095         * menual/message.texi (Message Translation): Fix typos.
50096         (Helper programs for gettext): Likewise.
50098 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
50100         [BZ #14898]
50101         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
50102         Change to -1.
50104 2012-12-07  David S. Miller  <davem@davemloft.net>
50106         * po/libc.pot: Update.
50108 2012-12-07  Richard Henderson  <rth@redhat.com>
50110         [BZ #10114]
50111         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
50112         normal/normal case to before the switch.
50113         (_FP_DIV): Likewise.
50115 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
50116             Mike Frysinger  <vapier@gentoo.org>
50118         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
50119         check for __NR_fadvise64_64.
50121 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
50123         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
50124         0, not just to plain "0" as a statement.
50125         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
50126         with cw.
50128 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
50130         * NEWS: Use sourceware.org in Bugzilla URL.
50132 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
50135         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50137         * stdio-common/tst-put-error.c (do_test): Add newline to the
50138         padded test to ensure flush.
50140 2012-12-05  Jeff Law  <law@redhat.com>
50142         * sunrpc/etc.rpc (fedfs_admin): Add entry.
50144 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
50146         * README: Don't refer to ports add-on as distributed separately.
50147         Mention AArch64 in list of systems supported in the ports add-on.
50149         * LICENSES: Add more non-FSF copyright and license notices.
50151         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
50152         ((unused)).
50154         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
50156         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
50157         10000 as width of padded output.
50159 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
50161         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
50163         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
50164         variable LX with __attribute__ ((unused)).
50165         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
50166         Likewise.
50167         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
50168         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
50169         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
50170         with __attribute__ ((unused)).
50172 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
50174         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
50176 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
50178         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
50179         (CFLAGS-nldbl-acos.c): New variable.
50180         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
50181         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
50182         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
50183         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
50184         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
50185         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
50186         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
50187         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
50188         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
50189         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
50190         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
50191         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
50192         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
50193         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
50194         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
50195         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
50196         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
50197         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
50198         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
50199         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
50200         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
50201         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
50202         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
50203         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
50204         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
50205         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
50206         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
50207         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
50208         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
50209         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
50210         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
50211         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
50212         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
50213         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
50214         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
50215         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
50216         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
50217         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
50218         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
50219         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
50220         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
50221         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
50222         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
50223         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
50224         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
50225         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
50226         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
50227         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
50228         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
50229         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
50230         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
50231         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
50232         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
50233         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
50234         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
50235         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
50236         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
50237         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
50238         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
50239         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
50240         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
50241         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
50242         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
50243         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
50244         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
50245         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
50246         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
50247         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
50248         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
50249         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
50250         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
50251         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
50252         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
50253         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
50254         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
50255         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
50256         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
50257         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
50258         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
50259         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
50260         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
50261         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
50262         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
50263         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
50264         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
50265         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
50266         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
50267         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
50268         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
50269         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
50270         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
50271         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
50272         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
50273         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
50274         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
50275         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
50276         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
50278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
50279         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
50281         [BZ #14914]
50282         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
50283         whole low double instead of just low 47 bits when splitting values
50284         into two parts.
50286 2012-12-03  Allan McRae  <allan@archlinux.org>
50288         * manual/stdio.texi (Predefined Printf Handlers): Remove
50289         @hsep and @vsep usage.
50291 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
50293         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
50294         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
50296 2012-12-03  Jeff Law  <law@redhat.com>
50298         * time/sys/time.h (settimeofday): Do not mark TV argument
50299         as __nonnull.
50301 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
50303         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
50304         when currently writing and seek to current position when not.
50305         * libio/Makefile (tests): Remove bug-fclose1.
50306         * libio/bug-fclose1.c: Delete.
50308 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
50310         * manual/arith.texi (feenableexcept): Fix typo.
50311         (fedisableexcept): Likewise.
50313 2012-11-30  Roland McGrath  <roland@hack.frob.com>
50315         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
50316         second, differently-typed declaration, rather than a cast.
50318 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50320         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
50321         * include/rpc/svc.h: ... here.
50323 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
50325         [BZ #13013]
50326         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
50327         depending n and resplen2 to catch cases where answer
50328         equals answerp2.
50330 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
50332         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
50333         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
50335 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
50337         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
50339 2012-11-29  Roland McGrath  <roland@hack.frob.com>
50341         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
50343 2012-11-28  Jeff Law  <law@redhat.com>
50345         [BZ #13761]
50346         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
50347         dataset_temporary.  Track alloca usage into alloca_used.
50348         If dataset is large allocate and release it via malloc/free.
50350 2012-06-04  Florian Weimer  <fweimer@redhat.com>
50352         [BZ #14197]
50353         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
50355 2012-11-28  David S. Miller  <davem@davemloft.net>
50357         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50359 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
50361         [BZ #14803]
50362         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
50363         of pi/2 rounded to nearest to 64 bits.
50364         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
50365         nearest to 64 bits.
50366         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
50367         bits.
50369 2012-11-28  Jeff Law <law@redhat.com>
50370             Martin Osvald <mosvald@redhat.com>
50372         [BZ #14889]
50373         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
50374         * sunrpc/svc.c: Include time.h.
50375         (__svc_accept_failed): New function.
50376         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
50377         any reason other than EINTR, call __svc_accept_failed.
50378         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
50379         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
50381 2012-11-28  Andreas Schwab  <schwab@suse.de>
50383         * scripts/abilist.awk: Also handle indirect functions in .opd
50384         section.
50386 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
50388         [BZ #13881]
50389         * sysdeps/x86/fpu/powl_helper.c: New file.
50390         * sysdeps/x86/fpu/Makefile: Likewise.
50391         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
50392         (p3): New object.
50393         (__ieee754_powl): Use __powl_helper for finite arguments except
50394         integer exponents below 8.
50395         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
50396         (p3): New object.
50397         (__ieee754_powl): Use __powl_helper for finite arguments except
50398         integer exponents below 8.
50399         * math/libm-test.inc (pow_test): Add more tests and enable some
50400         previously disabled tests.
50401         * sysdeps/i386/fpu/libm-test-ulps: Update.
50402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50404 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50405             Carlos O'Donell  <carlos_odonell@mentor.com>
50407         * nss/makedb.c (is_prime): Assert that input is odd and greater
50408         than 4.  Note that fact in a comment too.
50409         (next_prime): Add 4 to input.
50411 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50413         [BZ #11741]
50414         * libio/Makefile (tests): Add test case tst-fwrite-error.
50415         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
50416         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
50417         * libio/tst-fwrite-error.c: New test case.
50419 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
50421         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
50422         before casting to void *.
50423         * include/libc-internal.h (__pointer_type): New macro.
50424         (__integer_if_pointer_type_sub): Likewise.
50425         (__integer_if_pointer_type): Likewise.
50426         (cast_to_integer): Likewise.
50427         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
50428         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
50429         before casting to atomic64_t.
50430         (atomic_exchange_acq): Likewise.
50431         (__arch_exchange_and_add_body): Likewise.
50432         (__arch_add_body): Likewise.
50433         (atomic_add_negative): Likewise.
50434         (atomic_add_zero): Likewise.
50436 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
50438         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
50439         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
50440         (add_fdes): Likewise.
50441         (linear_search_fdes): Likewise.
50442         (binary_search_unencoded_fdes): Likewise.
50444 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
50446         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
50448 2012-11-24  Adam Conrad  <adconrad@0c3.net>
50450         * configure.in: Autodetect C++ header directories.
50451         * configure: Regenerated.
50453 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
50455         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
50457 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
50459         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50461 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
50463         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
50464         LDBL_MANT_DIG == 106]: Disable some tests.
50465         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50466         Likewise.
50467         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
50468         Likewise.
50470         [BZ #14871]
50471         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
50472         input for small inputs.  Return +/- pi/2 for large inputs.
50473         * math/libm-test.inc (atan_test): Add more tests.
50475         * sysdeps/generic/unwind-dw2-fde-glibc.c
50476         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
50477         __attribute__ ((unused)).
50479         [BZ #14645]
50480         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
50481         x * y if x and y are nonzero and z is zero.
50483         [BZ #14811]
50484         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
50485         nonzero exponents with absolute value below 0x1p-117 to +/-
50486         0x1p-117.
50488         [BZ #14869]
50489         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
50490         up arguments below 2**-450, not just those below 2**-500.
50491         * math/libm-test.inc (hypot_test): Add another test.
50493         [BZ #14868]
50494         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
50495         Return a+b for ratio over 2**120, not 2**60.
50496         * math/libm-test.inc (hypot_test): Add another test.
50498         * math/libm-test.inc (clog_test): Use
50499         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
50500         (clog10_test): Likewise.
50502         [BZ #6778]
50503         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
50505 2012-11-22  Andreas Schwab  <schwab@suse.de>
50507         * sysdeps/i386/fpu/libm-test-ulps: Update.
50509 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
50511         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
50512         printf output with newline.
50514 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
50516         [BZ #14865]
50517         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
50518         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
50519         -z nodlopen, -z initfirst and -z execstack support.
50520         * configure: Regenerated.
50522         * elf/elf.h (DF_1_NODIRECT): New macro.
50523         (DF_1_IGNMULDEF): Likewise.
50524         (DF_1_NOKSYMS): Likewise.
50525         (DF_1_NOHDR): Likewise.
50526         (DF_1_EDITED): Likewise.
50527         (DF_1_NORELOC): Likewise.
50528         (DF_1_SYMINTPOSE): Likewise.
50529         (DF_1_GLOBAUDIT): Likewise.
50530         (DF_1_SINGLETON): Likewise.
50531         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
50532         DT_1_SUPPORTED_MASK bits.
50533         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
50535 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
50537         * sysdeps/unix/make-syscalls.sh: Document prefixes.
50539 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
50541         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
50542         macro.
50544         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
50545         (sendmmsg): Move declarations...
50546         * socket/sys/socket.h: ... here.
50547         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
50548         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
50549         include it from...
50550         * socket/recvmmsg.c: ... this new file.
50551         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
50552         (sendmmsg): Rename to __sendmmsg, create weak alias and make
50553         definition of __sendmmsg hidden.
50554         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
50555         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
50556         Move ENOSYS stub into and include it from...
50557         * socket/sendmmsg.c: ... this new file.
50558         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
50559         (sysdep_routines): Move recvmmsg and sendmmsg...
50560         * socket/Makefile (routines): ... here.
50561         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
50562         (GLIBC_PRIVATE): Add __sendmmsg.
50563         * include/sys/socket.h (__sendmmsg): Add declarations.
50564         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
50565         sendmmsg.
50567 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
50569         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
50570         variable I1 with __attribute__ ((unused)).
50571         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
50573 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
50575         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
50576         DUMMY variables with __attribute__ ((unused)).
50578         * bits/byteswap.h: Include <bits/types.h>.
50579         (__bswap_64): Use __uint64_t instead of unsigned long long int.
50581 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
50583         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
50584         string_t.  Do not manually set errno.
50585         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
50586         length with __strnlen.  Make sure to both set errno and return it on
50587         failure.
50589 2012-11-19  David S. Miller  <davem@davemloft.net>
50591         With help from Joseph Myers.
50592         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
50593         very large arguments properly.
50594         * math/libm-test.inc (atan_test): New tests.
50595         (atan2_test): New tests.
50596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50597         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50599 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
50601         [BZ #14856]
50602         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
50603         Define to 3.
50605         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
50606         [POSIX] (EADDRNOTAVAIL): Likewise.
50607         [POSIX] (EAFNOSUPPORT): Likewise.
50608         [POSIX] (EALREADY): Likewise.
50609         [POSIX] (ECONNABORTED): Likewise.
50610         [POSIX] (ECONNREFUSED): Likewise.
50611         [POSIX] (ECONNRESET): Likewise.
50612         [POSIX] (EDESTADDRREQ): Likewise.
50613         [POSIX] (EDQUOT): Likewise.
50614         [POSIX] (EHOSTUNREACH): Likewise.
50615         [POSIX] (EIDRM): Likewise.
50616         [POSIX] (EISCONN): Likewise.
50617         [POSIX] (ELOOP): Likewise.
50618         [POSIX] (EMULTIHOP): Likewise.
50619         [POSIX] (ENETDOWN): Likewise.
50620         [POSIX] (ENETUNREACH): Likewise.
50621         [POSIX] (ENOBUFS): Likewise.
50622         [POSIX] (ENODATA): Likewise.
50623         [POSIX] (ENOLINK): Likewise.
50624         [POSIX] (ENOMSG): Likewise.
50625         [POSIX] (ENOPROTOOPT): Likewise.
50626         [POSIX] (ENOSR): Likewise.
50627         [POSIX] (ENOSTR): Likewise.
50628         [POSIX] (ENOTCONN): Likewise.
50629         [POSIX] (ENOTSOCK): Likewise.
50630         [POSIX] (EOPNOTSUPP): Likewise.
50631         [POSIX] (EOVERFLOW): Likewise.
50632         [POSIX] (EPROTO): Likewise.
50633         [POSIX] (EPROTONOSUPPORT): Likewise.
50634         [POSIX] (EPROTOTYPE): Likewise.
50635         [POSIX] (ESTALE): Likewise.
50636         [POSIX] (ETIME): Likewise.
50637         [POSIX] (ETXTBSY): Likewise.
50638         [POSIX] (EWOULDBLOCK): Likewise.
50639         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
50640         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
50641         [POSIX] (SEEK_CUR): Likewise.
50642         [POSIX] (SEEK_END): Likewise.
50643         [POSIX || UNIX98] (mode_t): Do not require.
50644         [POSIX] (off_t): Likewise.
50645         [POSIX] (pid_t): Likewise.
50646         [POSIX] (sys/stat.h): Do not allow header.
50647         [POSIX] (unistd.h): Likewise.
50648         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
50649         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
50650         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
50651         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
50652         require.
50653         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
50654         sigevent): Specify elements.
50655         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
50656         entry.
50657         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
50658         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
50660         * conform/data/cpio.h-data [POSIX]: Disable whole file.
50661         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
50662         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
50663         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
50664         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
50665         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
50666         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
50667         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
50668         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
50669         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
50670         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
50671         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
50672         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
50673         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
50674         Likewise.
50675         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
50676         Likewise.
50677         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
50678         Likewise.
50679         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
50680         Likewise.
50681         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
50682         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
50683         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
50684         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
50685         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
50686         Specify lower bound on value.
50687         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
50688         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
50689         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
50690         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
50691         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
50692         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
50693         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
50694         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
50695         value.
50696         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
50697         as optional.
50698         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
50699         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
50700         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
50701         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
50702         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
50703         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
50704         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
50705         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
50706         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
50707         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
50708         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
50709         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
50710         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
50711         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
50712         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
50713         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
50714         entry.
50715         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
50716         optional.
50717         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
50718         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
50719         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
50720         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
50721         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
50722         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
50723         Likewise.
50724         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
50725         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
50726         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
50727         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
50728         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
50729         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
50730         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
50731         as optional.
50732         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
50733         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
50734         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
50735         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
50736         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
50737         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
50738         specify as optional.
50739         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
50740         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
50741         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
50742         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
50743         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
50744         [XPG3] (NL_LANGMAX): Likewise.
50745         [POSIX || XPG3] (NL_MSGMAX): Likewise.
50746         [POSIX || XPG3] (NL_NMAX): Likewise.
50747         [POSIX || XPG3] (NL_SETMAX): Likewise.
50748         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
50749         [XPG3] (NZERO): Likewise.
50750         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
50751         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
50752         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
50753         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
50754         (REG_ERANGE): Expect.
50755         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
50756         optional-constant.
50757         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
50758         Use (void) in prototype.
50759         [POSIX] (*_t): Allow.
50760         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
50761         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
50762         (WRDE_BADVAL): Expect.
50764         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
50765         expect.
50766         [XPG3 || XPG4] (O_RSYNC): Likewise.
50767         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
50768         Likewise.
50769         [XPG3 || XPG4] (pthread_sigmask): Likewise.
50770         [XPG3 || XPG4] (sigqueue): Likewise.
50771         [XPG3 || XPG4] (sigtimedwait): Likewise.
50772         [XPG3 || XPG4] (sigwaitinfo): Likewise.
50773         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
50774         [XPG3 || XPG4] (vsnprintf): Likewise.
50775         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
50776         Likewise.
50777         [XPG3 || XPG4] (blksize_t): Likewise.
50778         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
50779         Likewise.
50780         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
50781         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50782         [XPG3 || XPG4] (struct itimerspec): Likewise.
50783         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
50784         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
50785         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
50786         [XPG3 || XPG4] (clockid_t): Likewise.
50787         [XPG3 || XPG4] (timer_t): Likewise.
50788         [XPG3 || XPG4] (clock_getres): Likewise.
50789         [XPG3 || XPG4] (clock_gettime): Likewise.
50790         [XPG3 || XPG4] (clock_settime): Likewise.
50791         [XPG3 || XPG4] (nanosleep): Likewise.
50792         [XPG3 || XPG4] (timer_create): Likewise.
50793         [XPG3 || XPG4] (timer_delete): Likewise.
50794         [XPG3 || XPG4] (timer_gettime): Likewise.
50795         [XPG3 || XPG4] (timer_getoverrun): Likewise.
50796         [XPG3 || XPG4] (timer_settime): Likewise.
50797         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
50798         [XPG3 || XPG4] (getlogin_r): Likewise.
50799         [XPG3 || XPG4] (pread): Likewise.
50800         [XPG3 || XPG4] (pthread_atfork): Likewise.
50801         [XPG3 || XPG4] (pwrite): Likewise.
50803         [BZ #14835]
50804         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
50805         <bits/siginfo.h>.
50807 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
50809         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
50810         finalizing MALLSTREAM.
50812         * sysdeps/mach/hurd/syncfs.c: New file.
50814 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50816         [BZ #14719]
50817         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
50818         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
50819         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
50820         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
50821         (_nss_dns_gethostbyname4_r): Likewise.
50822         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
50823         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
50825 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
50827         [BZ #13763]
50828         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
50830 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
50832         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
50833         * elf/cache.c (print_entry): Print ",AArch64" for
50834         FLAG_AARCH64_LIB64
50836         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
50837         * elf/cache.c (print_entry): Print ",hard-float" for
50838         FLAG_ARM_LIBHF.
50840 2012-11-18  David S. Miller  <davem@davemloft.net>
50842         With help from Joseph Myers.
50843         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
50844         cutoff to 2**-13.
50845         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
50846         cutoff to 2**-25.
50847         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
50848         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
50849         small.
50850         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
50851         * math/libm-test.inc (y0_test): New tests.
50852         (y1_test): New tests.
50853         * sysdeps/i386/fpu/libm-test-ulps: Update.
50854         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50855         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50857 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
50859         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
50860         64-bit targets.
50861         * configure: Regenerated.
50863 2012-11-17  David S. Miller  <davem@davemloft.net>
50865         [BZ #14811]
50866         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
50867         nonzero exponents with absolute value below 0x1p-128 to +/-
50868         0x1p-128.
50870 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
50872         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
50874         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
50876         * posix/getconf-speclist.c: New file.
50877         * posix/posix-envs.def: Likewise.
50878         * posix/confstr.c (START_ENV_GROUP): New macro.
50879         (END_ENV_GROUP): Likewise.
50880         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50881         (KNOWN_PRESENT_ENV_STRING): Likewise.
50882         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50883         (UNKNOWN_ENVIRONMENT): Likewise.
50884         (confstr): Include posix-envs.def instead of handling
50885         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
50886         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
50887         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
50888         (END_ENV_GROUP): Likewise.
50889         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
50890         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
50891         (UNKNOWN_ENVIRONMENT): Likewise.
50892         (__sysconf): Include posix-envs.def instead of handling associated
50893         cases directly here.
50894         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
50895         preprocessing getconf-speclist.c rather than running getconf or
50896         generating empty file.
50898 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
50900         * scripts/check-local-headers.sh: Ignore 'mach' headers.
50902 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
50904         [BZ #14672]
50905         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
50907 2012-11-16  David S. Miller  <davem@davemloft.net>
50909         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
50910         smaller than LDBL_EPSILON/2.0L, just return xm1.
50912 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
50914         * elf/tst-array1.c (init): Set constructor priority to 1000.
50915         (fini): Set destructor priority to 1000.
50916         * elf/tst-array2dep.c: Likewise.
50918 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50920         [BZ #11741]
50921         * libio/fileops.c (_IO_new_file_write): Correctly return error.
50922         (_IO_new_file_xsputn): Also return EOF if none of the input
50923         data was written when overflow failed.
50924         * libio/iopadn.c (_IO_padn): Likewise.
50925         * libio/iowpadn.c (_IO_wpadn): Likewise.
50926         * stdio-common/tst-put-error.c: Add copyright notice.
50927         (do_test): Add case for printing padded string.
50928         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
50929         _IO_padn returned error.
50930         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
50931         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
50932         return EOF.
50934 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50936         * libio/libioP.h: Add comment note that the references to C++
50937         bits are now obsolete.
50939 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50941         * math/libm-test.inc (check_complex): Use asprintf.
50943 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
50945         * debug/pcprofiledump.c (print_version): Update copyright year.
50946         * malloc/memusagestat.c (print_version): Likewise.
50948 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
50950         [BZ #14831]
50951         * elf/Makefile (tests): Add tst-audit8.
50952         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
50953         ($(objpfx)tst-audit8.out): New target.
50954         (tst-audit8-ENV): New variable.
50955         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
50956         audit if l_reloc_result is NULL.
50957         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
50958         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
50959         * elf/tst-audit8.c: New file.
50961 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
50963         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
50964         * misc/Makefile (CFLAGS-select.c): Define.
50965         * posix/Makefile (CFLAGS-pause.c): Define.
50967 2012-11-13  David S. Miller  <davem@davemloft.net>
50969         * crypt/Makefile: Move test targets after toplevel Rules
50970         inclusion.  Grab any necessary sysdep routines when linking.
50971         * crypt/md5.c (md5_process_block): Remove define, we will always
50972         name it __md5_process_block.
50973         (md5_finish_ctx): Update md5_process_block call.
50974         (md5_stream): Likewise.
50975         (md5_process_bytes): Likewise.
50976         (md5_process_block): Rename to __md5_process_block and move to ...
50977         * crypt/md5-block.c: ... here.
50978         * crypt/sha256.c (sha256_process_block): Move to ...
50979         * crypt/sha256-block.c: ... here.
50980         * crypt/sha512.c (sha512_process_block): Move to ...
50981         * crypt/sha512-block.c: ... here.
50982         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
50983         path.
50984         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
50985         * sysdeps/sparc/sparc64/multiarch/Makefile
50986         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
50987         crypt subdir.
50988         (localedef-aux): Add md5 crypto assembler when in locale subdir.
50989         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
50990         multiarch changes.
50991         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
50992         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
50993         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
50994         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
50995         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
50996         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
50997         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
50998         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
50999         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
51000         file.
51001         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
51002         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
51003         file.
51004         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
51006 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
51008         * timezone/tzselect.ksh: Update from tzcode git revision
51009         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
51010         * timezone/zdump.c: Likewise.
51011         * timezone/zic.c: Likewise.
51012         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
51013         in TZVERSION setting, not $(PKGVERSION).
51014         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
51015         REPORT_BUGS_TO settings.
51017         [BZ #14838]
51018         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
51019         macro.
51021 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51023         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
51024         detection to immediately after _FP_ROUND().
51025         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
51026         bits are 0.
51028 2012-11-11  David S. Miller  <davem@davemloft.net>
51030         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
51031         inttypes.h
51032         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
51033         __close rather than their public counterparts.
51035 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
51037         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
51038         file.
51039         [UNIX98] (sem_timedwait): Do not expect.
51040         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
51041         [XPG4 || UNIX98] (sockatmark): Do not expect.
51042         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
51043         (clock_getcpuclockid): Do not expect.
51044         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
51045         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
51046         Do not expect.
51047         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
51048         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
51049         [UNIX98] (vwscanf): Likewise.
51050         [UNIX98] (vswscanf): Likewise.
51052 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
51054         * timezone/version.h: Remove file.
51055         * timezone/README: Do not refer to version.h.
51056         * timezone/Makefile ($(objpfx)zic.o): New dependency on
51057         $(objpfx)version.h.
51058         ($(objpfx)zdump.o): Likewise.
51059         ($(objpfx)version.h): New target.
51061         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
51062         2012i.
51063         * timezone/README: Don't mention modification to tzselect.ksh.
51064         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
51065         work on unmodified tzselect.ksh.  Substitute version numbers in
51066         tzselect.ksh.
51068         * Makefile (format-me): Remove.
51069         (INSTALL): Adjust indentation.  Use commands directly instead of
51070         using $(format-me).
51072         * aclocal.m4 (ACX_PKGVERSION): New macro.
51073         (ACX_BUGURL): Likewise.
51074         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
51075         (PKGVERSION): New AC_DEFINE_UNQUOTED.
51076         (REPORT_BUGS_TO): Likewise.
51077         * configure: Regenerated.
51078         * config.h.in (PKGVERSION): New macro.
51079         (REPORT_BUGS_TO): Likewise.
51080         * config.make.in (PKGVERSION): New variable.
51081         (PKGVERSION_TEXI): Likewise.
51082         (REPORT_BUGS_TO): Likewise.
51083         (REPORT_BUGS_TEXI): Likewise.
51084         * Makefile (format-me): Use -I$(common-objpfx)manual.
51085         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
51086         ($(common-objpfx)manual/%): New target.
51087         (manual/%): Remove target.
51088         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
51089         (print_version): Use PKGVERSION.
51090         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
51091         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
51092         and REPORT_BUGS_TO.
51093         ($(objpfx)xtrace): Likewise.
51094         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
51095         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
51096         (print_version): Use PKGVERSION.
51097         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
51098         (do_version): Use PKGVERSION.
51099         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
51100         REPORT_BUGS_TO.
51101         (common-ldd-rewrite): Likewise.
51102         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
51103         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
51104         (print_version): Use PKGVERSION.
51105         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
51106         * elf/pldd.c (argp_program_bug_address): Remove variable.
51107         (more_help): New function.
51108         (argp): Use more_help.
51109         (print_version): Use PKGVERSION.
51110         * elf/sln.c (main): Use PKGVERSION.
51111         (usage): Use REPORT_BUGS_TO.
51112         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
51113         (top level): Use PKGVERSION.
51114         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
51115         (print_version): Use PKGVERSION.
51116         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
51117         (print_version): Use PKGVERSION.
51118         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
51119         (print_version): Use PKGVERSION.
51120         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
51121         (print_version): Use PKGVERSION.
51122         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
51123         (print_version): Use PKGVERSION.
51124         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
51125         (print_version): Use PKGVERSION.
51126         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
51127         and BUGURL.
51128         ($(objpfx)memusage): Likewise.
51129         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
51130         (do_version): Use PKGVERSION.
51131         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
51132         (print_version): Use PKGVERSION.
51133         * malloc/mtrace.pl ($PACKAGE): Remove variable.
51134         ($PKGVERSION): New variable.
51135         ($REPORT_BUGS_TO): Likewise.
51136         (usage): Use $REPORT_BUGS_TO.
51137         (top level): Use $PKGVERSION.
51138         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
51139         ($(objpfx)pkgvers.texi): New rule.
51140         ($(objpfx)stamp-pkgvers): Likewise.
51141         * manual/install.texi: Include pkgvers.texi.
51142         (--with-pkgversion): Document new configure option.
51143         (--with-bugurl): Likewise.
51144         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
51145         than necessarily for this particular distribution.  Use
51146         REPORT_BUGS_TO for where to report bugs.
51147         * INSTALL: Regenerated.
51148         * manual/libc.texinfo: Include pkgvers.texi.
51149         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
51150         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
51151         (print_version): Use PKGVERSION.
51152         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
51153         (print_version): Use PKGVERSION.
51154         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
51155         (print_version): Use PKGVERSION.
51156         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
51157         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
51158         macro.
51159         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
51160         (print_version): Use PKGVERSION.
51161         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
51162         (print_version): Use PKGVERSION.
51163         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
51164         and PKGVERSION.
51166         * timezone/checktab.awk: Update from tzcode 2012i.
51167         * timezone/ialloc.c: Likewise.
51168         * timezone/private.h: Likewise.
51169         * timezone/scheck.c: Likewise.
51170         * timezone/tzfile.h: Likewise.
51171         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
51172         (TZVERSION): Hardcode tzcode version number.
51173         * timezone/zdump.c: Update from tzcode 2012i.
51174         * timezone/zic.c: Likewise.
51175         * timezone/version.h: New file.
51176         * timezone/README: Describe version.h.  Update upstream location.
51178         [BZ #14824]
51179         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
51180         (mktemp): Enable declaration.
51181         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
51182         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
51183         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
51184         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
51185         Likewise.
51186         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
51187         Likewise.
51188         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
51189         Likewise.
51190         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
51191         Likewise.
51192         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
51193         Likewise.
51194         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
51195         Likewise.
51197         [BZ #14821]
51198         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
51199         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
51200         for copies of such integer values.
51201         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
51202         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
51204 2012-11-09  Andreas Jaeger  <aj@suse.de>
51206         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
51207         definitions and declarations that are provided by
51208         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
51210 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51212         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
51213         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
51214         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
51215         definition.
51217 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51219         * elf/elf.h: Update comment before AArch64 relocations.
51221 2012-11-07  David S. Miller  <davem@davemloft.net>
51223         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
51224         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51225         (__start_context): Declare.
51226         (__makecontext_ret): Delete.
51227         (__makecontext): Hook up __start_context instead of
51228         __makecontext_ret.
51229         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
51230         (sysdep_routines): Add __start_context when in stdlib.
51232 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51234         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
51235         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
51236         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
51237         hardcoded "nm".
51238         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
51239         (READELF): New variable.  Use it instead of hardcoded "readelf".
51241 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
51243         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
51244         * sysdeps/x86/Makefile: Here.
51245         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
51246         * sysdeps/x86/tst-xmmymm.sh: This.
51248 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51250         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
51251         expectations.
51252         [UNIX98] (pthread_barrier_t): Do not expect.
51253         [UNIX98] (pthread_barrierattr_t): Likewise.
51254         [UNIX98] (pthread_spinlock_t): Likewise.
51255         [UNIX98] (pthread_barrier_destroy): Likewise.
51256         [UNIX98] (pthread_barrier_init): Likewise.
51257         [UNIX98] (pthread_barrier_wait): Likewise.
51258         [UNIX98] (pthread_barrierattr_destroy): Likewise.
51259         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
51260         [UNIX98] (pthread_barrierattr_init): Likewise.
51261         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
51262         [UNIX98] (pthread_getcpuclockid): Likewise.
51263         [UNIX98] (pthread_mutex_timedlock): Likewise.
51264         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
51265         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
51266         [UNIX98] (pthread_sigmask): Likewise.
51267         [UNIX98] (pthread_spin_destroy): Likewise.
51268         [UNIX98] (pthread_spin_init): Likewise.
51269         [UNIX98] (pthread_spin_lock): Likewise.
51270         [UNIX98] (pthread_spin_trylock): Likewise.
51271         [UNIX98] (pthread_spin_unlock): Likewise.
51272         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
51273         Do not expect.
51274         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
51275         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
51276         [XPG3 || XPG4] (pthread_cond_t): Likewise.
51277         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
51278         [XPG3 || XPG4] (pthread_key_t): Likewise.
51279         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
51280         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
51281         [XPG3 || XPG4] (pthread_once_t): Likewise.
51282         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
51283         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
51284         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
51285         [XPG3 || XPG4] (pthread_t): Likewise.
51287         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
51288         not expect.
51289         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
51291         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
51292         Change function return type to int.
51294         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
51295         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
51296         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
51297         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
51298         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
51299         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
51300         [!POSIX] (posix_madvise): Likewise.
51301         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
51302         && !UNIX98].
51303         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
51304         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
51305         (mode_t): Likewise.
51306         (posix_mem_offset): Likewise.
51307         (posix_typed_mem_get_info): Likewise.
51308         (posix_typed_mem_open): Likewise.
51310         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
51311         Change condition to [XOPEN2K8].
51313         * conform/conformtest.pl: Preprocess allow-header data with -x c
51314         instead of from stdin.
51315         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
51316         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
51317         [C99-based standards] (cerfc): Likewise.
51318         [C99-based standards] (cexp2): Likewise.
51319         [C99-based standards] (cexpm1): Likewise.
51320         [C99-based standards] (clog10): Likewise.
51321         [C99-based standards] (clog1p): Likewise.
51322         [C99-based standards] (clog2): Likewise.
51323         [C99-based standards] (clgamma): Likewise.
51324         [C99-based standards] (ctgamma): Likewise.
51325         [C99-based standards] (cerff): Likewise.
51326         [C99-based standards] (cerfcf): Likewise.
51327         [C99-based standards] (cexp2f): Likewise.
51328         [C99-based standards] (cexpm1f): Likewise.
51329         [C99-based standards] (clog10f): Likewise.
51330         [C99-based standards] (clog1pf): Likewise.
51331         [C99-based standards] (clog2f): Likewise.
51332         [C99-based standards] (clgammaf): Likewise.
51333         [C99-based standards] (ctgammaf): Likewise.
51334         [C99-based standards] (cerfl): Likewise.
51335         [C99-based standards] (cerfcl): Likewise.
51336         [C99-based standards] (cexp2l): Likewise.
51337         [C99-based standards] (cexpm1l): Likewise.
51338         [C99-based standards] (clog10l): Likewise.
51339         [C99-based standards] (clog1pl): Likewise.
51340         [C99-based standards] (clog2l): Likewise.
51341         [C99-based standards] (clgammal): Likewise.
51342         [C99-based standards] (ctgammal): Likewise.
51343         * conform/data/inttypes.h-data [C99-based standards]: Include
51344         stdint.h-data.  Remove all expectations for stdint.h contents.
51345         [C99-based standards] (PRI*): Do not allow.
51346         [C99-based standards] (SCN*): Likewise.
51347         [C99-based standards] (*_t): Likewise.
51348         [C99-based-standards] (PRId8): Expect macro.
51349         [C99-based-standards] (PRIi8): Likewise.
51350         [C99-based-standards] (PRIo8): Likewise.
51351         [C99-based-standards] (PRIu8): Likewise.
51352         [C99-based-standards] (PRIx8): Likewise.
51353         [C99-based-standards] (PRIX8): Likewise.
51354         [C99-based-standards] (SCNd8): Likewise.
51355         [C99-based-standards] (SCNi8): Likewise.
51356         [C99-based-standards] (SCNo8): Likewise.
51357         [C99-based-standards] (SCNu8): Likewise.
51358         [C99-based-standards] (SCNx8): Likewise.
51359         [C99-based-standards] (PRIdLEAST8): Likewise.
51360         [C99-based-standards] (PRIiLEAST8): Likewise.
51361         [C99-based-standards] (PRIoLEAST8): Likewise.
51362         [C99-based-standards] (PRIuLEAST8): Likewise.
51363         [C99-based-standards] (PRIxLEAST8): Likewise.
51364         [C99-based-standards] (PRIXLEAST8): Likewise.
51365         [C99-based-standards] (SCNdLEAST8): Likewise.
51366         [C99-based-standards] (SCNiLEAST8): Likewise.
51367         [C99-based-standards] (SCNoLEAST8): Likewise.
51368         [C99-based-standards] (SCNuLEAST8): Likewise.
51369         [C99-based-standards] (SCNxLEAST8): Likewise.
51370         [C99-based-standards] (PRIdFAST8): Likewise.
51371         [C99-based-standards] (PRIiFAST8): Likewise.
51372         [C99-based-standards] (PRIoFAST8): Likewise.
51373         [C99-based-standards] (PRIuFAST8): Likewise.
51374         [C99-based-standards] (PRIxFAST8): Likewise.
51375         [C99-based-standards] (PRIXFAST8): Likewise.
51376         [C99-based-standards] (SCNdFAST8): Likewise.
51377         [C99-based-standards] (SCNiFAST8): Likewise.
51378         [C99-based-standards] (SCNoFAST8): Likewise.
51379         [C99-based-standards] (SCNuFAST8): Likewise.
51380         [C99-based-standards] (SCNxFAST8): Likewise.
51381         [C99-based-standards] (PRId16): Likewise.
51382         [C99-based-standards] (PRIi16): Likewise.
51383         [C99-based-standards] (PRIo16): Likewise.
51384         [C99-based-standards] (PRIu16): Likewise.
51385         [C99-based-standards] (PRIx16): Likewise.
51386         [C99-based-standards] (PRIX16): Likewise.
51387         [C99-based-standards] (SCNd16): Likewise.
51388         [C99-based-standards] (SCNi16): Likewise.
51389         [C99-based-standards] (SCNo16): Likewise.
51390         [C99-based-standards] (SCNu16): Likewise.
51391         [C99-based-standards] (SCNx16): Likewise.
51392         [C99-based-standards] (PRIdLEAST16): Likewise.
51393         [C99-based-standards] (PRIiLEAST16): Likewise.
51394         [C99-based-standards] (PRIoLEAST16): Likewise.
51395         [C99-based-standards] (PRIuLEAST16): Likewise.
51396         [C99-based-standards] (PRIxLEAST16): Likewise.
51397         [C99-based-standards] (PRIXLEAST16): Likewise.
51398         [C99-based-standards] (SCNdLEAST16): Likewise.
51399         [C99-based-standards] (SCNiLEAST16): Likewise.
51400         [C99-based-standards] (SCNoLEAST16): Likewise.
51401         [C99-based-standards] (SCNuLEAST16): Likewise.
51402         [C99-based-standards] (SCNxLEAST16): Likewise.
51403         [C99-based-standards] (PRIdFAST16): Likewise.
51404         [C99-based-standards] (PRIiFAST16): Likewise.
51405         [C99-based-standards] (PRIoFAST16): Likewise.
51406         [C99-based-standards] (PRIuFAST16): Likewise.
51407         [C99-based-standards] (PRIxFAST16): Likewise.
51408         [C99-based-standards] (PRIXFAST16): Likewise.
51409         [C99-based-standards] (SCNdFAST16): Likewise.
51410         [C99-based-standards] (SCNiFAST16): Likewise.
51411         [C99-based-standards] (SCNoFAST16): Likewise.
51412         [C99-based-standards] (SCNuFAST16): Likewise.
51413         [C99-based-standards] (SCNxFAST16): Likewise.
51414         [C99-based-standards] (PRId32): Likewise.
51415         [C99-based-standards] (PRIi32): Likewise.
51416         [C99-based-standards] (PRIo32): Likewise.
51417         [C99-based-standards] (PRIu32): Likewise.
51418         [C99-based-standards] (PRIx32): Likewise.
51419         [C99-based-standards] (PRIX32): Likewise.
51420         [C99-based-standards] (SCNd32): Likewise.
51421         [C99-based-standards] (SCNi32): Likewise.
51422         [C99-based-standards] (SCNo32): Likewise.
51423         [C99-based-standards] (SCNu32): Likewise.
51424         [C99-based-standards] (SCNx32): Likewise.
51425         [C99-based-standards] (PRIdLEAST32): Likewise.
51426         [C99-based-standards] (PRIiLEAST32): Likewise.
51427         [C99-based-standards] (PRIoLEAST32): Likewise.
51428         [C99-based-standards] (PRIuLEAST32): Likewise.
51429         [C99-based-standards] (PRIxLEAST32): Likewise.
51430         [C99-based-standards] (PRIXLEAST32): Likewise.
51431         [C99-based-standards] (SCNdLEAST32): Likewise.
51432         [C99-based-standards] (SCNiLEAST32): Likewise.
51433         [C99-based-standards] (SCNoLEAST32): Likewise.
51434         [C99-based-standards] (SCNuLEAST32): Likewise.
51435         [C99-based-standards] (SCNxLEAST32): Likewise.
51436         [C99-based-standards] (PRIdFAST32): Likewise.
51437         [C99-based-standards] (PRIiFAST32): Likewise.
51438         [C99-based-standards] (PRIoFAST32): Likewise.
51439         [C99-based-standards] (PRIuFAST32): Likewise.
51440         [C99-based-standards] (PRIxFAST32): Likewise.
51441         [C99-based-standards] (PRIXFAST32): Likewise.
51442         [C99-based-standards] (SCNdFAST32): Likewise.
51443         [C99-based-standards] (SCNiFAST32): Likewise.
51444         [C99-based-standards] (SCNoFAST32): Likewise.
51445         [C99-based-standards] (SCNuFAST32): Likewise.
51446         [C99-based-standards] (SCNxFAST32): Likewise.
51447         [C99-based-standards] (PRId64): Likewise.
51448         [C99-based-standards] (PRIi64): Likewise.
51449         [C99-based-standards] (PRIo64): Likewise.
51450         [C99-based-standards] (PRIu64): Likewise.
51451         [C99-based-standards] (PRIx64): Likewise.
51452         [C99-based-standards] (PRIX64): Likewise.
51453         [C99-based-standards] (SCNd64): Likewise.
51454         [C99-based-standards] (SCNi64): Likewise.
51455         [C99-based-standards] (SCNo64): Likewise.
51456         [C99-based-standards] (SCNu64): Likewise.
51457         [C99-based-standards] (SCNx64): Likewise.
51458         [C99-based-standards] (PRIdLEAST64): Likewise.
51459         [C99-based-standards] (PRIiLEAST64): Likewise.
51460         [C99-based-standards] (PRIoLEAST64): Likewise.
51461         [C99-based-standards] (PRIuLEAST64): Likewise.
51462         [C99-based-standards] (PRIxLEAST64): Likewise.
51463         [C99-based-standards] (PRIXLEAST64): Likewise.
51464         [C99-based-standards] (SCNdLEAST64): Likewise.
51465         [C99-based-standards] (SCNiLEAST64): Likewise.
51466         [C99-based-standards] (SCNoLEAST64): Likewise.
51467         [C99-based-standards] (SCNuLEAST64): Likewise.
51468         [C99-based-standards] (SCNxLEAST64): Likewise.
51469         [C99-based-standards] (PRIdFAST64): Likewise.
51470         [C99-based-standards] (PRIiFAST64): Likewise.
51471         [C99-based-standards] (PRIoFAST64): Likewise.
51472         [C99-based-standards] (PRIuFAST64): Likewise.
51473         [C99-based-standards] (PRIxFAST64): Likewise.
51474         [C99-based-standards] (PRIXFAST64): Likewise.
51475         [C99-based-standards] (SCNdFAST64): Likewise.
51476         [C99-based-standards] (SCNiFAST64): Likewise.
51477         [C99-based-standards] (SCNoFAST64): Likewise.
51478         [C99-based-standards] (SCNuFAST64): Likewise.
51479         [C99-based-standards] (SCNxFAST64): Likewise.
51480         [C99-based-standards] (PRIdMAX): Likewise.
51481         [C99-based-standards] (PRIiMAX): Likewise.
51482         [C99-based-standards] (PRIoMAX): Likewise.
51483         [C99-based-standards] (PRIuMAX): Likewise.
51484         [C99-based-standards] (PRIxMAX): Likewise.
51485         [C99-based-standards] (PRIXMAX): Likewise.
51486         [C99-based-standards] (SCNdMAX): Likewise.
51487         [C99-based-standards] (SCNiMAX): Likewise.
51488         [C99-based-standards] (SCNoMAX): Likewise.
51489         [C99-based-standards] (SCNuMAX): Likewise.
51490         [C99-based-standards] (SCNxMAX): Likewise.
51491         [C99-based-standards] (PRIdPTR): Likewise.
51492         [C99-based-standards] (PRIiPTR): Likewise.
51493         [C99-based-standards] (PRIoPTR): Likewise.
51494         [C99-based-standards] (PRIuPTR): Likewise.
51495         [C99-based-standards] (PRIxPTR): Likewise.
51496         [C99-based-standards] (PRIXPTR): Likewise.
51497         [C99-based-standards] (SCNdPTR): Likewise.
51498         [C99-based-standards] (SCNiPTR): Likewise.
51499         [C99-based-standards] (SCNoPTR): Likewise.
51500         [C99-based-standards] (SCNuPTR): Likewise.
51501         [C99-based-standards] (SCNxPTR): Likewise.
51502         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
51503         allow.
51504         * conform/data/stdint.h-data: Update comments to clarify
51505         requirements.
51506         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
51507         type.
51508         [C99-based standards] (INT8_MAX): Likewise.
51509         [C99-based standards] (INT16_MIN): Likewise.
51510         [C99-based standards] (INT16_MAX): Likewise.
51511         [C99-based standards] (INT32_MIN): Likewise.
51512         [C99-based standards] (INT32_MAX): Likewise.
51513         [C99-based standards] (INT64_MIN): Likewise.
51514         [C99-based standards] (INT64_MAX): Likewise.
51515         [C99-based standards] (UINT8_MAX): Likewise.
51516         [C99-based standards] (UINT16_MAX): Likewise.
51517         [C99-based standards] (UINT32_MAX): Likewise.
51518         [C99-based standards] (UINT64_MAX): Likewise.
51519         [C99-based standards] (INT_LEAST8_MIN): Likewise.
51520         [C99-based standards] (INT_LEAST8_MAX): Likewise.
51521         [C99-based standards] (INT_LEAST16_MIN): Likewise.
51522         [C99-based standards] (INT_LEAST16_MAX): Likewise.
51523         [C99-based standards] (INT_LEAST32_MIN): Likewise.
51524         [C99-based standards] (INT_LEAST32_MAX): Likewise.
51525         [C99-based standards] (INT_LEAST64_MIN): Likewise.
51526         [C99-based standards] (INT_LEAST64_MAX): Likewise.
51527         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
51528         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
51529         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
51530         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
51531         [C99-based standards] (INT_FAST8_MIN): Likewise.
51532         [C99-based standards] (INT_FAST8_MAX): Likewise.
51533         [C99-based standards] (INT_FAST16_MIN): Likewise.
51534         [C99-based standards] (INT_FAST16_MAX): Likewise.
51535         [C99-based standards] (INT_FAST32_MIN): Likewise.
51536         [C99-based standards] (INT_FAST32_MAX): Likewise.
51537         [C99-based standards] (INT_FAST64_MIN): Likewise.
51538         [C99-based standards] (INT_FAST64_MAX): Likewise.
51539         [C99-based standards] (UINT_FAST8_MAX): Likewise.
51540         [C99-based standards] (UINT_FAST16_MAX): Likewise.
51541         [C99-based standards] (UINT_FAST32_MAX): Likewise.
51542         [C99-based standards] (UINT_FAST64_MAX): Likewise.
51543         [C99-based standards] (INTPTR_MIN): Likewise.
51544         [C99-based standards] (INTPTR_MAX): Likewise.
51545         [C99-based standards] (UINTPTR_MAX): Likewise.
51546         [C99-based standards] (INTMAX_MIN): Likewise.
51547         [C99-based standards] (INTMAX_MAX): Likewise.
51548         [C99-based standards] (UINTMAX_MAX): Likewise.
51549         [C99-based standards] (PTRDIFF_MIN): Likewise.
51550         [C99-based standards] (PTRDIFF_MAX): Likewise.
51551         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
51552         [C99-based standards] (SIZE_MAX): Likewise.
51553         [C99-based standards] (WCHAR_MAX): Likewise.
51554         [C99-based standards] (WINT_MAX): Likewise.
51555         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
51556         constraint on value.
51557         [C99-based standards] (WCHAR_MIN): Likewise.
51558         [C99-based standards] (WINT_MIN): Likewise.
51559         [C99-based standards] (*_t): Allow.
51560         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
51561         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
51562         Include math.h-data and complex.h-data.  Remove all expectations
51563         of math.h and complex.h contents.
51564         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
51565         at end of line.
51566         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
51567         (struct tm): Expect tag.
51568         [C99-based-standards] (wcstof): Expect function.
51569         [C99-based-standards] (wcstold): Likewise.
51570         [C99-based-standards] (wcstoll): Likewise.
51571         [C99-based-standards] (wcstoull): Likewise.
51572         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
51573         macro-int-constant.  Specify type.
51574         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
51575         constraint on value.
51576         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51577         Specify type.
51578         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
51579         Specify value.
51580         [ISO C standards]: Do not allow headers.
51581         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
51582         wcs[abcdefghijklmnopqrstuvwxyz]*.
51583         [ISO C standards] (*_t): Do not allow.
51584         * conform/data/wctype.h-data [C99-based standards] (iswblank):
51585         Expect function.
51586         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
51587         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
51588         Specify type.
51589         [ISO C standards]: Do not allow headers.
51590         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
51591         is[abcdefghijklmnopqrstuvwxyz]*.
51592         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
51593         to[abcdefghijklmnopqrstuvwxyz]*.
51594         [ISO C standards] (*_t): Do not allow.
51595         * conform/data/stdalign.h-data: New file.
51596         * conform/data/stdbool.h-data: Likewise.
51597         * conform/data/stdnoreturn.h-data: Likewise.
51599 2012-11-07  Roland McGrath  <roland@hack.frob.com>
51601         [BZ #14815]
51602         * manual/filesys.texi (Directory Entries): Typo fix.
51603         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
51605 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51607         * elf/elf.h (EM_AARCH64): New macro.
51608         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
51609         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
51610         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
51611         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
51612         (R_AARCH64_TLSDESC): Likewise.
51613         (NT_ARM_TLS): Likewise.
51614         (NT_ARM_HW_BREAK): Likewise.
51615         (NT_ARM_HW_WATCH): Likewise.
51617 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51619         [BZ #14811]
51620         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
51621         (__ieee754_powl): Saturate nonzero exponents with absolute value
51622         below 0x1p-79 to +/- 0x1p-79.
51623         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
51624         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
51625         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
51626         nonzero exponents with absolute value below 0x1p-32 to +/-
51627         0x1p-32.
51628         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
51629         (__ieee754_powl): Saturate nonzero exponents with absolute value
51630         below 0x1p-79 to +/- 0x1p-79.
51631         * math/libm-test.inc (pow_test): Add more tests.
51633 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51635         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
51636         _dl_s390_cap_flags with kernel. Increase string length.
51637         (_dl_s390_platforms): Add z196 and zEC12.
51639 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
51641         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
51642         Change XOPEN21K to XOPEN2K.
51644 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
51646         * string/memmove.c: Use memcpy when possible.
51648 2012-11-06  Andreas Jaeger  <aj@suse.de>
51650         * po/eo.po: Update from translation team.
51652 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
51654         [BZ #14793]
51655         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
51656         exponent and small x and y exponents, scale x or y up.  Increase
51657         by 2 the exponent used in scaling up.
51658         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51659         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51660         * math/libm-test.inc (fma_test): Add more tests.
51661         (fma_test_towardzero): Likewise.
51662         (fma_test_downward): Likewise.
51663         (fma_test_upward): Likewise.
51665 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
51667         [BZ #14805]
51668         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
51669         fenv_t *.
51671         [BZ #14801]
51672         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
51673         namespace for names of struct fields.
51674         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
51675         fenv_t fields.
51676         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
51677         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
51679 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51681         [BZ #3665]
51682         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
51684 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51686         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
51687         PTR_DEMANGLE.
51689         [BZ #5246]
51690         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
51691         PTR_DEMANGLE.
51693 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
51695         [BZ #14797]
51696         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
51697         definitely overflow as x * y not x * y + z.
51698         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
51699         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
51700         * math/libm-test.inc (fma_test): Add more tests.
51701         (fma_test_towardzero): Likewise.
51702         (fma_test_downward): Likewise.
51703         (fma_test_upward): Likewise.
51705 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
51707         [BZ #157]
51709         * include/stub-tag.h: Remove file.
51710         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
51711         '#include' of it.
51712         * manual/maint.texi (Porting): Don't reference it.
51713         * Makerules ($(objpfx)stubs): Likewise.
51714         * dirent/closedir.c: Don't include <stub-tag.h>.
51715         * dirent/dirfd.c: Likewise.
51716         * dirent/fdopendir.c: Likewise.
51717         * dirent/getdents.c: Likewise.
51718         * dirent/getdents64.c: Likewise.
51719         * dirent/opendir.c: Likewise.
51720         * dirent/readdir.c: Likewise.
51721         * dirent/readdir64.c: Likewise.
51722         * dirent/readdir64_r.c: Likewise.
51723         * dirent/readdir_r.c: Likewise.
51724         * dirent/rewinddir.c: Likewise.
51725         * dirent/seekdir.c: Likewise.
51726         * dirent/telldir.c: Likewise.
51727         * gmon/profil.c: Likewise.
51728         * grp/setgroups.c: Likewise.
51729         * inet/if_index.c: Likewise.
51730         * io/access.c: Likewise.
51731         * io/chdir.c: Likewise.
51732         * io/chmod.c: Likewise.
51733         * io/chown.c: Likewise.
51734         * io/close.c: Likewise.
51735         * io/dup.c: Likewise.
51736         * io/dup2.c: Likewise.
51737         * io/dup3.c: Likewise.
51738         * io/euidaccess.c: Likewise.
51739         * io/faccessat.c: Likewise.
51740         * io/fchdir.c: Likewise.
51741         * io/fchmod.c: Likewise.
51742         * io/fchmodat.c: Likewise.
51743         * io/fchown.c: Likewise.
51744         * io/fchownat.c: Likewise.
51745         * io/fcntl.c: Likewise.
51746         * io/flock.c: Likewise.
51747         * io/fstatfs.c: Likewise.
51748         * io/fstatfs64.c: Likewise.
51749         * io/fstatvfs.c: Likewise.
51750         * io/fstatvfs64.c: Likewise.
51751         * io/futimens.c: Likewise.
51752         * io/fxstat.c: Likewise.
51753         * io/fxstat64.c: Likewise.
51754         * io/fxstatat.c: Likewise.
51755         * io/fxstatat64.c: Likewise.
51756         * io/getcwd.c: Likewise.
51757         * io/isatty.c: Likewise.
51758         * io/lchmod.c: Likewise.
51759         * io/lchown.c: Likewise.
51760         * io/link.c: Likewise.
51761         * io/linkat.c: Likewise.
51762         * io/lseek.c: Likewise.
51763         * io/lseek64.c: Likewise.
51764         * io/lxstat64.c: Likewise.
51765         * io/mkdir.c: Likewise.
51766         * io/mkdirat.c: Likewise.
51767         * io/mkfifo.c: Likewise.
51768         * io/mkfifoat.c: Likewise.
51769         * io/open.c: Likewise.
51770         * io/open64.c: Likewise.
51771         * io/openat.c: Likewise.
51772         * io/openat64.c: Likewise.
51773         * io/pipe.c: Likewise.
51774         * io/pipe2.c: Likewise.
51775         * io/poll.c: Likewise.
51776         * io/posix_fadvise.c: Likewise.
51777         * io/posix_fadvise64.c: Likewise.
51778         * io/posix_fallocate.c: Likewise.
51779         * io/posix_fallocate64.c: Likewise.
51780         * io/read.c: Likewise.
51781         * io/readlink.c: Likewise.
51782         * io/readlinkat.c: Likewise.
51783         * io/rmdir.c: Likewise.
51784         * io/sendfile.c: Likewise.
51785         * io/sendfile64.c: Likewise.
51786         * io/statfs.c: Likewise.
51787         * io/statfs64.c: Likewise.
51788         * io/statvfs.c: Likewise.
51789         * io/statvfs64.c: Likewise.
51790         * io/symlink.c: Likewise.
51791         * io/symlinkat.c: Likewise.
51792         * io/ttyname.c: Likewise.
51793         * io/ttyname_r.c: Likewise.
51794         * io/umask.c: Likewise.
51795         * io/unlink.c: Likewise.
51796         * io/unlinkat.c: Likewise.
51797         * io/utime.c: Likewise.
51798         * io/utimensat.c: Likewise.
51799         * io/write.c: Likewise.
51800         * io/xmknod.c: Likewise.
51801         * io/xmknodat.c: Likewise.
51802         * io/xstat.c: Likewise.
51803         * io/xstat64.c: Likewise.
51804         * login/getpt.c: Likewise.
51805         * login/grantpt.c: Likewise.
51806         * login/unlockpt.c: Likewise.
51807         * math/e_acoshl.c: Likewise.
51808         * math/e_acosl.c: Likewise.
51809         * math/e_asinl.c: Likewise.
51810         * math/e_atan2l.c: Likewise.
51811         * math/e_atanhl.c: Likewise.
51812         * math/e_coshl.c: Likewise.
51813         * math/e_expl.c: Likewise.
51814         * math/e_fmodl.c: Likewise.
51815         * math/e_gammal_r.c: Likewise.
51816         * math/e_hypotl.c: Likewise.
51817         * math/e_j0l.c: Likewise.
51818         * math/e_j1l.c: Likewise.
51819         * math/e_jnl.c: Likewise.
51820         * math/e_lgammal_r.c: Likewise.
51821         * math/e_log10l.c: Likewise.
51822         * math/e_log2l.c: Likewise.
51823         * math/e_logl.c: Likewise.
51824         * math/e_powl.c: Likewise.
51825         * math/e_rem_pio2l.c: Likewise.
51826         * math/e_sinhl.c: Likewise.
51827         * math/e_sqrtl.c: Likewise.
51828         * math/fclrexcpt.c: Likewise.
51829         * math/fedisblxcpt.c: Likewise.
51830         * math/feenablxcpt.c: Likewise.
51831         * math/fegetenv.c: Likewise.
51832         * math/fegetexcept.c: Likewise.
51833         * math/fegetround.c: Likewise.
51834         * math/feholdexcpt.c: Likewise.
51835         * math/fesetenv.c: Likewise.
51836         * math/fesetround.c: Likewise.
51837         * math/feupdateenv.c: Likewise.
51838         * math/fgetexcptflg.c: Likewise.
51839         * math/fraiseexcpt.c: Likewise.
51840         * math/fsetexcptflg.c: Likewise.
51841         * math/ftestexcept.c: Likewise.
51842         * math/k_cosl.c: Likewise.
51843         * math/k_rem_pio2l.c: Likewise.
51844         * math/k_sinl.c: Likewise.
51845         * math/k_tanl.c: Likewise.
51846         * math/s_asinhl.c: Likewise.
51847         * math/s_atanl.c: Likewise.
51848         * math/s_cbrtl.c: Likewise.
51849         * math/s_erfl.c: Likewise.
51850         * math/s_expm1l.c: Likewise.
51851         * math/s_log1pl.c: Likewise.
51852         * math/s_tanhl.c: Likewise.
51853         * misc/acct.c: Likewise.
51854         * misc/brk.c: Likewise.
51855         * misc/chflags.c: Likewise.
51856         * misc/chroot.c: Likewise.
51857         * misc/fchflags.c: Likewise.
51858         * misc/fgetxattr.c: Likewise.
51859         * misc/flistxattr.c: Likewise.
51860         * misc/fremovexattr.c: Likewise.
51861         * misc/fsetxattr.c: Likewise.
51862         * misc/fsync.c: Likewise.
51863         * misc/ftruncate.c: Likewise.
51864         * misc/futimes.c: Likewise.
51865         * misc/futimesat.c: Likewise.
51866         * misc/getdomain.c: Likewise.
51867         * misc/getdtsz.c: Likewise.
51868         * misc/gethostid.c: Likewise.
51869         * misc/gethostname.c: Likewise.
51870         * misc/getloadavg.c: Likewise.
51871         * misc/getpagesize.c: Likewise.
51872         * misc/getsysstats.c: Likewise.
51873         * misc/getxattr.c: Likewise.
51874         * misc/gtty.c: Likewise.
51875         * misc/ioctl.c: Likewise.
51876         * misc/lgetxattr.c: Likewise.
51877         * misc/listxattr.c: Likewise.
51878         * misc/llistxattr.c: Likewise.
51879         * misc/lremovexattr.c: Likewise.
51880         * misc/lsetxattr.c: Likewise.
51881         * misc/lutimes.c: Likewise.
51882         * misc/madvise.c: Likewise.
51883         * misc/mincore.c: Likewise.
51884         * misc/mlock.c: Likewise.
51885         * misc/mlockall.c: Likewise.
51886         * misc/mmap.c: Likewise.
51887         * misc/mprotect.c: Likewise.
51888         * misc/msync.c: Likewise.
51889         * misc/munlock.c: Likewise.
51890         * misc/munlockall.c: Likewise.
51891         * misc/munmap.c: Likewise.
51892         * misc/preadv.c: Likewise.
51893         * misc/preadv64.c: Likewise.
51894         * misc/ptrace.c: Likewise.
51895         * misc/pwritev.c: Likewise.
51896         * misc/pwritev64.c: Likewise.
51897         * misc/readv.c: Likewise.
51898         * misc/reboot.c: Likewise.
51899         * misc/remap_file_pages.c: Likewise.
51900         * misc/removexattr.c: Likewise.
51901         * misc/revoke.c: Likewise.
51902         * misc/select.c: Likewise.
51903         * misc/setdomain.c: Likewise.
51904         * misc/setegid.c: Likewise.
51905         * misc/seteuid.c: Likewise.
51906         * misc/sethostid.c: Likewise.
51907         * misc/sethostname.c: Likewise.
51908         * misc/setregid.c: Likewise.
51909         * misc/setreuid.c: Likewise.
51910         * misc/setxattr.c: Likewise.
51911         * misc/sstk.c: Likewise.
51912         * misc/stty.c: Likewise.
51913         * misc/swapoff.c: Likewise.
51914         * misc/swapon.c: Likewise.
51915         * misc/sync.c: Likewise.
51916         * misc/syncfs.c: Likewise.
51917         * misc/syscall.c: Likewise.
51918         * misc/truncate.c: Likewise.
51919         * misc/ualarm.c: Likewise.
51920         * misc/usleep.c: Likewise.
51921         * misc/ustat.c: Likewise.
51922         * misc/utimes.c: Likewise.
51923         * misc/vhangup.c: Likewise.
51924         * misc/writev.c: Likewise.
51925         * posix/_exit.c: Likewise.
51926         * posix/alarm.c: Likewise.
51927         * posix/execve.c: Likewise.
51928         * posix/fexecve.c: Likewise.
51929         * posix/fork.c: Likewise.
51930         * posix/fpathconf.c: Likewise.
51931         * posix/getaddrinfo.c: Likewise.
51932         * posix/getegid.c: Likewise.
51933         * posix/geteuid.c: Likewise.
51934         * posix/getgid.c: Likewise.
51935         * posix/getgroups.c: Likewise.
51936         * posix/getlogin.c: Likewise.
51937         * posix/getlogin_r.c: Likewise.
51938         * posix/getpgid.c: Likewise.
51939         * posix/getpid.c: Likewise.
51940         * posix/getppid.c: Likewise.
51941         * posix/getresgid.c: Likewise.
51942         * posix/getresuid.c: Likewise.
51943         * posix/getsid.c: Likewise.
51944         * posix/getuid.c: Likewise.
51945         * posix/glob64.c: Likewise.
51946         * posix/nanosleep.c: Likewise.
51947         * posix/pathconf.c: Likewise.
51948         * posix/pause.c: Likewise.
51949         * posix/posix_madvise.c: Likewise.
51950         * posix/pread.c: Likewise.
51951         * posix/pread64.c: Likewise.
51952         * posix/pwrite.c: Likewise.
51953         * posix/pwrite64.c: Likewise.
51954         * posix/sched_getaffinity.c: Likewise.
51955         * posix/sched_getp.c: Likewise.
51956         * posix/sched_gets.c: Likewise.
51957         * posix/sched_primax.c: Likewise.
51958         * posix/sched_primin.c: Likewise.
51959         * posix/sched_rr_gi.c: Likewise.
51960         * posix/sched_setaffinity.c: Likewise.
51961         * posix/sched_setp.c: Likewise.
51962         * posix/sched_sets.c: Likewise.
51963         * posix/sched_yield.c: Likewise.
51964         * posix/setgid.c: Likewise.
51965         * posix/setlogin.c: Likewise.
51966         * posix/setpgid.c: Likewise.
51967         * posix/setresgid.c: Likewise.
51968         * posix/setresuid.c: Likewise.
51969         * posix/setsid.c: Likewise.
51970         * posix/setuid.c: Likewise.
51971         * posix/sleep.c: Likewise.
51972         * posix/spawni.c: Likewise.
51973         * posix/sysconf.c: Likewise.
51974         * posix/times.c: Likewise.
51975         * posix/wait.c: Likewise.
51976         * posix/wait3.c: Likewise.
51977         * posix/wait4.c: Likewise.
51978         * posix/waitpid.c: Likewise.
51979         * resolv/gai_sigqueue.c: Likewise.
51980         * resource/getpriority.c: Likewise.
51981         * resource/getrlimit.c: Likewise.
51982         * resource/getrusage.c: Likewise.
51983         * resource/nice.c: Likewise.
51984         * resource/setpriority.c: Likewise.
51985         * resource/setrlimit.c: Likewise.
51986         * resource/ulimit.c: Likewise.
51987         * rt/aio_cancel.c: Likewise.
51988         * rt/aio_fsync.c: Likewise.
51989         * rt/aio_read.c: Likewise.
51990         * rt/aio_sigqueue.c: Likewise.
51991         * rt/aio_suspend.c: Likewise.
51992         * rt/aio_write.c: Likewise.
51993         * rt/clock_getres.c: Likewise.
51994         * rt/clock_gettime.c: Likewise.
51995         * rt/clock_nanosleep.c: Likewise.
51996         * rt/clock_settime.c: Likewise.
51997         * rt/lio_listio.c: Likewise.
51998         * rt/mq_close.c: Likewise.
51999         * rt/mq_getattr.c: Likewise.
52000         * rt/mq_notify.c: Likewise.
52001         * rt/mq_open.c: Likewise.
52002         * rt/mq_receive.c: Likewise.
52003         * rt/mq_send.c: Likewise.
52004         * rt/mq_setattr.c: Likewise.
52005         * rt/mq_timedreceive.c: Likewise.
52006         * rt/mq_timedsend.c: Likewise.
52007         * rt/mq_unlink.c: Likewise.
52008         * rt/shm_open.c: Likewise.
52009         * rt/shm_unlink.c: Likewise.
52010         * rt/timer_create.c: Likewise.
52011         * rt/timer_delete.c: Likewise.
52012         * rt/timer_getoverr.c: Likewise.
52013         * rt/timer_gettime.c: Likewise.
52014         * rt/timer_settime.c: Likewise.
52015         * setjmp/__longjmp.c: Likewise.
52016         * setjmp/setjmp.c: Likewise.
52017         * signal/kill.c: Likewise.
52018         * signal/killpg.c: Likewise.
52019         * signal/raise.c: Likewise.
52020         * signal/sigaction.c: Likewise.
52021         * signal/sigaltstack.c: Likewise.
52022         * signal/sigblock.c: Likewise.
52023         * signal/sigignore.c: Likewise.
52024         * signal/sigintr.c: Likewise.
52025         * signal/signal.c: Likewise.
52026         * signal/sigpause.c: Likewise.
52027         * signal/sigpending.c: Likewise.
52028         * signal/sigqueue.c: Likewise.
52029         * signal/sigreturn.c: Likewise.
52030         * signal/sigset.c: Likewise.
52031         * signal/sigsetmask.c: Likewise.
52032         * signal/sigstack.c: Likewise.
52033         * signal/sigsuspend.c: Likewise.
52034         * signal/sigtimedwait.c: Likewise.
52035         * signal/sigvec.c: Likewise.
52036         * signal/sigwait.c: Likewise.
52037         * signal/sigwaitinfo.c: Likewise.
52038         * signal/sysv_signal.c: Likewise.
52039         * socket/accept.c: Likewise.
52040         * socket/accept4.c: Likewise.
52041         * socket/bind.c: Likewise.
52042         * socket/connect.c: Likewise.
52043         * socket/getpeername.c: Likewise.
52044         * socket/getsockname.c: Likewise.
52045         * socket/getsockopt.c: Likewise.
52046         * socket/isfdtype.c: Likewise.
52047         * socket/listen.c: Likewise.
52048         * socket/recv.c: Likewise.
52049         * socket/recvfrom.c: Likewise.
52050         * socket/recvmsg.c: Likewise.
52051         * socket/send.c: Likewise.
52052         * socket/sendmsg.c: Likewise.
52053         * socket/sendto.c: Likewise.
52054         * socket/setsockopt.c: Likewise.
52055         * socket/shutdown.c: Likewise.
52056         * socket/sockatmark.c: Likewise.
52057         * socket/socket.c: Likewise.
52058         * socket/socketpair.c: Likewise.
52059         * stdio-common/ctermid.c: Likewise.
52060         * stdio-common/cuserid.c: Likewise.
52061         * stdio-common/remove.c: Likewise.
52062         * stdio-common/rename.c: Likewise.
52063         * stdio-common/renameat.c: Likewise.
52064         * stdio-common/tempname.c: Likewise.
52065         * stdlib/getcontext.c: Likewise.
52066         * stdlib/makecontext.c: Likewise.
52067         * stdlib/setcontext.c: Likewise.
52068         * stdlib/swapcontext.c: Likewise.
52069         * stdlib/system.c: Likewise.
52070         * streams/fattach.c: Likewise.
52071         * streams/fdetach.c: Likewise.
52072         * streams/getmsg.c: Likewise.
52073         * streams/getpmsg.c: Likewise.
52074         * streams/putmsg.c: Likewise.
52075         * streams/putpmsg.c: Likewise.
52076         * sysdeps/unix/bsd/getpt.c: Likewise.
52077         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
52078         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
52079         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52081         Likewise.
52082         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
52083         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52084         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
52085         * sysvipc/msgctl.c: Likewise.
52086         * sysvipc/msgget.c: Likewise.
52087         * sysvipc/msgrcv.c: Likewise.
52088         * sysvipc/msgsnd.c: Likewise.
52089         * sysvipc/semctl.c: Likewise.
52090         * sysvipc/semget.c: Likewise.
52091         * sysvipc/semop.c: Likewise.
52092         * sysvipc/semtimedop.c: Likewise.
52093         * sysvipc/shmat.c: Likewise.
52094         * sysvipc/shmctl.c: Likewise.
52095         * sysvipc/shmdt.c: Likewise.
52096         * sysvipc/shmget.c: Likewise.
52097         * termios/tcdrain.c: Likewise.
52098         * termios/tcflow.c: Likewise.
52099         * termios/tcflush.c: Likewise.
52100         * termios/tcgetattr.c: Likewise.
52101         * termios/tcgetpgrp.c: Likewise.
52102         * termios/tcsendbrk.c: Likewise.
52103         * termios/tcsetattr.c: Likewise.
52104         * termios/tcsetpgrp.c: Likewise.
52105         * time/adjtime.c: Likewise.
52106         * time/clock.c: Likewise.
52107         * time/getitimer.c: Likewise.
52108         * time/gettimeofday.c: Likewise.
52109         * time/setitimer.c: Likewise.
52110         * time/settimeofday.c: Likewise.
52111         * time/stime.c: Likewise.
52112         * time/time.c: Likewise.
52114 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
52116         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
52117         /usr/old/bin.
52119         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
52120         instead of spaces.
52121         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
52123 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
52125         [BZ #14796]
52126         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
52127         FE_TONEAREST before applying Dekker multiplication and Knuth
52128         addition.  Clear inexact exceptions and check for exact zero
52129         results afterwards.
52130         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52131         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
52132         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52133         * math/libm-test.inc (fma_test): Add more tests.
52134         (fma_test_towardzero): Likewise.
52135         (fma_test_downward): Likewise.
52136         (fma_test_upward): Likewise.
52137         * sysdeps/generic/math_private.h (default_libc_fesetround): New
52138         function.
52139         (libc_fesetround): New macro.
52140         (libc_fesetroundf): Likewise.
52141         (libc_fesetroundl): Likewise.
52142         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
52143         function.
52144         (libc_fesetround_387): Likewise.
52145         (libc_fesetroundf): New macro.
52146         (libc_fesetround): Likewise.
52147         (libc_fesetroundl): Likewise.
52148         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
52149         function.
52150         (libc_fesetroundf): New macro.
52151         (libc_fesetround): Likewise.
52152         (libc_fesetroundl): Likewise.
52153         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
52154         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
52155         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
52156         libm_hidden_ver.
52157         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
52158         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
52159         libm_hidden_def.
52160         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
52161         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
52162         libm_hidden_ver.
52163         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
52164         libm_hidden_def.
52166         [BZ #3439]
52167         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
52168         integer constant usable in #if and use that to give value to enum
52169         constant.
52170         (FE_DIVBYZERO): Likewise.
52171         (FE_UNDERFLOW): Likewise.
52172         (FE_OVERFLOW): Likewise.
52173         (FE_INVALID): Likewise.
52174         (FE_INVALID_SNAN): Likewise.
52175         (FE_INVALID_ISI): Likewise.
52176         (FE_INVALID_IDI): Likewise.
52177         (FE_INVALID_ZDZ): Likewise.
52178         (FE_INVALID_IMZ): Likewise.
52179         (FE_INVALID_COMPARE): Likewise.
52180         (FE_INVALID_SOFTWARE): Likewise.
52181         (FE_INVALID_SQRT): Likewise.
52182         (FE_INVALID_INTEGER_CONVERSION): Likewise.
52183         (FE_TONEAREST): Likewise.
52184         (FE_TOWARDZERO): Likewise.
52185         (FE_UPWARD): Likewise.
52186         (FE_DOWNWARD): Likewise.
52187         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
52188         (FE_DIVBYZERO): Likewise.
52189         (FE_OVERFLOW): Likewise.
52190         (FE_UNDERFLOW): Likewise.
52191         (FE_INEXACT): Likewise.
52192         (FE_TONEAREST): Likewise.
52193         (FE_DOWNWARD): Likewise.
52194         (FE_UPWARD): Likewise.
52195         (FE_TOWARDZERO): Likewise.
52196         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
52197         (FE_UNDERFLOW): Likewise.
52198         (FE_OVERFLOW): Likewise.
52199         (FE_DIVBYZERO): Likewise.
52200         (FE_INVALID): Likewise.
52201         (FE_TONEAREST): Likewise.
52202         (FE_TOWARDZERO): Likewise.
52203         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
52204         (FE_OVERFLOW): Likewise.
52205         (FE_UNDERFLOW): Likewise.
52206         (FE_DIVBYZERO): Likewise.
52207         (FE_INEXACT): Likewise.
52208         (FE_TONEAREST): Likewise.
52209         (FE_TOWARDZERO): Likewise.
52210         (FE_UPWARD): Likewise.
52211         (FE_DOWNWARD): Likewise.
52212         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
52213         (FE_DIVBYZERO): Likewise.
52214         (FE_OVERFLOW): Likewise.
52215         (FE_UNDERFLOW): Likewise.
52216         (FE_INEXACT): Likewise.
52217         (FE_TONEAREST): Likewise.
52218         (FE_DOWNWARD): Likewise.
52219         (FE_UPWARD): Likewise.
52220         (FE_TOWARDZERO): Likewise.
52222 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
52224         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
52226 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
52228         * scripts/cross-test-ssh.sh (command): Use newlines to separate
52229         commands.  Quote $PWD.
52230         (blacklist_exports): Don't use remove_newlines.  Replace "declare
52231         -x" by "export".
52232         (remove_newlines): Remove.
52234 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
52236         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
52237         * stdlib/stdlib.h (atof): Moved to ...
52238         * include/bits/stdlib-float.h: Here.  New file.
52239         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
52240         * stdlib/bits/stdlib-float.h: New file.
52241         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
52242         -mno-sse -mno-mmx.
52243         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
52244         <xmmintrin.h>.
52246 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
52248         * conform/conformtest.pl (@headers): Add fenv.h.
52249         * conform/data/fenv.h-data: New file.
52250         * include/fenv.h [_ISOMAC]: Disable all contents of file except
52251         include of <math/fenv.h>.
52253         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
52254         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
52255         && !UNIX98].  Enables tests for XOPEN2K8.
52256         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
52257         POSIX2008]: Likewise.
52259         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
52260         (struct rusage): Do not expect type or its members.
52262         [BZ #3439]
52263         * math/math.h (FP_NAN): Define macro to integer constant usable in
52264         #if and use that to give value to enum constant.
52265         (FP_INFINITE): Likewise.
52266         (FP_ZERO): Likewise.
52267         (FP_SUBNORMAL): Likewise.
52268         (FP_NORMAL): Likewise.
52270 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
52272         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
52273         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
52274         arguments.
52276 2012-11-02  Roland McGrath  <roland@hack.frob.com>
52278         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
52279         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
52280         autoconf-time if not.
52281         * configure.in: Remove AC_PREREQ.
52283 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52285         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
52286         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
52287         of the internal implementation.
52289 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
52291         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
52292         except include of <misc/sys/syslog.h>.
52294 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
52297         function returns with a NULL context exit with zero.
52299 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52301         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
52303 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
52305         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
52306         (run_program_cmd): This.
52307         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
52308         (tst_langinfo): New variable.  Use it.
52310 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
52312         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
52313         floating point opcodes.
52315 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52317         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
52318         variable.
52320         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
52322         * sysdeps/mach/hurd/powerpc: Remove directory.
52323         * sysdeps/mach/powerpc: Likewise.
52325 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
52327         * scripts/check-local-headers.sh: Ignore c++ headers.
52329 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52331         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
52332         __libc_cleanup_region_start argument.
52334 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
52336         [BZ #14784]
52337         [BZ #14785]
52338         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
52339         x * y using scaling, not as x * y + z.
52340         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52341         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52342         * math/libm-test.inc (fma_test): Add more tests.
52343         (fma_test_towardzero): Likewise.
52344         (fma_test_downward): Likewise.
52345         (fma_test_upward): Likewise.
52347 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
52349         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
52351 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
52353         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
52354         New variable.
52356 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
52358         * rt/tst-shm.c (worker): Correct checking for mmap failure.
52360 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
52362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52363         Fix sort order.
52364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52365         Likewise.
52367 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52370         Fix the order of the list for glibc 2.17.
52371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52372         Likewise.
52374 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
52376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52378 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
52380         [BZ #14610]
52381         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
52382         for low part of x being zero before using __atanl (y).
52383         * math/libm-test.inc (atan2_test): Add another test.
52385         * manual/install.texi (Configuring and compiling): Document
52386         general use of test-wrapper and test-wrapper-env.
52387         * INSTALL: Regenerated.
52389         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
52390         (__fma): Do not extract and scale down low bits on after-rounding
52391         systems when result rounded to normal precision would have normal
52392         exponent.
52393         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
52394         (__fmal): Do not extract and scale down low bits on after-rounding
52395         systems when result rounded to normal precision would have normal
52396         exponent.
52397         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
52398         (__fmal): Do not extract and scale down low bits on after-rounding
52399         systems when result rounded to normal precision would have normal
52400         exponent.
52401         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
52402         macro.
52403         (fma_test): Add more tests.
52404         (fma_test_towardzero): Likewise.
52405         (fma_test_downward): Likewise.
52406         (fma_test_upward): Likewise.
52408 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
52410         * sysdeps/i386/tininess.h: Renamed to ...
52411         * sysdeps/x86/tininess.h: This.
52412         * sysdeps/x86_64/tininess.h: Removed.
52414 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
52416         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
52417         input.  Use $(build-program-cmd).
52418         ($(objpfx)tst-array1-static.out): Likewise.
52419         ($(objpfx)tst-array2.out): Likewise.
52420         ($(objpfx)tst-array3.out): Likewise.
52421         ($(objpfx)tst-array4.out): Likewise.
52422         ($(objpfx)tst-array5.out): Likewise.
52423         ($(objpfx)tst-array5-static.out): Likewise.
52425 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
52427         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
52428         if defined.
52430         * nss/nsswitch.h (nss_interface_function): Provide new
52431         macro for use with NSS functions.
52432         * grp/initgroups.c: Use new macro.
52433         * nss/getXXbyYY.c: Likewise.
52434         * nss/getXXbyYY_r.c: Likewise.
52435         * nss/getXXent.c: Likewise.
52436         * nss/getXXent_r.c: Likewise.
52437         * sysdeps/posix/getaddrinfo.c: Likewise.
52439 2012-10-30  Andreas Jaeger  <aj@suse.de>
52441         * po/ru.po: Update Russion translation from translation project.
52443 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
52445         [BZ #14152]
52446         [BZ #14783]
52447         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
52448         result and shift together with sticky bit instead of replicating
52449         round-to-nearest rounding.
52450         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
52451         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
52452         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
52453         missing underflow exceptions.
52454         (fma_test_towardzero): Add more tests.
52455         (fma_test_downward): Likewise.
52456         (fma_test_upward): Likewise.
52458         [BZ #14047]
52459         * sysdeps/generic/tininess.h: New file.
52460         * sysdeps/i386/tininess.h: Likewise.
52461         * sysdeps/sh/tininess.h: Likewise.
52462         * sysdeps/x86_64/tininess.h: Likewise.
52463         * stdlib/tst-strtod-underflow.c: Likewise.
52464         * stdlib/tst-tininess.c: Likewise.
52465         * stdlib/strtod_l.c: Include <tininess.h>.
52466         (round_and_return): Do not set errno for exact underflow cases.
52467         Force an underflow exception when setting errno for underflow.
52468         Determine underflow based on rounding to normal precision if
52469         TININESS_AFTER_ROUNDING.
52470         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
52471         ERANGE for exact underflow cases.
52472         * stdlib/Makefile (tests): Add tst-tininess and
52473         tst-strtod-underflow.
52474         ($(objpfx)tst-tininess): Use $(link-libm).
52475         ($(objpfx)tst-strtod-underflow): Likewise.
52477 2012-10-30  Andreas Jaeger  <aj@suse.de>
52479         [BZ#14767]
52480         * elf/Makefile (tests): Remove conditional for have-initfini-array
52481         since this is now always required and the variable does not exist
52482         anymore.
52483         (tests-static): Likewise.
52484         (modules-names): Likewise.
52486         * po/eo.po: Add Esperanto translation from translation project.
52488         * elf/tst-array1.c (fini_array): Make writeable so that it can be
52489         merged with constructor/destructor.
52490         (init_array): Likewise.
52491         * elf/tst-array2dep.c (fini_array): Likewise.
52492         (init_array): Likewise.
52494 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
52496         * manual/message.texi: Delete @cartouche tags.
52498 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
52500         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
52501         EOPNOTSUPP.
52502         * sysdeps/mach/hurd/fsync.c: Likewise.
52504         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
52505         [_POSIX_REALTIME_SIGNALS]: Change condition to
52506         [_POSIX_REALTIME_SIGNALS > 0].
52508 2012-10-27  Andreas Jaeger  <aj@suse.de>
52510         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
52511         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
52512         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
52513         [__WORDSIZE != 64]: Likewise.
52515 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
52517         *  iconvdata/tst-table.sh: Remove ${SHELL}.
52518         *  iconvdata/tst-tables.sh: Likewise.
52520 2012-10-25  David S. Miller  <davem@davemloft.net>
52522         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52523         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
52524         of strtoull.
52526         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
52527         ifunc-impl-list.c
52528         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52529         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
52530         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
52531         file.
52533 2012-10-25  Roland McGrath  <roland@hack.frob.com>
52535         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52536         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
52537         __getdirentries.
52539 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
52540             Jim Blandy  <jimb@codesourcery.com>
52542         * scripts/cross-test-ssh.sh: New file.
52543         * manual/install.texi (Configuring and compiling): Document use of
52544         cross-test-ssh.sh.
52545         * INSTALL: Regenerated.
52547 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
52549         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
52550         EOPNOTSUPP.
52552 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
52554         * Makeconfig (run-program-prefix): Fix comment.
52556 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
52557             Jim Blandy  <jimb@codesourcery.com>
52559         * Makeconfig (test-wrapper): New variable,
52560         (test-wrapper-env): Likewise.
52561         [$(cross-compiling) = yes && $(test-wrapper) != ""]
52562         (run-built-tests): Define to yes.
52563         (run-program-prefix): Use $(test-wrapper).
52564         (built-program-cmd): Likewise.
52565         * Rules (make-test-out): Use $(test-wrapper-env) and
52566         $(host-built-program-cmd).
52567         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
52568         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
52569         tst-pathopt.sh.
52570         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
52571         $(test-wrapper-env) to tst-rtld-load-self.sh.
52572         ($(objpfx)order2.out): Use $(test-wrapper).
52573         ($(objpfx)tst-initorder.out): Likewise.
52574         ($(objpfx)tst-initorder2.out): Likewise.
52575         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
52576         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
52577         (test_wrapper_env): New variable.  Use it to run ld.so.
52578         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
52579         Use it to run ld.so.
52580         (test_wrapper_env): Likewise.
52581         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
52582         $(test-wrapper) to run-iconv-test.sh.
52583         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
52584         (ICONV): Use $test_wrapper.
52585         * posix/Makefile ($(objpfx)globtest.out): Pass
52586         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
52587         globtest.sh, not $(run-program-prefix).
52588         * posix/globtest.sh (run_via_rtld_prefix): New variable.
52589         (test_wrapper): Likewise.
52590         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
52591         set together with run_via_rtld_prefix.
52592         (run_program_prefix): Define in terms of test_wrapper and
52593         run_via_rtld_prefix.
52595 2012-10-24  Roland McGrath  <roland@hack.frob.com>
52597         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
52598         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
52599         Targets removed.
52601         [BZ #14743]
52602         * include/time.h: Remove librt_hidden_proto (clock_gettime).
52603         Declare __clock_getres, __clock_gettime, __clock_settime,
52604         __clock_nanosleep, and __clock_getcpuclockid.
52605         * rt/clock_gettime.c: Define __clock_gettime as an alias.
52606         Remove librt_hidden_def (clock_gettime).
52607         * sysdeps/unix/clock_gettime.c: Likewise.
52608         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
52609         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
52610         * rt/clock_getres.c: Define __clock_getres as an alias.
52611         * sysdeps/posix/clock_getres.c: Likewise.
52612         * rt/clock_settime.c: Define __clock_settime as an alias.
52613         * sysdeps/unix/clock_settime.c: Likewise.
52614         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
52615         * sysdeps/unix/clock_nanosleep.c: Likewise.
52616         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
52617         * rt/clock-compat.c: New file.
52618         * rt/Makefile (librt-routines): Add clock-compat and move
52619         $(clock-routines) to ...
52620         (routines): ... here, new variable.
52621         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
52622         Don't add get_clockfreq here.
52623         * rt/Versions (libc: GLIBC_2.17): New version set.
52624         Add clock_* symbols here.
52625         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
52626         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
52627         (GLIBC_2.17): Add clock_* symbols.
52628         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
52629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
52630         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
52631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52632         Likewise.
52633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52634         Likewise.
52635         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
52636         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
52637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
52638         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
52639         * NEWS: Mention the move.
52641         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
52642         Use __open, __read, __close rather than their public counterparts.
52643         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
52644         (__get_clockfreq_via_cpuinfo): Likewise.
52645         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
52646         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
52648         * config.h.in (HAVE_IFUNC): New #undef.
52649         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
52650         was successful.
52651         * configure: Regenerated.
52653 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52655         * configure.in: Move READELF check to start of file.
52656         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
52657         libc_cv_asm_gnu_indirect_function in the process.
52658         * configure: Regenerated.
52660 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
52662         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
52663         send the output to /dev/null.
52664         (libc_cv_cc_with_libunwind): Likewise.
52665         (libc_cv_as_noexecstack): Likewise.
52666         * configure: Regenerate.
52668 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
52670         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
52672         * posix/globtest.sh (TMPDIR): Do not set.
52673         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
52674         (testout): Likewise.
52676 2012-10-24  Andreas Jaeger  <aj@suse.de>
52678         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
52679         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
52680         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
52681         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
52682         posix_fadvise64, posix_fallocate64.
52684         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
52685         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
52686         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
52687         Likewise.
52688         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
52689         Likewise.
52690         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
52692         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
52693         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
52694         <bits/fcntl-linux.h>.
52695         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
52697         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
52698         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
52699         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
52700         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
52701         [__WORDSIZE != 64]: Likewise.
52703 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
52705         * Makeconfig (run-built-tests): New variable.
52706         * Rules [$(cross-compiling) = yes]: Change condition to
52707         [$(run-built-tests) = no].
52708         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
52709         to [$(run-built-tests) = yes].
52710         * elf/Makefile [$(cross-compiling) = no]: Likewise.
52711         * grp/Makefile [$(cross-compiling) = no]: Likewise.
52712         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
52713         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
52714         * intl/Makefile [$(cross-compiling) = no]: Likewise.
52715         * io/Makefile [$(cross-compiling) = no]: Likewise.
52716         * libio/Makefile [$(cross-compiling) = no]: Likewise.
52717         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
52718         * misc/Makefile [$(cross-compiling) = no]: Likewise.
52719         * posix/Makefile [$(cross-compiling) = no]: Likewise.
52720         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
52721         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
52722         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
52723         * string/Makefile [$(cross-compiling) = no]: Likewise.
52725         * posix/Makefile ($(objpfx)globtest.out): Pass
52726         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
52727         $(rtld-installed-name).
52728         * posix/globtest.sh (elf_objpfx): Remove variable.
52729         (rtld_installed_name): Likewise.
52730         (library_path): Likewise.
52731         (run_program_prefix): New variable.  Use for running globtest
52732         binary.
52734 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
52735             Joseph Myers  <joseph@codesourcery.com>
52737         * Makeconfig (host-built-program-cmd): New variable.
52738         * elf/Makefile (tst-stackguard1-ARGS): Use
52739         $(host-built-program-cmd).
52740         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
52741         (tst-spawn-ARGS): Likewise.
52742         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
52744 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
52745             Jim Blandy  <jimb@codesourcery.com>
52747         * Makeconfig (run-via-rtld-prefix): New variable.
52748         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
52749         (built-program-cmd): Likewise.
52751 2012-10-22  Andreas Jaeger  <aj@suse.de>
52753         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
52754         __O_RSYNC if it exists, otherwise to O_SYNC.
52756 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
52757             Joseph Myers  <joseph@codesourcery.com>
52759         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
52760         /dev/null.
52761         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
52762         from /dev/null
52763         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
52764         /dev/null.
52766 2012-10-22  Andreas Jaeger  <aj@suse.de>
52768         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
52769         Define always.
52770         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
52772         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52773         bits/fcntl-linux.h.
52775         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
52776         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
52778         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
52779         to __O_LARGEFILE.
52780         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
52781         to __O_LARGEFILE.
52783 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
52784             Joseph Myers  <joseph@codesourcery.com>
52786         * config.make.in (NM): New variable.
52788 2012-10-21  Andreas Jaeger  <aj@suse.de>
52790         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
52791         definitions and declarations that are provided by
52792         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
52794 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
52796         [BZ #14683]
52797         * elf/Makefile (tests-static): Add tst-leaks1-static.
52798         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
52799         ($(objpfx)tst-leaks1-static): New rule.
52800         ($(objpfx)tst-leaks1-static-mem): Likewise.
52801         (tst-leaks1-static-ENV): New macro.
52802         * elf/dl-open.c (dl_open_worker): Check the main application
52803         only if SHARED is defined.
52804         * elf/tst-leaks1-static.c: New file.
52806 2012-10-20  Andreas Jaeger  <aj@suse.de>
52808         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
52809         generic values for Linux.
52810         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
52811         and declarations that are provided by <bits/fcntl-linux.h> and
52812         include <bits/fcntl-linux.h>.
52813         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52814         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52816 2012-10-20  Roland McGrath  <roland@hack.frob.com>
52818         * io/fcntl.h: Move include of <bits/types.h> to the top and
52819         include it unconditionally.
52821 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
52823         * wcsmbs/Makefile (tests-ifunc): New variable.
52824         (tests): Add $(tests-ifunc).
52825         * wcsmbs/test-wcschr-ifunc.c: New file.
52826         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
52827         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
52828         * wcsmbs/test-wcslen-ifunc.c: Likewise.
52829         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
52830         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
52832         * string/Makefile (tests-ifunc): New variable.
52833         (tests): Add $(tests-ifunc).
52834         * string/test-memccpy.c (TEST_NAME): New macro.
52835         * string/test-memchr.c (TEST_NAME): Likewise.
52836         * string/test-memcmp.c (TEST_NAME): Likewise.
52837         * string/test-memcpy.c (TEST_NAME): Likewise.
52838         * string/test-memmem.c (TEST_NAME): Likewise.
52839         * string/test-memmove.c (TEST_NAME): Likewise.
52840         * string/test-memset.c (TEST_NAME): Likewise.
52841         * string/test-rawmemchr.c (TEST_NAME): Likewise.
52842         * string/test-stpcpy.c (TEST_NAME): Likewise.
52843         * string/test-stpncpy.c (TEST_NAME): Likewise.
52844         * string/test-strcasecmp.c (TEST_NAME): Likewise.
52845         * string/test-strcasestr.c (TEST_NAME): Likewise.
52846         * string/test-strcat.c (TEST_NAME): Likewise.
52847         * string/test-strchr.c (TEST_NAME): Likewise.
52848         * string/test-strcmp.c(TEST_NAME): Likewise.
52849         * string/test-strcpy.c (TEST_NAME): Likewise.
52850         * string/test-strcspn.c (TEST_NAME): Likewise.
52851         * string/test-strlen.c (TEST_NAME): Likewise.
52852         * string/test-strncasecmp.c (TEST_NAME): Likewise.
52853         * string/test-strncmp.c (TEST_NAME): Likewise.
52854         * string/test-strncpy.c (TEST_NAME): Likewise.
52855         * string/test-strnlen.c (TEST_NAME): Likewise.
52856         * string/test-strpbrk.c (TEST_NAME): Likewise.
52857         * string/test-strrchr.c (TEST_NAME): Likewise.
52858         * string/test-strspn.c (TEST_NAME): Likewise.
52859         * string/test-strstr.c (TEST_NAME): Likewise.
52860         * string/test-bcopy-ifunc.c: New file.
52861         * string/test-bzero-ifunc.c: Likewise.
52862         * string/test-memccpy-ifunc.c: Likewise.
52863         * string/test-memchr-ifunc.c: Likewise.
52864         * string/test-memcmp-ifunc.c: Likewise.
52865         * string/test-memcpy-ifunc.c: Likewise.
52866         * string/test-memmem-ifunc.c: Likewise.
52867         * string/test-memmove-ifunc.c: Likewise.
52868         * string/test-mempcpy-ifunc.c: Likewise.
52869         * string/test-memset-ifunc.c: Likewise.
52870         * string/test-rawmemchr-ifunc.c: Likewise.
52871         * string/test-stpcpy-ifunc.c: Likewise.
52872         * string/test-stpncpy-ifunc.c: Likewise.
52873         * string/test-strcasecmp-ifunc.c: Likewise.
52874         * string/test-strcasestr-ifunc.c: Likewise.
52875         * string/test-strcat-ifunc.c: Likewise.
52876         * string/test-strchr-ifunc.c: Likewise.
52877         * string/test-strchrnul-ifunc.c: Likewise.
52878         * string/test-strcmp-ifunc.c: Likewise.
52879         * string/test-strcpy-ifunc.c: Likewise.
52880         * string/test-strcspn-ifunc.c: Likewise.
52881         * string/test-strlen-ifunc.c: Likewise.
52882         * string/test-strncasecmp-ifunc.c: Likewise.
52883         * string/test-strncat-ifunc.c: Likewise.
52884         * string/test-strncmp-ifunc.c: Likewise.
52885         * string/test-strncpy-ifunc.c: Likewise.
52886         * string/test-strnlen-ifunc.c: Likewise.
52887         * string/test-strpbrk-ifunc.c: Likewise.
52888         * string/test-strrchr-ifunc.c: Likewise.
52889         * string/test-strspn-ifunc.c: Likewise.
52890         * string/test-strstr-ifunc.c: Likewise.
52892         * debug/Makefile (tests-ifunc): New variable.
52893         (tests): Add $(tests-ifunc).
52894         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
52895         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
52896         * debug/test-stpcpy_chk-ifunc.c: New file.
52897         * debug/test-strcpy_chk-ifunc.c: Likewise.
52899 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52901         [BZ #13601]
52902         * elf/dl-load.c (open_verify): Retry read if the entire ELF
52903         header is not read in.
52905 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
52907         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
52908         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
52909         directly.  Pass built executable to script as
52910         $(built-program-cmd).
52911         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
52912         $testprogram without using LD_LIBRARY_PATH and $ldso.
52914         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
52915         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
52916         $(rtld-installed-name).
52917         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
52918         (rtld_installed_name): Likewise.
52919         (library_path): Likewise.
52920         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
52921         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
52922         $(run-program-prefix) to tst-tables.sh.
52923         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
52924         it to run tst-table-from and tst-table-to.
52925         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
52926         Pass it to tst-table.sh.
52927         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
52928         $(run-program-prefix) to tst-gettext.sh.
52929         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
52930         tst-translit.sh.
52931         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
52932         tst-gettext2.sh.
52933         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
52934         to run tst-gettext.
52935         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
52936         to run tst-gettext2.
52937         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
52938         to run tst-translit.
52939         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
52940         $(run-program-prefix) to tst-mtrace.sh.
52941         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
52942         to run tst-mtrace.
52943         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
52944         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
52945         $(rtld-installed-name).
52946         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
52947         (rtld_installed_name): Likewise.
52948         (run_program_prefix): New variable.  Use it to run wordexp-test.
52950         * Makeconfig (ARCH): Remove all definitions.
52951         (machine): Likewise.
52952         [ARCH]: Remove conditional code.
52953         [!objdir]: Give error.
52954         [!objdir] (objpfx): Remove.
52955         [!objdir] (common-objpfx): Likewise.
52956         [!objdir] (common-objdir): Likewise.
52957         * configure.in (config_makefile): Remove.  Hardcode Makefile in
52958         AC_CONFIG_FILES call.
52959         * configure: Regenerated.
52961         [BZ #13888]
52962         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
52963         or TMPDIR.
52964         (testout): Likewise.
52966         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
52967         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
52968         $(rtld-installed-name).
52969         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
52970         (rtld_installed_name): Likwise.
52971         (runit): Remove function.
52972         (run_getconf): New variable,  Use it for running getconf binary.
52974 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
52976         [BZ #14716]
52977         * string/test-memmem.c (check_result): New function.
52978         (do_one_test): Use it.
52979         (check1): New function.
52980         (test_main): Use it.
52982 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
52984         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
52986 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
52988         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
52989         (_G_LSEEK64): Likewise.
52990         (_G_MMAP64): Likewise.
52991         (_G_FSTAT64): Likewise.
52992         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
52993         (_G_LSEEK64): Likewise.
52994         (_G_MMAP64): Likewise.
52995         (_G_FSTAT64): Likewise.
52996         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
52997         unconditional.  Call __mmap64 directly.
52998         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
52999         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
53000         __lseek64 directly.
53001         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
53002         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
53003         __mmap64 directly.
53004         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
53005         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
53006         __lseek64 directly.
53007         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
53008         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
53009         __lseek64 directly.
53010         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
53011         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
53012         __lseek64 directly.
53013         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
53014         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
53015         __fxstat64 directly.
53016         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
53017         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
53018         unconditional.
53019         (freopen64) [!_G_OPEN64]: Remove conditional code.
53020         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
53021         unconditional.
53022         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
53023         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
53024         unconditional.
53025         (ftello64) [!_G_LSEEK64]: Remove conditional code.
53026         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
53027         unconditional.
53028         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53029         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
53030         unconditional.
53031         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
53032         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
53033         unconditional.
53034         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53035         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
53036         unconditional.
53037         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
53038         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
53039         unconditional.
53040         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
53042 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53044         [BZ #12140]
53045         * manual/memory.texi (Malloc Tunable Parameters): Add note
53046         about free list pointers overwriting some perturb bytes.
53047         Wording suggested by Roland McGrath.
53049 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
53051         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
53052         (lgamma_test): Likewise.
53053         (tgamma_test): Likewise.
53055 2012-10-16  Florian Weimer  <fweimer@redhat.com>
53057         [BZ #14700]
53058         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
53059         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
53061 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
53063         * NEWS: Mention BZ #14716.
53064         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
53065         when removing AVAILABLE1_USES_J macro.
53067 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
53069         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
53070         (__bswap_64): __uint64_t for unsigned 64-bit int.
53072 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
53074         * include/string.h (memmem): Declare libc hidden alias.
53075         * string/memmem.c (memmem): Define libc hidden alias.
53076         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
53077         __read, __close instead of open, read, close.
53079 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
53081         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
53082         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
53083         global and hidden.
53084         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
53085         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
53086         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
53087         Likewise.
53088         (__rawmemchr_sse2): Likewise.
53089         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
53090         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
53091         (__strchr_sse2): Likewise.
53092         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
53093         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
53094         (__strcasecmp_sse2): Likewise.
53095         (__strncasecmp_sse2): Likewise.
53096         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
53097         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
53098         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
53099         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
53100         (__strrchr_sse2): Likewise.
53101         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
53102         ifunc-impl-list.c.
53103         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
53104         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
53105         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
53106         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
53107         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
53108         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
53109         * sysdeps/x86_64/multiarch/memset.S: Likewise.
53110         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
53111         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
53112         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
53113         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
53114         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
53115         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
53116         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
53117         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
53118         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
53119         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
53120         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
53121         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
53122         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
53123         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
53124         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
53125         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
53126         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
53127         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
53128         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53129         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
53130         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
53131         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
53132         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
53134         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
53135         global and hidden.
53136         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
53137         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
53138         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
53139         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
53140         Likewise.
53141         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
53142         Likewise.
53143         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
53144         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
53145         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
53146         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
53147         ifunc-impl-list.c.
53148         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53149         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53150         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53151         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53152         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53153         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53154         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53155         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53156         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53157         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53158         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53159         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53160         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53161         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
53162         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
53163         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53164         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
53165         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
53166         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53167         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53168         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53169         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53170         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53171         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53172         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53173         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
53174         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
53175         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
53176         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
53177         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53178         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
53179         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53180         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53181         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
53182         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53183         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53184         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53185         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53186         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53187         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53188         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
53190         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
53191         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
53192         * include/ifunc-impl-list.h: New file.
53193         * misc/ifunc-impl-list.c: Likewise.
53194         * misc/Makefile (routines): Add ifunc-impl-list.
53195         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
53196         * string/test-string.h: Include <ifunc-impl-list.h>.
53197         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
53198         TEST_NAME]: New variables.
53199         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
53200         are defined.
53201         (test_init): Call __libc_ifunc_impl_list to initialize
53202         func_list if TEST_IFUNC and TEST_NAME are defined.
53204         * string/Makefile (strop-tests): Add bcopy and bzero.
53205         * string/test-bcopy.c: New file.
53206         * string/test-bzero.c: Likewise.
53207         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
53208         defined.
53209         * string/test-memset.c: Support bzero test if TEST_BZERO is
53210         defined.
53211         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
53212         __libc_memmove.
53213         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
53214         __libc_memset.
53215         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
53216         of memset.
53218 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
53220         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
53221         * configure: Regenerated.
53223         * Makeconfig (+link-static-before-libc): Don't include
53224         $(link-static-libc).
53226         * libio/libio.h (_IO_pos_t): Remove.
53228 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53230         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
53231         McGrath.
53233 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53235         * crypt/crypt-entry.c: Include fips-private.h.
53236         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
53237         * crypt/md5c-test.c (main): Tolerate disabled MD5.
53238         * sysdeps/unix/sysv/linux/fips-private.h: New file.
53239         * sysdeps/generic/fips-private.h: New file, dummy fallback.
53241 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
53243         * crypt/crypt-private.h: Include stdbool.h.
53244         (_ufc_setup_salt_r): Return bool.
53245         * crypt/crypt-entry.c: Include errno.h.
53246         (__crypt_r): Return NULL with EINVAL for bad salt.
53247         * crypt/crypt_util.c (bad_for_salt): New.
53248         (_ufc_setup_salt_r): Check that salt is long enough and within
53249         the specified alphabet.
53250         * crypt/badsalttest.c: New file.
53251         * crypt/Makefile (tests): Add it.
53252         ($(objpfx)badsalttest): New.
53254 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
53256         * NEWS: Add entry for BZ #14602.
53258 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
53260         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
53261         type-generic.
53262         * math/libm-test.inc: Update comment listing what functions and
53263         macros are tested.
53264         (isgreater_test): New function.
53265         (isgreaterequal_test): Likewise.
53266         (isless_test): Likewise.
53267         (islessequal_test): Likewise.
53268         (islessgreater_test): Likewise.
53269         (isunordered_test): Likewise.
53270         (main): Call the new functions.
53272 2012-10-09  Roland McGrath  <roland@hack.frob.com>
53274         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
53275         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
53276         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
53277         * sysdeps/i386/configure: Regenerated.
53278         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
53279         * sysdeps/mach/configure: Regenerated.
53280         * sysdeps/mach/hurd/configure: Regenerated.
53281         * sysdeps/powerpc/configure: Regenerated.
53282         * sysdeps/powerpc/powerpc32/configure: Regenerated.
53283         * sysdeps/powerpc/powerpc64/configure: Regenerated.
53284         * sysdeps/s390/s390-32/configure: Regenerated.
53285         * sysdeps/s390/s390-64/configure: Regenerated.
53286         * sysdeps/sh/configure: Regenerated.
53287         * sysdeps/sparc/configure: Regenerated.
53288         * sysdeps/unix/sysv/linux/configure: Regenerated.
53289         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
53290         * sysdeps/x86_64/configure: Regenerated.
53292         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
53293         defined.  Don't check if MAP is NULL.
53295 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
53297         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
53298         (_G_stat64): Likewise.
53299         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
53300         (_G_stat64): Likewise.
53301         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
53302         instead of struct _G_stat64.
53303         * libio/fileops.c (mmap_remap_check): Likewise.
53304         (decide_maybe_mmap): Likewise.
53305         (_IO_new_file_seekoff): Likewise.
53306         (_IO_file_stat): Likewise.
53307         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
53308         _G_off64_t.
53309         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
53310         instead of struct _G_stat64.
53311         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53313 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
53315         [BZ #14602]
53316         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53317         Replace with ...
53318         (CHECK_EOL): New macro.
53319         (two_way_short_needle): Check beginning of haystack for EOL.  Use
53320         CHECK_EOL.
53321         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53322         Replace with CHECK_EOL.
53323         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
53324         Replace with CHECK_EOL.
53326 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
53328         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
53329         type-generic.
53330         * math/libm-test.inc: Update comment listing what functions and
53331         macros are tested.
53332         (finite_test): New function.
53333         (isinf_test): Likewise.
53334         (isnan_test): Likewise.
53335         (fpclassify_test): Test subnormal input.
53336         (isfinite_test): Likewise.
53337         (isnormal_test): Likewise.
53338         (main): Call the new functions.
53340 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
53342         [BZ #14660]
53343         * Makerules (%.dynsym): Force C locale when running
53344         $(OBJDUMP) --dynamic-syms.
53346 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
53348         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
53349         <stdint.h>.
53351 2012-10-06  David S. Miller  <davem@davemloft.net>
53353         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
53354         upper 32-bits of the length value in %o2 since we use branch-on-register
53355         tests which consider the entire 64-bit register.
53357 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
53359         * string/test-strstr.c (check2): Add a test for page boundary.
53361 2012-10-05  David S. Miller  <davem@davemloft.net>
53363         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
53364         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
53365         file.
53366         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53367         sysdep_routines.
53368         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53369         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
53370         and bzero when HWCAP_SPARC_CRYPTO is present.
53372 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
53374         [BZ #14602]
53375         * string/test-strstr.c (check2): New function.
53376         (test_main): Call check2.
53378         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
53379         and bug-strchr1.
53380         * string/bug-strcasestr1.c (do_test): Moved to ...
53381         * string/test-strcasestr.c (check1): Here.  New function.
53382         (do_one_test): Break out result checking code into ...
53383         (check_result): This.  New function.
53384         (do_one_test): Call check_result.
53385         (test_main): Call check1.
53386         * string/bug-strchr1.c (do_test): Moved to ...
53387         * string/test-strchr.c (check1): Here.  New function.
53388         (do_one_test): Break out result checking code into ...
53389         (check_result): This.  New function.
53390         (do_one_test): Call check_result.
53391         (test_main): Call check1.
53392         * string/bug-strstr1.c (main): Moved to ...
53393         * string/test-strstr.c (check1): Here.  New function.
53394         (do_one_test): Break out result checking code into ...
53395         (check_result): This.  New function.
53396         (do_one_test): Call check_result.
53397         (test_main): Call check1.
53398         * string/bug-strcasestr1.c: Removed.
53399         * string/bug-strchr1.c: Likewise.
53400         * string/bug-strstr1.c: Likewise.
53402         * elf/Makefile (dl-routines): Add hwcaps.
53403         * elf/dl-support.c (_dl_important_hwcaps): Removed.
53404         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
53405         (_dl_important_hwcaps): Moved to ...
53406         * elf/dl-hwcaps.c: Here.  New file.
53407         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
53409         [BZ #14557]
53410         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
53411         if IS_IN_rtld isn't defined.
53413         * elf/dl-support.c (_dl_sysinfo_map): New.
53414         Include "get-dynamic-info.h" and "setup-vdso.h".
53415         (_dl_non_dynamic_init): Call setup_vdso.
53416         * elf/dynamic-link.h: Don't include <assert.h>.
53417         (elf_get_dynamic_info): Moved to ...
53418         * elf/get-dynamic-info.h: Here.  New file.
53419         * elf/dynamic-link.h: Include "get-dynamic-info.h".
53420         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
53421         * elf/setup-vdso.h: Here.  New file.
53422         * elf/rtld.c: Include "setup-vdso.h".
53423         (dl_main): Call setup_vdso.
53425 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
53427         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
53428         creal in comment listing functions tested.  List finite, isinf,
53429         isnan, isless, islessequal, isgreater, isgreaterequal,
53430         islessgreater, isunordered, lgamma_r and pow10 as functions and
53431         macros not tested.  Mention which functions not tested are aliases
53432         for other functions.  Fix typo.  Note that signs of NaNs are not
53433         tested.
53435         * scripts/config.guess: Update from config.git.
53436         * scripts/config.sub: Likewise.
53438 2012-10-04  Roland McGrath  <roland@hack.frob.com>
53440         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
53441         * misc/madvise.c (madvise): Renamed to __madvise.
53442         Make madvise a weak alias.
53443         * include/sys/mman.h: Declare __madvise.
53444         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
53445         * sysdeps/unix/syscalls.list
53446         (madvise): Make __madvise the strong name, and madvise a weak alias.
53447         * sysdeps/unix/sysv/linux/syscalls.list
53448         (madvise, mmap): Remove redundant entries.
53449         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
53450         * malloc/malloc.c (mtrim): Likewise.
53451         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
53453 2012-10-03  Roland McGrath  <roland@hack.frob.com>
53455         * sysdeps/mach/hurd/dl-cache.c: File removed.
53456         * config.h.in (USE_LDCONFIG): New #undef.
53457         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
53458         * configure: Regenerated.
53459         * elf/Makefile (dl-routines): Add dl-cache only under
53460         [$(use-ldconfig) = yes].
53461         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
53462         cache on [USE_LDCONFIG].
53463         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
53464         [USE_LDCONFIG].
53465         * elf/rtld.c (dl_main): Likewise.
53467 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
53469         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
53470         _SC_LEVEL4_CACHE_LINESIZE.
53472 2012-10-03  Roland McGrath  <roland@hack.frob.com>
53474         * sysdeps/unix/bsd/confstr.h: File removed.
53476 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
53478         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
53479         sys/sdt-config.h.
53481 2012-10-02  Roland McGrath  <roland@hack.frob.com>
53483         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
53484         Make 'mapoff' field ElfW(Off) rather than off_t.
53486 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
53488         * nscd/Makefile: Remove nscd-cflags and all its users.
53489         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
53490         (CFLAGS-nonlib): Add compiler flags for nscd modules.
53492         [BZ #10631]
53493         * malloc.c (malloc_printerr): Clarify error message.
53495 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
53497         [BZ #14648]
53498         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53499         Set bit_FMA_Usable if FMA is supported.
53500         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
53501         macro.
53502         (bit_FMA4_Usable): Updated.
53503         (index_FMA_Usable): New macro.
53504         (CPUID_FMA): Likewise.
53505         (HAS_FMA): Defined with bit_FMA_Usable.
53507 2012-10-01  Roland McGrath  <roland@hack.frob.com>
53509         * bits/types.h (__swblk_t): Type removed.
53510         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
53511         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
53512         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53513         (__SWBLK_T_TYPE): Likewise.
53514         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
53515         (__SWBLK_T_TYPE): Likewise.
53516         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53517         (__SWBLK_T_TYPE): Likewise.
53518         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53519         (__SWBLK_T_TYPE): Likewise.
53521 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
53522             Honza Horak <hhorak@redhat.com>
53524         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
53525         (xdr_mapname): Use YPMAXMAP as maxsize.
53526         (xdr_peername): Use YPMAXPEER as maxsize.
53527         (xdr_keydat): Use YPAXRECORD as maxsize.
53528         (xdr_valdat): Use YPMAXRECORD as maxsize.
53530 2012-10-01  Roland McGrath  <roland@hack.frob.com>
53532         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
53534         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
53535         * csu/init-first.c: ... here.
53536         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
53537         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
53538         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
53539         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
53540         * sysdeps/i386/init-first.c: File removed.
53541         * sysdeps/sh/init-first.c: File removed.
53543 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
53545         [BZ #14645]
53546         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
53547         if x * y might underflow to zero and z is zero.
53548         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
53549         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53550         * math/libm-test.inc (min_subnorm_value): New variable.
53551         (fma_test): Add more tests.
53552         (fma_test_towardzero): Likewise.
53553         (fma_test_downward): Likewise.
53554         (fma_test_upward): Likewise.
53555         (initialize): Set min_subnorm_value.
53557 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
53559         [BZ #14638]
53560         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
53561         0 + 0.
53562         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
53563         mode for addition resulting in exact zero.
53564         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
53565         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
53566         exact 0 + 0.
53567         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
53568         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
53569         * math/libm-test.inc (fma_test): Add more tests.
53570         (fma_test_towardzero): New function.
53571         (fma_test_downward): Likewise.
53572         (fma_test_upward): Likewise.
53573         (main): Call the new functions.
53575 2012-09-28  David S. Miller  <davem@davemloft.net>
53577         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
53579 2012-09-28  Roland McGrath  <roland@hack.frob.com>
53581         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
53582         instead of SIGALRM.
53584         * sysdeps/gnu/_G_config.h: Moved to ...
53585         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
53586         * sysdeps/mach/hurd/_G_config.h: Moved to ...
53587         * sysdeps/generic/_G_config.h: ... here.
53589         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
53591         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
53593         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
53594         Conditionalize target on [libnss_test1.so-version].
53596         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
53598         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
53599         (elfobjdir): Move out of conditionals.
53601         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
53602         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
53603         (__nss_lookup_function): Conditionalize label remove_from_tree on
53604         [!DO_STATIC_NSS || SHARED], matching its only use.
53606 2012-09-28  David S. Miller  <davem@davemloft.net>
53608         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
53609         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
53610         file.
53611         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
53612         sysdep_routines.
53613         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
53614         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
53615         when HWCAP_SPARC_CRYPTO is present.
53617 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53619         * io/tst-mknodat.c: Create a FIFO instead of a socket.
53621 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
53623         [BZ #6530]
53624         * stdio-common/vfprintf.c (process_string_arg): Revert
53625         2000-07-22 change.
53627 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
53629         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
53630         for testcase.
53631         * stdio-common/tst-sprintf.c: Include <locale.h>
53632         (main): Test sprintf's handling of incomplete multibyte
53633         characters.
53635 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
53637         * elf/dl-runtime.c (VERSYMIDX): Removed.
53638         * elf/dl-version.c (VERSYMIDX): Likewise.
53639         * elf/do-rel.h (VERSYMIDX): Likewise.
53640         (VALIDX): Likewise.
53641         * elf/dynamic-link.h (VERSYMIDX): Likewise.
53642         * elf/rtld.c (VALIDX): Likewise.
53643         (ADDRIDX): Likewise.
53644         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
53645         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
53646         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
53647         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
53648         (VALIDX): Likewise.
53649         (ADDRIDX): Likewise.
53651 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53653         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
53655 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
53657         [BZ #11438]
53658         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
53659         to global scope.
53660         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
53661         addresses are in the same scope as 192.0.2/24.
53662         * posix/gai.conf: Document new scope table defaults.
53664 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53666         [BZ #5298]
53667         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
53668         for ftell.  Compute offsets from write pointers instead.
53669         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
53671 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53673         [BZ #14543]
53674         * libio/Makefile (tests): New test case tst-fseek.
53675         * libio/tst-fseek.c: New test case to verify that fseek/ftell
53676         combination works in wide mode.
53677         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
53678         state when the external buffer state changes.
53680 2012-09-27  David S. Miller  <davem@davemloft.net>
53682         [BZ #14376]
53683         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
53684         pass reloc->r_addend in as the 'high' argument to
53685         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
53687         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53689 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
53691         * rt/tst-aio2.c: Include <pthread.h>.
53692         * rt/tst-aio3.c: Likewise.
53694 2012-09-27  Steve Ellcey  <sellcey@mips.com>
53696         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
53698 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
53700         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
53701         contents on [SHARED].
53703 2012-09-26  Marek Polacek  <polacek@redhat.com>
53705         [BZ #14530]
53706         [BZ #13741]
53707         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
53708         for C++ and GCC <4.3 as well as for non GCC compilers.
53710 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
53712         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53714 2012-09-25  Roland McGrath  <roland@hack.frob.com>
53716         * Makefile.in (all, install): Declare with .PHONY.
53717         Reported by Michael Hope <michael.hope@linaro.org>.
53719 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
53721         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
53722         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
53723         system header.
53724         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
53725         Likewise.
53726         (sydep_routines): Add the new and the internal functions.
53727         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
53728         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
53729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
53730         (GLIBC_2.17): Add the new function.
53731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
53732         (GLIBC_2.17): Likewise.
53733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
53734         (GLIBC_2.17): Likewise.
53735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
53736         (GLIBC_2.17): Likewise.
53737         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
53739 2012-09-25  Alan Modra  <amodra@gmail.com>
53741         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
53742         Add release barrier before setting once_control to say
53743         initialisation is done.  Add hints on lwarx.  Use macro in
53744         place of isync.
53745         (clear_once_control): Add release barrier.
53747 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
53749         [BZ #13629]
53750         * math/s_clog.c (__clog): Handle more values close to |z| = 1
53751         specially.
53752         * math/s_clog10.c (__clog10): Likewise.
53753         * math/s_clog10f.c (__clog10f): Likewise.
53754         * math/s_clog10l.c (__clog10l): Likewise.
53755         * math/s_clogf.c (__clogf): Likewise.
53756         * math/s_clogl.c (__clogl): Likewise.
53757         * math/Makefile (libm-calls): Add x2y2m1.
53758         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
53759         (__x2y2m1): Likewise.
53760         (__x2y2m1l): Likewise.
53761         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
53762         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
53763         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
53764         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
53765         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
53766         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
53767         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
53768         * sysdeps/i386/fpu/libm-test-ulps: Update.
53769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53771         [BZ #14621]
53772         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
53773         int as type of variable DEPTH.
53774         (glob): Use size_t instead of int as type of variables NEWCOUNT
53775         and OLD_PATHC.
53777 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53779         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
53780         Add s_sincosf-sse2.
53781         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
53782         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
53783         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
53784         macros for using routine as __sincosf_ia32.
53785         Use macro for function declaration and weak_alias.
53786         * sysdeps/i386/fpu/libm-test-ulps: Update.
53788         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
53789         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53791         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
53792         subnormal argument.
53793         * math/s_cexpf.c (__cexpf): Likewise.
53794         * math/s_csinf.c (__csinf): Likewise.
53795         * math/s_csinhf.c (__csinhf): Likewise.
53796         * math/s_ctanf.c (__ctanf): Likewise.
53797         * math/s_ctanhf.c (__ctanhf): Likewise.
53798         * math/s_ccosh.c (__ccoshf): Likewise.
53799         * math/s_cexp.c (__cexpl): Likewise.
53800         * math/s_csin.c (__csin): Likewise.
53801         * math/s_csinh.c (__csinh): Likewise.
53802         * math/s_ctan.c (__ctan): Likewise.
53803         * math/s_ctanh.c (ctanh): Likewise.
53804         * math/s_ccoshl.c (__ccoshl): Likewise.
53805         * math/s_cexpl.c (__cexpl): Likewise.
53806         * math/s_csinl.c (__csinl): Likewise.
53807         * math/s_csinhl.c (__csinhl): Likewise.
53808         * math/s_ctanl.c (__ctanl): Likewise.
53809         * math/s_ctanhl.c (__ctanhl): Likewise.
53811 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
53813         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
53814         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
53815         (_IO_off_t): Define to __off_t, not _G_off_t.
53816         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
53817         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
53818         (_IO_wint_t): Define to wint_t, not _G_wint_t.
53819         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
53820         type of __dummy and __dummy2 fields.
53821         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
53822         (_G_ssize_t): Likewise.
53823         (_G_off_t): Likewise.
53824         (_G_pid_t): Likewise.
53825         (_G_uid_t): Likewise.
53826         (_G_wchar_t): Likewise.
53827         (_G_wint_t): Likewise.
53828         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
53829         (_G_ssize_t): Likewise.
53830         (_G_off_t): Likewise.
53831         (_G_pid_t): Likewise.
53832         (_G_uid_t): Likewise.
53833         (_G_wchar_t): Likewise.
53834         (_G_wint_t): Likewise.
53835         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
53836         (_G_ssize_t): Likewise.
53837         (_G_off_t): Likewise.
53838         (_G_pid_t): Likewise.
53839         (_G_uid_t): Likewise.
53840         (_G_wchar_t): Likewise.
53841         (_G_wint_t): Likewise.
53843 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53845         * malloc/arena.c: Include malloc-sysdep.h.
53846         (shrink_heap): Use check_may_shrink_heap to decide if madvise
53847         is sufficient to shrink the heap or an unmap is needed.
53848         * sysdeps/generic/malloc-sysdep.h: New file.  Define
53849         new function check_may_shrink_heap.
53850         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
53851         new function check_may_shrink_heap.
53853 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53855         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
53856         comments.
53858 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
53860         * catgets/test-gencat.sh: Add "set -e".
53861         * elf/tst-pathopt.sh: Likewise.
53862         * grp/tst_fgetgrent.sh: Likewise.
53863         * iconvdata/run-iconv-test.sh: Likewise.
53864         * intl/tst-gettext.sh: Likewise.
53865         * intl/tst-gettext2.sh: Likewise.
53866         * intl/tst-gettext4.sh: Likewise.
53867         * intl/tst-gettext6.sh: Likewise.
53868         * intl/tst-translit.sh: Likewise.
53869         * io/ftwtest-sh: Likewise.
53870         * libio/test-freopen.sh: Likewise.
53871         * malloc/tst-mtrace.sh: Likewise.
53872         * posix/globtest.sh: Likewise.
53873         * posix/tst-getconf.sh: Likewise.
53874         * posix/wordexp-tst.sh: Likewise.
53875         * stdio-common/tst-printf.sh: Likewise.
53876         * stdio-common/tst-unbputc.sh: Likewise.
53877         * stdlib/tst-fmtmsg.sh: Likewise.
53878         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53879         * catgets/Makefile: Do not specify -e option when running
53880         testsuite shell scripts.
53881         * elf/Makefile: Likewise.
53882         * grp/Makefile: Likewise.
53883         * iconvdata/Makefile: Likewise.
53884         * intl/Makefile: Likewise.
53885         * io/Makefile: Likewise.
53886         * libio/Makefile: Likewise.
53887         * malloc/Makefile: Likewise.
53888         * posix/Makefile: Likewise.
53889         * stdio-common/Makefile: Likewise.
53890         * stdlib/Makefile: Likewise.
53891         * sysdeps/x86_64/Makefile: Likewise.
53893         * io/ftwtest-sh: Add copyright header.
53894         * posix/globtest.sh: Likewise.
53895         * posix/tst-getconf.sh: Likewise.
53896         * posix/wordexp-tst.sh: Likewise.
53897         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
53899 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
53901         [BZ #13679]
53902         * Makeconfig (+link): Defined as $(+link-static) if
53903         $(build-shared) isn't yes.
53904         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
53905         isn't yes.
53906         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
53908         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
53910         [BZ #14562]
53911         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
53912         new chunk size with MALLOC_ALIGN_MASK.
53914 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
53916         [BZ #5044]
53917         * stdio-common/printf_fphex.c: Include <stdbool.h> and
53918         <rounding-mode.h>.
53919         (__printf_fphex): Determine rounding using get_rounding_mode and
53920         round_away.
53921         * stdio-common/tst-printf-round.c (struct hex_test): New
53922         structure.
53923         (hex_tests): New variable.
53924         (test_hex_in_one_mode): New function.
53925         (do_test): Also run tests for hex float output.
53927 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
53929         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
53930         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
53931         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
53932         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
53933         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
53934         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
53935         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
53936         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
53938 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
53940         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
53941         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
53942         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
53943         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
53945 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
53947         [BZ #14579]
53948         * elf/rtld.c (dl_main): Limit the check for self loading to normal
53949         mode only.
53950         * elf/tst-rtld-load-self.sh: New test.
53951         * elf/Makefile: Run it.
53953 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
53955         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
53956         (tst-writev-ENV): Remove.
53957         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
53959 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
53961         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
53963 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
53965         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
53966         unconditional.
53967         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
53968         Likewise.
53969         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
53970         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
53971         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
53972         Likewise.
53974 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
53976         [BZ #14587]
53977         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
53978         * config.make.in (have-cpp-asm-debuginfo): Removed.
53979         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
53980         * configure: Regenerated.
53982 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
53984         [BZ #5044]
53985         * stdio-common/printf_fp.c: Include <stdbool.h> and
53986         <rounding-mode.h>.
53987         (___printf_fp): Determine rounding using get_rounding_mode and
53988         round_away.
53989         * stdio-common/tst-printf-round.c: New file.
53990         * stdio-common/Makefile (tests): Add tst-printf-round.
53991         (link-libm): New variable.
53992         ($(objpfx)tst-printf-round): Depend in $(link-libm).
53994 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
53996         [BZ #14576]
53997         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
53998         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
53999         Likewise.
54000         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
54001         Likewise.
54003 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
54005         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
54006         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54007         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54008         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
54010 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
54012         [BZ #14518]
54013         * include/rounding-mode.h: New file.
54014         * sysdeps/generic/get-rounding-mode.h: Likewise.
54015         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
54016         * stdlib/strtod_l.c: Include <rounding-mode.h>.
54017         (MAX_VALUE): New macro.
54018         (MIN_VALUE): Likewise.
54019         (overflow_value): New function.
54020         (underflow_value): Likewise.
54021         (round_and_return): Use overflow_value and underflow_value to
54022         determine return values in overflow and underflow cases.  Use
54023         round_away to determine rounding depending on rounding mode.
54024         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
54025         determine return values in overflow and underflow cases.
54026         * stdlib/tst-strtod-round.c: Include <fenv.h>.
54027         (struct test_results): New structure.
54028         (struct test): Use struct test_results to store expected results
54029         for all rounding modes.
54030         (TEST): Include expected results for all rounding modes.
54031         (test_in_one_mode): New function.
54032         (do_test): Use test_in_one_mode to compute and check results.
54033         Check results for all rounding modes.
54034         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
54035         $(link-libm).
54037 2012-12-09  Allan McRae  <allan@archlinux.org>
54039         * sysdeps/i386/fpu/libm-test-ulps: Update
54041 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
54043         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
54044         (_G_int32_t): Likewise.
54045         (_G_uint16_t): Likewise.
54046         (_G_uint32_t): Likewise.
54047         (_G_HAVE_BOOL): Likewise.
54048         (_G_HAVE_ATEXIT): Likewise.
54049         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54050         (_G_HAVE_IO_FILE_OPEN): Likewise.
54051         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
54052         (_G_int32_t): Likewise.
54053         (_G_uint16_t): Likewise.
54054         (_G_uint32_t): Likewise.
54055         (_G_HAVE_BOOL): Likewise.
54056         (_G_HAVE_ATEXIT): Likewise.
54057         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54058         (_G_HAVE_IO_FILE_OPEN): Likewise.
54059         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
54060         (_G_int32_t): Likewise.
54061         (_G_uint16_t): Likewise.
54062         (_G_uint32_t): Likewise.
54063         (_G_HAVE_BOOL): Likewise.
54064         (_G_HAVE_ATEXIT): Likewise.
54065         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
54066         (_G_HAVE_IO_FILE_OPEN): Likewise.
54068 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
54070         * csu/libc-tls.c: Update copyright years.
54072 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
54074         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
54075         [!_G_USING_THUNKS]: Remove conditional code.
54076         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
54077         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
54079         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
54080         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
54081         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54082         (_G_VTABLE_LABEL_PREFIX): Likewise.
54083         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54084         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54085         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54086         (_G_VTABLE_LABEL_PREFIX): Likewise.
54087         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54088         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
54089         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
54090         (_G_VTABLE_LABEL_PREFIX): Likewise.
54091         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
54093 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
54095         * libio/Makefile: Include ../Makeconfig before tests.
54096         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
54097         only if $(build-shared) is yes.
54099         * iconv/gconv_db.c: Update copyright years.
54101 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54103         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
54104         unwind info if defined PIC. Fix special cases description.
54105         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
54107         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
54108         DP_HI_MASK entry.
54109         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
54111 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
54113         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
54115         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
54116         is NULL.
54118         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
54119         (LDLIBS-tst-chk4): This.
54120         (LDFLAGS-tst-chk5): Renamed to ...
54121         (LDLIBS-tst-chk5): This.
54122         (LDFLAGS-tst-chk6): Renamed to ...
54123         (LDLIBS-tst-chk6): This.
54124         (LDFLAGS-tst-lfschk4): Renamed to ...
54125         (LDLIBS-tst-lfschk4): This.
54126         (LDFLAGS-tst-lfschk5): Renamed to ...
54127         (LDLIBS-tst-lfschk5): This.
54128         (LDFLAGS-tst-lfschk6): Renamed to ...
54129         (LDLIBS-tst-lfschk6): This.
54131         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
54132         on $(common-objpfx)soversions.mk.
54134 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
54136         [BZ #10014]
54137         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
54138         example host name.
54140 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54142         * malloc/arena.c (arena_get_retry): New function that gets
54143         another arena for the caller to try its request on.
54144         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
54145         current arena cannot fulfill the request.
54146         (__libc_memalign): Likewise.
54147         (__libc_memalign): Likewise.
54148         (__libc_pvalloc): Likewise.
54149         (__libc_calloc): Likewise.
54151 2012-09-05  John Tobey  <john.tobey@gmail.com>
54153         [BZ #13542]
54154         * manual/arith.texi (Operations on Complex): Fix description
54155         of carg branch cut.
54157 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
54159         [BZ #10014]
54160         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
54161         host name.
54163         [BZ #10038]
54164         * manual/memory.texi (Memory): Make order of menu items match
54165         order of sections.
54167 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54169         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
54170         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
54171         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
54173 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54175         * csu/libc-tls.c (static_dtv): Renamed to ...
54176         (_dl_static_dtv): This.  Make it global.
54177         (_dl_initial_dtv): Removed.
54178         (__libc_setup_tls): Updated.
54179         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
54180         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
54181         DL_INITIAL_DTV.
54183 2012-09-06  Petr Machata  <pmachata@redhat.com>
54185         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
54186         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
54187         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
54188         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
54190 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54192         [BZ #14545]
54193         * csu/libc-tls.c (_dl_initial_dtv): New variable.
54194         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
54195         freeing dtv[-1].
54197 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
54199         [BZ #14544]
54200         * Makeconfig (link-static-before-libc): Replace $(+prector)
54201         with $(+prectorT).
54202         (link-static-after-libc): Replace $(+postctor) with
54203         $(+postctorT).
54204         (link-bounded): Replace $(+prector)/$(+postctor) with
54205         $(+prectorT)/$(+postctorT).
54206         (+prectorT): New macro.
54207         (+postctorT): Likewise.
54209 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
54211         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
54212         (round_str): Handle values above the maximum for IBM long double
54213         as inexact.
54214         * stdlib/tst-strtod-round.c (tests): Regenerated.
54216 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54218         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
54219         assembler flag.
54220         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
54221         zarch_nohighgprs around the zarch optimized routines.
54222         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
54223         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
54224         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
54225         for zarch.
54227 2012-09-05  David S. Miller  <davem@davemloft.net>
54229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54231         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
54232         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
54233         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
54234         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54235         entries.
54237 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54239         * malloc/arena.c: Fold copyright years.
54240         * malloc/mcheck.c, malloc/memusage.c: Likewise.
54242 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54244         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
54246 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54248         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
54250 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54252         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
54253         change internal state upon failure.
54255 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
54257         * malloc/mcheck.c (mcheck_check_all): Fix typo.
54258         * malloc/memusage.c (mmap): Likewise.
54259         (mmap64, mremap): Likewise.  Adjust name in comment.
54261 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54263         * libio/fileops.c: Fix typos in comments.
54264         * libio/oldfileops.c: Likewise.
54265         * libio/wfileops.c: Likewise.
54267 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54269         [BZ #1349]
54270         * malloc/Makefile (tests): Add tst-malloc-usable test case.
54271         (tst-malloc-usable-ENV): Set environment for test case.
54272         * malloc/hooks.c (malloc_check_get_size): New function to get
54273         requested size.
54274         * malloc/malloc.c (musable): Use malloc_check_get_size.
54275         * malloc/tst-malloc-usable.c: New test case.
54277 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54279         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
54281 2012-09-05  Allan McRae  <allan@archlinux.org>
54283         [BZ #13966]
54284         * configure.in (CXX_SYSINCLUDES): Use compiler output to
54285         determine header location.
54286         * configure: Regenerated.
54288 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
54290         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
54291         float format.
54292         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
54293         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
54294         format.
54295         (test): Regenerate.
54297 2012-09-04  David S. Miller  <davem@davemloft.net>
54299         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
54300         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
54301         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
54303 2012-09-04  Florian Weimer  <fweimer@redhat.com>
54305         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
54306         failures.
54308         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
54310 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
54312         [BZ #9914]
54313         * libio/iogetdelim.c: Include <limits.h>.
54314         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
54315         + len + 1 would overflow.
54317 2012-09-03  Andreas Jaeger  <aj@suse.de>
54319         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54320         * sysdeps/i386/fpu/libm-test-ulps: Update.
54322 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54324         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
54325         Add s_sinf-sse2, s_conf-sse2.
54327         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
54328         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
54329         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
54330         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
54332         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
54333         for using routine as __sinf_ia32.
54334         Use macro for function declaration and weak_alias.
54335         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
54336         for using routine as __cosf_ia32.
54337         Use macro for function declaration and weak_alias.
54339         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
54340         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
54342         * sysdeps/x86_64/fpu/s_sinf.S: New file.
54343         * sysdeps/x86_64/fpu/s_cosf.S: New file.
54344         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54346         * math/libm-test.inc (cos_test): Add more test cases.
54347         (sin_test): Likewise.
54348         (sincos_test): Likewise.
54350 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54352         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
54353         (IFUNC_RESOLVE): Make pointers to the specialized implementations
54354         hidden.
54355         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
54357 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
54359         [BZ #14538]
54360         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
54361         first element of the GOT.
54362         (elf_machine_load_address): Return the difference between
54363         the runtime address of _DYNAMIC and elf_machine_dynamic ().
54365 2012-09-01  Allan McRae  <allan@archlinux.org>
54367         [BZ #13412]
54368         * configure.in (AWK): Require gawk version 3.0 or later.
54369         * configure: Regenerated.
54371 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
54373         * sysdeps/unix/sysv/linux/kernel-features.h
54374         (__ASSUME_POSIX_CPU_TIMERS): Remove.
54375         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54376         [__NR_clock_getres]: Make code unconditional.
54377         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
54378         (clock_getcpuclockid): Remove code left unreachable by removal of
54379         conditionals.
54380         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
54381         code unconditional.
54382         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54383         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54384         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
54385         Make code unconditional.
54386         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
54387         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54388         * sysdeps/unix/sysv/linux/clock_settime.c
54389         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
54390         conditional code.
54391         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
54392         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
54394 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
54396         [BZ #14476]
54397         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
54398         scripts/test-installation.pl.
54400         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
54401         and $ld_so_version if it is set.
54403 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54405         [BZ #14516]
54406         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
54407         failure if reading from procfs failed.
54408         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
54410 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
54412         * sysdeps/unix/sysv/linux/kernel-features.h
54413         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
54414         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54415         Remove conditional code.
54416         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54417         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
54418         Remove conditional code.
54419         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54420         * sysdeps/unix/sysv/linux/i386/fxstat.c
54421         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54422         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54423         * sysdeps/unix/sysv/linux/i386/fxstatat.c
54424         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54425         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54426         * sysdeps/unix/sysv/linux/i386/lxstat.c
54427         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
54428         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54429         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
54430         Remove conditional code.
54431         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54432         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
54433         Remove conditional code.
54434         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54435         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
54436         <kernel-features.h>.
54437         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
54438         Remove.
54439         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
54440         Remove conditional code.
54441         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
54442         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
54443         Remove conditional.
54445 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
54447         [BZ #5400]
54448         * NEWS: Add fixed bug number.
54450 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
54452         [BZ #14519]
54453         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
54454         underflowing exponent in case of negative sign.
54455         * stdlib/tst-strtod-round-data: Add more tests.
54456         * stdlib/tst-strtod-round.c (tests): Regenerated.
54458         [BZ #3479]
54459         * stdlib/strtod_l.c (NDIG): Remove.
54460         (HEXNDIG): Likewise.
54461         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
54462         smallest representable value.
54463         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
54464         lie within an exact representation of 1/2 ulp of the result.
54465         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
54466         unconditionally.
54467         (TENS_P9_IDX): Define unconditionally.
54468         (TENS_P9_SIZE): Likewise.
54469         (TENS_P10_IDX): Likewise.
54470         (TENS_P10_SIZE): Likewise.
54471         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
54472         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
54473         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
54474         entries for 10^2^13 and 10^2^14.
54475         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
54476         (TENS_P13_IDX): Define.
54477         (TENS_P13_SIZE): Likewise.
54478         (TENS_P14_IDX): Likewise.
54479         (TENS_P14_SIZE): Likewise.
54480         (_fpioconst_pow10): Change array size to
54481         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
54482         unconditional.
54483         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
54484         1024]: Add entries for 10^2^13 and 10^2^14.
54485         [LAST_POW10 > _LAST_POW10]: Remove #error.
54486         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
54487         (_fpioconst_pow10): Change array size to
54488         FPIOCONST_POW10_ARRAY_SIZE.
54489         * stdlib/gen-fpioconst.c: New file.
54490         * stdlib/gen-tst-strtod-round.c: Likewise.
54491         * stdlib/tst-strtod-round-data: Likewise.
54492         * stdlib/tst-strtod-round.c: Likewise.
54493         * stdlib/Makefile (tests): Add tst-strtod-round.
54495         [BZ #14459]
54496         * stdlib/strtod_l.c: Include <stdint.h>.
54497         (NDEBUG): Do not define.
54498         (round_and_return): Change EXPONENT parameter to type intmax_t.
54499         Rearrange calculations to avoid internal overflow possibilities.
54500         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
54501         Rearrange calculations to avoid internal overflow possibilities.
54502         Assert that number fits inside MPNSIZE limbs.
54503         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
54504         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
54505         calculations and add assertions to avoid internal overflow
54506         possibilities.  Add casts to avoid signed/unsigned operations.
54507         * stdlib/tst-strtod-overflow.c: New file.
54508         * stdlib/Makefile (tests): Add tst-strtod-overflow.
54510 2012-08-25  Marek Polacek  <polacek@redhat.com>
54512         * time/time.h: Fix some typos in comments.
54514 2012-08-23  Roland McGrath  <roland@hack.frob.com>
54516         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
54517         * posix/tst-rfc3484-2.c: Likewise.
54518         * posix/tst-rfc3484-3.c: Likewise.
54520 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
54522         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
54523         (EF_ARM_ABI_FLOAT_HARD): Likewise.
54525 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
54527         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
54528         #include of fxstatat64.c.
54530 2012-08-22  Roland McGrath  <roland@hack.frob.com>
54532         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
54533         * shadow/getspent_r.c: Likewise.
54534         * shadow/getspnam.c: Likewise.
54535         * shadow/getspnam_r.c: Likewise.
54536         * gshadow/getsgent.c: Likewise.
54537         * gshadow/getsgent_r.c: Likewise.
54538         * gshadow/getsgnam.c: Likewise.
54539         * gshadow/getsgnam_r.c: Likewise.
54540         * inet/getnetbyad.c: Likewise.
54541         * inet/getnetbyad_r.c: Likewise.
54542         * inet/getnetbynm.c: Likewise.
54543         * inet/getnetbynm_r.c: Likewise.
54544         * inet/getnetent.c: Likewise.
54545         * inet/getnetent_r.c: Likewise.
54546         * inet/getproto.c: Likewise.
54547         * inet/getproto_r.c: Likewise.
54548         * inet/getprtent.c: Likewise.
54549         * inet/getprtent_r.c: Likewise.
54550         * inet/getprtname.c: Likewise.
54551         * inet/getprtname_r.c: Likewise.
54552         * inet/getrpcbyname.c: Likewise.
54553         * inet/getrpcbyname_r.c: Likewise.
54554         * inet/getrpcbynumber.c: Likewise.
54555         * inet/getrpcbynumber_r.c: Likewise.
54556         * inet/getrpcent.c: Likewise.
54557         * inet/getrpcent_r.c: Likewise.
54558         * inet/getaliasent.c: Likewise.
54559         * inet/getaliasent_r.c: Likewise.
54560         * inet/getaliasname.c: Likewise.
54561         * inet/getaliasname_r.c: Likewise.
54562         * nscd/getgrgid_r.c: Likewise.
54563         * nscd/getgrnam_r.c: Likewise.
54564         * nscd/gethstbyad_r.c: Likewise.
54565         * nscd/gethstbynm3_r.c: Likewise.
54566         * nscd/getpwnam_r.c: Likewise.
54567         * nscd/getpwuid_r.c: Likewise.
54568         * nscd/getsrvbynm_r.c: Likewise.
54569         * nscd/getsrvbypt_r.c: Likewise.
54570         * nscd/gai.c: Likewise.
54572         * configure.in (build_nscd): New substituted variable, set
54573         by --disable-build-nscd and defaults to $use_nscd.
54574         * configure: Regenerated.
54575         * config.make.in (build-nscd): New substituted variable.
54576         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
54577         Change conditional to require [$(build-nscd) = yes] as well.
54578         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
54580         [BZ# 13696]
54581         * configure.in (use_nscd): New substituted variable, set by
54582         --disable-nscd.  If enabled, define USE_NSCD.
54583         * configure: Regenerated.
54584         * config.h.in: Add USE_NSCD.
54585         * config.make.in (use-nscd): New substituted variable.
54586         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
54587         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
54588         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
54589         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
54590         (CFLAGS-getgrnam_r.c): Likewise.
54591         (CFLAGS-initgroups.c): Likewise.
54592         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
54593         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
54594         Variables removed.
54595         * inet/getnetgrent_r.c
54596         (nscd_setnetgrent): New function, broken out of ...
54597         (setnetgrent): ... here.  Call it.
54598         (innetgr): Conditionalize nscd bits on [USE_NSCD].
54599         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
54600         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
54601         * nscd/Makefile (routines, aux): Move definitions after include of
54602         Makeconfig.  Conditionalize on [$(use-nscd) != no].
54603         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
54604         Conditionalize on [USE_NSCD].
54605         (is_nscd, nscd_init_cb): Likewise.
54606         (nss_load_library): Conditionalize init callback on [USE_NSCD].
54607         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
54608         * nss/nss_db/db-init.c: Likewise.
54609         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
54610         [USE_NSCD].
54611         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
54612         (make_request): Use it.
54613         (cache_valid_p): New function.
54614         (__check_pf): Use it.
54615         * NEWS: Add item for --disable-nscd.
54617 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
54619         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
54620         to support sed >= 4.2.1-20-ga9bf076.
54621         * configure: Regenerated.
54623 2012-08-22  Roland McGrath  <roland@hack.frob.com>
54625         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
54626         Conditionalize whole body on [IREL].
54628 2012-08-22  Jeff Law <law@redhat.com>
54630         [BZ #14505]
54631         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
54632         if the family is PF_UNSPEC.
54634 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
54636         * Makerules (lib-version): Rename from V.
54637         (install-lib-nosubdir): Change V to lib-version.
54639 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
54641         [BZ #14252]
54642         * powerpc32/power6/wcschr.c: New file.
54643         * powerpc32/power6/wcscpy.c: New file.
54644         * powerpc32/power6/wcsrchr.c: New file.
54645         * powerpc64/power6/wcschr.c: New file.
54646         * powerpc64/power6/wcscpy.c: New file.
54647         * powerpc64/power6/wcsrchr.c: New file.
54649 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54651         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
54652         (two_way_short_needle): Use it.
54653         * string/strstr.c (AVAILABLE1_USES_J): Define.
54654         * string/strcasestr.c: Likewise.
54656         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
54657         array references.
54658         * string/strcasestr.c (TOLOWER): Make side-effect safe.
54660         [BZ #11607]
54661         * NEWS: Add an entry.
54662         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
54663         define their defaults.
54664         (two_way_short_needle): Detect end-of-string on-the-fly.
54665         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
54666         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
54667         * string/bug-strcasestr1.c: New test.
54668         * string/Makefile: Run it.
54670 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
54672         [BZ #11607]
54673         * string/str-two-way.h (two_way_short_needle): Optimize matching of
54674         the first character.
54676 2012-08-21  Roland McGrath  <roland@hack.frob.com>
54678         * csu/elf-init.c (__libc_csu_irel): Function removed.
54679         * csu/libc-start.c (apply_irel): New function.
54680         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
54682 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
54684         * sysdeps/unix/sysv/linux/kernel-features.h
54685         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
54686         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
54687         <kernel-features.h>.
54688         [__NR_fadvise64_64]: Make code unconditional.
54689         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
54690         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54691         !__NR_fadvise64_64)]: Likewise.
54692         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
54693         !__NR_fadvise64_64))]: Likewise.
54694         [__NR_fadvise64]: Make code unconditional.
54695         [!__NR_fadvise64]: Remove conditional code.
54696         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
54697         <kernel-features.h>.
54698         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54699         unconditional.
54700         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54701         conditional code.
54702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
54703         not include <kernel-features.h>.
54704         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54705         unconditional.
54706         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54707         conditional code.
54708         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
54709         include <kernel-features.h>.
54710         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
54711         unconditional.
54712         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
54713         conditional code.
54715 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
54717         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
54718         slight instruction rearrangements per scrollpipe analysis.
54719         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54721 2012-08-20  Roland McGrath  <roland@hack.frob.com>
54723         * manual/syslog.texi (syslog; vsyslog, closelog):
54724         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
54725         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
54727         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
54728         DSOCAPS to match condition on defining it.
54730 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
54732         * sysdeps/unix/sysv/linux/kernel-features.h
54733         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
54734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
54735         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54736         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
54738         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54739         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
54741         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
54742         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
54744         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
54745         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
54747         * sysdeps/unix/sysv/linux/kernel-features.h
54748         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
54749         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
54750         unconditional.
54751         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54752         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
54753         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54754         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54755         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
54756         Make code unconditional.
54757         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54758         (__mmap64) [!__NR_mmap2]: Likewise.
54759         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
54760         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
54761         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54762         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
54763         [__NR_mmap2]: Make code unconditional.
54764         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
54765         (__mmap64) [!__NR_mmap2]: Likewise.
54767 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54769         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
54771 2012-08-18  Andreas Jaeger  <aj@suse.de>
54773         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
54775 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
54777         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
54778         * include/unistd.h (__have_sock_cloexec): Likewise.
54779         (__have_pipe2): Likewise.
54780         (__have_dup3): Likewise.
54782 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
54784         [BZ #9685]
54785         * include/unistd.h (__have_pipe2): Change define into an extern int.
54786         (__have_dup3): Likewise.
54787         * socket/have_sock_cloexec.c: Include fcntl.h.
54788         (__have_pipe2): New variable.
54789         (__have_dup3): Likewise.
54791 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
54793         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
54795 2012-08-17  Marek Polacek  <polacek@redhat.com>
54797         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
54798         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
54800 2012-08-17  Roland McGrath  <roland@hack.frob.com>
54802         * configure.in: Add AC_SUBST for sysheaders.
54803         * configure: Regenerated.
54804         * config.make.in (sysheaders): New substituted variable.
54806         * sysdeps/unix/mkfifo.c: Moved ...
54807         * sysdeps/posix/mkfifo.c: ... here.
54808         * sysdeps/unix/mkfifoat.c: Moved ...
54809         * sysdeps/posix/mkfifoat.c: ... here.
54811         * sysdeps/unix/utime.c: Moved ...
54812         * sysdeps/posix/utime.c: ... here.
54814         * sysdeps/unix/time.c: Moved ...
54815         * sysdeps/posix/time.c: ... here.
54816         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
54817         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
54819         * sysdeps/unix/nice.c: Moved ...
54820         * sysdeps/posix/nice.c: ... here.
54822         * sysdeps/unix/alarm.c: Moved ...
54823         * sysdeps/posix/alarm.c: ... here.
54825         * intl/Makefile ($(codeset_mo)): Depend on the input file.
54827 2012-08-17  Jeff Law <law@redhat.com>
54829         * intl/Makefile (codeset_mo): New variable.
54830         ($(codeset_mo)): New target.
54831         (tst-codeset.out): Depend on that.  Remove explicit rule.
54832         (tst-gettext3.out, tst-gettext5.out): Likewise.
54833         (LOCPATH-ENV, tst-codeset-ENV): New variables.
54834         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
54835         * intl/tst-codeset.sh: Remove.
54836         * intl/tst-gettext3.sh: Likewise.
54837         * intl/tst-gettext5.sh: Likewise.
54839 2012-08-17  Roland McGrath  <roland@hack.frob.com>
54841         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
54842         * sysdeps/unix/syscalls.list: ... here.
54844         * sysdeps/posix/getaddrinfo.c
54845         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
54846         (gaiconf_init, gaiconf_reload): Use them.
54847         [!_STATBUF_ST_NSEC]
54848         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
54849         Define using time_t rather than struct timespec.
54851         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
54852         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
54853         Macros removed.
54854         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
54855         [!NO_THREADS].
54856         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
54857         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
54858         Likewise.
54860         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
54861         __libc_cleanup_push argument.
54863         * bits/param.h: New file.
54864         * misc/sys/param.h: New file.
54865         * include/sys/param.h: New file.
54866         * misc/Makefile (headers): Add bits/param.h.
54867         * sysdeps/generic/sys/param.h: File removed.
54868         * sysdeps/unix/sysv/linux/bits/param.h: New file.
54869         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
54870         * sysdeps/mach/hurd/bits/param.h: New file.
54871         * sysdeps/mach/hurd/sys/param.h: File removed.
54873         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
54874         last change.
54876         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
54877         [_IO_MTSAFE_IO].
54878         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
54879         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
54880         New macros.
54882         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
54883         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
54884         rather than -D_IO_MTSAFE_IO conditionally.
54885         * stdio-common/Makefile (CPPFLAGS): Likewise.
54886         * wcsmbs/Makefile (CPPFLAGS): Likewise.
54887         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
54888         Use $(libio-mtsafe).
54889         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
54890         of -D_IO_MTSAFE_IO.
54891         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
54892         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
54893         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
54894         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
54895         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
54896         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
54897         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
54898         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
54899         (CFLAGS-fread_u_chk.c): Likewise.
54900         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
54901         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
54902         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
54903         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
54904         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
54905         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
54906         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
54907         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
54908         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
54910         * libio/Makefile: Test [$(libc-reentrant) = yes]
54911         instead of [$(filter %REENTRANT, $(defines)) nonempty].
54913         * Makeconfig
54914         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
54915         * sysdeps/pthread/configure: File removed.
54916         * sysdeps/pthread/Makeconfig: New file.
54917         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
54918         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
54920 2012-08-16  Gary Benson  <gbenson@redhat.com>
54922         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
54923         unmapping the first object in a namespace.
54925 2012-08-16  Roland McGrath  <roland@hack.frob.com>
54927         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
54928         (__internal_setnetgrent): ... this.  Add internal_function to
54929         definition.  Add libc_hidden_def.
54930         (setnetgrent): Update caller.
54931         (internal_endnetgrent): Renamed to ...
54932         (__internal_endnetgrent): ... this.  Add internal_function to
54933         definition.  Add libc_hidden_def.
54934         (endnetgrent): Update caller.
54935         (internal_getnetgrent_r): Renamed to ...
54936         (__internal_getnetgrent_r): ... this.  Add internal_function to
54937         definition.  Add libc_hidden_def.
54938         (__getnetgrent_r): Update caller.
54939         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
54941 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
54943         * stdlib/longlong.h: Update from GCC.
54945 2012-08-16  Roland McGrath  <roland@hack.frob.com>
54947         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
54948         on _QL, which is set by umul_ppmm but never used.
54949         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
54950         variables, which are set by GMP macros but never used.
54951         * stdio-common/_itowa.c (_itowa): Likewise.
54952         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
54953         * stdlib/mod_1.c (mpn_mod_1): Likewise.
54955 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
54957         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
54958         struct La_sh_regs is not constant.
54959         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
54960         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
54961         and struct La_sparc64_regs are not constant.
54963 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
54965         * sysdeps/unix/sysv/linux/kernel-features.h
54966         (__ASSUME_POSIX_TIMERS): Remove.
54967         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54968         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54969         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
54970         Make code unconditional.
54971         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54972         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
54973         Make code unconditional.
54974         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54975         * sysdeps/unix/sysv/linux/clock_nanosleep.c
54976         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
54977         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54978         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
54979         Make code unconditional.
54980         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
54981         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
54982         (__libc_missing_posix_timers): Remove.
54984 2012-08-15  Roland McGrath  <roland@hack.frob.com>
54986         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
54987         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
54989         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
54991         * elf/dl-sym.c: Include <stdlib.h>.
54993         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
54994         constants, which avoids warnings in 32-bit builds.
54996         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
54997         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
54999         * misc/lseek.c: File moved to ...
55000         * io/lseek.c: ... here.
55002         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
55004         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
55005         shifting LEN more than 31 bits at once.
55007 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55009         [BZ #14195]
55010         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
55011         segmentation fault for a case of two empty input strings.
55012         * string/test-strncasecmp.c (check1): Renamed to...
55013         (bz12205): ...this.
55014         (bz14195): Add new testcase for two empty input strings and N > 0.
55015         (test_main): Call new testcase, adapt for renamed function.
55017 2012-08-15  Andreas Jaeger  <aj@suse.de>
55019         [BZ #14090]
55020         * crypt/md5test2.c: New test, based on test supplied by Serge
55021         Belyshev <belyshev@depni.sinp.msu.ru>.
55022         * crypt/Makefile (xtests): Add md5test-giant..
55023         * crypt/Makefile ($(objpfx)md5test-giant): Add.
55025 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
55027         [BZ #14090]
55028         * crypt/md5.c (md5_process_block): Don't assume the buffer
55029         length is less than 2**32.
55030         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
55031         length is less than 2**64.
55033 2012-08-15  Roland McGrath  <roland@hack.frob.com>
55035         * string/str-two-way.h: Include <sys/param.h>.
55036         (MAX): Macro removed.
55038         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
55039         Move #define and #undef of memmove to just before and after
55040         including <string.h>.
55042         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
55043         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
55044         and after including <string.h>.  Move declarations of
55045         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
55046         to before #include "string/memmove.c".
55048         * include/dirent.h: Declare __getdirentries.
55050         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
55051         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
55053 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
55055         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
55056         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
55057         * sysdeps/i386/configure: Regenerated.
55058         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
55059         STABS_CURRENT_FILE, and STABS_FUN.
55060         (END): Remove call to STABS_FUN_END.
55061         (STABS_CURRENT_FILE1): Delete.
55062         (STABS_CURRENT_FILE): Likewise.
55063         (STABS_FUN): Likewise.
55064         (STABS_FUN_END): Likewise.
55065         (STABS_FUN2): Likewise.
55066         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
55067         * sysdeps/x86_64/configure: Regenerated.
55069 2012-08-14  Roland McGrath  <roland@hack.frob.com>
55071         * elf/dl-open.c: Include <atomic.h>.
55072         * elf/dl-lookup.c: Likewise.
55074 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
55076         * sysdeps/unix/sysv/linux/kernel-features.h
55077         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
55078         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
55079         unconditionally.
55080         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
55081         unconditionally.
55082         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
55083         condition on __ASSUME_CLONE_THREAD_FLAGS.
55085 2012-08-14  Andreas Jaeger  <aj@suse.de>
55087         * sysdeps/i386/fpu/libm-test-ulps: Update.
55089 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
55091         * include/atomic.h (atomic_exchange_and_add): Split into ...
55092         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
55093         New atomic macros.
55095 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
55097         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55099 2012-08-13  Jeff Law <law@redhat.com>
55101         * manual/stdio.texi (snprintf): Clarify handling of the trailing
55102         null byte in the output string.
55104 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
55106         * sysdeps/unix/sysv/linux/kernel-features.h
55107         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
55108         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
55109         (__ASSUME_ARG_MAX_STACK_BASED): Define.
55110         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
55111         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
55112         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
55113         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
55115 2012-08-09  Jeff Law <law@redhat.com>
55117         [BZ #13939]
55118         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
55119         When avoid_arena is set, don't retry in the that arena.  Pick the
55120         next one, whatever it might be.
55121         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
55122         (arena_lock): Pass in new parameter to arena_get2.
55123         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
55124         arena_get2.
55125         (__libc_malloc): Unify retrying after main arena failure with
55126         __libc_memalign version.
55127         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
55129 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
55131         [BZ #14166]
55132         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
55133         to __redirect_strstr.
55134         (__strstr_sse42): Use typeof __redirect_strstr.
55135         (__strstr_ia32): Likewise.
55136         (__libc_strstr): New prototype.
55137         (strstr): Renamed to ...
55138         (__libc_strstr): This.
55139         (strstr): New strong alias of __libc_strstr.
55140         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
55141         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
55142         __redirect_time.
55143         Include <time.h>.
55144         (__libc_time): New prototype.
55145         (time_ifunc): Replace time with __libc_time.
55146         (time): New strong alias and hidden definition of __libc_time.
55147         (__GI_time): Remove strong alias.
55148         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
55149         Include <stddef.h>.
55150         (memmove): Redefined to __redirect_memmove.
55151         (__memmove_sse2): Use typeof __redirect_memmove.
55152         (__memmove_ssse3): Likewise.
55153         (__memmove_ssse3_back): Likewise.
55154         (__libc_memmove): New prototype.
55155         (memmove): Renamed to ...
55156         (__libc_memmove): This.
55157         (memmove): New strong alias of __libc_memmove.
55159 2012-08-08  Mark Salter  <msalter@redhat.com>
55161         * elf/elf.h
55162         (R_MN10300_TLS_GD): Define.
55163         (R_MN10300_TLS_LD): Likewise.
55164         (R_MN10300_TLS_LDO): Likewise.
55165         (R_MN10300_TLS_GOTIE): Likewise.
55166         (R_MN10300_TLS_IE): Likewise.
55167         (R_MN10300_TLS_LE): Likewise.
55168         (R_MN10300_TLS_DTPMOD): Likewise.
55169         (R_MN10300_TLS_DTPOFF): Likewise.
55170         (R_MN10300_TLS_TPOFF): Likewise.
55171         (R_MN10300_SYM_DIFF): Likewise.
55172         (R_MN10300_ALIGN): Likewise.
55173         (R_MN10300_NUM): Update.
55175 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
55177         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
55178         Remove.
55180 2012-08-08  Roland McGrath  <roland@hack.frob.com>
55182         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
55184         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
55185         sysdeps/unix -> sysdeps/posix move.
55186         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
55188 2012-08-07      Allan McRae     <allan@archlinux.org>
55190         [BZ #14303]
55191         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
55192         (SUNOS_CPP): Likewise.
55193         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
55194         not found.
55195         (open_input): Call CPP using execvp.
55197 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
55199         * sysdeps/unix/sysv/linux/kernel-features.h
55200         (__ASSUME_PROT_GROWSUPDOWN): Remove.
55201         (__ASSUME_NO_CLONE_DETACHED): Likewise.
55202         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55203         (__ASSUME_WAITID_SYSCALL): Likewise.
55204         * sysdeps/unix/sysv/linux/dl-execstack.c
55205         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
55206         code unconditional.
55207         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
55208         conditional code.
55209         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
55210         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
55211         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
55212         code.
55213         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
55214         unconditional.
55215         [__ASSUME_WAITID_SYSCALL]: Likewise.
55216         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
55218 2012-08-07  Roland McGrath  <roland@hack.frob.com>
55220         * sysdeps/unix/closedir.c: Renamed to ...
55221         * sysdeps/posix/closedir.c: ... here.
55222         * sysdeps/unix/dirfd.c: Renamed to ...
55223         * sysdeps/posix/dirfd.c: ... here.
55224         * sysdeps/unix/dirstream.h: Renamed to ...
55225         * sysdeps/posix/dirstream.h: ... here.
55226         * sysdeps/unix/fdopendir.c: Renamed to ...
55227         * sysdeps/posix/fdopendir.c: ... here.
55228         * sysdeps/unix/opendir.c: Renamed to ...
55229         * sysdeps/posix/opendir.c: ... here.
55230         * sysdeps/unix/readdir.c: Renamed to ...
55231         * sysdeps/posix/readdir.c: ... here.
55232         * sysdeps/unix/readdir_r.c: Renamed to ...
55233         * sysdeps/posix/readdir_r.c: ... here.
55234         * sysdeps/unix/rewinddir.c: Renamed to ...
55235         * sysdeps/posix/rewinddir.c: ... here.
55236         * sysdeps/unix/seekdir.c: Renamed to ...
55237         * sysdeps/posix/seekdir.c: ... here.
55238         * sysdeps/unix/telldir.c: Renamed to ...
55239         * sysdeps/posix/telldir.c: ... here.
55240         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
55241         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
55242         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
55243         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
55245         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
55246         * bits/fcntl.h: ... here.
55248         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
55249         not 0.
55250         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
55251         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
55252         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
55253         (struct flock): Move l_start, l_len to the beginning.
55254         Use __pid_t for l_pid.
55255         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
55256         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
55257         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
55258         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
55259         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
55260         [__USE_LARGEFILE64] (struct flock64): New type.
55261         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
55263         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
55264         * bits/dirent.h: ... here.
55266         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
55267         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
55269 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
55271         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55272         Change from 2.6.0 to 2.6.16.
55273         * sysdeps/unix/sysv/linux/configure: Regenerated.
55274         * sysdeps/unix/sysv/linux/kernel-features.h
55275         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
55276         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
55277         version.
55278         (__ASSUME_UTIMES): Likewise.
55279         (__ASSUME_CLONE_STOPPED): Remove.
55280         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
55281         architectures, not kernel version.
55282         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
55283         (__ASSUME_NO_CLONE_DETACHED): Likewise.
55284         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
55285         (__ASSUME_WAITID_SYSCALL): Likewise.
55286         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
55287         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
55288         * README: State 2.6.16 as minimum Linux kernel version.  Do not
55289         refer to older versions.
55291 2012-08-06  Roland McGrath  <roland@hack.frob.com>
55293         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
55294         Define alphasort64 as an alias.
55295         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
55296         Define versionsort64 as an alias.
55297         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
55298         Define scandir64 as an alias.
55299         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
55300         Define scandirat64 as an alias.
55301         * dirent/alphasort64.c (alphasort64):
55302         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
55303         * dirent/versionsort64.c: Likewise.
55304         * dirent/scandir64.c: Likewise.
55305         * dirent/scandirat64.c: Likewise.
55306         * sysdeps/wordsize-64/alphasort.c: File removed.
55307         * sysdeps/wordsize-64/alphasort64.c: File removed.
55308         * sysdeps/wordsize-64/scandir.c: File removed.
55309         * sysdeps/wordsize-64/scandir64.c: File removed.
55310         * sysdeps/wordsize-64/scandirat.c: File removed.
55311         * sysdeps/wordsize-64/scandirat64.c: File removed.
55312         * sysdeps/wordsize-64/versionsort.c: File removed.
55313         * sysdeps/wordsize-64/versionsort64.c: File removed.
55314         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
55315         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
55316         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
55317         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
55318         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
55319         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
55320         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
55321         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
55323         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
55324         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55325         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
55326         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55327         [defined __arch64__ || defined __sparcv9]
55328         (__INO_T_MATCHES_INO64_T): New macro.
55329         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55330         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
55331         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
55332         * sysdeps/unix/sysv/linux/bits/dirent.h
55333         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
55334         (_DIRENT_MATCHES_DIRENT64): New macro.
55336         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
55337         Define lockf64 as an alias.
55338         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
55339         Define fseeko64 as an alias.
55340         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
55341         Define ftello64 as an alias.
55342         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
55343         Define _IO_fgetpos64 and fgetpos64 as aliases.
55344         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
55345         Define _IO_fsetpos64 and fsetpos64 as aliases.
55346         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
55347         Conditionalize body on this.
55348         * libio/fseeko64.c: Likewise.
55349         * libio/ftello64.c: Likewise.
55350         * libio/iofgetpos64.c: Likewise.
55351         * libio/iofsetpos64.c: Likewise.
55352         * sysdeps/wordsize-64/lockf.c: File removed.
55353         * sysdeps/wordsize-64/lockf64.c: File removed.
55354         * sysdeps/wordsize-64/fseeko.c: File removed.
55355         * sysdeps/wordsize-64/fseeko64.c: File removed.
55356         * sysdeps/wordsize-64/ftello.c: File removed.
55357         * sysdeps/wordsize-64/ftello64.c: File removed.
55358         * sysdeps/wordsize-64/iofgetpos.c: File removed.
55359         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
55360         * sysdeps/wordsize-64/iofsetpos.c: File removed.
55361         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
55362         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
55363         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
55364         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
55365         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
55366         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
55367         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
55368         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
55369         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
55370         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
55371         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
55373         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55374         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
55375         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
55376         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55377         [defined __arch64__ || defined __sparcv9]
55378         (__OFF_T_MATCHES_OFF64_T): New macro.
55379         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55380         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
55381         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55382         (__OFF_T_MATCHES_OFF64_T): New macro.
55384 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
55386         * stdlib/secure-getenv.c (__secure_getenv): Replace
55387         GLIBC_2_16 with GLIBC_2_17.
55389 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
55391         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
55392         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
55394 2012-08-03  David S. Miller  <davem@davemloft.net>
55396         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55398 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
55400         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
55401         Remove.
55402         (__ASSUME_CORRECT_SI_PID): Likewise.
55403         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
55404         (__ASSUME_TMPFS_NAME): Likewise.
55405         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
55406         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
55407         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
55408         (HAVE_AUX_SECURE): Make definition unconditional.
55409         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
55410         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
55412 2012-08-03  Roland McGrath  <roland@hack.frob.com>
55414         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
55415         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
55416         * sysdeps/mach/hurd/eloop-threshold.h: New file.
55417         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
55418         __eloop_threshold instead of SYMLOOP_MAX.
55420         * sysdeps/generic/eloop-threshold.h: New file.
55421         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
55422         of MAXSYMLINKS.
55423         * elf/chroot_canon.c (chroot_canon): Likewise.
55425 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
55427         [BZ #13717]
55428         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55429         Change to 2.6.0 everywhere.
55430         * sysdeps/unix/sysv/linux/configure: Regenerated.
55431         * sysdeps/unix/sysv/linux/kernel-features.h
55432         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
55433         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
55434         kernel versions.
55435         (__ASSUME_POSIX_TIMERS): Define unconditionally.
55436         (__ASSUME_FUTEX_REQUEUE): Remove.
55437         (__ASSUME_STATFS64): Define unconditionally.
55438         (__ASSUME_AT_SECURE): Likewise.
55439         (__ASSUME_CORRECT_SI_PID): Likewise.
55440         (__ASSUME_TGKILL): Define without depending on kernel version for
55441         i386.
55442         (__ASSUME_UTIMES): Likewise.
55443         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
55444         kernel version.
55445         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
55446         (__ASSUME_TMPFS_NAME): Likewise.
55447         * README: Update reference to Linux kernel versions.
55449 2012-08-02  Marek Polacek  <polacek@redhat.com>
55451         [BZ# 14150]
55452         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
55453         libc_cv_asm_type_prefix with %.
55454         * configure: Regenerated.
55455         * include/libc-symbols.h: Remove comment about
55456         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55457         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
55458         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
55459         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
55460         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
55461         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
55462         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
55463         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
55464         * elf/tst-unique2mod1.c: Likewise.
55465         * elf/tst-unique1mod2.c: Likewise.
55466         * elf/tst-unique1mod1.c: Likewise.
55467         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
55468         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
55469         Replace ASM_TYPE_DIRECTIVE with .type.
55470         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55471         * sysdeps/i386/sysdep.h: Likewise.
55472         * sysdeps/x86_64/sysdep.h: Likewise.
55473         * sysdeps/sh/sysdep.h: Likewise.
55474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55475         Do not define ASM_TYPE_DIRECTIVE.
55476         * sysdeps/powerpc/sysdep.h: Likewise.
55477         * sysdeps/powerpc/powerpc32/sysdep.h:
55478         Replace ASM_TYPE_DIRECTIVE with .type.
55479         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
55480         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55481         * sysdeps/i386/fpu/e_powf.S: Likewise.
55482         * sysdeps/i386/fpu/e_expl.S: Likewise.
55483         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55484         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55485         * sysdeps/i386/fpu/e_pow.S: Likewise.
55486         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
55487         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55488         * sysdeps/i386/fpu/s_expm1.S: Likewise.
55489         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
55490         * sysdeps/i386/fpu/e_log2.S: Likewise.
55491         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55492         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55493         * sysdeps/i386/fpu/e_powl.S: Likewise.
55494         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55495         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
55496         * sysdeps/i386/fpu/e_logl.S: Likewise.
55497         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
55498         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
55499         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
55500         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55501         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55502         * sysdeps/i386/fpu/e_log.S: Likewise.
55503         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55504         * sysdeps/i386/fpu/e_logf.S: Likewise.
55505         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55506         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55507         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
55508         * sysdeps/i386/fpu/e_log10.S: Likewise.
55509         * sysdeps/i386/fpu/s_frexp.S: Likewise.
55510         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55511         * sysdeps/i386/fpu/s_asinh.S: Likewise.
55512         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
55513         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55514         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
55515         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
55516         * sysdeps/i386/i686/strtok.S: Likewise.
55517         * sysdeps/i386/i386-mcount.S: Likewise.
55518         * sysdeps/i386/strtok.S: Likewise.
55519         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
55520         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55521         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55522         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55523         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55524         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55525         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
55526         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
55527         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55528         * sysdeps/x86_64/_mcount.S: Likewise.
55529         * sysdeps/x86_64/strtok.S: Likewise.
55530         * sysdeps/sh/_mcount.S: Likewise.
55532 2012-08-01  Roland McGrath  <roland@hack.frob.com>
55534         * libio/iofopen.c: Include <fcntl.h>.
55535         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
55536         (_IO_fopen64, fopen64): Define as aliases.
55537         * libio/iofopen64.c: Include <fcntl.h>.
55538         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
55539         Conditionalize body on this.
55540         * sysdeps/wordsize-64/iofopen.c: File removed.
55541         * sysdeps/wordsize-64/iofopen64.c: File removed.
55543 2012-08-01  Marek Polacek  <polacek@redhat.com>
55545         * libc/Makeconfig: Use elf in place of binfmt-subdir.
55546         Use dlfcn directly instead of a variable.
55547         (binfmt-subdir): Do not define.
55548         (dlfcn): Likewise.
55550 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
55552         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
55553         Remove all definitions.
55554         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
55555         <kernel-features.h>.
55556         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55557         (miss_F_GETOWN_EX): Remove all definitions.
55558         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
55559         macro definition.
55560         [!__ASSUME_FCNTL64]: Remove conditional code.
55561         [__ASSUME_FCNTL64]: Make code unconditional.
55562         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
55563         <kernel-features.h>.
55564         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
55565         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
55566         (lockf64) [__NR_fcntl64]: Make code unconditional.
55567         (lockf64) [__ASSUME_FCNTL64]: Likewise.
55569         * sysdeps/unix/sysv/linux/kernel-features.h
55570         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
55571         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
55572         Make code unconditional.
55573         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55574         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
55576         [__NR_vfork]: Make code unconditional.
55577         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55578         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
55580         [__NR_vfork]: Make code unconditional.
55581         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
55582         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
55584 2012-08-01  Roland McGrath  <roland@hack.frob.com>
55586         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
55587         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
55589         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55590         Define mkstemp64 as an alias.
55591         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55592         Define mkstemps64 as an alias.
55593         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55594         Define mkostemp64 as an alias.
55595         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
55596         Define mkostemps64 as an alias.
55597         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
55598         Conditionalize body on this.
55599         * misc/mkostemp64.c: Likewise.
55600         * misc/mkostemps64.c: Likewise.
55601         * misc/mkstemps64.c: Likewise.
55602         * sysdeps/wordsize-64/mkstemp64.c: File removed.
55603         * sysdeps/wordsize-64/mkostemp64.c: File removed.
55604         * sysdeps/wordsize-64/mkostemp.c: File removed.
55605         * sysdeps/wordsize-64/mkstemp.c: File removed.
55606         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
55607         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
55608         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
55609         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
55611         [BZ #14138]
55612         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
55613         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
55614         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
55615         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
55617         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
55618         compat_symbol macros from <shlib-compat.h> rather than the underlying
55619         default_symbol_version and symbol_version macros, so that DEFAULT
55620         lines in shlib-versions are respected.
55621         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
55623 2012-08-01  Florian Weimer  <fweimer@redhat.com>
55625         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
55626         Declare with warn_unused_result.
55627         (setgid, setregid, setegid, setresgid): Likewise.
55628         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
55629         Likewise.
55630         * WUR-REPORT: Remove set*id functions.
55632 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
55634         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
55636 2012-07-31  Roland McGrath  <roland@hack.frob.com>
55638         [BZ #10191]
55639         * include/sys/socket.h (__libc_accept, __libc_accept4):
55640         Add attribute_hidden.
55641         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
55643         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
55644         use of PTR_MANGLE.
55645         * inet/getnetgrent_r.c (setup): Likewise.
55647         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
55649 2012-07-31  David S. Miller  <davem@davemloft.net>
55651         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55653 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
55655         [BZ #13629]
55656         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
55657         value between 1.0 and 2.0 and smaller part has absolute value less
55658         than 1.0.
55659         * math/s_clog10.c (__clog10): Likewise.
55660         * math/s_clog10f.c (__clog10f): Likewise.
55661         * math/s_clog10l.c (__clog10l): Likewise.
55662         * math/s_clogf.c (__clogf): Likewise.
55663         * math/s_clogl.c (__clogl): Likewise.
55664         * math/libm-test.inc (clog_test): Add more tests.
55665         (clog10_test): Likewise.
55666         * sysdeps/i386/fpu/libm-test-ulps: Update.
55667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55669 2012-07-31  Florian Weimer  <fweimer@redhat.com>
55671         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
55672         Exit with zero in case no suitable GID is found, and write a
55673         message to standard error.
55675 2012-07-30  Roland McGrath  <roland@hack.frob.com>
55677         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
55678         rather than to 1.
55679         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
55680         (MAXPATHLEN): Removed.
55681         (NOGROUP, NODEV): New macros.
55682         (setbit, clrbit, isset, isclr): New macros.
55683         (howmany, roundup, powerof2): New macros.
55684         (DEV_BSIZE): New macro.
55686         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
55687         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
55689         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
55690         definition on [!__NO_LONG_DOUBLE_MATH].
55692         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
55693         PTR_MANGLE and PTR_DEMANGLE.
55695         * socket/accept4.c (accept4): Rename to __libc_accept4.
55696         Define accept4 as a weak alias.
55698         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
55699         on [_DIRENT_HAVE_D_TYPE].
55700         * io/ftw.c (ftw_dir): Likewise.
55702         * io/xmknod.c (__xmknod): Don't check PATH for being null.
55704         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
55706         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
55707         Use the BSD numbers rather than the arbitrary ones we had.
55708         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
55709         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
55710         (SIGXCPU, SIGXFSZ): New macros.
55711         (_NSIG): Now 32.
55713         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
55714         initializer on [_LIBC_REENTRANT].
55716         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
55717         definitions inside [_POSIX_MAPPED_FILES].
55719         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
55721         * dirent/opendir.c: Include <fcntl.h>.
55723         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
55724         (__libc_getspecific): Likewise.
55725         (__libc_key_create): Likewise.
55727         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
55728         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
55729         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
55730         (tmpfile64): Define as alias.
55731         * sysdeps/wordsize-64/tmpfile.c: File removed.
55732         * sysdeps/wordsize-64/tmpfile64.c: File removed.
55733         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
55734         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
55736         * stdio-common/vfscanf.c: Include <stdbool.h>.
55737         * nss/makedb.c: Likewise.
55738         * stdio-common/_i18n_number.h: Likewise.
55739         * argp/argp-help.c: Likewise.
55740         * posix/wordexp.c: Likewise.
55741         * sysdeps/posix/spawni.c: Likewise.
55742         * nss/nss_files/files-initgroups.c: Likewise.
55743         * stdio-common/reg-modifier.c: Include <stdlib.h>.
55744         * nss/nss_files/files-initgroups.c: Likewise.
55745         * nss/nss_db/db-netgrp.c: Likewise.
55746         * nss/nss_db/db-initgroups.c: Likewise.
55747         * io/fchmodat.c: Include <sys/stat.h>.
55749         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
55750         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
55752         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
55753         [HAVE_MMAP].
55755         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
55756         Add multiple inclusion protection.
55758 2012-07-27  David S. Miller  <davem@davemloft.net>
55760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55762 2012-07-27  Gary Benson  <gbenson@redhat.com>
55764         [BZ #14298]
55765         * elf/rtld.c: Include <stap-probe.h>.
55766         (dl_main): Added static probes "init_start" and "init_complete".
55767         * elf/dl-load.c: Include <stap-probe.h>.
55768         (lose): Take new parameter "nsid".
55769         Added static probe "map_failed".
55770         (_dl_map_object_from_fd): Pass namespace id to lose.
55771         Added static probe "map_start".
55772         (open_verify): Pass namespace id to lose.
55773         * elf/dl-open.c: Include <stap-probe.h>.
55774         (dl_open_worker) Added static probes "map_complete", "reloc_start"
55775         and "reloc_complete".
55776         * elf/dl-close.c: Include <stap-probe.h>.
55777         (_dl_close_worker): Added static probes "unmap_start" and
55778         "unmap_complete".
55779         * elf/rtld-debugger-interface.txt: New file documenting the above.
55781 2012-07-26  Roland McGrath  <roland@hack.frob.com>
55783         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
55784         rather than a string variable.
55785         * sunrpc/rpc_main.c (h_output): Likewise.
55786         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
55788 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
55790         * inet/check_native.c: New file.
55792 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
55794         [BZ #13629]
55795         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
55796         if larger part has absolute value 1.0.
55797         * math/s_clog10.c (__clog10): Likewise.
55798         * math/s_clog10f.c (__clog10f): Likewise.
55799         * math/s_clog10l.c (__clog10l): Likewise.
55800         * math/s_clogf.c (__clogf): Likewise.
55801         * math/s_clogl.c (__clogl): Likewise.
55802         * math/libm-test.inc (clog_test): Add more tests.
55803         (clog10_test): Likewise.
55804         * sysdeps/i386/fpu/libm-test-ulps: Update.
55805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55807         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
55808         (pltexit): Likewise.
55809         (La_regs): Likewise.
55810         (La_retval): Likewise.
55811         (int_retval): Likewise.
55812         Update #error for removed macros to refer only to definitions in
55813         tst-audit.h.
55814         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
55815         macro.
55816         (pltexit): Likewise.
55817         (La_regs): Likewise.
55818         (La_retval): Likewise.
55819         (int_retval): Likewise.
55820         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
55821         macro.
55822         (pltexit): Likewise.
55823         (La_regs): Likewise.
55824         (La_retval): Likewise.
55825         (int_retval): Likewise.
55826         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
55827         macro.
55828         (pltexit): Likewise.
55829         (La_regs): Likewise.
55830         (La_retval): Likewise.
55831         (int_retval): Likewise.
55832         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
55833         macro.
55834         (pltexit): Likewise.
55835         (La_regs): Likewise.
55836         (La_retval): Likewise.
55837         (int_retval): Likewise.
55838         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
55839         macro.
55840         (pltexit): Likewise.
55841         (La_regs): Likewise.
55842         (La_retval): Likewise.
55843         (int_retval): Likewise.
55844         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
55845         macro.
55846         (pltexit): Likewise.
55847         (La_regs): Likewise.
55848         (La_retval): Likewise.
55849         (int_retval): Likewise.
55850         * sysdeps/generic/tst-audit.h: Update comment to refer only to
55851         macro definitions in tst-audit.h.
55852         * sysdeps/i386/tst-audit.h: New file.
55853         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
55854         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
55855         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
55856         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
55857         * sysdeps/sh/tst-audit.h: Likewise.
55858         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
55859         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
55860         * sysdeps/x86_64/tst-audit.h: Likewise.
55862 2012-07-26  Andreas Jaeger  <aj@suse.de>
55864         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
55865         ptrace.
55867         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
55868         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
55869         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
55870         PTRACE_O_MASK.
55871         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
55872         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
55873         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
55875         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
55876         value.
55878         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
55879         _sigsys.
55880         (si_call_addr, si_syscall, si_arch): Define new macro.
55881         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
55882         _sigsys.
55883         (si_call_addr, si_syscall, si_arch): Define new marcro.
55884         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
55885         _sigsys.
55886         (si_call_addr, si_syscall, si_arch): Define new macro.
55887         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
55888         _sigsys.
55889         (si_call_addr, si_syscall, si_arch): Define new macro.
55891 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
55893         [BZ #13717]
55894         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
55895         Change to 2.4.21 where previously 2.4.1.
55896         * sysdeps/unix/sysv/linux/configure: Regenerated.
55897         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
55898         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
55899         Linux kernel version.
55900         (__ASSUME_STD_AUXV): Remove.
55901         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
55902         kernel version.
55903         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
55904         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
55905         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
55906         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
55907         (__ASSUME_NETLINK_SUPPORT): Likewise.
55908         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
55909         (__no_netlink_support): Remove conditional definition.
55910         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
55911         Remove.
55912         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55913         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
55914         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
55915         (if_nameindex_ioctl): Remove.
55916         (if_nameindex_netlink): Do not handle __no_netlink_support.
55917         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55918         code.
55919         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
55920         Remove conditional code.
55921         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
55922         code.
55923         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
55924         unconditional.
55925         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
55926         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
55927         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
55928         Remove.
55929         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
55930         [!__ASSUME_STD_AUXV]: Remove conditional code.
55931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
55932         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
55933         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
55934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
55935         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
55936         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
55937         code.
55938         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
55939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
55940         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
55941         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
55942         conditional code.
55943         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
55944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
55945         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
55946         code.
55947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
55948         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
55949         conditional code.
55950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
55951         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55952         code unconditional.
55953         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55954         conditional code.
55955         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55956         unconditional.
55957         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55958         conditional code.
55959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55960         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55961         unconditional.
55962         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55963         conditional code.
55964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
55965         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55966         code unconditional.
55967         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55968         conditional code.
55969         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55970         unconditional.
55971         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55972         conditional code.
55973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
55974         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
55975         code unconditional.
55976         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55977         conditional code.
55978         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
55979         unconditional.
55980         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
55981         conditional code.
55983 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
55985         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
55986         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
55987         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
55988         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
55989         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
55990         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
55991         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
55992         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
55993         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
55994         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
55995         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
55996         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
55997         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
55998         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
55999         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
56000         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
56001         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
56002         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
56003         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
56004         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
56005         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
56006         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
56007         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
56009 2012-07-25  Florian Weimer  <fweimer@redhat.com>
56011         * Versions.def: Add GLIBC_2.17.
56012         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
56013         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
56014         Introduce __libc_secure_getenv.
56015         * stdlib/Versions (2.17): Add secure_getenv
56016         (GLIBC_PRIVATE): Add __libc_secure_getenv.
56017         * stdlib/secure-getenv.c: Rename __secure_getenv to
56018         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
56019         symbol __secure_getenv for GLIBC_2.0.
56020         * stdlib/tst-secure-getenv.c: New.
56021         * stdlib/Makefile (tests): Add testcase.
56022         * manual/startup.texi (Environment Access): Document
56023         secure_getenv.
56024         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
56025         __libc_secure_getenv.
56026         * inet/ruserpass.c (ruserpass): Likewise.
56027         * malloc/mtrace.c (mtrace): Likewise.
56028         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
56029         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
56030         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
56031         * sysdeps/posix/tempname.c: Likewise.  Evaluate
56032         HAVE_SECURE_GETENV.
56033         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
56034         __secure_getenv to __libc_secure_getenv.
56035         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
56036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56037         Likewise.
56038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56039         Likewise.
56040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
56041         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
56042         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56043         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
56044         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
56045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
56048 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
56050         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
56051         (struct La_i86_retval): Likewise.
56052         (struct La_x86_64_regs): Likewise.
56053         (struct La_x86_64_retval): Likewise.
56054         (struct La_x32_regs): Likewise.
56055         (struct La_x32_retval): Likewise.
56056         (struct La_ppc32_regs): Likewise.
56057         (struct La_ppc32_retval): Likewise.
56058         (struct La_ppc64_regs): Likewise.
56059         (struct La_ppc64_retval): Likewise.
56060         (struct La_sh_regs): Likewise.
56061         (struct La_sh_retval): Likewise.
56062         (struct La_s390_32_regs): Likewise.
56063         (struct La_s390_32_retval): Likewise.
56064         (struct La_s390_64_regs): Likewise.
56065         (struct La_s390_64_retval): Likewise.
56066         (struct La_sparc32_regs): Likewise.
56067         (struct La_sparc32_retval): Likewise.
56068         (struct La_sparc64_regs): Likewise.
56069         (struct La_sparc64_retval): Likewise.
56070         (struct audit_ifaces): Remove architecture-specific pltenter and
56071         pltexit members.
56072         * sysdeps/i386/ldsodefs.h: New file.
56073         * sysdeps/powerpc/ldsodefs.h: Likewise.
56074         * sysdeps/s390/ldsodefs.h: Likewise.
56075         * sysdeps/sh/ldsodefs.h: Likewise.
56076         * sysdeps/sparc/ldsodefs.h: Likewise.
56077         * sysdeps/x86_64/ldsodefs.h: Likewise.
56079 2012-07-25  Marek Polacek  <polacek@redhat.com>
56081         [BZ #6808]
56082         * math/libm-test.inc (yn_test): Add another test.
56083         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
56084         to ERANGE when the result is +-Inf.
56085         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
56086         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
56087         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
56088         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
56090 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
56092         * conform/data/time.h-data (NULL): Use macro-constant.  Require
56093         equal to 0.
56094         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
56095         clock_t.
56096         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
56098 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
56100         * configure.in <sysdeps resolving>: Correct printing
56101         Implies_before.
56102         * configure: Regenerate.
56104 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
56106         * math/w_ilogb.c: Include <limits.h>.
56107         * math/w_ilogbl.c: Likewise.
56109 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
56111         * manual/lang.texi (__va_copy): Document primarily as ISO C99
56112         va_copy.  Document allowing for unavailable va_copy only as
56113         pre-C99 compatibility.
56114         * manual/string.texi (Copying and Concatenation): Use va_copy
56115         instead of __va_copy in concat example.
56117 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
56119         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
56120         (__sendto): Use create_address_port.  Initialize APORT and deallocate
56121         it if not null.
56123         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
56124         with O_NOLINK passed to __file_name_lookup.
56126         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
56127         with O_NOLINK passed to __file_name_lookup.
56129         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
56130         negative N or less than NGIDS.
56132         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
56133         type to string_t.  Set ERANGE as errno and return it if NAME is not big
56134         enough.  Use memcpy instead of strncpy.
56136 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
56138         * elf/Makefile (check-data): Remove.
56139         (localplt.data): New vpath directive.
56140         ($(objpfx)check-localplt.out): Use localplt.data from vpath
56141         instead of $(check-data).
56142         * scripts/data/localplt-generic.data: Move to ...
56143         * sysdeps/generic/localplt.data: ... here.
56144         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
56145         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
56146         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
56147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
56148         ... here.
56149         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
56150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
56151         ... here.
56152         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
56153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
56154         ... here.
56155         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
56156         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
56157         ... here.
56158         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
56159         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
56160         ... here.
56161         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
56162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
56163         ... here.
56165 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56167         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
56168         PPC32 and PPC64 files.
56169         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
56170         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
56172 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56174         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
56175         __makecontext_ret to ...
56176         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
56177         ... here and call exit if uc_link is NULL.  New file.
56178         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
56179         __makecontext_ret.S.
56180         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
56181         __makecontext_ret to ...
56182         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
56183         ... here and call exit if uc_link is NULL.  New file.
56184         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
56185         __makecontext_ret.S.
56187 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56189         * elf/elf.h (R_390_IRELATIVE): New definition.
56190         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
56191         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
56192         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
56193         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
56194         (elf_machine_lazy_rel): Likewise.
56195         * sysdeps/s390/dl-irel.h: New file.
56196         * sysdeps/s390/s390-64/memcpy.S: New asm code.
56197         * sysdeps/s390/s390-64/memset.S: New asm code.
56198         * sysdeps/s390/s390-64/memcmp.S: New asm code.
56199         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
56200         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
56201         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
56202         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
56203         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
56204         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
56205         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
56206         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
56207         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
56208         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
56209         * sysdeps/s390/s390-32/memcpy.S: New asm code.
56210         * sysdeps/s390/s390-32/memset.S: New asm code.
56211         * sysdeps/s390/s390-32/memcmp.S: New asm code.
56213 2012-07-17  Marek Polacek  <polacek@redhat.com>
56215         [BZ #14349]
56216         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
56217         * sysdeps/s390/s390-64/configure.in: Likewise.
56218         * sysdeps/sparc/configure.in: Likewise.
56219         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
56220         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
56221         * sysdeps/i386/configure.in: Likewise.
56222         * sysdeps/x86_64/configure.in: Likewise.
56223         * sysdeps/sh/configure.in: Likewise.
56224         * sysdeps/s390/s390-32/configure: Regenerated.
56225         * sysdeps/s390/s390-64/configure: Likewise.
56226         * sysdeps/x86_64/configure: Likewise.
56227         * sysdeps/sh/configure: Likewise.
56228         * sysdeps/powerpc/powerpc64/configure: Likewise.
56229         * sysdeps/powerpc/powerpc32/configure: Likewise.
56230         * sysdeps/sparc/configure: Likwise.
56231         * sysdeps/i386/configure: Likewise.
56233         * elf/dl-open.c: Comment fixes.
56235 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
56237         * Makefile [CXX] (check-data): Remove.
56238         [CXX] (c++-types.data): New vpath directive.
56239         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
56240         vpath.  Do not allow for C++ type data being missing.
56241         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
56242         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
56243         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
56244         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
56245         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
56246         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
56247         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
56248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
56249         ... here.
56250         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
56251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
56252         ... here.
56253         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
56254         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
56255         ... here.
56256         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
56257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
56258         ... here.
56259         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
56260         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
56261         ... here.
56262         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
56263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
56264         ... here.
56265         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
56266         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
56267         ... here.
56268         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
56269         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
56271         * elf/tls-macros.h (TLS_LE): Move architecture-specific
56272         definitions to architecture-specific files.
56273         (TLS_IE): Likewise.
56274         (TLS_LD): Likewise.
56275         (TLS_GD): Likewise.
56276         * sysdeps/i386/tls-macros.h: New file.
56277         * sysdeps/powerpc/tls-macros.h: Likewise.
56278         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
56279         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
56280         * sysdeps/sh/tls-macros.h: Likewise.
56281         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
56282         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
56283         * sysdeps/x86_64/tls-macros.h: Likewise.
56285 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
56287         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
56288         zero value for regular exit case.
56290         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
56291         (__start_context): Preserve zero value for regular exit case.
56293 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
56294             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56296         * manual/setjmp.texi (setcontext): Clarify normal process
56297         termination when uc_link is the null pointer.
56298         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
56299         exit call.
56301 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
56303         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
56304         preprocessor.  Test for each exception mask separately.
56306 2012-07-16  Andreas Jaeger  <aj@suse.de>
56308         * po/ru.po: Update from translation team.
56310 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
56312         * conform/data/string.h-data (NULL): Use macro-constant.  Require
56313         equal to 0.
56314         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
56315         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
56316         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
56317         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
56318         [ISO || ISO99 || ISO11] (*_t): Do not allow.
56320 2012-07-13  Andreas Jaeger  <aj@suse.de>
56322         * po/fr.po: Update from translation team.
56324 2012-07-12  Marek Polacek  <polacek@redhat.com>
56326         [BZ #14173]
56327         * math/libm-test.inc (yn_test): Add test for BZ #14173.
56328         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
56329         loop condition.
56331 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
56333         [BZ #13717]
56334         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
56335         Change to 2.4.1 where previously 2.4.0.
56336         * sysdeps/unix/sysv/linux/configure: Regenerated.
56337         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
56338         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
56339         version.
56340         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
56341         (__ASSUME_AT_CLKTCK): Remove.
56342         (__ASSUME_AT_PAGESIZE): Likewise.
56343         (__ASSUME_AT_XID): Likewise.
56344         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
56345         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
56346         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
56347         unconditionally.
56348         (HAVE_AUX_PAGESIZE): Likewise.
56349         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
56350         [__ASSUME_AT_CLKTCK]: Make code unconditional.
56351         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
56353 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
56355         [BZ #14307]
56356         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
56357         the temporary buffer used to invoke __gethostbyname2_r,
56358         __gethostbyaddr_r and gethostbyname4_r to make room for struct
56359         host_data / struct gaih_addrtuple.
56360         * resolv/nss_dns/dns-host.c (global scope): Move definition of
56361         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
56362         header file nss/nsswitch.h.
56363         * nss/nsswitch.h (global scope): Add definition of implementation
56364         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
56365         resolv/nss_dns/dns-host.c).
56367 2012-07-11  Andreas Jaeger  <aj@suse.de>
56369         * po/fr.po: Update from translation team.
56371         * po/sv.po: Update from translation team
56372         * po/fr.po: Another update from translation team.
56374 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56376         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
56377         for subnormals or multiply small sinh result by itself.
56378         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
56379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56381 2012-07-11  David S. Miller  <davem@davemloft.net>
56383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56385 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
56387         [BZ #14347]
56388         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
56389         (INTERNAL_MARK): Shift it here.
56391 2012-07-10  Marek Polacek  <polacek@redhat.com>
56393         [BZ #14151]
56394         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
56395         libc_cv_asm_global_directive with .globl.
56396         * configure: Regenerated.
56397         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
56398         with .globl.
56399         * sysdeps/i386/configure: Regenerated.
56400         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
56401         with .globl.
56402         * sysdeps/x86_64/configure: Regenerated.
56403         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
56404         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
56405         * elf/tst-unique2mod2.c: Likewise.
56406         * elf/tst-unique2mod1.c: Likewise.
56407         * elf/tst-unique1mod2.c: Likewise.
56408         * elf/tst-unique1mod1.c: Likewise.
56409         * sysdeps/s390/s390-32/sysdep.h: Likewise.
56410         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
56411         * sysdeps/s390/s390-64/sysdep.h: Likewise.
56412         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
56413         * sysdeps/mach/sysdep.h: Likewise.
56414         * sysdeps/i386/sysdep.h: Likewise.
56415         * sysdeps/i386/i386-mcount.S: Likewise.
56416         * sysdeps/x86_64/_mcount.S: Likewise.
56417         * sysdeps/x86_64/sysdep.h: Likewise.
56418         * sysdeps/sh/_mcount.S: Likewise.
56419         * sysdeps/sh/sysdep.h: Likewise.
56420         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
56421         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
56422         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
56423         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56424         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
56425         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
56426         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
56427         * locale/localeinfo.h: Likewise.
56428         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
56429         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
56431 2012-07-09  Roland McGrath  <roland@hack.frob.com>
56433         [BZ #14336]
56434         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
56435         system".
56436         * manual/message.texi (The Uniforum approach): Likewise.
56437         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
56438         (glibc iconv Implementation): Likewise.
56440 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
56442         [BZ #14337]
56443         * math/s_clog.c (__clog): Avoid scaling a value down where that
56444         could result in underflow.
56445         * math/s_clog10.c (__clog10): Likewise.
56446         * math/s_clog10f.c (__clog10f): Likewise.
56447         * math/s_clog10l.c (__clog10l): Likewise.
56448         * math/s_clogf.c (__clogf): Likewise.
56449         * math/s_clogl.c (__clogl): Likewise.
56450         * math/libm-test.inc (clog_test): Add more tests.
56451         (clog10_test): Likewise.
56452         * sysdeps/i386/fpu/libm-test-ulps: Update.
56453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56455 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
56457         [BZ #14283]
56458         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
56459         by 7 not 8 to examine high bit of fractional part.
56461         [BZ #14042]
56462         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
56463         for call to __mcount_internal.
56464         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
56465         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
56466         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
56468 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
56470         [BZ #14154]
56471         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
56472         approximation for values within 0x1p-13f of an odd multiple of
56473         pi/4.
56474         * math/libm-test.inc (tan_test): Do not allow spurious underflow
56475         exception.  Add more tests.
56476         * sysdeps/i386/fpu/libm-test-ulps: Update.
56478         [BZ #6778]
56479         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
56480         inputs and return -1 for them.  Do not check for +Inf in case not
56481         reachable for +Inf.
56482         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
56483         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
56484         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56485         and return -1 for them.  Do not check for +Inf in case not
56486         reachable for +Inf.
56487         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
56488         define.
56489         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
56490         and return -1 for them.  Do not check for +Inf in case not
56491         reachable for +Inf.
56492         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
56493         spurious underflow.
56494         * sysdeps/i386/fpu/libm-test-ulps: Update.
56495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56497 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
56499         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
56501 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
56503         [BZ #14157]
56504         [BZ #14331]
56505         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
56506         could result in spurious underflow.  Scale down values above
56507         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
56508         * math/s_csqrtf.c (__csqrtf): Likewise.
56509         * math/s_csqrtl.c (__csqrtl): Likewise.
56510         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
56511         spurious underflow.
56512         * sysdeps/i386/fpu/libm-test-ulps: Update.
56513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56515 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
56517         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
56518         xopen-msg.sed.
56519         * catgets/xopen-msg.awk: New file.
56520         * catgets/xopen-msg.sed: Removed.
56522         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
56523         po2text.sed.
56524         * intl/po2test.awk: New file.
56525         * intl/po2test.sed: Removed.
56527 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
56529         [BZ #14328]
56530         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
56531         or multiply small sinh result by itself.
56532         * math/s_ctanf.c (__ctanf): Likewise.
56533         * math/s_ctanh.c (__ctanh): Likewise.
56534         * math/s_ctanhf.c (__ctanhf): Likewise.
56535         * math/s_ctanhl.c (__ctanhl): Likewise.
56536         * math/s_ctanl.c (__ctanl): Likewise.
56537         * math/libm-test.inc (ctan_test_tonearest): New function.
56538         (ctan_test_towardzero): Likewise.
56539         (ctan_test_downward): Likewise.
56540         (ctan_test_upward): Likewise.
56541         (ctanh_test_tonearest): Likewise.
56542         (ctanh_test_towardzero): Likewise.
56543         (ctanh_test_downward): Likewise.
56544         (ctanh_test_upward): Likewise.
56545         (main): Call these new functions.
56546         * sysdeps/i386/fpu/libm-test-ulps: Update.
56547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56549 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
56551         * .gitignore: Delete /ports entry.
56553 2012-07-03  Andreas Jaeger  <aj@suse.de>
56555         * po/bg.po: Update from translation team.
56556         * po/cs.po: Likewise.
56557         * po/de.po: Likewise.
56558         * po/hr.po: Likewise.
56559         * po/nl.pl: Likewise.
56560         * po/pl.po: Likewise.
56561         * po/vi.po: Likewise.
56563 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
56565         * Makeconfig [!+link] (+link-before-libc): New variable.
56566         [!+link] (+link-after-libc): Likewise.
56567         [!+link] (+link-tests): Likewise.
56568         [!+link] (+link): Define in terms of $(+link-before-libc) and
56569         $(+link-after-libc).
56570         [!+link-static] (+link-static-before-libc): New variable.
56571         [!+link-static] (+link-static-after-libc): Likewise.
56572         [!+link-static] (+link-static-tests): Likewise.
56573         [!+link-static] (+link-static): Define in terms of
56574         $(+link-static-before-libc) and $(+link-static-after-libc).
56575         [build-shared] (link-libc-before-gnulib): New variable.
56576         [build-shared] (link-libc-tests): Likewise.
56577         [build-shared] (link-libc): Define in terms of
56578         $(link-libc-before-gnulib).
56579         [!build-shared] (link-libc-tests): New variable.
56580         (link-libc-static-tests): New variable.
56581         [!gnulib] (gnulib-arch): New variable.
56582         [!gnulib] (gnulib-tests): Likewise.
56583         [!gnulib] (static-gnulib-arch): Likewise.
56584         [!gnulib] (static-gnulib-tests): Likewise.
56585         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
56586         Define with "=" instead of ":=".
56587         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
56588         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
56589         * Rules (binaries-all-notests): New variable.
56590         (binaries-all-tests): Likewise.
56591         (binaries-static-notests): Likewise.
56592         (binaries-static-tests): Likewise.
56593         (binaries-all): Define using $(binaries-all-notests) and
56594         $(binaries-all-tests).
56595         (binaries-static): Define using $(binaries-static-notests) and
56596         $(binaries-static-tests).
56597         (binaries-shared-tests): New variable.
56598         (binaries-shared-notests): Likewise.
56599         (binaries-shared): Remove variable.
56600         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
56601         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
56602         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
56603         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
56604         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
56605         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
56606         * elf/Makefile (sln-modules): New variable.
56607         (extra-objs): Add $(sln-modules:=.o).
56608         (ldconfig-modules): Add static-stubs.
56609         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
56610         * elf/static-stubs.c: New file.
56612         [BZ #14283]
56613         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
56614         by 7 not 8 to examine high bit of fractional part.  Use volatile
56615         variables when splitting into final array of floats if
56616         __FLT_EVAL_METHOD__ != 0.
56617         * math/libm-test.inc (cos_test): Add another test.
56618         (sin_test): Likewise.
56619         * sysdeps/i386/fpu/libm-test-ulps: Update.
56621         [BZ #14273]
56622         * math/libm-test.inc (cosh_test): Add more tests.
56624         * version.h (RELEASE): Set to "development".
56625         (VERSION): Set to "2.16.90".
56627 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
56629         * NEWS: Update copyright. Remove last-updated date.
56630         Mention math library bug fixes and timezone data changes.
56631         * README: Mention GNU/Hurd, x32, and HPPA support status.
56633 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
56635         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
56637 2012-06-27  Andreas Jaeger  <aj@suse.de>
56639         * manual/contrib.texi (Contributors): Add Samuel Thibault.
56641 2012-06-25  Andreas Jaeger  <aj@suse.de>
56643         * sysdeps/s390/fpu/libm-test-ulps: Update.
56645 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
56646             Thomas Schwinge  <thomas@codesourcery.com>
56648         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
56649         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
56650         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
56651         fanotify_mark.
56653 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
56655         * sysdeps/mach/start.c: Remove file.
56656         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
56657         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
56658         * sysdeps/sh/init-first.c: Likewise.
56660         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
56661         registers for frame unwinding purposes, add CFI directives.
56662         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56663         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
56664         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
56665         Likewise.
56667         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
56668         __fortify_fail returning.
56669         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
56671         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
56672         sysdeps/sh/____longjmp_chk.S.
56673         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
56674         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
56675         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
56676         (gen-as-const-headers): Append sigaltstack-offsets.sym.
56678         * sysdeps/sh/abort-instr.h: New file.
56679         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
56680         process in case exit returns.
56682         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
56683         initialize the GOT register before use.
56685         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
56686         calculation of ARGC > 4.
56688         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
56689         meaningful names to some local labels.
56691 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
56692             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56694         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
56695         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
56696         (__arch_compare_and_exchange_val_16_acq): Likewise.
56697         (__arch_compare_and_exchange_val_32_acq): Likewise.
56698         (atomic_exchange_and_add): Fix gUSA sequence.
56699         (atomic_add): Likewise.
56700         (atomic_add_negative): Likewise.
56701         (atomic_add_zero): Likewise.
56702         (atomic_bit_test_set): Likewise.
56704 2012-06-22  Andreas Schwab  <schwab@redhat.com>
56706         [BZ #13579]
56707         * include/link.h (struct link_map): Add l_free_initfini.
56708         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
56709         l_initfini.
56710         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
56711         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
56712         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
56713         set.
56715 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
56717         * configure.in: Use AC_LANG_SOURCE.
56718         * configure: Regenerate.
56720 2012-06-22  Roland McGrath  <roland@hack.frob.com>
56722         * configure.in (libc_cv_localstatedir): New substituted variable.
56723         * configure: Regenerated.
56724         * config.make.in (localstatedir): New variable, substituted from
56725         libc_cv_localstatedir.
56726         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
56727         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
56728         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
56729         * sysdeps/gnu/configure: Regenerated.
56731 2012-06-21  Jeff Law  <law@redhat.com>
56733         [BZ #14277]
56734         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
56735         free.  Simplify list management for _LIBC case.
56737 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
56739         [BZ #14273]
56740         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
56741         Clear sign bit of 64-bit integer value before comparing against
56742         overflow value.
56744         * sysdeps/mach/configure: Regenerated.
56746 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
56748         [BZ #14278]
56749         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
56751 2012-06-21  Jeff Law  <law@redhat.com>
56753         [BZ #13882]
56754         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
56755         uint16_t for elements in the "seen" array to avoid char overflows.
56756         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56757         * elf/dl-open.c (dl_open_worker): Likewise.
56759 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
56761         * scripts/list-sources.sh: Scan PORTS for translations.
56762         * po/libc.pot: Regenerated.
56764 2012-06-21  Andreas Jaeger  <aj@suse.de>
56766         [BZ #12194]
56767         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
56768         warning.
56769         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
56770         * bits/byteswap-16.h (__bswap_16): Likewise.
56771         * bits/byteswap.h (__bswap_constant_16): Likewise.
56773 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
56775         [BZ #14117]
56776         * sysdeps/i386/fpu_control.h: Removed.
56777         * sysdeps/x86_64/fpu_control.h: Moved to ...
56778         * sysdeps/x86/fpu_control.h: Here.
56780         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
56781         (_FPU_SETCW): Likewise.
56783 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
56785         [BZ #14117]
56786         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
56787         * sysdeps/x86/fpu/bits/mathinline.h: This.
56788         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
56790         [BZ #14050]
56791         [BZ #14117]
56792         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
56793         functions if __x86_64__ is defined.
56795 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
56797         * string/endian.h: Add !__ASSEMBLER__ condition for including
56798         conversion interfaces.
56800 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
56802         [BZ #14241]
56803         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
56804         of ABS(x) in calculating zero to negative powers other than odd
56805         integers.
56806         * math/libm-test.inc (pow_test): Add more tests.
56808 2012-06-15  Andreas Jaeger  <aj@suse.de>
56810         * manual/contrib.texi (Contributors): Update entry of Liubov
56811         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
56812         Machado Filho.
56814 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
56816         * string/string.h: Add __wur to GNU version of strerror_r.
56818 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
56820         [BZ #14229]
56821         * string/Makefile (tests): Add tst-strtok_r.
56822         * string/tst-strtok_r.c: New file.
56823         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
56824         RAX_LP/RDX_LP on SAVE_PTR.
56826 2012-06-14  Roland McGrath  <roland@hack.frob.com>
56828         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
56830 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
56832         * libm_test.inc (csqrt_test): Allow more spurious underflow
56833         exceptions.
56834         (j0_test): Likewise.
56835         (j1_test): Likewise.
56836         (y0_test): Likewise.
56837         (y1_test): Likewise.
56839 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
56841         * po/Makefile (libc.pot): Use UTF-8 charset.
56843 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
56845         [BZ #14210]
56846         Suppress sign-conversion warning from FD_SET.
56847         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
56848         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
56849         not unsigned long int.
56850         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
56852 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
56854         [BZ #14050]
56855         [BZ #14117]
56856         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
56857         __extern_always_inline instead of __extern_inline.
56858         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
56859         (__signbit): Likewise.
56860         (__signbitl): Support C++ namespace.
56861         (lrintf): New inline function.
56862         (lrint): Likewise.
56863         (llrintf): Likewise.
56864         (llrint): Likewise.
56865         (fmaxf): Likewise.
56866         (fmax): Likewise.
56867         (fminf): Likewise.
56868         (fmin): Likewise.
56869         (rint): Likewise.
56870         (rintf): Likewise.
56871         (ceil): Likewise.
56872         (ceilf): Likewise.
56873         (floor): Likewise.
56874         (floorf): Likewise.
56875         (nearbyint): Likewise.
56876         (nearbyintf): Likewise.
56878 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
56880         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
56881         non-default versions.
56883 2012-06-11  Roland McGrath  <roland@hack.frob.com>
56885         [BZ #14218]
56886         * manual/argp.texi (Argp): Reword argp_parse description slightly.
56888 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
56890         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
56891         (FE_UPWARD, FE_DOWNWARD): Don't define.
56892         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
56893         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
56895         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
56896         reading it.
56897         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
56898         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56900 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56902         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
56903         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
56904         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
56905         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
56907 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
56909         [BZ #14117]
56910         * sysdeps/i386/fpu/bits/fenv.h: Removed.
56911         * sysdeps/i386/fpu/Implies: New file.
56912         * sysdeps/x86_64/fpu/Implies: Likewise.
56913         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
56914         * sysdeps/x86/fpu/bits/fenv.h: This.
56916         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
56917         __SSE_MATH__.
56919 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56921         [BZ #14134]
56922         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
56923         character 0xffff that matches the last element of the
56924         conversion table.
56926 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56928         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
56929         fmodl commit.
56931 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56933         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
56934         values higher than 25.6283.
56936 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56938         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
56939         subnormal exponent extraction and add some __builtin_expect.
56940         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
56941         Fix for subnormal mantissa calculation.
56943 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
56945         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
56946         cpu2 is -1 and errno is not ENOSYS.
56948 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
56950         [BZ #14117]
56951         * sysdeps/i386/i486/bits/string.h: Renamed to ...
56952         * sysdeps/x86/bits/string.h: This.
56953         * sysdeps/x86_64/bits/string.h: Removed.
56955         * sysdeps/i386/i486/bits/string.h: Define inline functions only
56956         if not compiling for x86-64, but compiling for >= i486.
56958         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
56959         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
56961         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
56962         New macro from Linux kernel 3.4.0.
56963         (FP_XSTATE_MAGIC2): Likewise.
56964         (FP_XSTATE_MAGIC2_SIZE): Likewise.
56965         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
56966         (struct _fpx_sw_bytes): New struct.
56967         (struct _xsave_hdr): Likewise.
56968         (struct _ymmh_state): Likewise.
56969         (struct _xstate): Likewise.
56971         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
56972         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
56973         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
56974         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
56975         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
56976         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
56978         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
56979         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
56980         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
56981         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
56982         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
56983         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
56985 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56987         [BZ #13743]
56988         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
56989         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
56990         (sysdep_headers): Include sys/platform/ppc.h.
56991         * sysdeps/powerpc/test-gettimebase.c: Test for
56992         __ppc_get_timebase() to catch future ISA opcode/insn changes.
56993         * manual/Makefile (appendices): Include platform.texi.
56994         * manual/contrib.texi (Contributors): Update @node pointers.
56995         * manual/maint.texi (Maintenance): Likewise.
56996         (Platform): New node.
56997         * manual/platform.texi: New file.  Document the new features.
56999 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57000             Jakub Jelinek  <jakub@redhat.com>
57002         [BZ #14188]
57003         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
57004         where __builtin_expect is unavailable.
57006 2012-06-03  David S. Miller  <davem@davemloft.net>
57008         * stdlib/longlong.h: Updated from GCC.
57010 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
57012         [BZ #14042]
57013         * sysdeps/powerpc/powerpc32/mcount.c: New file.
57014         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
57015         __mcount_internal.
57016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
57017         (GLIBC_2.16): Likewise.
57019 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57021         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
57023 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
57025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
57026         (default-abi): New variable.
57027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
57028         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
57029         variable.
57030         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
57031         Likewise.
57032         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
57033         Likewise.
57034         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
57035         Likewise.
57037         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
57038         definition.  Document in comment.
57040 2012-06-01  David S. Miller  <davem@davemloft.net>
57042         * stdlib/longlong.h: Updated from GCC.
57044 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57046         [BZ #14117]
57047         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
57048         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
57049         sys/debugreg.h sys/io.h here.
57050         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
57051         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
57052         sys/io.h.
57053         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
57054         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
57055         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
57056         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
57057         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
57058         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
57060         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
57061         Define only if __x86_64__ is defined.
57063 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
57065         [BZ #14048]
57066         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
57067         Use int64_t for variable i.
57068         * math/libm-test.inc (fmod_test): Add more tests.
57070         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
57071         z computation is not scheduled after fetestexcept.
57072         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
57073         Use math_force_eval instead of asm to ensure calculation scheduled
57074         before exception test.
57075         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
57076         Ensure a1 + u.d computation is not scheduled after fetestexcept.
57078 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
57080         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
57081         computation is not scheduled after fetestexcept.
57083 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
57085         [BZ #14117]
57086         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
57087         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
57089 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57091         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
57092         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57094 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
57096         [BZ #14117]
57097         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
57098         <bits/wordsize.h>.
57099         (__WCHAR_MIN): Support __WORDSIZE == 64.
57100         (__WCHAR_MAX): Likewise.
57102         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
57103         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
57105         [BZ #14183]
57106         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
57107         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
57109         [BZ #14117]
57110         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
57111         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
57113         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
57114         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
57116         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
57117         Defined to 1 if __x86_64__ isn't defined.
57118         (_STAT_VER_LINUX_OLD): New.
57119         (st_atime): Remove duplicate.
57120         (st_mtime): Likewise.
57121         (st_ctime): Likewise.
57123 2012-05-31  David S. Miller  <davem@davemloft.net>
57125         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
57126         entries.
57128 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
57130         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
57131         gen-libm-test.pl.
57133         [BZ #14132]
57134         * elf/dl-reloc.c: Include <_itoa.h>.
57135         (_dl_reloc_bad_type): Remove use of INTUSE.
57136         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
57137         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
57138         * stdio-common/psiginfo.c (psiginfo): Likewise.
57139         * stdio-common/psignal.c (psignal): Likewise.
57140         * string/strsignal.c (strsignal): Likewise.
57141         * include/signal.h (_sys_siglist): Declare hidden proto.
57142         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
57143         INTVARDEF with libc_hidden_data_def.
57144         * stdio-common/itoa-udigits.c: Likewise.
57145         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
57146         (_itoa_lower_digits_internal): Remove declaration.
57147         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
57148         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
57149         (_sys_sigabbrev_internal): Remove aliases.
57150         (_sys_siglist): Define hidden alias.
57152 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
57154         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57155         bits/sysctl.h.
57157 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
57159         [BZ #14117]
57160         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
57161         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
57163         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
57164         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
57165         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
57166         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
57167         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
57168         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
57170         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
57171         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
57172         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
57174         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
57175         with __addr.
57176         (insw): Likewise.
57177         (insl): Likewise.
57178         (outsb): Likewise.
57179         (outsw): Likewise.
57180         (outsl): Likewise.
57182         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
57183         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
57184         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
57186         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
57187         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
57188         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
57189         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
57190         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
57191         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
57193         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
57194         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
57196         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
57197         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
57199         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
57200         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
57201         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
57203         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
57204         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
57205         to ...
57206         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
57208         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
57209         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
57210         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
57212         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
57213         for x86-64.
57214         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
57216 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
57218         * math/math.h (M_El): Use two more decimal places.
57219         (M_LOG2El): Likewise.
57220         (M_LOG10El): Likewise.
57221         (M_LN2l): Likewise.
57222         (M_LN10l): Likewise.
57223         (M_PIl): Likewise.
57224         (M_PI_2l): Likewise.
57225         (M_PI_4l): Likewise.
57226         (M_1_PIl): Likewise.
57227         (M_2_PIl): Likewise.
57228         (M_2_SQRTPIl): Likewise.
57229         (M_SQRT2l): Likewise.
57230         (M_SQRT1_2l): Likewise.
57232 2012-05-31  David S. Miller  <davem@davemloft.net>
57234         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
57235         values between float registers.
57236         * sysdeps/sparc/sparc64/memset.S: Likewise.
57237         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
57239 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
57241         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
57242         -D_FORTIFY_SOURCE=1.
57243         (CPPFLAGS-tst-longjmp_chk.c): Define.
57244         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
57245         (CPPFLAGS-tst-longjmp_chk2.c): Define.
57246         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
57247         CFLAGS-tst-wchar-h.c.
57249 2012-05-31  Marek Polacek  <polacek@redhat.com>
57251         [BZ #14132]
57252         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
57253         __endmntent_internal): Remove declaration.
57254         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
57255         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
57256         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
57258 2012-05-30  David S. Miller  <davem@davemloft.net>
57260         * sysdeps/sparc/sparc32/soft-fp/q_util.c
57261         (___Q_simulate_exceptions): Use real FP ops rather than writing
57262         into the %fsr.
57263         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
57264         Likewise.
57266 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57268         [BZ #14117]
57269         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
57270         * sysdeps/x86/bits/xtitypes.h: This.
57272         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
57273         * sysdeps/x86/bits/wordsize.h: This.
57275         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
57276         * sysdeps/x86/bits/huge_vall.h: This.
57278         * sysdeps/i386/bits/select.h: Removed.
57279         * sysdeps/x86_64/bits/select.h: Renamed to ...
57280         * sysdeps/x86/bits/select.h: This.
57282         * sysdeps/i386/bits/setjmp.h: Removed.
57283         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
57284         * sysdeps/x86/bits/setjmp.h: This.
57286         * sysdeps/i386/bits/mathdef.h: Removed.
57287         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
57288         * sysdeps/x86/bits/mathdef.h: This.
57290 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
57292         [BZ #14132]
57293         * include/sys/socket.h (__connect_internal)
57294         (__libc_sa_len_internal): Remove declaration.
57295         (__connect, __libc_sa_len): Declare hidden_proto.
57296         (SA_LEN): Remove use of INTUSE.
57297         * socket/connect.c: Add libc_hidden_def.
57298         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
57299         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
57300         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
57301         alias.
57302         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
57303         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
57304         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
57305         of adding _internal alias.
57307 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57309         [BZ #14117]
57310         * sysdeps/i386/bits/link.h: Removed.
57311         * sysdeps/i386/bits/linkmap.h: Likewise.
57312         * sysdeps/x86_64/bits/link.h: Renamed to ...
57313         * sysdeps/x86/bits/link.h: This.
57314         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
57315         * sysdeps/x86/bits/linkmap.h: This.
57317         * sysdeps/i386/bits/endian.h: Removed.
57318         * sysdeps/x86_64/bits/endian.h: Renamed to ...
57319         * sysdeps/x86/bits/endian.h: This.
57321         * sysdeps/i386/bits/byteswap.h: Removed.
57322         * sysdeps/i386/bits/byteswap-16.h: Likewise.
57323         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
57324         * sysdeps/x86/bits/byteswap.h: This.
57325         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
57326         * sysdeps/x86/bits/byteswap-16.h: This.
57327         * sysdeps/i386/Implies: Add x86.
57328         * sysdeps/x86_64/Implies: Likewise.
57330 2012-05-30  David S. Miller  <davem@davemloft.net>
57332         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
57333         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
57334         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57335         (FP_TRAPPING_EXCEPTIONS): Define.
57336         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57337         (FP_TRAPPING_EXCEPTIONS): Define.
57338         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
57339         subnormals only when inexact has been signalled or underflow
57340         exceptions are enabled.
57341         (_FP_PACK_CANONICAL): Likewise.
57343 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57345         [BZ #14183]
57346         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
57347         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
57349 2012-05-30  Richard Henderson  <rth@twiddle.net>
57351         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
57352         with #ifndef NOT_IN_libc.
57354         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
57355         marked to avoid plt entry.
57357 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
57359         [BZ #14112]
57360         * Makeconfig (default-abi): New macro.
57361         (abi-includes): Likewise.
57362         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
57363         $(abi-$(default-abi)-lib-soname) for soname if defined.
57364         ($(common-objpfx)gnu/lib-names.stmp): Generate from
57365         abi-variants.
57366         * Makefile (installed-stubs): Likewise.
57367         * include/stubs-biarch.h: Removed.
57368         * scripts/lib-names.awk: Only handle one library at a time.
57369         * scripts/soversions.awk: Remove WORDSIZE support.
57370         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
57371         entries.
57372         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
57373         Removed.
57374         (syscall-list-default-condition): Likewise.
57375         (syscall-list-default-condition): Likewise.
57376         (syscall-list-includes): Likewise.
57377         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
57378         syscall-list-* with abi-*.  Handle undefined abi-variants.
57379         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
57380         * sysdeps/unix/sysv/linux/i386/Implies: New file.
57381         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
57382         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
57383         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
57384         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
57385         Removed.
57386         (syscall-list-32-options): Likewise.
57387         (syscall-list-32-condition): Likewise.
57388         (syscall-list-64-options): Likewise.
57389         (syscall-list-64-condition): Likewise.
57390         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
57391         macro.
57392         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
57393         Renamed to ...
57394         (abi-*): This.
57395         (abi-64-ld-soname): New macro.
57396         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
57397         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
57398         Renamed to ...
57399         (abi-*): This.
57400         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
57401         * sysdeps/x86_64/x32/shlib-versions: Likewise.
57403 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
57405         * sysdeps/unix/sysv/linux/kernel-features.h
57406         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
57407         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
57408         include <kernel-features.h>.
57409         [!__NR_ftruncate64]: Remove conditional code.
57410         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57411         [__NR_ftruncate64]: Make code unconditional.
57412         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57413         * sysdeps/unix/sysv/linux/truncate64.c: Do not
57414         include <kernel-features.h>.
57415         [!__NR_ftruncate64]: Remove conditional code.
57416         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57417         [__NR_ftruncate64]: Make code unconditional.
57418         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
57420         include <kernel-features.h>.
57421         [!__NR_ftruncate64]: Remove conditional code.
57422         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57423         [__NR_ftruncate64]: Make code unconditional.
57424         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
57426         include <kernel-features.h>.
57427         [!__NR_ftruncate64]: Remove conditional code.
57428         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57429         [__NR_ftruncate64]: Make code unconditional.
57430         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
57432         * configure.in (libc_cv_fpie): Weaken to a compile test using
57433         LIBC_TRY_CC_OPTION.
57434         * configure: Regenerated.
57436 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57438         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
57439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
57440         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
57441         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57442         Refreshed.
57443         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
57444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
57445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
57446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
57447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
57448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57449         Refreshed.
57451 2012-05-27  David S. Miller  <davem@davemloft.net>
57453         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
57454         (___Q_zero): New.
57455         (__Q_simulate_exceptions): Return void.  Change to simulate
57456         exceptions by writing into the %fsr.
57457         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
57458         (__Qp_handle_exceptions): Likewise.
57459         (numbers): Delete.
57460         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
57461         __Qp_handle_exceptions.
57462         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
57463         __Qp_handle_exceptions.
57464         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57465         as unused and give dummy FP_RND_NEAREST initializer.
57466         (FP_INHIBIT_RESULTS): Define.
57467         (___Q_simulate_exceptions): Update declaration.
57468         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
57469         formatting.
57470         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
57471         as unused and give dummy FP_RND_NEAREST initializer.
57472         (__Qp_handle_exceptions): Update declaration.
57473         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
57474         formatting.
57476 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
57478         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
57479         the temporary FPU control word.
57480         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
57481         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
57482         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
57483         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
57484         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
57485         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
57486         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
57487         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
57488         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
57489         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
57490         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57492 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57494         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
57495         fields.
57497 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
57499         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
57500         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
57501         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
57502         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
57503         Likewise.
57504         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
57505         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
57506         Likewise.
57508 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
57510         * po/h.po: Update from translation team.
57512 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
57514         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
57516         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
57517         handling of denormals.
57518         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57519         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57520         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
57521         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
57522         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57523         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
57524         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
57525         Likewise.
57527 2012-05-26  Marek Polacek  <polacek@redhat.com>
57529         [BZ #14152]
57530         * math/libm-test.inc (fma_test): Don't always expect underflow
57531         exception.
57533 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
57535         [BZ #12416]
57536         * elf/tst-execstack.c: Include stackinfo.h.
57537         (do_test): Adjust test case to ensure that pthread_getattr_np
57538         behaviour remains the same after marking stack executable.
57540 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
57542         * sysdeps/unix/sysv/linux/kernel-features.h
57543         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
57544         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
57545         kernel-features.h.
57546         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57547         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57548         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
57549         kernel-features.h.
57550         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
57551         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
57553 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
57555         * configure.in: Define the default includes to being none.
57556         * configure: Regenerated.
57558 2012-05-25  Roland McGrath  <roland@hack.frob.com>
57560         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
57561         * sysdeps/x86_64/setjmp.S: Likewise.
57562         * sysdeps/i386/bsd-setjmp.S: Likewise.
57563         * sysdeps/i386/bsd-_setjmp.S: Likewise.
57564         * sysdeps/i386/setjmp.S: Likewise.
57565         * sysdeps/i386/__longjmp.S: Likewise.
57566         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
57567         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
57569         * include/stap-probe.h: New file.
57570         * configure.in: Handle --enable-systemtap.
57571         * configure: Regenerated.
57572         * config.h.in (USE_STAP_PROBE): New #undef.
57573         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
57574         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
57575         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
57577 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
57579         [BZ #13717]
57580         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
57581         to 2.4.0 where earlier.
57582         * sysdeps/unix/sysv/linux/configure: Regenerated.
57583         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
57584         <kernel-features.h>.
57585         [__ASSUME_32BITUIDS]: Make code unconditional.
57586         [!__ASSUME_32BITUIDS]: Remove conditional code.
57587         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
57588         <kernel-features.h>.
57589         [__ASSUME_32BITUIDS]: Make code unconditional.
57590         [!__ASSUME_32BITUIDS]: Remove conditional code.
57591         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
57592         [__ASSUME_32BITUIDS]: Make code unconditional.
57593         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
57594         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
57595         <kernel-features.h>.
57596         [__ASSUME_32BITUIDS]: Make code unconditional.
57597         [!__ASSUME_32BITUIDS]: Remove conditional code.
57598         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
57599         <kernel-features.h>.
57600         [__ASSUME_32BITUIDS]: Make code unconditional.
57601         [!__ASSUME_32BITUIDS]: Remove conditional code.
57602         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
57603         <kernel-features.h>.
57604         [__ASSUME_32BITUIDS]: Make code unconditional.
57605         [!__ASSUME_32BITUIDS]: Remove conditional code.
57606         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
57607         <kernel-features.h>.
57608         [__ASSUME_32BITUIDS]: Make code unconditional.
57609         [!__ASSUME_32BITUIDS]: Remove conditional code.
57610         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
57611         <kernel-features.h>.
57612         [__ASSUME_32BITUIDS]: Make code unconditional.
57613         [!__ASSUME_32BITUIDS]: Remove conditional code.
57614         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
57615         <kernel-features.h>.
57616         [__ASSUME_32BITUIDS]: Make code unconditional.
57617         [!__ASSUME_32BITUIDS]: Remove conditional code.
57618         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
57619         <kernel-features.h>.
57620         [__ASSUME_32BITUIDS]: Make code unconditional.
57621         [!__ASSUME_32BITUIDS]: Remove conditional code.
57622         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
57623         <kernel-features.h>.
57624         [__ASSUME_32BITUIDS]: Make code unconditional.
57625         [!__ASSUME_32BITUIDS]: Remove conditional code.
57626         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
57627         <kernel-features.h>.
57628         [__ASSUME_32BITUIDS]: Make code unconditional.
57629         [!__ASSUME_32BITUIDS]: Remove conditional code.
57630         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
57631         <kernel-features.h>.
57632         [__ASSUME_32BITUIDS]: Make code unconditional.
57633         [!__ASSUME_32BITUIDS]: Remove conditional code.
57634         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
57635         <kernel-features.h>.
57636         [__NR_setresgid] (__setresgid): Do not declare.
57637         [__ASSUME_32BITUIDS]: Make code unconditional.
57638         [!__ASSUME_32BITUIDS]: Remove conditional code.
57639         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
57640         <kernel-features.h>.
57641         [__NR_setresuid] (__setresuid): Do not declare.
57642         [__ASSUME_32BITUIDS]: Make code unconditional.
57643         [!__ASSUME_32BITUIDS]: Remove conditional code.
57644         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
57645         <kernel-features.h>.
57646         [__ASSUME_32BITUIDS]: Make code unconditional.
57647         [!__ASSUME_32BITUIDS]: Remove conditional code.
57648         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
57649         <kernel-features.h>.
57650         [__ASSUME_32BITUIDS]: Make code unconditional.
57651         [!__ASSUME_32BITUIDS]: Remove conditional code.
57652         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
57653         <kernel-features.h>.
57654         [__ASSUME_32BITUIDS]: Make code unconditional.
57655         [!__ASSUME_32BITUIDS]: Remove conditional code.
57656         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
57657         <kernel-features.h>.
57658         [__ASSUME_32BITUIDS]: Make code unconditional.
57659         [!__ASSUME_32BITUIDS]: Remove conditional code.
57660         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
57661         <kernel-features.h>.
57662         [__ASSUME_32BITUIDS]: Make code unconditional.
57663         [!__ASSUME_32BITUIDS]: Remove conditional code.
57664         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
57665         <kernel-features.h>.
57666         [__ASSUME_32BITUIDS]: Make code unconditional.
57667         [!__ASSUME_32BITUIDS]: Remove conditional code.
57668         * sysdeps/unix/sysv/linux/i386/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
57685         (__ASSUME_SETRESUID_SYSCALL): Remove.
57686         (__ASSUME_SETRESGID_SYSCALL): Likewise.
57687         (__ASSUME_32BITUIDS): Likewise.
57688         (__ASSUME_LDT_WORKS): Likewise.
57689         (__ASSUME_O_DIRECTORY): Likewise.
57690         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
57691         architecture but not kernel version.
57692         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
57693         (__ASSUME_MMAP2_SYSCALL): Likewise.
57694         (__ASSUME_STAT64_SYSCALL): Likewise.
57695         (__ASSUME_IPC64): Likewise.
57696         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
57697         <kernel-features.h>.
57698         [__ASSUME_32BITUIDS]: Make code unconditional.
57699         [!__ASSUME_32BITUIDS]: Remove conditional code.
57700         * sysdeps/unix/sysv/linux/opendir.c: Do not include
57701         <kernel-features.h>.
57702         [__ASSUME_O_DIRECTORY]: Make code unconditional.
57703         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
57704         132096]: Remove conditional code.
57705         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
57706         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
57707         <kernel-features.h>.
57708         [__ASSUME_32BITUIDS]: Make code unconditional.
57709         [!__ASSUME_32BITUIDS]: Remove conditional code.
57710         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
57711         <kernel-features.h>.
57712         [__ASSUME_32BITUIDS]: Make code unconditional.
57713         [!__ASSUME_32BITUIDS]: Remove conditional code.
57714         * sysdeps/unix/sysv/linux/setegid.c: Do not include
57715         <kernel-features.h>.
57716         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
57717         unconditional.
57718         (__setresgid): Do not declare.
57719         [__ASSUME_32BITUIDS]: Make code unconditional.
57720         [!__ASSUME_32BITUIDS]: Remove conditional code.
57721         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
57722         <kernel-features.h>.
57723         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
57724         unconditional.
57725         (__setresuid): Do not declare.
57726         [__ASSUME_32BITUIDS]: Make code unconditional.
57727         [!__ASSUME_32BITUIDS]: Remove conditional code.
57728         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
57729         <kernel-features.h>.
57730         [__ASSUME_32BITUIDS]: Make code unconditional.
57731         [!__ASSUME_32BITUIDS]: Remove conditional code.
57732         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
57733         <kernel-features.h>.
57734         [__ASSUME_32BITUIDS]: Make code unconditional.
57735         [!__ASSUME_32BITUIDS]: Remove conditional code.
57737 2012-05-25  Richard Henderson  <rth@twiddle.net>
57739         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
57740         dl_hwcap to ifunc resolver.
57741         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
57742         elf_ifunc_invoke.
57743         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
57744         dl_hwcap to ifunc resolver.
57745         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
57747 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57749         [BZ #14153]
57750         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
57751         for |x| <= 2**-26, not 2**-57.
57752         * math/libm-test.inc (acos_test): Do not allow spurious underflow
57753         exception.
57755 2012-05-24  Jeff Law  <law@redhat.com>
57757         * stdio-common/Makefile (tests): Add bug25.
57758         * stdio-common/bug25.c: New test.
57760 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
57762         [BZ #13576]
57763         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
57764         multiple of MALLOC_ALIGNMENT in size.
57765         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
57767 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
57769         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
57770         Require >= 256.
57771         (FILENAME_MAX): Use macro-int-constant.
57772         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
57773         (_IOFBF): Use macro-int-constant.
57774         (_IOLBF): Likewise.
57775         (_IONBF): Likewise.
57776         (SEEK_CUR): Likewise.
57777         (SEEK_END): Likewise.
57778         (SEEK_SET): Likewise.
57779         (TMP_MAX): Likewise.
57780         (EOF): Use macro-int-constant.  Require < 0.
57781         (NULL): Use macro-constant.  Require == 0.
57782         (stdin): Require type to be FILE *.
57783         (stdout): Likewise.
57784         (stderr): Likewise.
57785         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
57786         macro-int-constant.
57787         (EXIT_SUCCESS): Likewise.
57788         (NULL): Use macro-constant.  Require == 0.
57789         (RAND_MAX): Use macro-int-constant.
57790         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
57791         [C99-based standards] (strtof): Require function.
57792         [C99-based standards] (strtold): Likewise.
57793         [C99-based standards] (strtoll): Likewise.
57794         [C99-based standards] (strtoull): Likewise.
57795         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
57796         [ISO || ISO99 || ISO11] (limits.h): Likewise.
57797         [ISO || ISO99 || ISO11] (math.h): Likewise.
57798         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
57799         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
57800         [ISO || ISO99 || ISO11] (*_t): Do not allow.
57802 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
57804         [BZ #14132]
57805         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
57806         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
57807         * intl/dgettext.c (DCGETTEXT): Likewise.
57808         * intl/gettext.c (DCGETTEXT): Likewise.
57809         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
57810         * posix/regex_internal.h (gettext): Likewise.
57811         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
57812         Remove declaration.
57813         * include/argz.h (__argz_count_internal)
57814         (__argz_stringify_internal): Remove declaration.
57815         (__argz_count, __argz_stringify): Declare hidden proto.
57816         * intl/dcgettext.c: Remove use of INTDEF.
57817         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
57818         * string/argz-stringify.c: Likewise.
57819         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57820         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57821         Declare hidden proto.
57822         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
57823         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
57824         Declare hidden proto.
57825         * include/stdio.h (__asprintf_internal): Don't declare.
57826         (__asprintf): Don't define as macro.  Declare hidden proto.
57827         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
57828         (__fsetlocking): Declare hidden proto.
57829         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
57830         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
57831         hidden proto.
57832         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
57833         (_IO_setlinebuf): Remove use of INTUSE.
57834         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
57835         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
57836         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
57837         Remove declaration.
57838         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
57839         (_IO_do_flush): Remove use of INTUSE.
57840         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
57841         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
57842         (_IO_adjust_column, _IO_least_wmarker)
57843         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
57844         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
57845         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
57846         (_IO_default_doallocate, _IO_wdefault_doallocate)
57847         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
57848         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
57849         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
57850         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
57851         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
57852         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
57853         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
57854         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
57855         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
57856         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
57857         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
57858         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
57859         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
57860         proto.
57861         (_IO_flush_all_internal, _IO_adjust_column_internal)
57862         (_IO_default_uflow_internal, _IO_default_finish_internal)
57863         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
57864         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
57865         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
57866         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
57867         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
57868         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
57869         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
57870         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
57871         (_IO_file_close_internal, _IO_file_close_it_internal)
57872         (_IO_file_underflow_internal, _IO_file_overflow_internal)
57873         (_IO_file_init_internal, _IO_file_attach_internal)
57874         (_IO_file_fopen_internal, _IO_file_read_internal)
57875         (_IO_file_sync_internal, _IO_file_seek_internal)
57876         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
57877         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
57878         (_IO_str_underflow_internal, _IO_str_overflow_internal)
57879         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
57880         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
57881         (_IO_list_all_internal, _IO_link_in_internal)
57882         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
57883         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
57884         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
57885         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
57886         (_IO_do_write_internal, _IO_padn_internal)
57887         (_IO_getline_info_internal, _IO_getline_internal)
57888         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
57889         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
57890         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
57891         (_IO_vfscanf_internal, _IO_vfprintf_internal)
57892         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
57893         (_IO_init_internal, _IO_un_link_internal): Don't declare.
57894         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
57895         with libc_hidden_ver, remove use of INTUSE.
57896         * libio/genops.c: Likewise.
57897         * libio/freopen.c: Likewise.
57898         * libio/freopen64.c: Likewise.
57899         * libio/iofclose.c: Likewise.
57900         * libio/iofdopen.c: Likewise.
57901         * libio/iofflush.c: Likewise.
57902         * libio/iofflush_u.c: Likewise.
57903         * libio/iofgets.c: Likewise.
57904         * libio/iofgets_u.c: Likewise.
57905         * libio/iofopen.c: Likewise.
57906         * libio/iofopncook.c: Likewise.
57907         * libio/iofread.c: Likewise.
57908         * libio/iofread_u.c: Likewise.
57909         * libio/ioftell.c: Likewise.
57910         * libio/iofwrite.c: Likewise.
57911         * libio/iogetline.c: Likewise.
57912         * libio/iogets.c: Likewise.
57913         * libio/iogetwline.c: Likewise.
57914         * libio/iopadn.c: Likewise.
57915         * libio/iopopen.c: Likewise.
57916         * libio/ioseekoff.c: Likewise.
57917         * libio/ioseekpos.c: Likewise.
57918         * libio/iosetbuffer.c: Likewise.
57919         * libio/iosetvbuf.c: Likewise.
57920         * libio/ioungetc.c: Likewise.
57921         * libio/ioungetwc.c: Likewise.
57922         * libio/iovdprintf.c: Likewise.
57923         * libio/iovsprintf.c: Likewise.
57924         * libio/iovsscanf.c: Likewise.
57925         * libio/memstream.c: Likewise.
57926         * libio/obprintf.c: Likewise.
57927         * libio/oldfileops.c: Likewise.
57928         * libio/oldiofclose.c: Likewise.
57929         * libio/oldiofdopen.c: Likewise.
57930         * libio/oldiofopen.c: Likewise.
57931         * libio/oldiopopen.c: Likewise.
57932         * libio/oldstdfiles.c: Likewise.
57933         * libio/putc.c: Likewise.
57934         * libio/setbuf.c: Likewise.
57935         * libio/setlinebuf.c: Likewise.
57936         * libio/stdfiles.c: Likewise.
57937         * libio/strops.c: Likewise.
57938         * libio/vasprintf.c: Likewise.
57939         * libio/vscanf.c: Likewise.
57940         * libio/vsnprintf.c: Likewise.
57941         * libio/vswprintf.c: Likewise.
57942         * libio/wfiledoalloc.c: Likewise.
57943         * libio/wfileops.c: Likewise.
57944         * libio/wgenops.c: Likewise.
57945         * libio/wmemstream.c: Likewise.
57946         * libio/wstrops.c: Likewise.
57947         * libio/__fpurge.c: Likewise.
57948         * libio/__fsetlocking.c: Likewise.
57949         * assert/assert.c: Likewise.
57950         * debug/fgets_chk.c: Likewise.
57951         * debug/fgets_u_chk.c: Likewise.
57952         * debug/fread_chk.c: Likewise.
57953         * debug/fread_u_chk.c: Likewise.
57954         * debug/gets_chk.c: Likewise.
57955         * debug/obprintf_chk.c: Likewise.
57956         * debug/vasprintf_chk.c: Likewise.
57957         * debug/vdprintf_chk.c: Likewise.
57958         * debug/vsnprintf_chk.c: Likewise.
57959         * debug/vsprintf_chk.c: Likewise.
57960         * malloc/mtrace.c: Likewise.
57961         * misc/error.c: Likewise.
57962         * misc/syslog.c: Likewise.
57963         * stdio-common/asprintf.c: Likewise.
57964         * stdio-common/fxprintf.c: Likewise.
57965         * stdio-common/getw.c: Likewise.
57966         * stdio-common/isoc99_fscanf.c: Likewise.
57967         * stdio-common/isoc99_scanf.c: Likewise.
57968         * stdio-common/isoc99_vfscanf.c: Likewise.
57969         * stdio-common/isoc99_vscanf.c: Likewise.
57970         * stdio-common/isoc99_vsscanf.c: Likewise.
57971         * stdio-common/printf-prs.c: Likewise.
57972         * stdio-common/printf_fp.c: Likewise.
57973         * stdio-common/printf_fphex.c: Likewise.
57974         * stdio-common/printf_size.c: Likewise.
57975         * stdio-common/putw.c: Likewise.
57976         * stdio-common/scanf.c: Likewise.
57977         * stdio-common/sprintf.c: Likewise.
57978         * stdio-common/tmpfile.c: Likewise.
57979         * stdio-common/vfprintf.c: Likewise.
57980         * stdio-common/vfscanf.c: Likewise.
57981         * stdlib/strfmon_l.c: Likewise.
57982         * sunrpc/openchild.c: Likewise.
57983         * sunrpc/xdr_stdio.c: Likewise.
57984         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
57985         * sysdeps/mach/hurd/tmpfile.c: Likewise.
57987 2012-05-24  Roland McGrath  <roland@hack.frob.com>
57989         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
57991         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
57992         in the third column, to generate for the shared library an IFUNC
57993         that uses _dl_vdso_vsym.
57994         * Makerules (COMPILE.c, compile-stdin.c): New variables.
57995         * Makeconfig (object-suffixes-noshared): New variable.
57997         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
57998         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
57999         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
58000         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
58002         [BZ #14132]
58003         * include/sys/time.h (__gettimeofday): Remove macro.
58004         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
58005         * time/gettimeofday.c (__gettimeofday): Remove #undef.
58006         Remove INTDEF.
58007         (__gettimeofday): Add libc_hidden_def.
58008         (gettimeofday): Add libc_hidden_weak.
58009         * sysdeps/mach/gettimeofday.c: Likewise.
58010         * sysdeps/posix/gettimeofday.c: Likewise.
58011         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
58012         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
58013         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
58014         (__gettimeofday_internal): Remove strong_alias.
58015         (__gettimeofday): Add libc_hidden_def.
58016         (gettimeofday): Add libc_hidden_weak.
58017         * sysdeps/unix/syscalls.list (gettimeofday):
58018         Remove __gettimeofday_internal alias.
58020 2012-05-24  Daniel Jacobowitz  <drow@false.org>
58021             H.J. Lu  <hongjiu.lu@intel.com>
58023         [BZ #12495]
58024         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
58025         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
58026         (largebin_index_32_big): New.
58027         (largebin_index): Use it for 16-byte alignment.
58028         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
58029         correction with front_misalign.
58031 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
58033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
58034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
58035         Likewise.
58036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
58037         Likewise.
58038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
58039         Likewise.
58040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
58041         Likewise.
58042         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
58043         Likewise.
58044         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
58045         Likewise.
58046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
58047         Likewise.
58048         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
58049         Likewise.
58050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
58051         Likewise.
58052         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
58053         Likewise.
58054         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
58055         Likewise.
58056         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
58057         Likewise.
58059         * scripts/data/c++-types-x32-linux-gnu.data: New file.
58060         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
58062 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
58064         [BZ #10846]
58065         [BZ #14036]
58066         * math/libm-test.inc (exp_test): Add test from bug 14036.
58067         (pow_test): Add test from bug 10846.
58069         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
58070         and other flags.
58071         (special_function): Do not include flags in test name.
58072         (parse_args): Likewise.
58073         * sysdeps/i386/fpu/libm-test-ulps: Update.
58074         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58075         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
58076         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
58077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58079         * math/gen-libm-test.pl (%beautify): Add entries for underflow
58080         exceptions.
58081         * math/libm-test.inc ("Philosophy"): Update comment about
58082         exception testing.
58083         (UNDERFLOW_EXCEPTION): New macro.
58084         (UNDERFLOW_EXCEPTION_OK): Likewise.
58085         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
58086         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
58087         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
58088         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
58089         (INVALID_EXCEPTION_OK): Update value.
58090         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
58091         (OVERFLOW_EXCEPTION_OK): Likewise.
58092         (IGNORE_ZERO_INF_SIGN): Likewise.
58093         (test_exceptions): Handle underflow exceptions.
58094         (acos_test): Update for underflow exception expectations.
58095         (cexp_test): Likewise.
58096         (clog_test): Likewise.
58097         (clog10_test): Likewise.
58098         (csqrt_test): Likewise.
58099         (ctan_test): Likewise.
58100         (ctanh_test): Likewise.
58101         (exp_test): Likewise.
58102         (exp10_test): Likewise.
58103         (exp2_test): Likewise.
58104         (expm1_test): Likewise.
58105         (fma_test): Likewise.
58106         (j0_test): Likewise.
58107         (jn_test): Likewise.
58108         (nexttoward_test): Likewise.
58109         (pow_test): Likewise.
58110         (scalbn_test): Likewise.
58111         (scalbln_test): Likewise.
58112         (tan_test): Likewise.
58113         (y1_test): Likewise.
58114         * sysdeps/i386/fpu/libm-test-ulps: Update.
58115         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58117 2012-05-23  David S. Miller  <davem@davemloft.net>
58119         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
58120         (__libc_sigaction): Remove unused local variables.
58122 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58124         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
58126 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
58128         mktime: avoid signed integer overflow
58129         * time/mktime.c (__mktime_internal): Do not mishandle the case
58130         where diff == INT_MIN.
58132         mktime: simplify computation of average
58133         * time/mktime.c (ranged_convert): Use new time_t_avg function
58134         instead of rolling our own (probably-slower) code.
58136         mktime: do not assume signed right shift propagates sign bit
58137         * time/mktime.c (isdst_differ): New static function.
58138         (__mktime_internal): No need to normalize tm_isdst now.
58139         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
58140         tm_isdst values.
58142         mktime: merge another wrapv change from gnulib
58143         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
58144         from some compilers.
58146         mktime: remove incorrect attempt at unusual arithmetics
58147         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
58148         The code didn't really work on such machines anyway.
58149         (TYPE_MINIMUM): Assume two's complement.
58150         (twos_complement_arithmetic): Verify that long_int and time_t
58151         are two's complement (or unsigned, in the latter case).
58153         mktime: check signed shifts on long_int and time_t, too
58154         * time/mktime.c (SHR): Check that shifts work as desired
58155         on the types long_int and time_t too, as SHR is used on
58156         such types.
58158         mktime: do not assume 'long' is wide enough
58159         * time/mktime.c (verify): Move decl up.
58160         (long_int): New type.
58161         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
58162         to remove assumption in the code that 'long' is wide enough to
58163         store year values.  This assumption is not true on x32 and on
58164         some non-glibc platforms.
58166         mktime: merge wrapv change from gnulib
58167         * time/mktime.c (WRAPV): New macro.
58168         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
58169         (guess_time_tm, __mktime_internal): Do not assume that signed
58170         integer overflow wraps around; modern compilers generate code
58171         where this assumption is no longer valid.
58173 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58175         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58176         Replace "jmp L(pseudo_end)" with "ret".
58177         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
58178         Likewise.
58180 2012-05-23  Andreas Jaeger  <aj@suse.de>
58182         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
58183         * sysdeps/unix/sysv/linux/poll.c: Remove file.
58185 2012-05-23  Andreas Jaeger  <aj@suse.de>
58186             Maximilian Attems  <max@stro.at>
58188         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
58189         New macros.
58191 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
58193         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
58194         code so that pseudo_end is just ret and the stack pointer is
58195         correct also for static library in error case.
58197 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
58199         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
58200         move to syscalls.list.
58201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
58202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
58203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
58204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
58206         * manual/install.texi (Running make install): Do not mention Linux
58207         kernel version for which pt_chown is not needed.
58208         (Linux): Do not mention problems with nscd with 2.0 kernels.
58209         * INSTALL: Regenerated.
58211 2012-05-23  Andreas Jaeger  <aj@suse.de>
58213         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
58214         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
58215         macro.
58216         * sysdeps/unix/sysv/linux/s390/bits/mman.h
58217         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58218         * sysdeps/unix/sysv/linux/sh/bits/mman.h
58219         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58220         * sysdeps/unix/sysv/linux/i386/bits/mman.h
58221         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58222         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
58223         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58224         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
58225         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
58226         * sysdeps/unix/sysv/linux/bits/in.h
58227         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
58229 2012-05-22  Roland McGrath  <roland@hack.frob.com>
58231         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
58232         (PREPARE_VERSION): Just use assert instead, it will be elided
58233         under [NDEBUG] anyway.
58235 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58237         * sysdeps/unix/sysv/linux/Makefile: Include
58238         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
58239         (sysdep_routines): Remove sysctl.
58240         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
58241         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
58242         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
58243         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
58244         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
58246 2012-05-22  Andreas Jaeger  <aj@suse.de>
58248         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
58249         that pseudo_end is just ret and the stack pointer is correct also
58250         for static library in error case.
58252 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
58254         [BZ #14122]
58255         * nss/nsswitch.c (defconfig_entries): New variable.
58256         (__nss_database_lookup): Don't leak defconfig entries.
58257         (nss_parse_service_list): Don't leak on error paths.
58258         (free_database_entries): New function.
58259         (free_defconfig): New function.
58260         (free_mem): Move common code to free_database_entries.
58262 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58264         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
58265         Add arch_prctl.
58266         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
58268         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
58269         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
58270         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
58271         New macro.
58272         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
58273         (INTERNAL_SYSCALL_TYPES): Likewise.
58274         (LOAD_ARGS_TYPES_[1-6]): Likewise.
58275         (LOAD_REGS_TYPES_[1-6]): Likewise.
58276         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
58277         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
58279 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58281         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
58282         copysignl for GLIBC_2_0.
58283         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
58284         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
58285         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
58286         logbl for GLIBC_2_0.
58287         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
58288         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
58290 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58292         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
58293         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58295         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
58296         Use "neg %eax".
58298         * time/mktime.c: Update copyright years.
58300 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
58302         mktime: merge comment-quoting-style change from gnulib
58303         * time/mktime.c: Quote 'like this' in comments.
58304         The GNU coding standards suggest that we no longer quote `like this',
58305         as "`" and "'" are typically rendered asymmetrically nowadays.
58306         The typical gnulib style is to quote 'like this' when quoting
58307         code, and "like this" when quoting English.
58309         * time/mktime.c (compile-command): Add "-I.".
58311         mktime: merge mktime-internal.h change from gnulib
58312         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
58314         mktime: merge time_r change from gnulib
58315         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
58317         mktime: merge DEBUG change from gnulib
58318         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
58319         case system <time.h> has a #define.
58321         mktime: merge <sys/types.h> change from gnulib
58322         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
58323         since <time.t> is now guaranteed to define time_t.
58325         mktime: merge HAVE_CONFIG_H change from gnulib
58326         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
58328 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
58330         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58331         Use "neg %eax".
58333         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
58334         __rlim_t cast.
58335         (struct rusage): Use anonymous union to pad each field to
58336         __syscall_slong_t.
58338 2012-05-21  David S. Miller  <davem@davemloft.net>
58340         * Makefules (o-iterator): Remove .s cases.
58341         (compile-command.s): Delete.
58342         (COMPILE.s): Delete.
58343         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
58345 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
58347         * configure.in (libc_cv_predef_stack_protector): Only consider
58348         "foobar" and "__stack_chk_fail" lines in libc_undefs.
58349         * configure: Regenerated.
58351 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58353         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
58354         New macro.  Use R*LP on int and pointer.
58355         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
58356         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
58357         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
58358         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
58360         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
58361         [__WORDSIZE_TIME64_COMPAT32] instead of
58362         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
58363         (struct utmp): Likewise.
58364         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
58365         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
58366         Renamed to ...
58367         (__WORDSIZE_TIME64_COMPAT32): This.
58368         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
58369         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
58370         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
58371         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
58372         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
58373         (__WORDSIZE_TIME64_COMPAT32): New macro.
58375 2012-05-21  Andreas Jaeger  <aj@suse.de>
58377         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
58378         only if [SHARED]. Add prototype for __wcschr_ia32.
58380 2012-05-21  Roland McGrath  <roland@hack.frob.com>
58382         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
58383         of %rbp unmolested in the jmp_buf while mangling the low bits.
58384         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
58385         unmolested high bits of %rbp while demangling the low bits.
58386         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
58388 2012-05-21  Andreas Jaeger  <aj@suse.de>
58390         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
58391         * sunrpc/svc_simple.c: Use it for registerrpc.
58392         * sunrpc/xcrypt.c: Use it for passwd2des.
58394         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
58396 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58398         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
58399         Don't define if [__SYSCALL_WORDSIZE != 32].
58400         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
58401         New macro.
58403 2012-05-21  Bruno Haible  <bruno@clisp.org>
58404             Andreas Jaeger  <aj@suse.de>
58406         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
58407         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
58408         inptr and inend for must_buffer_ch.
58409         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
58410         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
58411         * stdio-common/Makefile (tests): Remove bug15.
58412         (bug15-ENV): Remove macro.
58413         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
58414         anymore.
58416 2012-05-19  Andreas Jaeger  <aj@suse.de>
58417             Roland McGrath  <roland@hack.frob.com>
58419         * manual/contrib.texi: Completely rewritten. It contains now an
58420         alphabetical list of contributors and their contributions.
58422 2012-05-21  Richard Henderson  <rth@twiddle.net>
58424         * misc/getauxval.c (__getauxval): Use unsigned long int.
58425         * misc/sys/auxv.h: Include <sys/cdefs.h>.
58426         (getauxval): Use unsigned long int.
58428 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
58430         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
58432 2012-05-21  Roland McGrath  <roland@hack.frob.com>
58434         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
58435         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
58436         __alignof__ (long double).
58438 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58442 2012-05-20  Richard Henderson  <rth@twiddle.net>
58444         * misc/getauxval.c: New file.
58445         * misc/sys/auxv.h: New file.
58446         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
58447         (routines): Add getauxval.
58448         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
58449         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
58450         * elf/dl-sysdep.c (_dl_auxv): Remove.
58451         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
58452         * elf/dl-support.c (_dl_auxv): New variable.
58453         (_dl_aux_init): Initialize it.
58454         * manual/startup.texi (Auxiliary Vector): New node.
58455         * sysdeps/generic/bits/hwcap.h: New file.
58456         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
58457         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
58458         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
58459         * sysdeps/sparc/sysdep.h: ... here.  Include it.
58460         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
58461         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
58462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58463         Update.
58464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
58465         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
58466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
58467         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
58468         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58469         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
58470         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
58471         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
58473 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58477 2012-05-19  David S. Miller  <davem@davemloft.net>
58479         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58481 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
58483         [BZ #14123]
58484         * math/s_ccosh.c: Include <float.h>
58485         (__ccosh): Avoid internal overflow calculating sinh and cosh
58486         values before multiplying by sin and cos values.
58487         * math/s_ccoshf.c: Likewise.
58488         * math/s_ccoshl.c: Likewise.
58489         * math/s_csin.c: Likewise.
58490         * math/s_csinf.c: Likewise.
58491         * math/s_csinl.c: Likewise.
58492         * math/s_csinh.c: Likewise.
58493         * math/s_csinhf.c: Likewise.
58494         * math/s_csinhl.c: Likewise.
58495         * math/libm-test.inc (ccos_test): Add more tests.
58496         (ccosh_test): Likewise.
58497         (csin_test): Likewise.
58498         (csinh_test): Likewise.
58499         * sysdeps/i386/fpu/libm-test-ulps: Update.
58500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58502 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
58504         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
58505         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
58507         * sysdeps/x86_64/x32/_itoa.h: Add comment.
58509 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
58511         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
58512         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
58513         * sysdeps/powerpc/soft-fp/Versions: Likewise.
58514         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
58515         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
58516         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
58517         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
58518         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
58519         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
58520         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
58521         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
58522         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
58523         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
58524         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
58525         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
58526         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
58527         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
58528         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
58529         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
58530         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
58531         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
58532         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
58533         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
58534         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
58535         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
58536         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
58537         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
58538         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
58539         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
58540         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
58541         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
58543 2012-05-18  Andreas Jaeger  <aj@suse.de>
58545         * csu/.gitignore: Delete.
58547 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58549         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
58550         (timex): Use __syscall_slong_t.
58552 2012-05-18  Andreas Jaeger  <aj@suse.de>
58553             Carlos O'Donell  <carlos_odonell@mentor.com>
58555         * manual/install.texi (Configuring and compiling): Update
58556         description about files modified in the source directory.
58557         * INSTALL: Regenerated.
58559 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58561         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
58562         value.  Use "or" to set return value to -1.
58563         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
58564         negate return value.
58566 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58568         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
58569         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
58570         failure if the compiler has Graphite support disabled.
58571         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
58572         Likewise.
58573         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
58574         (CFLAGS-memmove.c): Likewise.
58575         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
58576         Likewise.
58578 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
58580         * sysdeps/x86_64/x32/_itoa.h: New file.
58582         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
58583         getdents system call only if kernel and user dirents have the
58584         same d_ino and d_off.
58586         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
58587         LLONG_MAX != LONG_MAX.
58588         (_itoa_word): Use _ITOA_WORD_TYPE on value.
58589         (_fitoa_word): Likewise.
58591         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
58592         years.
58593         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
58594         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
58595         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
58597         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
58598         include <bits/wordsize.h>.  Check __x86_64__ instead of
58599         __WORDSIZE.
58600         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
58601         if __x86_64__ is defined.  Use anonymous union on fpstate.
58603         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
58604         anonymous union.
58606 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
58608         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
58609         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
58610         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
58611         Refer to _rtld_local_ro instead of _rtld_global_ro.
58612         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
58613         Likewise.
58614         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
58615         Likewise.
58616         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
58617         Likewise.
58618         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
58619         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
58620         of _rtld_global, and rtld_progname instead of _dl_argv[0].
58622         [BZ #10882]
58623         * sysdeps/powerpc/powerpc32/dl-machine.c
58624         (__elf_machine_runtime_setup) [PROF]: Don't reference
58625         _dl_prof_resolve.
58627 2012-05-18  Andreas Jaeger  <aj@suse.de>
58629         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
58630         function only available for GCCs before 3.4 since GCC 3.4
58631         introduced a builtin.
58632         (lrint): Likewise.
58633         (llrintf): Likewise.
58634         (llrint): Likewise.
58635         (fmaxf): Likewise.
58636         (fmax): Likewise.
58637         (fminf): Likewise.
58638         (fmin): Likewise.
58639         (rint): Likewise.
58640         (rintf): Likewise.
58641         (nearbyint): Likewise.
58642         (nearbyintf): Likewise.
58643         (ceil): Likewise.
58644         (ceilf): Likewise.
58645         (floor): Likewise.
58646         (floorf): Likewise.
58648 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58650         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
58651         on both fields and cast pointer to __syscall_ulong_t.
58653         * bits/types.h (__fsword_t): New type.
58654         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
58655         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
58656         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58657         (__FSWORD_T_TYPE): Likewise.
58658         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58659         (__FSWORD_T_TYPE): Likewise.
58660         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58661         (__FSWORD_T_TYPE): Likewise.
58662         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
58663         (__FSWORD_T_TYPE): Likewise.
58664         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
58665         __SWORD_TYPE with __fsword_t.
58666         (statfs64): Likewise.
58668 2012-05-17  David S. Miller  <davem@davemloft.net>
58670         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
58672 2012-05-17  Andreas Jaeger  <aj@suse.de>
58674         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
58675         warning.
58677 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58679         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
58681 2012-05-17  Andreas Jaeger  <aj@suse.de>
58683         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
58684         when it is used.
58686 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58688         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
58690 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58692         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
58693         * sysdeps/x86_64/tst-mallocalign1.c: New file.
58695 2012-05-17  Andreas Jaeger  <aj@suse.de>
58696             Carlos O'Donell  <carlos_odonell@mentor.com>
58698         [BZ #14059]
58699         * sysdeps/x86_64/multiarch/init-arch.h
58700         (bit_YMM_Usable): Rename to...
58701         (bit_AVX_Usable): ... this.
58702         (bit_FMA4_Usable): New macro.
58703         (bit_XMM_state): New macro.
58704         (bit_YMM_state): New macro.
58705         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
58706         [__ASSEMBLER__] (index_AVX_Usable): ... this.
58707         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
58708         (CPUID_OSXSAVE): New macro.
58709         (CPUID_AVX): New macro.
58710         (CPUID_FMA4): New macro.
58711         (index_YMM_Usable): Rename to...
58712         (index_AVX_Usable): ... this.
58713         (HAS_AVX): Use HAS_ARCH_FEATURE.
58714         (HAS_FMA4): Likewise.
58715         (HAS_YMM_USABLE): Remove.
58716         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58717         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
58718         are present.
58719         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
58720         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
58721         * sysdeps/x86_64/multiarch/Makefile: Likewise.
58722         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
58723         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
58725 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
58727         * math/libm-test.c: Support platforms without multiple rounding modes.
58728         * math/bug-nextafter.c: Support platforms without FP exceptions.
58729         * math/bug-nexttoward.c: Likewise.
58730         * math/test-fenv.c: Likewise.
58731         * math/test-misc.c: Likewise.
58732         * stdlib/bug-getcontext.c: Likewise.
58734 2012-05-17  Andreas Jaeger  <aj@suse.de>
58736         * manual/examples/search.c (critter_cmp): Change signature to
58737         avoid warnings.
58738         * manual/string.texi (Collation Functions): Likewise.
58740 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58742         * bits/types.h: Fold copyright years.
58743         * bits/typesizes.h: Likewise.
58744         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
58745         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58746         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
58747         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
58748         * time/time.h: Likewise.
58750 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
58752         [BZ #208]
58753         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
58754         in instead of returning them.  Return void.
58755         (__libc_mallinfo): Accumulate over all arenas.
58756         (__malloc_stats): Adjust for change in int_mallinfo interface.
58758 2012-05-16  Roland McGrath  <roland@hack.frob.com>
58760         [BZ #10375]
58761         * configure.in (NM): Add AC_CHECK_TOOL for it.
58762         (libc_extra_cflags): New substituted variable.
58763         Check for -fstack-protector being used implicitly.
58764         * configure: Regenerated.
58765         * config.make.in (config-extra-cflags): New variable,
58766         gets @libc_extra_cflags@.
58767         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
58769         [BZ #10375]
58770         * configure.in: Check for _FORTIFY_SOURCE being predefined.
58771         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
58772         * configure: Regenerated.
58773         * config.make.in (CPPUNDEFS): New substituted variable.
58774         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
58775         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
58776         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
58778 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58780         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
58781         (mq_attr): Use __syscall_slong_t.
58783 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58785         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
58786         Check __x86_64__ instead of __WORDSIZE.
58787         (_STAT_VER_LINUX): Likewise.
58788         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
58789         __syscall_ulong_t and __syscall_slong_t.
58790         (stat64): Likewise.
58792 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58794         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
58796 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58798         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
58800 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58802         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
58803         __syscall_ulong_t.
58805         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
58806         include <bits/wordsize.h>.  Check __x86_64__ instead of
58807         __WORDSIZE.
58808         (greg_t): Use "__extension__ long long int" if __x86_64__ is
58809         defined.
58810         (mcontext_t): Replace "unsigned long" with "unsigned long long".
58812         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
58813         include <bits/wordsize.h>.  Check __x86_64__ instead of
58814         __WORDSIZE.
58815         (user_regs_struct): Use "__extension__ unsigned long long"
58816         instead of "unsigned long" if __x86_64__ is defined.
58817         (user): Likewise.  Pad after pointer field if __ILP32__ is
58818         defined.
58820 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
58822         * configure.in (makeinfo): Require version 4.5 or later.  Allow
58823         versions 5 to 9.
58824         * configure: Regenerated.
58825         * manual/install.texi (texinfo): Increase version requirement to
58826         4.5 or later.
58827         * INSTALL: Regenerated.
58829         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
58831 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58833         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
58835         * sysdeps/x86_64/x32/ffs.c: New file.
58837         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
58838         __syscall_ulong_t.
58839         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
58840         defined.  Use __syscall_ulong_t.
58841         (shminfo): Use __syscall_ulong_t.
58842         (shm_info): Likewise.
58844         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
58845         __syscall_ulong_t.
58847         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
58848         <bits/wordsize.h>.
58849         (msgqnum_t): Use __syscall_ulong_t.
58850         (msglen_t): Likewise.
58851         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
58852         __syscall_ulong_t.
58854         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
58855         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58857         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
58859         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
58860         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
58862         * sysvipc/sys/msg.h (msgbuf): Replace long int with
58863         __syscall_slong_t.
58865         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
58866         include <bits/wordsize.h>.  Check __x86_64__ instead of
58867         __WORDSIZE.
58869         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
58870         "unsigned long long int" if __x86_64__ is defined.
58871         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
58873         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
58874         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
58875         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
58877         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
58878         <stdint.h>.
58879         (GET_PC): Cast to uintptr_t first.
58880         (GET_FRAME): Likewise.
58881         (GET_STACK): Likewise.
58883         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
58884         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
58885         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
58886         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
58887         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
58888         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
58889         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
58890         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
58891         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
58892         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
58893         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
58894         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
58895         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
58896         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
58897         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
58898         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
58899         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
58900         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
58901         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
58902         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
58903         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
58904         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
58905         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
58906         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
58907         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
58908         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
58909         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
58910         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
58911         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
58913 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
58915         * Makerules (+depfiles): Also collect depfiles from .oS in
58916         $(extra-objs).
58917         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
58918         .oS, $(libnldbl-routines)).
58920         * Makerules (native-compile-mkdep-flags): Define.
58921         * sunrpc/Makefile (extra-objs): Add $(addprefix
58922         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
58923         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
58924         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
58925         calling $(make-target-directory).
58927 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58929         * bits/types.h (__snseconds_t): Removed.
58930         * time/time.h (struct timespec): Replace __snseconds_t with
58931         __syscall_slong_t.
58932         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
58933         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
58934         Likewise.
58935         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58936         (__SNSECONDS_T_TYPE): Likewise.
58937         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58938         (__SNSECONDS_T_TYPE): Likewise.
58939         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58940         (__SNSECONDS_T_TYPE): Likewise.
58942 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58944         * sysdeps/mach/hurd/bits/typesizes.h
58945         (__SYSCALL_SLONG_TYPE): New macro.
58946         (__SYSCALL_ULONG_TYPE): Likewise.
58948 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58950         * bits/types.h (__syscall_slong_t): New type.
58951         (__syscall_ulong_t): Likewise.
58953         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
58954         (__SYSCALL_ULONG_TYPE): Likewise.
58955         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58956         (__SYSCALL_SLONG_TYPE): Likewise.
58957         (__SYSCALL_ULONG_TYPE): Likewise.
58958         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58959         (__SYSCALL_SLONG_TYPE): Likewise.
58960         (__SYSCALL_ULONG_TYPE): Likewise.
58961         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58962         (__SYSCALL_SLONG_TYPE): Likewise.
58963         (__SYSCALL_ULONG_TYPE): Likewise.
58965 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
58967         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
58968         Add sigaltstack-offsets.sym.
58969         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
58970         <sigaltstack-offsets.h>.
58971         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
58972         longjmp_msg pointer.
58973         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
58974         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
58975         signal stack.
58976         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
58978 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
58980         * elf/stackguard-macros.h: Remove file.
58981         * sysdeps/generic/stackguard-macros.h: New file.
58982         * sysdeps/i386/stackguard-macros.h: Likewise.
58983         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
58984         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
58985         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
58986         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
58987         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
58988         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
58989         * sysdeps/x86_64/stackguard-macros.h: Likewise.
58990         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
58991         <elf/stackguard-macros.h>.
58993         [BZ #14109]
58994         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
58995         __aligned__ in attribute.
58996         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
58997         (gregset_t): Likewise.
58999 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59001         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
59002         * sysdeps/x86_64/64/Implies-after: Here.  New file.
59003         * sysdeps/x86_64/x32/Implies-after: New file.
59005 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59007         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
59008         and access return value for _dl_profile_fixup.  Use R10_LP to
59009         load frame size.
59011 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59013         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
59015 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59017         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
59018         * sysdeps/x86_64/x32/sysdep.h: New file.
59020 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59022         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
59023         * sysdeps/x86_64/setjmp.S: Likewise.
59025 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59027         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
59028         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
59029         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
59030         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
59031         remove unused global constant.
59033 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
59035         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
59036         include of <not-cancel.h>.
59038 2012-05-15  Roland McGrath  <roland@hack.frob.com>
59040         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
59042 2012-05-15  Jeff Law  <law@redhat.com>
59043             Andreas Jaeger  <aj@suse.de>
59045         [BZ #13594]
59046         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
59047         out from...
59048         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
59049         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
59050         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
59051         code changing __hst_map_handle.map.
59053 2012-05-15  Roland McGrath  <roland@hack.frob.com>
59055         * configure.in (sysnames): Look for Implies-before and Implies-after
59056         files.
59057         * configure: Regenerated.
59059 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59061         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
59062         8-byte data alignment with LP_SIZE alignment.
59064 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59066         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
59067         into R10_LP.
59069 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59071         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
59073 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59075         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
59076         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
59077         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
59078         Likewise.
59079         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
59081 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59083         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
59084         (stackinfo_sub_sp): Likewise.
59086 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59088         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
59089         RAX_LP.
59091 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59093         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
59094         into R*_LP.
59096 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59098         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
59099         sizes into R*_LP.
59101 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59103         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
59105 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59107         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
59108         into R11_LP and load __x86_64_shared_cache_size_half into
59109         R8_LP.
59111 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
59113         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
59114         R8_LP.
59116 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59118         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
59119         logb for POWER7.
59120         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
59121         logbf for POWER7.
59122         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
59123         logbl for POWER7.
59124         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
59125         powerpc32/power7/fpu/s_logb.c via #include.
59126         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
59127         powerpc32/power7/fpu/s_logbf.c via #include.
59128         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
59129         powerpc32/power7/fpu/s_logbl.c via #include.
59131 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
59133         * README.libm: Remove file.
59135 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59137         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
59138         count for x32.  Use R*_LP and omit operand-size suffix.
59140 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59142         * shlib-versions: Move x86_64-.*-linux.* entries to ...
59143         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
59144         * sysdeps/x86_64/x32/shlib-versions: New file.
59146 2012-05-14  Roland McGrath  <roland@hack.frob.com>
59148         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
59149         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
59150         Use _dl_fatal_printf instead.
59152 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
59154         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
59155         set if not set by the user.  Do not allow for being unset.
59156         * sysdeps/unix/sysv/linux/configure: Regenerated.
59158 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59160         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
59161         the `q' suffix from lea and replace .quad with ASM_ADDR.
59163 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59165         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
59166         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
59167         instead of $17.
59168         (PTR_DEMANGLE): Likewise.
59170 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59172         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
59173         (LP_OP): Likewise.
59174         (ASM_ADDR): Likewise.
59175         (RAX_LP): Likewise.
59176         (RBP_LP): Likewise.
59177         (RBX_LP): Likewise.
59178         (RCX_LP): Likewise.
59179         (RDI_LP): Likewise.
59180         (RSI_LP): Likewise.
59181         (RSP_LP): Likewise.
59182         (R8_LP): Likewise.
59183         (R9_LP): Likewise.
59184         (R10_LP): Likewise.
59185         (R10_LP): Likewise.
59186         (R11_LP): Likewise.
59187         (R12_LP): Likewise.
59188         (R13_LP): Likewise.
59189         (R14_LP): Likewise.
59190         (R15_LP): Likewise.
59192 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59194         * sysdeps/x86_64/x32/dl-machine.h: New file.
59196 2012-05-14  Andreas Jaeger  <aj@suse.de>
59198         * manual/Makefile (subdir): Remove export of subdir.
59199         (all): Remove target.
59200         (.PHONY): Remove all from list.
59201         (mkinstalldirs): Remove.
59202         (.PHONY): Remove installdirs from list.
59203         ($(inst_infodir)/libc.info): Use make-target-directory.
59204         (installdirs): Remove.
59205         (subdir_%): Remove.
59206         (glibc-targets): Remove.
59207         (lib): Remove.
59208         (stubs): Remove.
59209         ($(objpfx)stubs ../po/manual.pot): Remove.
59210         ($(objpfx)stamp%): Remove.
59211         (make-target-directory): Remove.
59212         (subdir_install): Remove.
59213         (routines): Remove.
59214         (aux): Remove.
59215         (sources): Remove.
59216         (objects): Remove.
59217         (headers): Remove.
59219         [BZ #13750]
59220         * manual/.gitignore: Remove, it's not needed anymore.
59221         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
59222         all files in it.
59223         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
59224         directory.
59225         (texis): Renamed to $(objpfx)texis.
59226         (texis-path): New, contains path to generated files.
59227         (chapters.%): Use texis-path for complete path, add extra argument
59228         libc-texinfo.sh.
59229         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
59230         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
59231         (summary,texi, stamp-summary): Use complete path of
59232         files. Generate files in build dir.
59233         (dir-add.texi): Build in build dir.
59234         (libm-err.texi,stamp-libm-err): Likewise.
59235         (version.texi, stamp-version): Likewise.
59236         (.%c.texi): Likewise.
59237         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
59238         (mostlyclean): Remove target.
59239         (realclean): Remove target.
59240         (generated): Add new variable with contents from mostlyclean and
59241         realclean, remove entries duplicated in common-mostlyclean, add
59242         stamp-libm-err and stamp-version.
59243         (generated-dirs): Add libc directory.
59244         ($(inst_infodir)/libc.info): Install files from build dir.
59246         * manual/install.texi (Configuring and compiling): Adjust since
59247         the info files are not part of the tar ball anymore.
59249 2012-05-14  Andreas Jaeger  <aj@suse.de>
59251         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
59252         variable.
59254 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
59256         [BZ #13717]
59257         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59258         to 2.2.0 where earlier.
59259         * sysdeps/unix/sysv/linux/configure: Regenerated.
59260         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
59261         Remove conditional code.
59262         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
59263         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
59264         Remove conditional code.
59265         [!__NR_lchown]: Likewise.
59266         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59267         [__NR_lchown]: Likewise.
59268         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
59269         comment referencing __ASSUME_LCHOWN_SYSCALL.
59270         * sysdeps/unix/sysv/linux/i386/sigaction.c
59271         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59272         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59273         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
59274         Remove conditional code.
59275         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
59276         (__protocol_available): Remove #if 0 code.
59277         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
59278         conditional code.
59279         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
59280         * sysdeps/unix/sysv/linux/kernel-features.h
59281         (__ASSUME_GETCWD_SYSCALL): Don't define.
59282         (__ASSUME_REALTIME_SIGNALS): Likewise.
59283         (__ASSUME_PREAD_SYSCALL): Likewise.
59284         (__ASSUME_PWRITE_SYSCALL): Likewise.
59285         (__ASSUME_POLL_SYSCALL): Likewise.
59286         (__ASSUME_LCHOWN_SYSCALL): Likewise.
59287         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
59288         non-SPARC.
59289         (__ASSUME_SIOCGIFNAME): Don't define.
59290         (__ASSUME_MSG_NOSIGNAL): Likewise.
59291         (__ASSUME_SENDFILE): Define unconditionally.
59292         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
59293         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
59294         conditional code.
59295         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
59296         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
59297         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59298         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59299         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
59300         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
59301         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
59302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
59303         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59304         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
59306         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59307         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
59309         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59310         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
59312         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59313         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
59315         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59316         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
59318         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
59319         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
59321         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59322         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
59324         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59325         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59326         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
59327         Remove conditional code.
59328         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59329         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59330         Remove conditional code.
59331         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59332         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
59333         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
59334         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59335         Remove conditional code.
59336         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59337         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
59338         Remove conditional code.
59339         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59340         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
59341         Remove conditional code.
59342         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59343         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
59344         Remove conditional code.
59345         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
59346         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
59347         Remove conditional code.
59348         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59349         * sysdeps/unix/sysv/linux/sh/pwrite64.c
59350         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
59351         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
59352         * sysdeps/unix/sysv/linux/sigaction.c
59353         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59354         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59355         * sysdeps/unix/sysv/linux/sigpending.c
59356         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59357         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59358         * sysdeps/unix/sysv/linux/sigprocmask.c
59359         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59360         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59361         * sysdeps/unix/sysv/linux/sigsuspend.c
59362         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
59363         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
59364         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
59365         (__libc_missing_rt_sigs): Remove.
59366         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
59367         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
59368         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
59369         Remove conditional code.
59370         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
59371         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
59372         return 1.
59373         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
59374         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
59375         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
59376         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
59378 2012-05-14  Andreas Jaeger  <aj@suse.de>
59380         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
59381         it's not used in glibc.
59382         (__coshm1): Likewise.
59383         (__acosh1p): Likewise.
59384         (__sgn): Likewise.
59386         * manual/string.texi (Copying and Concatenation): Add missing
59387         variable in concat example.
59388         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
59390 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59392         [BZ #14103]
59393         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
59394         __builtin_clzl with __builtin_clzll.
59396 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
59398         [BZ #14104]
59399         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
59400         libc_freeres_ptr.
59402 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59404         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
59405         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
59406         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
59407         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
59409 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
59411         * NEWS: Update ia64 info.
59413 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
59415         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
59416         used as bcopy.
59418 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
59420         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
59421         * sysdeps/unix/syscalls.list (dup3): Likewise.
59422         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
59423         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
59425 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
59427         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
59428         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
59430 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
59432         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
59433         thread pointer.
59434         (TLS_IE): Use mov/add instead of movq/addq to load thread
59435         pointer.
59436         (TLS_GD_PREFIX): New.
59437         (TLS_GD): Use it.
59439 2012-05-11  David S. Miller  <davem@davemloft.net>
59441         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
59442         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
59443         (_FPU_SETCW): Likewise.
59445 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59447         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
59448         is 32-byte aligned.
59450 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
59452         [BZ #11837]
59453         * iconvdata/gb18030.c: Update tables.
59454         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
59455         characters specially.
59456         (BODY for TO_LOOP): Add encoding of missing ranges.
59458 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
59460         [BZ #13673]
59461         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
59462         * sysdeps/mach/hurd/dup3.c: Likewise.
59463         * sysdeps/mach/hurd/readlinkat.c: Likewise.
59464         * sysdeps/powerpc/memmove.c:: Likewise.
59466 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59468         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
59469         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
59471 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59473         * elf/elf.h (R_X86_64_RELATIVE64): New.
59474         (R_X86_64_NUM): Updated.
59475         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
59476         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
59477         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
59478         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
59479         tst-quad1pie tst-quad2pie
59480         (modules-names): Add tst-quadmod1 tst-quadmod2.
59481         ($(objpfx)tst-quad1): New dependency.
59482         ($(objpfx)tst-quad2): Likewise.
59483         ($(objpfx)tst-quad1pie): Likewise.
59484         ($(objpfx)tst-quad2pie): Likewise.
59485         * sysdeps/x86_64/tst-quad1.c: New file.
59486         * sysdeps/x86_64/tst-quad1pie.c: New file.
59487         * sysdeps/x86_64/tst-quad2.c: Likewise.
59488         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
59489         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
59490         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
59491         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
59492         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
59494 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59496         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
59497         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
59498         * streams/stropts.h (t_scalar_t): Define type.
59500         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
59501         (_PATH_PRESERVE): Set to "/var/lib".
59502         (_PATH_RWHODIR): Set to "/var/spool/rwho".
59504         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
59505         instead of int.
59507         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
59508         if __dir_mkfile succeeded.
59510         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
59511         checking for _hurd_dtablesize.  Unlock it right after having
59512         finished _hurd_dtable allocation.
59514 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59516         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
59517         * sysdeps/mach/hurd/configure: Regenerated.
59518         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
59519         special-casing to...
59520         * sysdeps/gnu/configure.in: ... this new file.
59521         * sysdeps/unix/sysv/linux/configure: Regenerated.
59522         * sysdeps/gnu/configure: New generated file.
59524         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
59525         for Linux: use nsec instead of usec, as well as:
59526         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
59527         members of type struct timespec.
59528         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
59529         New macros.
59530         (struct stat64): Likewise.
59531         (_STATBUF_ST_NSEC): New macro.
59532         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
59534         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
59535         __strtoul_internal rather than strtoul.
59537 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59539         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
59540         and reject them.
59542 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59544         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
59545         which preserves existing values.
59546         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
59548 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59550         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
59551         TIMEOUT values.  Return EINVAL for NFDS values either negative or
59552         greater than FD_SETSIZE.
59554 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59556         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
59557         allocated, call __vm_protect to finish enabling the existing space, and
59558         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
59559         allocate the remainder.
59561 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59563         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
59564         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
59566 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59568         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
59569         sysdeps/mach/hurd/readlink.c.
59571         * posix/tst-sysconf.c (posix_options): Only use
59572         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
59573         _POSIX_SYNCHRONIZED_IO when they are defined
59574         * sysdeps/mach/hurd/bits/posix_opt.h:
59575         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
59576         (_XOPEN_REALTIME): Undefine macro.
59577         (_XOPEN_REALTIME_THREADS): Undefine macro.
59578         (_XOPEN_SHM): Undefine macro.
59579         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
59580         macro to -1.
59581         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
59582         macro to -1.
59583         (_POSIX_ASYNC_IO): Undefine macro.
59584         (_POSIX_PRIORITIZED_IO): Undefine macro.
59585         (_POSIX_SPIN_LOCKS): Define macro to -1.
59587         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
59588         SA_NODEFER, SA_RESETHAND.
59589         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
59590         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
59591         F_DUPFD_CLOEXEC.
59593 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59595         * elf/Makefile (pldd-modules): Define unconditionally.
59597 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59599         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
59601 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59603         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
59604         Return ENOENT when name is empty.
59605         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
59607 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59609         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
59611         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
59613 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59615         Fix mlock in all cases except non-readable pages.
59616         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
59617         instead of VM_PROT_ALL as parameter to __vm_wire function.
59619         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
59620         (__mkdir): When path is `/', just fail with EEXIST.
59621         * sysdeps/mach/hurd/mkdirat.c: Likewise.
59623 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59625         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
59626         <sys/uio.h> (for writev).
59627         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
59628         and <sys/param.h> (for MIN).
59630 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
59632         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
59633         REQUESTED_TIME.  Properly set the remaining time and return EINTR
59634         if interrupted.
59636 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59638         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
59639         Depend on against $(link-rpcuserlibs).
59641 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59643         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
59644         (__libc_stack_end): Do not use attribute_relro.
59645         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
59646         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
59647         to libthread-provided value.
59648         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
59649         attribute_relro.
59651 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59653         [BZ #3748]
59654         * bits/libc-lock.h (__libc_once_get): New macro.
59655         * sysdeps/mach/bits/libc-lock.h: Likewise.
59656         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
59657         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
59658         instead of using implementation details.
59660         * libio/fileops.c: Unconditionally include <kernel-features.h>.
59661         * libio/freopen.c: Likewise.
59662         * libio/freopen64.c: Likewise.
59663         * misc/syslog.c: Likewise.
59664         * nscd/connections.c: Likewise.
59665         * nscd/netgroupcache.c: Likewise.
59666         * sysdeps/posix/getcwd.c: Likewise.
59668 2012-05-10  Roland McGrath  <roland@hack.frob.com>
59670         * math/w_ilogbf.c: Add #include <limits.h>.
59672 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59674         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
59675         path instead of returning without unlocking.
59677         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
59678         immediate-write ioctls.
59679         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
59681 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59683         * sysdeps/mach/hurd/i386/init-first.c (init): Use
59684         __builtin_frame_address instead of making assumptions about the
59685         location of the return address relative to DATA.  Force early load of
59686         the return address.
59687         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
59688         __builtin_frame_address.
59690         dup3 for GNU Hurd.
59691         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
59692         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
59693         implement dup3 and do some further code clean-ups.
59694         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
59695         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
59697 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59699         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
59701         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
59702         HURD_CRITICAL_END around holding _hurd_dtable_lock.
59703         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
59704         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
59705         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
59706         d->port.lock.
59708         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
59709         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
59710         when handler == SIG_ERR, not when handler != SIG_ERR.
59712 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59714         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
59715         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
59716         definitions.
59718         accept4 for GNU Hurd.
59719         * include/sys/socket.h (__libc_accept4): New prototype.
59720         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
59721         to implement __libc_accept4.
59722         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
59723         __libc_accept4.
59724         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
59726         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
59727         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
59728         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
59729         signal-defines.sym.
59731 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59733         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
59735 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
59737         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
59738         assertion on O_CLOEXEC flag.
59739         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
59740         * hurd/intern-fd.c: Likewise.
59741         * hurd/port2fd.c: Likewise.
59743 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59745         [BZ #3906]
59746         * bits/in.h (IPV6_PKTINFO): Define new macro.
59747         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
59749 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59751         [BZ #13954]
59752         [BZ #13955]
59753         [BZ #13956]
59754         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
59755         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59756         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
59757         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59758         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59759         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59760         * math/libm-test.inc (logb_test) : Additional logb tests.
59762 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
59763             Andreas Jaeger  <aj@suse.de>
59765         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
59766         * configure: Regenerated.
59767         * config.h.in (LINK_OBSOLETE_RPC): New macro.
59768         * config.make.in (link-obsolete-rpc): New substituted variable.
59769         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
59770         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
59771         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59772         (shared-only-routines): Don't set it under [link-obsolete-rpc],
59773         so that libc.a contains the symbols.
59774         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
59775         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
59776         * sunrpc/auth_none.c: Likewise.
59777         * sunrpc/auth_unix.c: Likewise.
59778         * sunrpc/authdes_prot.c: Likewise.
59779         * sunrpc/authuxprot.c: Likewise.
59780         * sunrpc/clnt_gen.c: Likewise.
59781         * sunrpc/clnt_perr.c: Likewise.
59782         * sunrpc/clnt_raw.c: Likewise.
59783         * sunrpc/clnt_simp.c: Likewise.
59784         * sunrpc/clnt_tcp.c: Likewise.
59785         * sunrpc/clnt_udp.c: Likewise.
59786         * sunrpc/clnt_unix.c: Likewise.
59787         * sunrpc/des_crypt.c: Likewise.
59788         * sunrpc/des_soft.c: Likewise.
59789         * sunrpc/get_myaddr.c: Likewise.
59790         * sunrpc/key_call.c: Likewise.
59791         * sunrpc/key_prot.c: Likewise.
59792         * sunrpc/netname.c: Likewise.
59793         * sunrpc/pm_getmaps.c: Likewise.
59794         * sunrpc/pm_getport.c: Likewise.
59795         * sunrpc/pmap_clnt.c: Likewise.
59796         * sunrpc/pmap_prot.c: Likewise.
59797         * sunrpc/pmap_prot2.c: Likewise.
59798         * sunrpc/pmap_rmt.c: Likewise.
59799         * sunrpc/publickey.c: Likewise.
59800         * sunrpc/rpc_cmsg.c: Likewise.
59801         * sunrpc/rpc_common.c: Likewise.
59802         * sunrpc/rpc_dtable.c: Likewise.
59803         * sunrpc/rpc_prot.c: Likewise.
59804         * sunrpc/rpc_thread.c: Likewise.
59805         * sunrpc/rtime.c: Likewise.
59806         * sunrpc/svc.c: Likewise.
59807         * sunrpc/svc_auth.c: Likewise.
59808         * sunrpc/svc_raw.c: Likewise.
59809         * sunrpc/svc_run.c: Likewise.
59810         * sunrpc/svc_tcp.c: Likewise.
59811         * sunrpc/svc_udp.c: Likewise.
59812         * sunrpc/svc_unix.c: Likewise.
59813         * sunrpc/svcauth_des.c: Likewise.
59814         * sunrpc/xcrypt.c: Likewise.
59815         * sunrpc/xdr.c: Likewise.
59816         * sunrpc/xdr_array.c: Likewise.
59817         * sunrpc/xdr_float.c: Likewise.
59818         * sunrpc/xdr_intXX_t.c: Likewise.
59819         * sunrpc/xdr_mem.c: Likewise.
59820         * sunrpc/xdr_rec.c: Likewise.
59821         * sunrpc/xdr_ref.c: Likewise.
59822         * sunrpc/xdr_sizeof.c: Likewise.
59823         * sunrpc/xdr_stdio.c: Likewise.
59825 2012-05-10  Roland McGrath  <roland@hack.frob.com>
59827         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
59828         change.  Update copyright years.
59830 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
59832         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
59834 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
59835             Joseph Myers  <joseph@codesourcery.com>
59836             Paul Pluzhnikov  <ppluzhnikov@google.com>
59838         [BZ #14012]
59839         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
59840         requiring rpcgen.
59841         [cross-compiling] (extra-libs): Likewise.
59842         [cross-compiling] (extra-libs-others): Likewise.
59843         [cross-compiling] (librpcsvc-routines): Likewise.
59844         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
59845         [cross-compiling] (omit-deps): Likewise.
59846         (sunrpc-CPPFLAGS): New variable.
59847         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
59848         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
59849         (cross-rpcgen-objs): New variable.
59850         (extra-objs): Append $(cross-rpcgen-objs).
59851         ($(cross-rpcgen-objs)): New rule.
59852         ($(objpfx)cross-rpcgen): Likewise.
59853         (rpcgen-cmd): Define to use $(built-program-file).  Expand
59854         comment.
59855         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
59856         ($(objpfx)x%.stmp): Likewise.
59857         * sunrpc/proto.h [IS_IN_build] (_): Define.
59858         [IS_IN_build] (_libc_intl_domainname): Likewise.
59860 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
59862         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
59863         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
59864         and R_X86_64_TPOFF64.
59866 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
59868         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
59869         sysdeps/unix/sysv/syscalls.list.
59870         (stime): Likewise.
59871         (utime): Likewise.
59872         * sysdeps/unix/sysv/syscalls.list: Remove file.
59874 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
59876         [BZ #3440]
59877         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
59878         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
59879         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
59880         (__LC_IDENTIFICATION): Make these macros useful in #if
59881         expressions, as required by C99.
59883 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
59885         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
59886         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
59887         after this.
59889 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
59891         * stdlib/longlong.h: Updated from GCC.
59893 2012-05-09  Andreas Jaeger  <aj@suse.de>
59895         * nscd/nscd.c (run_modes): Make named enum, reorder so that
59896         default is first entry.
59897         (run_mode): Set type.
59898         (main): Remove informal message about syslog.
59899         (options): Fix typo.
59901         [BZ #14053]
59902         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
59903         to asm.
59904         (lrint): Likewise.
59905         (llrintf): Likewise.
59906         (llrint): Likewise.
59907         (rint): Likewise.
59908         (rintf): Likewise.
59909         (nearbyint): Likewise.
59910         (nearbyintf): Likewise.
59912 2012-05-09  Andreas Jaeger  <aj@suse.de>
59913             Pedro Alves  <palves@redhat.com>
59915         * nscd/nscd.c (run_mode): Use enum.
59916         (main): Cleanup coding style issue.
59918 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
59919             Andreas Jaeger  <aj@suse.de>
59921         * nscd/nscd.c (go_background): Replaced with...
59922         (run_mode): ... this.
59923         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
59924         (options): Add -F --foreground.
59925         (main): Implement it.
59926         (parse_opt): Parse it.
59928 2012-05-09  Andreas Jaeger  <aj@suse.de>
59930         [BZ #14083]
59931         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
59932         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
59933         -Wconversion warning.
59934         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
59935         Likewise.
59937 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
59939         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
59940         == 0.
59941         (LC_ALL): Use macro-int-constant.
59942         (LC_COLLATE): Likewise.
59943         (LC_CTYPE): Likewise.
59944         (LC_MESSAGES): Likewise.
59945         (LC_MONETARY): Likewise.
59946         (LC_NUMERIC): Likewise.
59947         (LC_TIME): Likewise.
59948         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
59949         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
59950         [ISO || ISO99 || ISO11] (*_t): Do not allow.
59951         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
59952         Specify type.
59953         [C99-based standards] (float_t): Expect type.
59954         [C99-based standards] (double_t): Expect type.
59955         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
59956         type.
59957         [C99-based standards] (HUGE_VALL): Likewise.
59958         [C99-based standards] (INFINITY): Likewise.
59959         [C99-based standards] (NAN): Likewise.
59960         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
59961         [C99-based standards] (FP_NAN): Likewise.
59962         [C99-based standards] (FP_NORMAL): Likewise.
59963         [C99-based standards] (FP_SUBNORMAL): Likewise.
59964         [C99-based standards] (FP_ZERO): Likewise.
59965         [C99-based standards] (FP_FAST_FMA): Use
59966         optional-macro-int-constant.  Specify type.  Require == 1.
59967         [C99-based standards] (FP_FAST_FMAF): Likewise.
59968         [C99-based standards] (FP_FAST_FMAL): Likewise.
59969         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
59970         [C99-based standards] (FP_ILOGBNAN): Likewise.
59971         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
59972         Specify type.
59973         [C99-based standards] (MATH_ERREXCEPT): Likewise.
59974         [C99-based standards] (math_errhandling): Specify type.
59975         [ISO99 || ISO11] (signgam): Do not allow.
59976         [non-C99-based standards] (copysignf): Do not allow.
59977         [non-C99-based standards] (exp2f): Likewise.
59978         [non-C99-based standards] (log2f): Likewise.
59979         [non-C99-based standards] (modff): Allow.
59980         [non-C99-based standards] (erff): Do not allow.
59981         [non-C99-based standards] (erfcf): Likewise.
59982         [non-C99-based standards] (gammaf): Likewise.
59983         [non-C99-based standards] (hypotf): Likewise.
59984         [non-C99-based standards] (j0f): Likewise.
59985         [non-C99-based standards] (j1f): Likewise.
59986         [non-C99-based standards] (jnf): Likewise.
59987         [non-C99-based standards] (lgammaf): Likewise.
59988         [non-C99-based standards] (tgammaf): Likewise.
59989         [non-C99-based standards] (y0f): Likewise.
59990         [non-C99-based standards] (y1f): Likewise.
59991         [non-C99-based standards] (ynf): Likewise.
59992         [non-C99-based standards] (isnanf): Likewise.
59993         [non-C99-based standards] (acoshf): Likewise.
59994         [non-C99-based standards] (asinhf): Likewise.
59995         [non-C99-based standards] (atanhf): Likewise.
59996         [non-C99-based standards] (cbrtf): Likewise.
59997         [non-C99-based standards] (expm1f): Likewise.
59998         [non-C99-based standards] (ilogbf): Likewise.
59999         [non-C99-based standards] (log1pf): Likewise.
60000         [non-C99-based standards] (logbf): Likewise.
60001         [non-C99-based standards] (nextafterf): Likewise.
60002         [non-C99-based standards] (remainderf): Likewise.
60003         [non-C99-based standards] (rintf): Likewise.
60004         [non-C99-based standards] (scalbf): Likewise.
60005         [non-C99-based standards] (copysignl): Likewise.
60006         [non-C99-based standards] (exp2l): Likewise.
60007         [non-C99-based standards] (log2l): Likewise.
60008         [non-C99-based standards] (modfl): Allow.
60009         [non-C99-based standards] (erfl): Do not allow.
60010         [non-C99-based standards] (erfcl): Likewise.
60011         [non-C99-based standards] (gammal): Likewise.
60012         [non-C99-based standards] (hypotl): Likewise.
60013         [non-C99-based standards] (j0l): Likewise.
60014         [non-C99-based standards] (j1l): Likewise.
60015         [non-C99-based standards] (jnl): Likewise.
60016         [non-C99-based standards] (lgammal): Likewise.
60017         [non-C99-based standards] (tgammal): Likewise.
60018         [non-C99-based standards] (y0l): Likewise.
60019         [non-C99-based standards] (y1l): Likewise.
60020         [non-C99-based standards] (ynl): Likewise.
60021         [non-C99-based standards] (isnanl): Likewise.
60022         [non-C99-based standards] (acoshl): Likewise.
60023         [non-C99-based standards] (asinhl): Likewise.
60024         [non-C99-based standards] (atanhl): Likewise.
60025         [non-C99-based standards] (cbrtl): Likewise.
60026         [non-C99-based standards] (expm1l): Likewise.
60027         [non-C99-based standards] (ilogbl): Likewise.
60028         [non-C99-based standards] (log1pl): Likewise.
60029         [non-C99-based standards] (logbl): Likewise.
60030         [non-C99-based standards] (nextafterl): Likewise.
60031         [non-C99-based standards] (remainderl): Likewise.
60032         [non-C99-based standards] (rintl): Likewise.
60033         [non-C99-based standards] (scalbl): Likewise.
60034         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60035         [non-C99-based standards] (FP_*): Do not allow.
60036         [C99-based standards] (FP_*): Change to
60037         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
60038         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60039         allow.
60040         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
60041         (SIG_ERR): Likewise.
60042         [X/Open-based standards] (SIG_HOLD): Likewise.
60043         (SIG_IGN): Likewise.
60044         (SIGABRT): Use macro-int-constant.  Specify type.  Require
60045         positive value.
60046         (SIGFPE): Likewise.
60047         (SIGILL): Likewise.
60048         (SIGINT): Likewise.
60049         (SIGSEGV): Likewise.
60050         (SIGTER): Likewise.
60051         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
60052         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
60053         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
60054         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
60055         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
60056         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
60057         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
60058         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
60059         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
60060         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
60061         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
60062         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
60063         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
60064         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
60065         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
60066         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
60067         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
60068         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
60069         [X/Open-based standards] (SIGTRAP): Likewise.
60070         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
60071         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
60072         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
60073         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
60074         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60075         allow.
60077 2012-05-08  Ian Wienand  <ianw@vmware.com>
60079         [BZ #14080]
60080         * time/tzset.c (__tzset_parse_tz): Update default rules for
60081         daylight time changes in the Energy Policy Act of 2005.
60083 2012-05-09  Andreas Jaeger  <aj@suse.de>
60085         [BZ #13983]
60086         * elf/ldconfig.c (parse_conf): Change string to make clear that
60087         ldconfig only issued a warning if ld.so.conf does not exist.
60089 2012-05-08  David S. Miller  <davem@davemloft.net>
60091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
60092         movxtod instead of popping the value on the stack.
60094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60096 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
60098         * config.h.in: Add HAVE_ARM_PCS_VFP.
60100 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
60102         [BZ #13979]
60103         * include/features.h: Warn if user requests __FORTIFY_SOURCE
60104         checking but the checks are disabled for any reason.
60106 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
60108         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
60109         and ELF64_R_TYPE with ELFW(R_TYPE).
60111 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
60113         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
60114         (ulimit): Likewise.
60116         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
60117         (settimeofday): Likewise.
60119 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
60121         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
60122         a struct th_u2 inside the union, and move tu_block/tu_code into
60123         a new th_u3 union of tu_block/tu_code inside of that.  Move
60124         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
60125         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
60126         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
60127         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
60128         (th_stuff): Change to th_u1.tu_stuff.
60129         (th_data): Define.
60130         (th_msg): Change to th_u1.th_u2.tu_data.
60132 2012-05-07  David S. Miller  <davem@davemloft.net>
60134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60136         [BZ #14074]
60137         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
60138         (SETUP_PIC_REG): Use it.
60139         (SETUP_PIC_REG_LEAF): Use it.
60141 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
60143         [BZ #13885]
60144         [BZ #13923]
60145         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60146         USE_AS_EXPM1L.
60147         (EXPL_FINITE): Likewise.
60148         (FLDLOG): Likewise.
60149         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60150         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60151         e_expl.S.
60152         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60153         USE_AS_EXPM1L.
60154         (EXPL_FINITE): Likewise.
60155         (FLDLOG): Likewise.
60156         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
60157         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
60158         e_expl.S.
60159         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
60160         test of -max_value argument for long double.
60161         * sysdeps/i386/fpu/libm-test-ulps: Update.
60162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60164 2012-05-06  David S. Miller  <davem@davemloft.net>
60166         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
60167         quad soft-float symbols whose references which are compiler
60168         generated.
60169         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
60171 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
60173         [BZ #13884]
60174         [BZ #13914]
60175         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60176         USE_AS_EXP10L.
60177         (EXPL_FINITE): Likewise.
60178         (FLDLOG): Likewise.
60179         (c0): Likewise.
60180         (c1): Likewise.
60181         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
60182         Adjust comments for base varying.
60183         (__expl_finite): Change alias to EXPL_FINITE.
60184         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
60185         e_expl.S.
60186         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
60187         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
60188         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
60189         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
60190         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
60191         USE_AS_EXP10L.
60192         (EXPL_FINITE): Likewise.
60193         (FLDLOG): Likewise.
60194         (c0): Likewise.
60195         (c1): Likewise.
60196         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
60197         Adjust comments for base varying.
60198         (__expl_finite): Change alias to EXPL_FINITE.
60199         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
60200         tests for bugs.
60201         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60203         [BZ #14064]
60204         * math/libm-test.inc (check_float_internal): Correct ulp
60205         calculation for subnormal expected results.
60207 2012-05-06  Andreas Jaeger  <aj@suse.de>
60209         * Makeconfig (+math-flags): New, set to -frounding-math.
60210         (+cflags): Add +math-flags so that all of glibc gets compiled with
60211         it.
60213         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
60215 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
60217         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
60218         Disable one test.
60220         [BZ #13787]
60221         [BZ #13922]
60222         [BZ #14036]
60223         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
60224         (__ieee754_expl): Allow for and saturate large arguments.
60225         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
60226         (u_threshold): Likewise.
60227         (__exp): Call __ieee754_exp before checking for overflow and
60228         underflow.
60229         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
60230         (u_threshold): Likewise.
60231         (__expf): Call __ieee754_expf before checking for overflow and
60232         underflow.
60233         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
60234         (u_threshold): Likewise.
60235         (__expl): Call __ieee754_expl before checking for overflow and
60236         underflow.
60237         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
60238         (__ieee754_expl): Allow for and saturate large arguments.
60239         * math/libm-test.inc (exp_test): Add another test.  Do not allow
60240         missing overflow exception on overflow.
60241         (expm1_test): Do not allow missing overflow exception on overflow.
60243         * sysdeps/i386/fpu/e_expl.c: Move to ...
60244         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
60245         rather than using inline asm.
60246         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
60247         * sysdeps/x86_64/fpu/e_expl.S: Copy from
60248         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
60250         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
60251         (nice): Likewise.
60252         (poll): Likewise.
60253         (signal): Likewise.
60254         (time): Likewise.
60255         (times): Likewise.
60257 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60259         * sysdeps/unix/syscalls.list (adjtime): Add entry from
60260         sysdeps/unix/common/syscalls.list.
60261         (fchmod): Likewise.
60262         (fchown): Likewise.
60263         (ftruncate): Likewise.
60264         (getrusage): Likewise.
60265         (gettimeofday): Likewise.
60266         (setpgid): Likewise.
60267         (setregid): Likewise.
60268         (setreuid): Likewise.
60269         (sigaction): Likewise.
60270         (truncate): Likewise.
60271         (vhangup): Likewise.
60272         * sysdeps/unix/common/syscalls.list: Remove file.
60273         * sysdeps/unix/bsd/Implies: Don't include unix/common.
60274         * sysdeps/unix/sysv/linux/Implies: Likewise.
60276 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
60278         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
60279         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
60280         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
60281         Moved to ...
60282         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
60283         Here.
60284         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
60285         to ...
60286         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
60287         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
60288         to ...
60289         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
60290         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
60291         to ...
60292         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
60293         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
60294         to ...
60295         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
60296         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
60297         to ...
60298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
60299         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
60300         to ...
60301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
60302         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
60303         to ...
60304         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
60305         Here.
60306         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
60307         to ...
60308         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
60309         Here.
60310         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
60311         to ...
60312         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
60313         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
60314         Moved to ...
60315         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
60316         Here.
60317         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
60318         to ...
60319         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
60321 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60323         * sysdeps/unix/common/bits/dirent.h: Remove file.
60324         * sysdeps/unix/common/bits/fcntl.h: Likewise.
60326         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
60327         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
60328         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
60329         * sysdeps/unix/bsd/isatty.c: Likewise.
60330         * sysdeps/unix/bsd/tcdrain.c: Likewise.
60331         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
60332         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
60334 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60336         [BZ #13563]
60337         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
60338         long double comparison inaccuracies.
60339         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
60340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60342 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
60344         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
60345         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
60347 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
60349         [BZ #14049]
60350         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
60351         nonzero digits before rounding a hex value.
60352         * stdlib/tst-strtod.c (tests): Add another test.
60354 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60356         * sysdeps/s390/fpu/libm-test-ulps: Update.
60358 2012-05-03  Andreas Jaeger  <aj@suse.de>
60360         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
60361         does not get optimized out.
60362         (malloc_opt_barrier): New.
60364 2012-05-03  Andreas Jaeger  <aj@suse.de>
60365             Roland McGrath  <roland@hack.frob.com>
60367         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
60368         intermediate file deletion.
60369         (generated): Add .symlist files.
60371 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
60373         [BZ #13775]
60374         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
60375         Redirect under this condition.
60376         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60377         [__USE_GNU] (__dprintf_chk): Not under this condition.
60378         [__USE_GNU] (__vdprintf_chk): Likewise.
60379         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
60380         under this condition.
60381         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
60382         [__USE_XOPEN2K8] (dprintf): Define under this condition.
60383         [__USE_XOPEN2K8] (vdprintf): Likewise.
60384         [__USE_GNU] (__dprintf_chk): Not under this condition.
60385         [__USE_GNU] (__vdprintf_chk): Likewise.
60386         [__USE_GNU] (dprintf): Likewise.
60387         [__USE_GNU] (vdprintf): Likewise.
60389 2012-05-03  Roland McGrath  <roland@hack.frob.com>
60391         * elf/Makefile (common-generated): Set this instead of generated for
60392         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
60393         $(all-built-dso)-derived lists.
60395 2012-05-03  Andreas Jaeger  <aj@suse.de>
60397         * sysdeps/i386/fpu/libm-test-ulps: Update.
60399         * FAQ: Removed.
60400         * FAQ.in: Likewise.
60401         * scripts/gen-FAQ.pl: Likewise.
60402         * manual/install.texi (Installation): Point to online location of
60403         FAQ.
60404         * Makefile (files-for-dist): Remove FAQ.
60405         (FAQ): Remove.
60407 2012-05-02  Allan McRae  <allan@archlinux.org>
60409         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
60410         (LDFLAGS-reldepmod5.so): Likewise.
60411         (LDFLAGS-reldep6mod1.so): Likewise.
60412         (LDFLAGS-reldep6mod4.so): Likewise.
60413         (LDFLAGS-reldep8mod3.so): Likewise.
60414         (LDFLAGS-unload4mod1.so): Likewise.
60415         (LDFLAGS-unload4mod2.so): Likewise.
60416         (LDFLAGS-tst-initorder): Likewise.
60417         (LDFLAGS-tst-initordera2.so): Likewise.
60418         (LDFLAGS-tst-initordera3.so): Likewise.
60419         (LDFLAGS-tst-initordera4.so): Likewise.
60420         (LDFLAGS-tst-initorderb2.so): Likewise.
60421         (LDFLAGS-noload): Likewise.
60422         (LDFLAGS-next): Likewise.
60423         (LDFLAGS-order2mod1.so): Likewise.
60424         (LDFLAGS-order2mod2.so): Likewise.
60425         (LDFLAGS-tst-initorder2): Likewise.
60426         (LDFLAGS-tst-initorder2a.so): Likewise.
60427         (LDFLAGS-tst-initorder2b.so): Likewise.
60428         (LDFLAGS-tst-initorder2c.so): Likewise.
60429         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
60431 2012-05-02  David S. Miller  <davem@davemloft.net>
60433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60435 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
60437         [BZ #14055]
60438         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
60440 2012-05-02  Andreas Jaeger  <aj@suse.de>
60442         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
60443         since we manipulate rounding mode.
60444         (CPPFLAGS-test-idouble.c): Likewise.
60445         (CPPFLAGS-test-ifloat.c): Likewise.
60446         (CFLAGS-test-ldouble.c): Likewise.
60447         (CFLAGS-test-double.c): Likewise.
60448         (CFLAGS-test-float.c): Likewise.
60449         (CFLAGS-test-misc.c): Likewise.
60450         (CFLAGS-test-test-fenv.c): Likewise.
60452 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60454         [BZ #2550]
60455         [BZ #2570]
60456         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
60457         comparisons to determine direction to adjust input.
60459 2012-05-01  Roland McGrath  <roland@hack.frob.com>
60461         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
60462         output to the target.
60464         * scripts/localplt.awk: New file.
60465         * elf/Makefile ($(objpfx)check-localplt): Target removed.
60466         (check-localplt-CFLAGS): Variable removed.
60467         ($(all-built-dso:=.jmprel)): New static pattern rule.
60468         (generated): Add those targets.
60469         (localplt-built-dso): New variable.
60470         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
60472         * elf/check-localplt.c: File removed.
60474         * scripts/check-execstack.awk: New file.
60475         * elf/Makefile ($(objpfx)check-execstack): Target removed.
60476         (check-execstack-CFLAGS): Variable removed.
60477         ($(objpfx)check-execstack.h): Target removed.
60478         ($(objpfx)execstack-default): New target.
60479         (generated): Add that instead of check-execstack.h.
60480         ($(all-built-dso:=.phdr)): New static pattern rule.
60481         (generated): Add those targets.
60482         * elf/check-execstack.c: File removed.
60484         * scripts/check-textrel.awk: New file.
60485         * elf/Makefile ($(objpfx)check-textrel): Target removed.
60486         (check-textrel-CFLAGS): Variable removed.
60487         (all-built-dso): Use := to define.o
60488         ($(all-built-dso:=.dyn)): New static pattern rule.
60489         (generated): Add those targets.
60490         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
60491         * config.make.in (READELF): New substituted variable.
60492         * elf/check-textrel.c: File removed.
60494 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
60496         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
60497         allow.
60498         * conform/data/ctype.h-data [C99-based standards] (isblank):
60499         Expect function.
60500         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
60501         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
60502         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60503         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
60504         Specify type.  Require positive value.
60505         (EILSEQ): Likewise.
60506         (ERANGE): Likewise.
60507         [ISO || POSIX] (EILSEQ): Do not expect.
60508         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
60509         Specify type.  Require positive value.
60510         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
60511         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
60512         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
60513         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
60514         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
60515         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
60516         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
60517         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
60518         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
60519         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
60520         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
60521         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
60522         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
60523         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
60524         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
60525         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
60526         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
60527         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
60528         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
60529         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
60530         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
60531         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
60532         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
60533         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
60534         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
60535         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
60536         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
60537         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
60538         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
60539         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
60540         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
60541         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
60542         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
60543         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
60544         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
60545         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
60546         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
60547         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
60548         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
60549         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
60550         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
60551         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
60552         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
60553         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
60554         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
60555         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
60556         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
60557         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
60558         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
60559         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
60560         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
60561         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
60562         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
60563         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
60564         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
60565         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
60566         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
60567         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
60568         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
60569         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
60570         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
60571         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
60572         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
60573         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
60574         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
60575         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
60576         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
60577         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
60578         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
60579         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
60580         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
60581         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
60582         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
60583         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
60584         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
60585         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
60586         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
60587         Require >= 2.
60588         (FLT_ROUNDS): Expect as macro, not constant.
60589         (FLT_MANT_DIG): Use macro-int-constant.
60590         (DBL_MANT_DIG): Likewise.
60591         (LDBL_MANT_DIG): Likewise.
60592         (FLT_DIG): Likewise.
60593         (DBL_DIG): Likewise.
60594         (LDBL_DIG): Likewise.
60595         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
60596         (DBL_MIN_EXP): Likewise.
60597         (LDBL_MIN_EXP): Likewise.
60598         (FLT_MAX_EXP): Use macro-int-constant.
60599         (DBL_MAX_EXP): Likewise.
60600         (LDBL_MAX_EXP): Likewise.
60601         (FLT_MAX_10_EXP): Likewise.
60602         (DBL_MAX_10_EXP): Likewise.
60603         (LDBL_MAX_10_EXP): Likewise.
60604         (FLT_MAX): Use macro-constant.
60605         (DBL_MAX): Likewise.
60606         (LDBL_MAX): Likewise.
60607         (FLT_EPSILON): Use macro-constant.  Give upper bound.
60608         (DBL_EPSILON): Likewise.
60609         (LDBL_EPSILON): Likewise.
60610         (FLT_MIN): Likewise.
60611         (DBL_MIN): Likewise.
60612         (LDBL_MIN): Likewise.
60613         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
60614         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
60615         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
60616         [ISO11] (FLT_HAS_SUBNORM): Likewise.
60617         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
60618         [ISO11] (DBL_DECIMAL_DIG): Likewise.
60619         [ISO11] (FLT_DECIMAL_DIG): Likewise.
60620         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
60621         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
60622         [ISO11] (FLT_TRUE_MIN): Likewise.
60623         [ISO11] (LDBL_TRUE_MIN): Likewise.
60624         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60625         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
60626         (SCHAR_MIN): Use macro-int-constant.  Specify type.
60627         (SCHAR_MAX): Likewise.
60628         (UCHAR_MAX): Likewise.
60629         (CHAR_MIN): Likewise.
60630         (CHAR_MAX): Likewise.
60631         (MB_LEN_MAX): Use macro-int-constant.
60632         (SHRT_MIN): Use macro-int-constant.  Specify type.
60633         (SHRT_MAX): Likewise.
60634         (USHRT_MAX): Likewise.
60635         (INT_MAX): Likewise.
60636         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
60637         bound negative.
60638         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60639         bound with "U".
60640         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60641         bound with "L".
60642         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
60643         bound negative.  Suffix upper bound with "L".
60644         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
60645         bound with "UL".
60646         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
60647         Specify type.
60648         [C99-based standards] (LLONG_MAX): Likewise.
60649         [C99-based standards] (ULLONG_MAX): Likewise.
60650         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
60651         == 0.
60652         [ISO11] (max_align_t): Require type.
60653         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60655         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
60656         from $CFLAGS, without defining away __attribute__ calls.
60657         (checknamespace): Use $CFLAGS_namespace.
60659         * conform/conformtest.pl (@keywords): Only include C99 keywords
60660         for standards based on C99 or C11.
60662         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
60663         Disable tests.
60664         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
60665         UNIX98]: Likewise.
60667         * conform/conformtest.pl: Handle "macro-int-constant" and test for
60668         usability of symbols in #if.
60670         * conform/conformtest.pl: If macro or constant types start
60671         "promoted:", expect the symbol to be of the following type
60672         promoted by the integer promotions.
60674         * conform/conformtest.pl: Parse all "constant" and "macro" lines
60675         in one place.  Also handle "macro-constant".
60677         * conform/conformtest.pl: Only accept expected macro values with
60678         "==".  Parse all "macro" lines in one place.
60679         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
60681         * conform/conformtest.pl: Handle braced types on "constant" lines
60682         instead of handling "typed-constant".
60683         * conform/data/signal.h-data: Use "constant" instead of
60684         "typed-constant".
60686         * conform/conformtest.pl: Handle "optional-" at start of lines in
60687         one place rather than duplicating several cases.  Handle each
60688         format of "macro" line with initial "optional-".
60690         * conform/conformtest.pl: Only accept expected constant or
60691         optional-constant values with "==".  Parse all "constant" lines in
60692         one place.  Parse all "optional-constant" lines in one place.
60693         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
60694         * conform/data/fmtmsg.h-data: Likewise.
60695         * conform/data/netinet/in.h-data: Likewise.
60696         * conform/data/tar.h-data: Likewise.
60697         * conform/data/limits.h-data: Use "==" form on "constant" and
60698         "optional-constant" lines.
60700         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
60701         Use -std=c99 for XOPEN2K.
60702         (@knownproblems): Remove.
60703         (newtoken): Don't check %isknown.
60705         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
60706         Do not expect macro.
60707         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
60708         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
60709         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
60710         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
60711         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
60712         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
60713         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
60714         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
60715         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
60716         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
60717         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
60718         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
60719         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
60720         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
60721         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
60722         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
60723         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
60724         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
60725         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
60726         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
60727         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
60728         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
60729         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
60730         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
60731         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
60732         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
60733         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
60734         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
60735         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
60736         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
60737         [XPG3] (acosh): Likewise.
60738         [XPG3] (asinh): Likewise.
60739         [XPG3] (atanh): Likewise.
60740         [XPG3] (cbrt): Likewise.
60741         [XPG3] (expm1): Likewise.
60742         [XPG3] (ilogb): Likewise.
60743         [XPG3] (log1p): Likewise.
60744         [XPG3] (logb): Likewise.
60745         [XPG3] (nextafter): Likewise.
60746         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
60747         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
60748         [XPG3] (remainder): Likewise.
60749         [XPG3] (rint): Likewise.
60750         [XPG3 || XPG4 || UNIX98] (round): Likewise.
60751         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
60752         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
60753         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
60754         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
60755         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
60756         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
60757         [UNIX98 || XOPEN2K] (scalb): Expect.
60758         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
60759         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
60760         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
60761         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
60762         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
60763         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
60764         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
60765         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
60766         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
60767         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
60768         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
60769         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
60770         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
60771         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
60772         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
60773         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
60774         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
60775         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
60776         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
60777         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
60778         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
60779         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
60780         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
60781         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
60782         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
60783         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
60784         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
60785         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
60786         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
60787         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
60788         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
60789         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
60790         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
60791         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
60792         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
60793         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
60794         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
60795         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
60796         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
60797         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
60798         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
60799         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
60800         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
60801         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
60802         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
60803         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
60804         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
60805         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
60806         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
60807         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
60808         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
60809         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
60810         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
60811         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
60812         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
60813         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
60814         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
60815         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
60816         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
60817         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
60818         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
60819         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
60820         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
60821         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
60822         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
60823         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
60824         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
60825         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
60826         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
60827         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
60828         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
60829         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
60830         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
60831         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
60832         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
60833         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
60834         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
60835         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
60836         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
60837         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
60838         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
60839         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
60840         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
60841         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
60842         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
60843         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
60844         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
60845         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
60846         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
60847         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
60848         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
60849         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
60850         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
60851         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
60852         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
60853         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
60854         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
60855         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
60856         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
60857         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
60858         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
60859         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
60860         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
60861         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
60862         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
60863         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
60864         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
60865         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
60866         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
60867         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
60868         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
60869         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
60870         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
60871         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
60872         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
60873         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
60874         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
60875         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
60876         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
60877         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
60878         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
60879         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
60880         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
60881         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
60882         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
60883         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
60884         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
60885         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
60886         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
60887         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
60888         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
60889         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
60890         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
60891         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
60892         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
60893         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
60894         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
60896         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
60897         _XOPEN_SOURCE_EXTENDED for XPG4.
60899         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
60901         * Makeconfig (localtime): Remove variable.
60902         (inst_localtime-file): Likewise.
60904 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
60906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
60907         Update.
60908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60909         Update.
60910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
60911         Update.
60912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
60913         Update.
60914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
60915         Update.
60916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
60917         Update.
60918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60919         Update.
60920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
60921         Update.
60922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
60923         Update.
60925 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
60927         [BZ #2550]
60928         [BZ #2570]
60929         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
60930         comparisons to determine direction to adjust input.
60931         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
60932         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
60933         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
60934         Likewise.
60935         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
60936         Likewise.
60937         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
60938         Likewise.
60939         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
60940         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
60941         Likewise.
60942         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
60943         Likewise.
60944         * math/libm-test.inc (nexttoward_test): Add more tests.
60946 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
60948         [BZ #14040]
60949         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
60950         in version GLIBC_2.1, not GLIBC_2.0.
60951         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
60952         Likewise.
60954 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
60956         [BZ #13942]
60957         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
60958         (1 - x) * (1 + x).
60959         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60960         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
60961         * math/libm-test.inc (acos_test): Add more tests.
60962         (asin_test): Likewise.
60963         * sysdeps/i386/fpu/libm-test-ulps: Update.
60964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60966         [BZ #14034]
60967         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
60968         of square root.
60969         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
60970         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
60971         * math/libm-test.inc (acos_test_tonearest): New function.
60972         (acos_test_towardzero): Likewise.
60973         (acos_test_downward): Likewise.
60974         (acos_test_upward): Likewise.
60975         (asin_test_tonearest): Likewise.
60976         (asin_test_towardzero): Likewise.
60977         (asin_test_downward): Likewise.
60978         (asin_test_upward): Likewise.
60979         (main): Call the new functions.
60980         * sysdeps/i386/fpu/libm-test-ulps: Update.
60981         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60983         [BZ #13884]
60984         [BZ #13924]
60985         * math/e_exp10.c: Include <float.h>.
60986         (__ieee754_exp10): Handle underflow here rather than multiplying
60987         large negative argument by M_LN10.
60988         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
60989         of __ieee754_expf.
60990         * math/e_exp10l.c: Include <float.h>.
60991         (__ieee754_exp10l): Handle underflow here rather than multiplying
60992         large negative argument by M_LN10l.
60993         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
60994         spurious overflow exception on underflow.
60996 2012-04-29  Marek Polacek  <polacek@redhat.com>
60998         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
60999         (__fortify_function): New macro.
61000         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
61001         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
61002         __extern_always_inline.
61003         * libio/bits/stdio2.h: Likewise.
61004         * libio/bits/stdio.h: Likewise.
61005         * string/string.h: Likewise.
61006         * string/bits/string3.h: Likewise.
61007         * include/stdio.h: Likewise.
61008         * stdlib/bits/stdlib.h: Likewise.
61009         * stdlib/stdlib.h: Likewise.
61010         * rt/bits/mqueue2.h: Likewise.
61011         * rt/mqueue.h: Likewise.
61012         * posix/bits/unistd.h: Likewise.
61013         * posix/unistd.h: Likewise.
61014         * io/bits/poll2.h: Likewise.
61015         * io/bits/fcntl2.h: Likewise.
61016         * io/fcntl.h: Likewise.
61017         * io/sys/poll.h: Likewise.
61018         * misc/bits/syslog.h: Likewise.
61019         * misc/bits/syslog-ldbl.h: Likewise.
61020         * misc/sys/syslog.h: Likewise.
61021         * socket/bits/socket2.h: Likewise.
61022         * socket/sys/socket.h: Likewise.
61023         * debug/tst-chk1.c: Likewise.
61024         * wcsmbs/bits/wchar2.h: Likewise.
61025         * wcsmbs/bits/wchar-ldbl.h: Likewise.
61026         * wcsmbs/wchar.h: Likewise.
61028 2012-04-29  Andreas Jaeger  <aj@suse.de>
61030         * Makerules (tests): Remove enable-check-abi protection.
61031         (check-abi-warn): Remove.
61032         (check-abi-%): Remove check-abi-warn usage.
61034         * configure.in: Remove check-abi configure option.
61035         * configure: Regenerated.
61036         * config.make.in (enable-check-abi): Remove.
61038 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
61040         [BZ #14033]
61041         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
61042         double functions to double *_finite functions.
61044         [BZ #13941]
61045         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
61046         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
61047         LDBL_MIN_EXP.
61048         * stdio-common/Makefile (tests): Add tst-sprintf3.
61049         * stdio-common/tst-sprintf3.c: New file.
61051         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
61052         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
61054 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
61056         * conform/conformtest.pl: Remove duplicate typed-constant
61057         handling.
61059 2012-04-28  David S. Miller  <davem@davemloft.net>
61061         * Makerules (%.abilist): Add vpath on sysdep_dirs.
61062         (check-abi-%): Remove AWK script prerequisite and explicit
61063         abilist directory.
61064         (check-abi): Rewrite to just diff the symlist with the abilist.
61065         (config-tls, config-abi-config): Delete, no longer used.
61066         (update-abi-%): Remove AWK script and explicit abilist directory.
61067         (update-abi): Rewrite to simply compare and conditionally copy the
61068         symlist and the sysdep abilist file.  Remove update-abi-config
61069         checks.
61070         * abilist/ld.abilist: Remove.
61071         * abilist/libBrokenLocale.abilist: Remove.
61072         * abilist/libanl.abilist: Remove.
61073         * abilist/libcrypt.abilist: Remove.
61074         * abilist/libdl.abilist: Remove.
61075         * abilist/librt.abilist: Remove.
61076         * abilist/libthread_db.abilist: Remove.
61077         * abilist/libutil.abilist: Remove.
61078         * scripts/extract-abilist.awk: Remove.
61079         * scripts/merge-abilist.awk: Remove.
61080         * sysdeps/generic/libcidn.abilist: New file.
61081         * sysdeps/generic/libnss_compat.abilist: New file.
61082         * sysdeps/generic/libnss_db.abilist: New file.
61083         * sysdeps/generic/libnss_dns.abilist: New file.
61084         * sysdeps/generic/libnss_files.abilist: New file.
61085         * sysdeps/generic/libnss_hesiod.abilist: New file.
61086         * sysdeps/generic/libnss_nis.abilist: New file.
61087         * sysdeps/generic/libnss_nisplus.abilist: New file.
61088         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
61089         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
61090         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
61091         file.
61092         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
61093         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
61094         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
61095         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
61096         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
61097         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
61098         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
61099         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
61100         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
61101         file.
61102         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
61103         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
61104         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
61105         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
61106         file.
61107         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
61108         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
61109         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
61110         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
61111         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
61112         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
61113         file.
61114         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
61115         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
61116         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
61117         file.
61118         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
61119         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
61120         New file.
61121         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
61122         New file.
61123         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
61124         New file.
61125         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
61126         New file.
61127         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
61128         New file.
61129         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
61130         New file.
61131         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
61132         New file.
61133         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
61134         New file.
61135         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
61136         New file.
61137         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
61138         New file.
61139         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
61140         New file.
61141         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
61142         New file.
61143         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
61144         New file.
61145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
61146         file.
61147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
61148         New file.
61149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
61150         New file.
61151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
61152         file.
61153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
61154         New file.
61155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
61156         New file.
61157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
61158         file.
61159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
61160         New file.
61161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61162         New file.
61163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
61164         New file.
61165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
61166         New file.
61167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
61168         New file.
61169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
61170         New file.
61171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
61172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
61173         file.
61174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
61175         New file.
61176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
61177         file.
61178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
61179         file.
61180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
61181         file.
61182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
61183         file.
61184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
61185         file.
61186         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61187         New file.
61188         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
61189         file.
61190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
61191         file.
61192         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
61193         New file.
61194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
61195         file.
61196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
61197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
61198         file.
61199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
61200         New file.
61201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
61202         file.
61203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
61204         file.
61205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
61206         file.
61207         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
61208         file.
61209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
61210         file.
61211         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61212         New file.
61213         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
61214         file.
61215         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
61216         file.
61217         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
61218         New file.
61219         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
61220         file.
61221         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
61222         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
61223         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
61224         file.
61225         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
61226         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
61227         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
61228         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
61229         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
61230         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
61231         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
61232         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
61233         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
61234         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
61235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
61236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
61237         file.
61238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
61239         New file.
61240         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
61241         file.
61242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
61243         file.
61244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
61245         file.
61246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
61247         file.
61248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
61249         file.
61250         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
61251         New file.
61252         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
61253         New file.
61254         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
61255         file.
61256         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
61257         New file.
61258         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
61259         file.
61260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
61261         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
61262         file.
61263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
61264         New file.
61265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
61266         file.
61267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
61268         file.
61269         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
61270         file.
61271         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
61272         file.
61273         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
61274         file.
61275         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61276         New file.
61277         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
61278         New file.
61279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
61280         file.
61281         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
61282         New file.
61283         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
61284         file.
61286 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
61288         * conform/conformtest.pl: Fix typo in handling typed-constant from
61289         allow-header.
61291 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
61293         * README: Cut down references to pre-2.6 Linux kernels and
61294         Linuxthreads.  Update lists of configurations in libc and ports
61295         and sort alphabetically.  Say "or newer" with Linux kernel version
61296         requirements.
61298         * config.h.in [IS_IN_build]: Allow compiling without optimization.
61300 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61302         [BZ #887]
61303         * math/libm-test.inc (logb_test_downward): New test to expose
61304         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
61305         rounding mode.
61307 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
61309         [BZ #14027]
61310         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
61311         to be done.
61312         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
61313         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
61315 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
61317         * sysdeps/unix/i386/brk.S: Remove file.
61318         * sysdeps/unix/i386/dl-brk.S: Likewise.
61319         * sysdeps/unix/i386/pipe.S: Likewise.
61320         * sysdeps/unix/i386/sigreturn.S: Likewise.
61321         * sysdeps/unix/i386/syscall.S: Likewise.
61322         * sysdeps/unix/i386/vfork.S: Likewise.
61323         * sysdeps/unix/i386/wait.S: Likewise.
61325         * sysdeps/unix/common/tcsendbrk.c: Move to ...
61326         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
61328         * configure.in (arm*-none*): Do not allow without
61329         --enable-hacker-mode.
61330         (netbsd*): Remove case setting base_os.
61331         (386bsd*): Likewise.
61332         (freebsd*): Likewise.
61333         (bsdi*): Likewise.
61334         (osf*): Likewise.
61335         (sunos*): Likewise.
61336         (ultrix*): Likewise.
61337         (newsos*): Likewise.
61338         (dynix*): Likewise.
61339         (*bsd*): Likewise.
61340         (sysv*): Likewise.
61341         (isc*): Likewise.
61342         (esix*): Likewise.
61343         (sco*): Likewise.
61344         (minix*): Likewise.
61345         (irix4*): Likewise.
61346         (irix6*): Likewise.
61347         (solaris[2-9]*): Likewise.
61348         (none): Likewise.
61349         * configure: Regenerated.
61351 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61353         [BZ #11521]
61354         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
61355         overflow or cancellation in calculating denominator.
61356         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
61357         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
61358         down expression to avoid unexpected rounding in newer GCCs.
61359         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
61361 2012-04-26  David S. Miller  <davem@davemloft.net>
61363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
61364         long-double compat symbols.
61365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
61367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
61368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
61369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
61370         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
61371         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
61372         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
61373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
61374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
61375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
61376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
61377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
61379 2012-04-25  David S. Miller  <davem@davemloft.net>
61381         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
61382         HWCAP_* values only after the memory barriers have been defined.
61383         (atomic_full_barrier): Define.
61384         (atomic_read_barrier): Define.
61385         (atomic_write_barrier): Define.
61387 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61389         * shlib-versions: Add libgcc_s version information.
61390         * sysdeps/generic/libgcc_s.h: Remove.
61391         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
61392         libgcc_s.h.
61393         * sysdeps/gnu/unwind-resume.c: Likewise.
61394         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
61396 2012-04-25  David S. Miller  <davem@davemloft.net>
61398         * sysdeps/unix/sparc/brk.S: Delete.
61399         * sysdeps/unix/sparc/dl-brk.S: Delete.
61400         * sysdeps/unix/sparc/pipe.S: Delete.
61401         * sysdeps/unix/sparc/sysdep.S: Delete.
61402         * sysdeps/unix/sparc/sysdep.h: Delete.
61403         * sysdeps/unix/sparc/vfork.S: Delete.
61404         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
61405         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
61406         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
61407         (ret_ERRVAL, r0, r1, MOVE): Define.
61408         (JUMPTARGET): Remove.
61409         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
61410         sysdeps/unix/sparc/sysdep.h
61411         (ENTRY, END): Remove.
61412         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
61414 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
61416         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
61417         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
61418         -DIS_IN_build.
61420         * timezone/README: Update upstream location and email address for
61421         tzcode and tzdata.
61422         * timezone/zdump.c: Update from tzcode 2012b.
61423         * timezone/zic.c: Likewise.
61425         * configure.in (libc_cv_as_needed): Remove test.
61426         * configure: Regenerated.
61427         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
61428         conditional definition.
61429         [$(have-as-needed) != yes] (no-as-needed): Likewise.
61430         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
61431         * config.make.in (have-as-needed): Remove variable.
61433 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61434             Paul Pluzhnikov  <ppluzhnikov@google.com>
61436         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
61437         strings correctly.
61439 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
61441         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
61442         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
61443         * sysdeps/sh/strlen.S: Likewise.
61445 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61447         * sysdeps/unix/fork.S: Remove file.
61448         * sysdeps/unix/i386/fork.S: Likewise.
61449         * sysdeps/unix/sparc/fork.S: Likewise.
61451         * sysdeps/unix/system.c: Remove file.
61452         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
61454         * sysdeps/unix/getegid.S: Remove file.
61455         * sysdeps/unix/geteuid.S: Likewise.
61457 2012-04-24  Roland McGrath  <roland@hack.frob.com>
61459         * scripts/check-localplt.awk: New file.
61460         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
61461         of diff.
61462         * scripts/data/localplt-generic.data: Add a comment.
61464         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
61465         NODE when __dir_mkfile failed.
61466         * sysdeps/mach/hurd/symlinkat.c: Likewise.
61467         Reported by Ludovic Courtès <ludo@gnu.org>.
61469 2012-04-24  Andreas Jaeger  <aj@suse.de>
61471         * Makerules (common-clean): Also remove gen-as-const-headers
61472         files.
61474 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61476         * Makerules (native-compile): Do not change working directory for
61477         build.  Use $(OUTPUT_OPTION) in command.
61478         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
61480 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61482         [BZ #13886]
61483         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
61484         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
61485         * math/libm-test.inc (floor_test): Add more tests.
61486         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
61488 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
61490         * sysdeps/unix/getdents.c: Remove file.
61491         * sysdeps/unix/sysv/getdents.c: Likewise.
61492         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
61494         * sysdeps/unix/syscalls.list (madvise): Add syscall from
61495         sysdeps/unix/mman/syscalls.list.
61496         (mmap): Likewise.
61497         (mprotect): Likewise.
61498         (msync): Likewise.
61499         (munmap): Likewise.
61500         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
61501         * sysdeps/unix/mman/syscalls.list: Remove.
61502         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
61504         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
61505         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
61506         * configure: Regenerated.
61507         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
61508         $(libgcc_s_suffix).
61509         * config.make.in (libgcc_s_suffix): Remove variable.
61511 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
61513         * sysdeps/unix/sysv/gethostname.c: Move to ...
61514         * sysdeps/posix/gethostname.c: ... here.
61516         * sysdeps/unix/execve.S: Remove file.
61518         * sysdeps/unix/_exit.S: Remove file.
61520 2012-04-23  Andreas Jaeger  <aj@suse.de>
61522         [BZ #13739]
61523         * manual/Makefile: Remove make dist support, there's no
61524         need for a stand-alone documentation tar ball.
61525         (TEXI2DVI): Define always, it's not in Makeconfig.
61526         (dist): Removed.
61527         (tar-it): Removed.
61528         (edition): Removed.
61529         (glibc-doc-$(edition).tar): Removed
61530         (%.Z): Removed.
61531         (%.gz): Removed.
61532         (%.uu): Removed.
61533         (ETAGS): Remove, it's in Makeconfig.
61534         (move-if-change): Remove, it's in Makeconfig.
61536 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
61538         [BZ #13970]
61539         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
61540         (strtod, strtof, strtold, strtol, strtoul, strtoq)
61541         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
61542         (strtod_l, strtof_l, strtold_l): Remove __wur.
61543         It is not necessarily an error to ignore strtol's return value.
61544         One can reliably look at the stored endptr to decide whether
61545         the number had valid syntax.
61547 2012-04-21  Andreas Jaeger  <aj@suse.de>
61549         [BZ #13739]
61550         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
61552 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
61554         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
61555         * sysdeps/unix/sysv/Versions: Remove file.
61557 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
61559         [BZ #13927]
61560         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61562 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
61564         [BZ #7064]
61565         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
61566         version from __vm86.
61568 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
61570         * sysdeps/unix/common/lxstat.c: Remove file.
61571         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
61573         * sysdeps/unix/sysv/Makefile: Remove file.
61575         * sysdeps/unix/sysv/direct.h: Remove file.
61577         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
61578         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
61579         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
61580         * sysdeps/unix/sysv/bits/signum.h: Likewise.
61581         * sysdeps/unix/sysv/bits/stat.h: Likewise.
61582         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
61583         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
61585         * sysdeps/unix/sysv/setrlimit.c: Remove file.
61587         * sysdeps/unix/xmknod.c: Remove file.
61588         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
61590         * sysdeps/unix/sysv/settimeofday.c: Remove file.
61592         * sysdeps/unix/sysv/i386/time.S: Remove file.
61594         * sysdeps/unix/fxstat.c: Remove file.
61595         * sysdeps/unix/xstat.c: Likewise.
61596         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
61598         * sysdeps/unix/sysv/sigaction.c: Remove file.
61600         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
61601         (sysdep_headers): Remove variable.
61602         [termio.h not in sysdep_headers] (generated): Likewise.
61603         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
61604         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
61605         * sysdeps/unix/sysv/tcdrain.c: Likewise.
61606         * sysdeps/unix/sysv/tcflow.c: Likewise.
61607         * sysdeps/unix/sysv/tcflush.c: Likewise.
61608         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
61609         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
61610         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
61611         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
61612         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
61614         * sysdeps/unix/siglist.c: Remove file.
61616         * sysdeps/unix/getppid.S: Remove file.
61618         * sysdeps/unix/mkdir.c: Remove file.
61619         * sysdeps/unix/rmdir.c: Likewise.
61621 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
61623         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
61624         ERR_MAX value.
61625         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
61626         errlist-compat value.
61628 2012-04-18  David S. Miller  <davem@davemloft.net>
61630         * sysdeps/generic/memcopy.h (reg_char): Delete.
61631         * debug/strcat_chk.c: Use char, not reg_char.
61632         * debug/strcpy_chk.c: Likewise.
61633         * debug/strncat_chk.c: Likewise.
61634         * debug/strncpy_chk.c: Likewise.
61635         * string/memchr.c: Likewise.
61636         * string/memrchr.c: Likewise.
61637         * string/rawmemchr.c: Likewise.
61638         * string/strcat.c: Likewise.
61639         * string/strchr.c: Likewise.
61640         * string/strchrnul.c: Likewise.
61641         * string/strcmp.c: Likewise.
61642         * string/strcpy.c: Likewise.
61643         * string/strncat.c: Likewise.
61644         * string/strncmp.c: Likewise.
61645         * string/strncpy.c: Likewise.
61647 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61649         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
61650         __builtin_memcopy is called when src and dest ranges are known to not
61651         overlap.
61653 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61655         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
61656         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
61657         fwd_align_merge macro call.
61658         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
61659         bwd_align_merge macro call.
61660         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61662 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
61664         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
61665         bwd_align_merge macros.
61666         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
61667         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
61668         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
61670 2012-04-18  David S. Miller  <davem@davemloft.net>
61672         * sysdeps/sparc/sparc64/memcopy.h: Delete.
61674 2012-04-18  Andreas Jaeger  <aj@suse.de>
61676         [BZ# 6794]
61677         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
61678         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
61679         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61681         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
61682         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
61683         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61685         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
61686         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
61687         Adjust for changed ldbl-128 files.
61689         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
61690         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
61691         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
61693 2012-04-17  David S. Miller  <davem@davemloft.net>
61695         * sysdeps/sparc/sparc32/memcopy.h: Delete.
61697 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
61699         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
61700         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
61701         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
61702         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
61703         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61704         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
61706 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61708         [BZ #6794]
61709         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
61710         * math/libm-test.inc: Add ilogb errno and exception tests.
61711         * math/w_ilogb.c: New file: ilogb wrapper.
61712         * math/w_ilogbf.c: New file: ilogbf wrapper.
61713         * math/w_ilogbl.c: New file: ilogbl wrapper.
61714         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
61715         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
61716         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
61717         exception being thrown with 0.0 as argument.
61718         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
61719         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
61720         exception being thrown with 0.0 as argument.
61721         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
61722         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61723         exception being thrown with 0.0 as argument.
61724         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
61725         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
61726         exception being thrown with 0.0 as argument.
61727         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
61728         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
61729         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
61730         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
61731         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
61732         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
61733         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
61734         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
61735         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
61737 2012-04-17  Petr Baudis  <pasky@ucw.cz>
61739         * include/sys/uio.h: Change __vector to __iovec to avoid clash
61740         with altivec.
61742 2012-04-16  Marek Polacek  <polacek@redhat.com>
61744         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
61746 2012-04-16  Marek Polacek  <polacek@redhat.com>
61748         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
61749         operands of fdivp instruction.
61751 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
61753         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
61754         * elf/tst-auditmod3b.c: Likewise.
61755         * elf/tst-auditmod4b.c: Likewise.
61756         * elf/tst-auditmod5b.c: Likewise.
61757         * elf/tst-auditmod6b.c: Likewise.
61758         * elf/tst-auditmod6c.c: Likewise.
61759         * elf/tst-auditmod7b.c: Likewise.
61760         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
61761         * sysdeps/x86_64/preconfigure.in: Likewise.
61762         * sysdeps/x86_64/preconfigure: Regenerated.
61764 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
61766         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
61767         __ILP32__.
61769 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
61771         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61772         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
61774 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
61776         [BZ #13973]
61777         * locale/iso-639.def: Fix gl language name. Spotted by
61778         Yaron Shahrabani.
61780 2012-04-12  Roland McGrath  <roland@hack.frob.com>
61782         [BZ #2074]
61783         * libio/libio.h (__io_write_fn): Update comment.
61785 2012-04-12  Petr Baudis  <pasky@ucw.cz>
61787         [BZ #2074]
61788         * stdio.texi (Hook Functions): The user provided writer function
61789         is not allowed to return -1.
61791 2012-04-11  David S. Miller  <davem@davemloft.net>
61793         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61795 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
61797         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
61798         Add a leading slash to rtkaio.
61800 2012-04-11  Jim Meyering  <meyering@redhat.com>
61802         [BZ #11959]
61803         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
61804         It is not necessarily an error to ignore fwrite's return
61805         value.  One can reliably use ferror to test for errors after
61806         the fact.
61808 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
61810         * bits/types.h (__snseconds_t): New type.
61811         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
61813         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
61814         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61815         (__SNSECONDS_T_TYPE): Likewise.
61816         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61817         (__SNSECONDS_T_TYPE): Likewise.
61818         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61819         (__SNSECONDS_T_TYPE): Likewise.
61821 2012-04-10  Andreas Jaeger  <aj@suse.de>
61823         [BZ #2636]
61824         * manual/time.texi (Processor Time): Return type of times is
61825         elapsed real time since an arbitrary point in the past.
61826         (CPU Time): Move CLK_TCK from here...
61827         (Processor Time): ...to here.  Correct description.
61828         * manual/conf.texi (Constants for Sysconf): Correct description of
61829         _SC_CLK_TCK.
61831 2012-04-10  David S. Miller  <davem@davemloft.net>
61833         [BZ #13967]
61834         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
61835         where the is a gap between DT_REL(A) and DT_JMPREL.
61837 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
61839         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
61840         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61841         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61843 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
61845         * elf/dl-support.c (_dl_inhibit_cache): New variable.
61846         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
61847         (dl_main): Handle --inhibit-cache.
61848         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
61849         _dl_inhibit_cache.
61850         * elf/dl-load.c (_dl_map_object): Use it.
61851         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
61853 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
61855         [BZ #13872]
61856         * sysdeps/i386/fpu/e_powl.S (p78): New object.
61857         (__ieee754_powl): Saturate large exponents rather than testing for
61858         overflow of y*log2(x).
61859         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61860         * math/libm-test.inc (pow_test): Do not permit spurious overflow
61861         exceptions.
61863         [BZ #11521]
61864         * math/s_ctan.c: Include <float.h>.
61865         (__ctan): Avoid internal overflow or cancellation in calculating
61866         denominator.
61867         * math/s_ctanf.c: Likewise.
61868         * math/s_ctanl.c: Likewise.
61869         * math/s_ctanh.c: Likewise.
61870         * math/s_ctanhf.c: Likewise.
61871         * math/s_ctanhl.c: Likewise.
61872         * math/libm-test.inc (ctan_test): Add more tests.
61873         (ctanh_test): Likewise.
61874         * sysdeps/i386/fpu/libm-test-ulps: Update.
61875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61877 2012-04-09  Andreas Jaeger  <aj@suse.de>
61879         [BZ #6894]
61880         * manual/filesys.texi (Directory Entries): Mention that d_namlen
61881         is an optional BSD extension.
61883         [BZ #10254]
61884         * manual/stdio.texi (Opening Streams): Document additional fopen
61885         parameters.
61887 2012-04-09  Roland McGrath  <roland@hack.frob.com>
61889         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
61890         %eax without telling the compiler.
61892 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
61894         [BZ # 13963]
61895         * manual/install.texi: Use sourceware.org.
61897 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
61899         [BZ #13873]
61900         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
61901         (__ieee754_pow): Generate overflow and underflow using huge*huge
61902         and tiny*tiny rather than just returning constant infinity or zero
61903         for large exponents.
61904         * math/libm-test.inc (pow_test): Require overflow exceptions for
61905         applicable cases of large exponents.
61907         [BZ #706]
61908         * sysdeps/i386/fpu/e_pow.S (p10): New object.
61909         (__ieee754_pow): Use iterative multiplication algorithm only for
61910         integer exponents with absolute value below 1024.  Check for odd
61911         integer exponents when using algorithm for real exponents.
61912         * math/libm-test.inc (pow_test): Add more tests.
61913         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61915 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
61917         [BZ #13705]
61918         * math/libm-test.inc (exp_test): Do not allow overflow exception
61919         on underflow test.
61921 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
61923         [BZ #13705]
61924         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
61925         instead of __kernel_standard_f.
61927 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
61929         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
61930         * sysdeps/x86_64/memset_chk.S: Likewise.
61932 2012-04-08  Andreas Jaeger  <aj@suse.de>
61934         [BZ #10153]
61935         * manual/startup.texi (Environment Access): Describe return value
61936         for putenv and setenv.
61938         [BZ #6895]
61939         * manual/filesys.texi (Directory Entries): Add description for
61940         DT_LNK.
61942         [BZ #6890]
61943         * manual/filesys.texi (Directory Entries): Clarify that it's file
61944         system not operating system in the description of DT_UNKNOWN.
61946         [BZ #6578]
61947         * manual/syslog.texi (closelog): Fix reference, it's openlog.
61949 2012-04-08  Stephen Compall  <s11@member.fsf.org>
61951         [BZ #6649]
61952         * manual/llio.texi (Opening and Closing Files): Add cross
61953         reference to explain mode argument.
61955 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
61957         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
61958         * sysdeps/x86_64/memset_chk.S: Likewise.
61960 2012-04-07  David S. Miller  <davem@davemloft.net>
61962         * elf/elf.h (R_SPARC_WDISP10): Define.
61963         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
61964         R_SPARC_SIZE32.
61965         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
61966         R_SPARC_SIZE64 and R_SPARC_H34.
61968 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
61970         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
61971         conditions and remove no longer applicable assertion.
61973 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
61975         * bits/byteswap.h: Include <features.h>.
61976         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
61977         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
61979 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
61981         * bits/byteswap.h (__bswap_16): Removed.
61982         Include <bits/byteswap-16.h> to get __bswap_16.
61983         * sysdeps/i386/bits/byteswap.h: Likewise.
61984         * sysdeps/s390/bits/byteswap.h: Likewise.
61985         * sysdeps/x86_64/bits/byteswap.h: Likewise.
61986         * bits/byteswap-16.h: New file.
61987         * sysdeps/i386/bits/byteswap-16.h: Likewise.
61988         * sysdeps/s390/bits/byteswap-16.h: Likewise.
61989         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
61990         * string/Makefile (headers): Add bits/byteswap-16.h.
61992 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
61994         [BZ #13895]
61995         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
61996         extra indirection.
61997         * nss/Makefile (tests-static, tests): Add tst-nss-static.
61998         * nss/tst-nss-static.c: New.
62000 2012-04-06  Robert Millan  <rmh@gnu.org>
62002         [BZ #6486]
62003         * manual/llio.texi (File Position Primitive): lseek
62004         refers to WHENCE when it really means OFFSET.
62006 2012-04-06  Andreas Jaeger  <aj@suse.de>
62008         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
62009         strncmp declarations.
62011         * abilist/libc.abilist: Add __poll and __ppoll.
62013 2012-04-05  David S. Miller  <davem@davemloft.net>
62015         * scripts/check-local-headers.sh: Accept a host triplet in the
62016         path matched by the exclude regexp.
62018         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
62019         definition.
62020         * sysdeps/powerpc/powerpc32/dl-machine.h
62021         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
62022         * sysdeps/s390/s390-32/dl-machine.h
62023         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62024         * sysdeps/sparc/sparc32/dl-machine.h
62025         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62026         * sysdeps/sparc/sparc64/dl-machine.h
62027         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
62029         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
62030         lazy binding.
62031         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
62032         undefined symbol errors.
62034         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
62035         DT_NEEDED entries.
62037 2012-04-05  Michael Matz  <matz@suse.de>
62039         [BZ #13592]
62040         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
62042 2012-04-05  Andreas Jaeger  <aj@suse.de>
62044         [BZ #13908]
62045         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
62046         comment.
62048 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62050         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
62051         which ROUND is no valid rounding mode.
62053 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62055         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
62056         read again.
62057         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
62059 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62061         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
62062         an exception using FPU order intentionally.
62064 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62066         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
62067         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
62068         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
62069         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
62071 2012-04-05  Simon Josefsson  <simon@josefsson.org>
62073         [BZ #12340]
62074         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
62075         EINVAL when BUFLEN is too smal.
62077 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
62079         [BZ #13553]
62080         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
62081         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
62083 2012-04-03  Andreas Jaeger  <aj@suse.de>
62085         [BZ #13938]
62086         * manual/setjmp.texi (System V contexts): Fix sentence.
62088         [BZ #13926]
62089         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
62090         New macro for this case.
62091         [!__GNUC__] (__bswap_64): New inline function for this case.
62092         * sysdeps/x86_64/bits/byteswap.h: Likewise.
62093         * bits/byteswap.h: Likewise.
62094         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
62095         ull, guard with __GLIBC_HAVE_LONG_LONG.
62097         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
62098         __GLIBC_HAVE_LONG_LONG.
62100         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
62101         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
62103 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
62105         [BZ #13691]
62106         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
62107         inptr and inend, rather than using last_ch.
62109 2012-04-02  David S. Miller  <davem@davemloft.net>
62111         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
62112         * stdio-common/printf-parse.h (read_int): Change return type to
62113         'int', return -1 on INT_MAX overflow.
62114         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
62115         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
62116         overflows INT_MAX.  Check for overflow of in-format-string precision
62117         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
62118         SIZE_MAX not INT_MAX for integer overflow test.
62119         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
62120         skip the construct in the format string but do not record anything.
62121         * stdio-common/bug22.c: Adjust to test both width/prevision
62122         INT_MAX overflow as well as total length INT_MAX overflow.  Check
62123         explicitly for proper errno values.
62125 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
62127         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
62128         CHAR_MAX.
62129         * string/test-strcmp.c [! WIDE]: Likewise.
62130         * time/tst-mktime2.c: Likewise for INT_MAX.
62131         * string/test-string.h: #include <sys/param.h> for MIN.
62133         * csu/init-first.c (__libc_init_first): Call __ctype_init.
62134         * sysdeps/i386/init-first.c (init): Likewise.
62135         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
62136         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
62137         * sysdeps/sh/init-first.c (init): Likewise.
62139 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
62141         * po/ru.po: Update from translation team.
62142         * po/vi.po: Likewise.
62144 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
62146         * resolv/nss_dns/dns-host.c: Merge copyright years.
62148 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62150         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
62151         Optimize memcpy with prefetch if
62152         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
62153         src, dst pointers have unequal 16 byte alignments.
62155 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
62157         [BZ #13928]
62158         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
62159         from a CNAME entry and return the minimum ttl for the query.
62160         (gaih_getanswer_slice): Likewise.
62162 2012-03-30  Jeff Law  <law@redhat.com>
62164         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
62165         due to long keys.
62166         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
62167         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
62169         * resolv/nss_dns/dns-host.c: Update copyright year.
62171 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
62173         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
62174         requests to save a system call.  Fix check that all bytes are sent.
62176         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
62177         comments for sendmmsg.
62179 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62181         [BZ #13691]
62182         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
62183         with only 1 character between 0x0041 and 0x01b0.
62184         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
62185         * wcsmbs/tst-mbsnrtowcs.c: New file.
62187 2012-03-29  David S. Miller  <davem@davemloft.net>
62189         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
62190         small copies by hand.
62192 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62194         [BZ #13761]
62195         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
62196         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
62197         group memberships.
62199 2012-03-28  David S. Miller  <davem@davemloft.net>
62201         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
62202         that branches into memcpy.
62203         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
62204         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
62205         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62206         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
62207         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
62208         bits.
62209         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
62210         implementation too.
62211         * sysdeps/sparc/mempcpy.S: New file.
62213         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
62214         the IFUNC routine in the libc case.
62215         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
62217         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
62218         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
62219         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
62220         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
62221         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
62222         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
62223         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
62224         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
62226         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
62227         loop to 256 bytes instead of 64 bytes and fix test signedness.
62229         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
62230         * sysdeps/sparc/sparc32/Makefile: rather than here...
62231         * sysdeps/sparc/sparc64/Makefile: and here.
62233 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
62235         * malloc/mallocbug.c: Avoid warnings about unused variables.
62237 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
62239         [BZ #13760]
62240         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
62241         in the right place. Discard and retry query if response is
62242         larger than input buffer size.
62244 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
62246         [BZ #369]
62247         [BZ #2678]
62248         [BZ #3866]
62249         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
62250         x for large integer exponent.
62251         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
62252         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
62253         sign of result as needed afterwards.
62254         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
62255         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
62256         result for underflowing pow the same as for overflow.
62257         (__kernel_standard_l): Handle powl overflow and underflow here
62258         rather than calling __kernel_standard.
62259         * math/libm-test.inc (pow_test): Add more tests.
62261         [BZ #3868]
62262         [BZ #13879]
62263         [BZ #13910]
62264         [BZ #13911]
62265         [BZ #13912]
62266         [BZ #13913]
62267         [BZ #13915]
62268         [BZ #13916]
62269         [BZ #13917]
62270         [BZ #13918]
62271         [BZ #13919]
62272         [BZ #13920]
62273         [BZ #13921]
62274         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
62275         * sysdeps/ieee754/k_standard.c: Include <float.h>.
62276         (__kernel_standard_l): New function.
62277         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
62278         __kernel_standard.
62279         * math/w_acosl.c (__acosl): Likewise.
62280         * math/w_asinl.c (__asinl): Likewise.
62281         * math/w_atan2l.c (__atan2l): Likewise.
62282         * math/w_atanhl.c (__atanhl): Likewise.
62283         * math/w_coshl.c (__coshl): Likewise.
62284         * math/w_exp10l.c (__exp10l): Likewise.
62285         * math/w_exp2l.c (__exp2l): Likewise.
62286         * math/w_fmodl.c (__fmodl): Likewise.
62287         * math/w_hypotl.c (__hypotl): Likewise.
62288         * math/w_j0l.c (__j0l, __y0l): Likewise.
62289         * math/w_j1l.c (__j1l, __y1l): Likewise.
62290         * math/w_jnl.c (__jnl, __ynl): Likewise.
62291         * math/w_lgammal.c (__lgammal): Likewise.
62292         * math/w_log10l.c (__log10l): Likewise.
62293         * math/w_log2l.c (__log2l): Likewise.
62294         * math/w_logl.c (__logl): Likewise.
62295         * math/w_powl.c (__powl): Likewise.
62296         * math/w_remainderl.c (__remainderl): Likewise.
62297         * math/w_scalbl.c (sysv_scalbl): Likewise.
62298         * math/w_sinhl.c (__sinhl): Likewise.
62299         * math/w_sqrtl.c (__sqrtl): Likewise.
62300         * math/w_tgammal.c (__tgammal): Likewise.
62301         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
62302         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
62303         * math/libm-test.inc (acos_test): Add more tests.
62304         (acosh_test): Likewise.
62305         (asin_test): Likewise.
62306         (atanh_test): Likewise.
62307         (exp_test): Likewise.
62308         (exp10_test): Likewise.
62309         (exp2_test): Likewise.
62310         (expm1_test): Likewise.
62311         (lgamma_test): Likewise.
62312         (log_test): Likewise.
62313         (log10_test): Likewise.
62314         (log1p_test): Likewise.
62315         (log2_test): Likewise.
62316         (pow_test): Do not allow some spurious overflow exceptions.
62317         (sqrt_test): Add more tests.
62318         (tgamma_test): Likewise.
62319         (y0_test): Likewise.
62320         (y1_test): Likewise.
62321         (yn_test): Likewise.
62323 2012-03-27  Anton Blanchard  <anton@samba.org>
62325         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
62326         MAP_HUGETLB.
62327         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
62328         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
62329         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
62331 2012-03-27  David S. Miller  <davem@davemloft.net>
62333         * conform/Makefile: Run run-conformtest.sh using $(BASH).
62335         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
62336         have-as-vis3 check.
62338 2012-03-27  Andreas Jaeger  <aj@suse.de>
62340         * sysdeps/x86_64/elf/configure.in: Moved to ...
62341         * sysdeps/x86_64/configure.in: ... here.
62342         * sysdeps/x86_64/elf/start.S: Moved to ...
62343         * sysdeps/x86_64/start.S: ... here.
62344         * sysdeps/x86_64/elf/configure: Delete.
62346         * sysdeps/x86_64/configure.in: Merge contents from
62347         sysdeps/i386/configure.in (without i686 check).
62349         * sysdeps/i386/elf/Versions: Merge into ...
62350         * sysdeps/i386/Versions: ... this.
62351         * sysdeps/i386/elf/Versions: Delete file.
62352         * sysdeps/i386/elf/start.S: Moved to ...
62353         * sysdeps/i386/start.S: ...here.
62354         * sysdeps/i386/elf/configure.in: Merge into...
62355         * sysdeps/i386/configure.in: ...here.
62356         * sysdeps/i386/elf/configure.in: Delete file.
62357         * sysdeps/i386/elf/configure: Delete file.
62359         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
62360         * debug/backtracesyms.c: ... here.
62361         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
62362         * debug/backtracesymsfd.c: ... here.
62363         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
62364         * sysdeps/generic/ifunc-sel.h: ... here.
62366         * sysdeps/unix/i386/start.c: Delete file.
62367         * sysdeps/unix/sparc/start.c: Delete file.
62368         * sysdeps/unix/start.c: Delete file.
62370         * sysdeps/sh/elf/configure.in: Moved to ...
62371         * sysdeps/sh/configure.in: ... here.
62372         * sysdeps/sh/elf/start.S: Moved to ...
62373         * sysdeps/sh/start.S: ... here.
62374         * sysdeps/sh/elf/configure: Delete file.
62376         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
62377         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
62378         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
62379         * sysdeps/powerpc/powerpc64/entry.h: ... here.
62380         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
62381         * sysdeps/powerpc/powerpc64/start.S: here.
62382         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
62383         * sysdeps/powerpc/powerpc64/Makefile: ... this.
62384         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
62385         * sysdeps/powerpc/powerpc64/configure.in: ... this.
62386         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
62388         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
62389         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
62390         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
62391         * sysdeps/powerpc/powerpc32/start.S: ... here.
62392         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
62393         * sysdeps/powerpc/powerpc32/configure.in: ... this.
62394         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
62396         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
62397         * sysdeps/powerpc/ifunc-sel.h: ... here.
62398         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
62399         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
62401         * sysdeps/sparc/elf/configure.in: Moved to ...
62402         * sysdeps/sparc/configure.in: ... here.
62403         * sysdeps/sparc/elf/configure: Delete file.
62404         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
62405         * sysdeps/sparc/sparc32/start.S: ... here.
62406         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
62407         * sysdeps/sparc/sparc64/start.S: ... here.
62408         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
62409         * sysdeps/sparc/sparc32/Makefile: ... this.
62410         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
62411         * sysdeps/sparc/sparc64/Makefile: ... this.
62413         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
62414         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
62415         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
62416         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
62417         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
62418         * sysdeps/s390/s390-32/setjmp.S: ... here.
62419         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
62420         * sysdeps/s390/s390-32/configure.in: ... here.
62421         * sysdeps/s390/s390-32/elf/configure: Delete file.
62422         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
62423         * sysdeps/s390/s390-32/start.S: ... here.
62425         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
62426         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
62427         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
62428         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
62429         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
62430         * sysdeps/s390/s390-64/setjmp.S: ... here.
62431         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
62432         * sysdeps/s390/s390-64/configure.in: ... here
62433         * sysdeps/s390/s390-64/elf/configure: Delete file.
62434         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
62435         * sysdeps/s390/s390-64/start.S: ... here.
62436         * sysdeps/s390/s390-64/elf/configure: Delete.
62438         * configure.in: Remove support for elf directories in sysdeps.
62440         * configure: Regenerated.
62441         * sysdeps/i386/configure: Regenerated.
62442         * sysdeps/powerpc/powerpc32/configure: Regenerated.
62443         * sysdeps/powerpc/powerpc64/configure: Regenerated.
62444         * sysdeps/s390/s390-32/configure: Regenerated.
62445         * sysdeps/s390/s390-64/configure: Regenerated.
62446         * sysdeps/sh/configure: Regenerated.
62447         * sysdeps/sparc/configure: Regenerated.
62448         * sysdeps/x86_64/configure: Regenerated.
62450 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
62452         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62454         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
62455         denormal result into account.
62457 2012-03-25  Roland McGrath  <roland@hack.frob.com>
62459         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
62460         Reported by Allan McRae <allan@archlinux.org>.
62462 2012-03-23  Jeff Law  <law@redhat.com>
62464         * nss/getnssent.c (__nss_getent): Fix typo.
62466 2012-03-23  David S. Miller  <davem@davemloft.net>
62468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62470 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
62472         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
62473         to pad to uint64_t for each field.
62474         (dl_tls_index): Replace unsigned long with uint64_t.
62476 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
62477         Paul Pluzhnikov  <ppluzhnikov@google.com>
62479         [BZ #6528]
62480         * grp/Makefile (otherlibs): Don't set it.
62481         * inet/Makefile (otherlibs): Likewise.
62482         * login/Makefile (otherlibs): Likewise.
62483         * nscd/Makefile (otherlibs): Likewise.
62484         * posix/Makefile (otherlibs): Likewise.
62485         * pwd/Makefile (otherlibs): Likewise.
62486         * rt/Makefile (otherlibs): Likewise.
62487         * sunrpc/Makefile (otherlibs): Likewise.
62488         * nss/Makefile (otherlibs): Likewise.
62489         Add libnss_files to routines and static-only-routines.
62490         ($(objpfx)getent): Remove rule.
62491         * resolv/Makefile: Add libnss_dns and libresolv to routines and
62492         static-only-routines.
62494 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
62496         [BZ #13892]
62497         * math/s_cexp.c: Include <float.h>.
62498         (__cexp): Handle exp result overflowing not necessarily
62499         overflowing both real and imaginary parts of result.
62500         * math/s_cexpf.c: Likewise.
62501         * math/s_cexpl.c: Likewise.
62502         * math/libm-test.inc (cexp_test): Add more tests.
62503         * sysdeps/i386/fpu/libm-test-ulps: Update.
62504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62506 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62508         * include/link.h (ELFW): New macro.
62509         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
62510         Replace ELF64_R_TYPE with ELFW(R_TYPE).
62512 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62514         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
62515         with uint64_t.
62517 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62519         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
62520         declaration.
62521         (struct La_x32_retval): Likewise.
62523 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
62525         * sysdeps/x86_64/preconfigure.in: New file.
62526         * sysdeps/x86_64/preconfigure: New generated file.
62528 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
62530         [BZ #13824]
62531         * math/e_exp2l.c: Include <float.h>.
62532         (__ieee754_exp2l): Handle overflow and underflow cases
62533         separately.  Only pass fractional part of argument to
62534         __ieee754_expl.
62535         * math/libm-test.inc (exp2_test): Add more tests.
62537         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
62538         negating x to take absolute value.
62539         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
62540         Likewise.
62541         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62542         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
62543         Likewise.
62544         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
62545         computing low part if x was negated.
62546         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62548 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62550         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
62551         la_x32_gnu_pltexit.
62552         (pltexit): Cast int_retval to ptrdiff_t.
62553         * elf/tst-auditmod3b.c: Likewise.
62554         * elf/tst-auditmod4b.c: Likewise.
62555         * elf/tst-auditmod5b.c: Likewise.
62556         * elf/tst-auditmod6b.c: Likewise.
62557         * elf/tst-auditmod6c.c: Likewise.
62558         * elf/tst-auditmod7b.c: Likewise.
62560         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
62561         and x32_gnu_pltexit.
62563         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
62564         __ELF_NATIVE_CLASS.
62565         (La_x32_regs): New macro.
62566         (La_x32_retval): Likewise.
62567         (la_x32_gnu_pltenter): New function prototype.
62568         (la_x32_gnu_pltexit): Likewise.
62570 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
62572         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
62573         exponent.
62575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62577         * configure.in (libc_cv_cc_nofma): Check for option to disable
62578         generation of FMA instructions.
62579         * configure: Regenerate.
62580         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
62581         * sysdeps/ieee754/dbl-64/Makefile: New file.
62582         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
62583         Remove brandred-fma4.
62584         (CFLAGS-brandred-fma4.c): Remove.
62585         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
62586         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
62587         define.
62588         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
62589         define.
62591 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62593         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
62594         LLONG_MAX != LONG_MAX.
62595         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62596         (_fitoa_word): Likewise.
62597         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
62598         LLONG_MAX != LONG_MAX.
62599         * stdio-common/_itowa.h: Include <_itoa.h>.
62600         (_itowa_word): Use _ITOA_WORD_TYPE on value.
62601         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
62602         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
62603         only if not defined.
62604         (_ITOA_WORD_TYPE): Likewise.
62605         (_itoa_word): Use _ITOA_WORD_TYPE on value.
62606         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
62608 2012-03-21  David S. Miller  <davem@davemloft.net>
62610         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62612 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
62614         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
62615         of x86_64 when setting libc_cv_slibdir, libdir and
62616         libc_cv_localedir.
62617         * sysdeps/unix/sysv/linux/configure: Regenerated.
62619 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62621         * manual/lang.texi (Old Varargs): Remove section.
62622         (How Variadic): Update menu.
62623         (va_start): Do not mention varargs.h.
62625 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62626             Joseph Myers  <joseph@codesourcery.com>
62628         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
62629         link test.
62630         * configure: Regenerated.
62632 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
62634         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
62635         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
62636         conformtest.pl
62638 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62640         * NOTES: Remove.
62641         * Makefile (files-for-dist): Remove NOTES.
62642         (NOTES): Remove rule.
62643         * README: Don't refer to NOTES.
62644         * manual/creature.texi: Don't include macros.texi.
62645         * manual/intro.texi (creature.texi): Remove comment referring to
62646         NOTES.
62648         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
62649         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
62650         * configure: Regenerated.
62651         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
62652         LIBC_TRY_CC_OPTION.
62653         (libc_cv_as_i686): Likewise.
62654         (libc_cv_cc_avx): Likewise.
62655         (libc_cv_cc_sse2avx): Likewise.
62656         (libc_cv_cc_fma4): Likewise.
62657         (libc_cv_cc_novzeroupper): Likewise.
62658         * sysdeps/i386/configure: Regenerated.
62660         [BZ #13883]
62661         * sysdeps/i386/fpu/s_cexp.S: Remove.
62662         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
62663         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
62664         * math/libm-test.inc (cexp_test): Add more tests.
62665         * sysdeps/i386/fpu/libm-test-ulps: Update.
62666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62668 2012-03-21  Allan McRae  <allan@archlinux.org>
62670         * timezone/Makefile: Do not install iso3166.tab and zone.tab
62672 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
62674         [BZ #13871]
62675         * math/w_exp2.c: Do not include <float.h>.
62676         (o_threshold, u_threshold): Remove.
62677         (__exp2): Calculate result before checking finiteness and calling
62678         __kernel_standard.
62679         * math/w_exp2f.c: Likewise.
62680         * math/w_exp2l.c: Likewise.
62681         * math/libm-test.inc (exp2_test): Require overflow exception for
62682         1e6 input.
62684         [BZ #3866]
62685         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
62686         range of signed 64-bit integers before using fistpll.  Remove
62687         checks for whether integers fit in mantissa bits.
62688         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
62689         the range of signed 32-bit integers before using fistpl.  Remove
62690         checks for whether integers fit in mantissa bits.
62691         * sysdeps/i386/fpu/e_powl.S (p64): New object.
62692         (__ieee754_powl): Test for y outside the range of signed 64-bit
62693         integers before using fistpll.  Reduce 64-bit values to 63-bit
62694         ones as needed.
62695         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
62696         divide-by-zero is raised for zero to large negative powers.
62697         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
62698         (__ieee754_powl): Test for y outside the range of signed 64-bit
62699         integers before using fistpll.  Reduce 64-bit values to 63-bit
62700         ones as needed.
62701         * math/libm-test.inc (pow_test): Add more tests.
62703 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62705         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
62706         <stdio-common/_itoa.h>.
62707         * debug/segfault.c: Likewise.
62708         * elf/dl-cache.c: Likewise.
62709         * elf/dl-minimal.c: Likewise.
62710         * elf/dl-misc.c: Likewise.
62711         * elf/dl-sysdep.c: Likewise.
62712         * elf/dl-version.c: Likewise.
62713         * elf/rtld.c: Likewise.
62714         * hurd/hurdsock.c: Likewise.
62715         * hurd/lookup-retry.c: Likewise.
62716         * malloc/malloc.c: Likewise.
62717         * malloc/mtrace.c: Likewise.
62718         * nscd/nscd_getgr_r.c: Likewise.
62719         * nscd/nscd_getpw_r.c: Likewise.
62720         * nscd/nscd_getserv_r.c: Likewise.
62721         * posix/getopt_init.c: Likewise.
62722         * posix/wordexp.c: Likewise.
62723         * stdio-common/_itoa.c: Likewise.
62724         * stdio-common/printf_fphex.c: Likewise.
62725         * stdio-common/vfprintf.c: Likewise.
62726         * string/_strerror.c: Likewise.
62727         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
62728         * sysdeps/i386/i686/hp-timing.h: Likewise.
62729         * sysdeps/mach/_strerror.c: Likewise.
62730         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
62731         * sysdeps/mach/hurd/sethostid.c: Likewise.
62732         * sysdeps/mach/hurd/xmknodat.c: Likewise.
62733         * sysdeps/mach/xpg-strerror.c: Likewise.
62734         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62735         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62736         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
62737         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
62738         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62739         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
62740         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
62741         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
62742         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
62743         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
62744         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
62745         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
62746         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
62747         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62748         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62749         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
62750         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
62751         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
62752         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
62753         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
62754         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
62756         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
62758         * stdio-common/_itoa.h: Moved to ...
62759         * sysdeps/generic/_itoa.h: Here.
62761         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
62763         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
62764         instead of "_itoa.h" and "_itowa.h".
62765         * stdio-common/vfprintf.: Likewise.
62767 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62769         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
62770         <bits/wordsize.h>.
62771         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
62772         (__signbit): Likwise.
62773         (llrintf): Likwise.
62774         (llrint): Likwise.
62776 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
62778         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
62779         __WORDSIZE != 64.
62781 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
62783         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
62784         OVERFLOW_EXCEPTION_OK.
62785         * math/libm-test.inc ("Philosophy"): Update comment about
62786         exception testing.
62787         (OVERFLOW_EXCEPTION): Define.
62788         (OVERFLOW_EXCEPTION_OK): Likewise.
62789         (INVALID_EXCEPTION_OK): Renumber.
62790         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
62791         (IGNORE_ZERO_INF_SIGN): Likewise.
62792         (test_exceptions): Handle FE_OVERFLOW.
62793         (exp10_test): Expect overflow exceptions.
62794         (exp2_test): Likewise.
62795         (expm1_test): Likewise.
62796         (nextafter_test): Likewise.
62797         (pow_test): Likewise.
62798         (scalbn_test): Likewise.
62799         (scalbln_test): Likewise.
62801 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62803         * sysdeps/x86_64/bits/atomic.h
62804         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
62805         64bit integer.
62806         (atomic_exchange_acq): Likewise.
62807         (__arch_exchange_and_add_body): Likewise.
62808         (__arch_add_body): Likewise.
62809         (atomic_add_negative): Likewise.
62810         (atomic_add_zero): Likewise.
62812 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62814         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
62815         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
62817 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62819         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
62820         Check __x86_64__ instead of __WORDSIZE.
62822 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62824         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
62826 2012-03-19  David S. Miller  <davem@davemloft.net>
62828         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62830         * sysdeps/sparc/fpu/fenv_private.h: New file.
62831         * sysdeps/sparc/fpu/math_private.h: Use it.
62832         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
62833         Remove.
62834         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
62835         (libc_feholdexcept_setroundl): Remove.
62836         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
62837         Remove.
62838         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
62839         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
62841 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62843         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
62844         int64_t instead of long int.
62845         (INSERT_WORDS64): Likwise.
62847 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
62849         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
62850         _Unwind_GetCFA return to _Unwind_Ptr first.
62852 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
62854         [BZ #13629]
62855         * math/s_clog.c: Include <float.h>.
62856         (__clog): Scale large or subnormal inputs.
62857         * math/s_clogf.c: Likewise.
62858         * math/s_clogl.c: Likewise.
62859         * math/s_clog10.c: Include <float.h>.
62860         (M_LOG10_2): Define.
62861         (__clog10): Scale large or subnormal inputs.
62862         * math/s_clog10f.c: Likewise.
62863         * math/s_clog10l.c: Likewise.
62864         * math/libm-test.inc (clog_test): Add more tests.
62865         (clog10_test): Likewise.
62866         * sysdeps/i386/fpu/libm-test-ulps: Update.
62867         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62869         [BZ #11451]
62870         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
62871         x and y.
62872         * math/libm-test.inc (atan2_test): Add another test.
62874         * Makerules (common-objdir-compile): Remove.
62875         * sysdeps/unix/Makefile (config-generated): Do not add
62876         $(unix-generated) to variable.
62877         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
62878         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
62879         Remove rule.
62880         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
62881         Likewise.
62882         [generic bits/local_lim.h] (before-compile): Do not append to
62883         variable.
62884         [generic bits/local_lim.h] (common-generated): Likewise.
62885         [generic sys/param.h] (before-compile): Do not append to variable.
62886         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
62887         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
62888         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
62889         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
62890         include.
62891         [generic sys/param.h] (sys/param.h-includes): Remove variable.
62892         [generic sys/param.h] (sys/param.h-includes): Remove rule.
62893         [generic sys/param.h] ($(addprefix
62894         $(common-objpfx),$(sys/param.h-includes))): Likewise.
62895         [generic sys/param.h] (common-generated): Do not append to
62896         variable.
62897         [generic sys/param.h] (sysdep_headers): Likewise.
62898         [generic bits/errno.h] (before-compile): Do not append to
62899         variable.
62900         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
62901         rule.
62902         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
62903         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
62904         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
62905         [generic bits/errno.h] (common-generated): Do not append to
62906         variable.
62907         [generic bits/ioctls.h] (before-compile): Do not append to
62908         variable.
62909         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
62910         rule.
62911         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
62912         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
62913         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
62914         rule.
62915         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
62916         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
62917         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
62918         [generic bits/ioctls.h] (common-generated): Do not append to
62919         variable.
62920         [generic sys/syscall.h] (syscall.h): Remove variable.
62921         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
62922         rule.
62923         [generic sys/syscall.h] (before-compile): Do not append to
62924         variable.
62925         [generic sys/syscall.h] (common-generated): Likewise.
62926         * sysdeps/unix/errnos-tmpl.c: Remove file.
62927         * sysdeps/unix/errnos.awk: Likewise.
62928         * sysdeps/unix/ioctls-tmpl.c: Likewise.
62929         * sysdeps/unix/ioctls.awk: Likewise.
62930         * sysdeps/unix/mk-local_lim.c: Likewise.
62931         * sysdeps/unix/snarf-ioctls: Likewise.
62933 2012-03-19  Richard Henderson  <rth@twiddle.net>
62935         * sysdeps/i386/fpu/fenv_private.h: New file.
62936         * sysdeps/i386/fpu/math_private.h: Use it.
62937         (math_opt_barrier, math_force_eval): Remove.
62938         (libc_feholdexcept_setround_53bit): Remove.
62939         (libc_feupdateenv_53bit): Remove.
62940         * sysdeps/x86_64/fpu/math_private.h: Likewise.
62941         (math_opt_barrier, math_force_eval): Remove.
62942         (libc_feholdexcept): Remove.
62943         (libc_feholdexcept_setround): Remove.
62944         (libc_fetestexcept, libc_fesetenv): Remove.
62945         (libc_feupdateenv_test): Remove.
62946         (libc_feupdateenv, libc_feholdsetround): Remove.
62947         (libc_feresetround): Remove.
62949         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
62950         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
62952         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
62953         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
62954         (libc_feupdateenv_testl): New.
62955         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
62956         (libc_feupdateenv_testf): New.
62957         (libc_feupdateenv): Use libc_feupdateenv_test.
62958         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
62959         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
62961         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
62962         (libc_feholdsetroundf, libc_feholdsetroundl): New.
62963         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
62964         (libc_feresetround_noex): New.
62965         (libc_feresetround_noexf): New.
62966         (libc_feresetround_noexl): New.
62967         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
62968         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
62969         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
62970         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
62971         SET_RESTORE_ROUND.
62972         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
62973         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
62974         (__cos): Likewise.
62975         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
62976         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
62977         SET_RESTORE_ROUND_NOEX.
62978         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
62979         SET_RESTORE_ROUND_NOEXF.
62980         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
62981         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
62982         (libc_feholdsetroundf): New.
62983         (libc_feresetround, libc_feresetroundf): New.
62985         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
62986         (libc_feholdexcept_setround_53bit): Convert from macro to function.
62987         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
62989         * sysdeps/generic/math_private.h: Include <fenv.h>.
62990         (default_libc_feholdexcept): New.
62991         (default_libc_feholdexcept_setround): New.
62992         (default_libc_fesetenv, default_libc_feupdateenv): New.
62993         (libc_feholdexcept): Only define if undefined.
62994         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
62995         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
62996         (libc_feholdexcept_setroundl): Likewise.
62997         (libc_feholdexcept_setround_53bit): Likewise.
62998         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
62999         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
63000         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
63001         (libc_feupdateenv_53bit): Likewise.
63002         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
63003         (libc_feholdexcept): Convert from macro to inline function.
63004         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
63005         (libc_fesetenv, libc_feupdateenv): Likewise.
63007         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
63008         not previously defined.
63009         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
63010         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
63011         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
63012         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
63013         * sysdeps/ieee754/flt-32/math_private.h: New file.
63014         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
63015         math_private.h below SET_FLOAT_WORD.
63016         (__isnan, __isinf_ns, __finite): Remove.
63017         (__isnanf, __isinf_nsf, __finitef): Remove.
63019 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
63021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63023 2012-03-17  David S. Miller  <davem@davemloft.net>
63025         [BZ #6471]
63026         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
63027         for 2.16.
63029 2012-03-16  David S. Miller  <davem@davemloft.net>
63031         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
63032         warnings.
63034         [BZ #6471]
63035         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
63036         properly.
63037         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
63038         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
63039         sysdep_routines when subdir is sysvipc.
63040         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
63041         __getshmlba helper.
63043         * sysdeps/sparc/fpu/libm-test/ulps: Update.
63045 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63047         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
63048         [__LP64__].
63050 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63052         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
63053         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
63054         (__lround): Renamed to ...
63055         (__llround): This.  Replace long int with long long int.
63056         Define lround functions as aliases of llround functions.
63057         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
63059 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63061         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
63062         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
63063         adresses to uintptr_t.  Replace "long int" and "unsigned long
63064         int" with "greg_t" on va_arg.
63066 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63068         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
63069         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
63071         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
63072         Move e_machine check before EI_CLASS check.  Handle x32
63073         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
63074         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
63075         SKIP_EM_IA_64 and include
63076         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
63078         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
63079         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
63080         (add_system_dir): New macro.
63082         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
63083         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
63085 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
63087         [BZ #2551]
63088         [BZ #2552]
63089         [BZ #2553]
63090         [BZ #2554]
63091         [BZ #2562]
63092         [BZ #2563]
63093         [BZ #2565]
63094         [BZ #2566]
63095         [BZ #2576]
63096         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
63097         (y0): Likewise.
63098         * math/w_j0f.c (j0f): Likewise.
63099         (y0f): Likewise.
63100         * math/w_j0l.c (__j0l): Likewise.
63101         (__y0l): Likewise.
63102         * math/w_j1.c (j1): Likewise.
63103         (y1): Likewise.
63104         * math/w_j1f.c (j1f): Likewise.
63105         (y1f): Likewise.
63106         * math/w_j1l.c (__j1l): Likewise.
63107         (__y1l): Likewise.
63108         * math/w_jn.c (jn): Likewise.
63109         (yn): Likewise.
63110         * math/w_jnf.c (jnf): Likewise.
63111         (ynf): Likewise.
63112         * math/w_jnl.c (__jnl): Likewise.
63113         (__ynl): Likewise.
63114         * math/libm-test.inc (j0_test): Add more tests.
63115         (j1_test): Likewise.
63116         (jn_test): Likewise.  Add trailing semicolon to existing test.
63117         (y0_test): Likewise.
63118         (y1_test): Likewise.
63119         * sysdeps/i386/fpu/libm-test-ulps: Update.
63120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63122         [BZ #13851]
63123         [BZ #13854]
63124         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
63125         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
63126         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
63127         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
63128         (__tanl): Set errno for infinite argument.
63129         * sysdeps/i386/fpu/mptan.c: Remove.
63130         * sysdeps/i386/fpu/s_tan.S: Likewise.
63131         * sysdeps/i386/fpu/s_tanl.S: Likewise.
63132         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
63133         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
63134         * math/libm-test.inc (tan_test): Add more tests and enable more
63135         tests for double and long double.
63136         * sysdeps/i386/fpu/libm-test-ulps: Update.
63137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63139 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
63141         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
63142         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
63144 2012-03-16  Roland McGrath  <roland@hack.frob.com>
63146         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
63147         * configure.in: Use it for both main tree and add-ons.
63148         * configure: Regenerated.
63150 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
63152         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
63154 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
63156         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
63157         in comment.
63159         [BZ #13851]
63160         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
63161         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
63162         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
63163         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
63164         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
63165         infinite argument.
63166         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
63167         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
63168         != 0 for prec == 2.
63169         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
63170         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
63171         * sysdeps/i386/fpu/s_cosl.S: Likewise.
63172         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
63173         * sysdeps/i386/fpu/s_sinl.S: Likewise.
63174         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
63175         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
63176         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
63177         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
63178         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
63179         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
63180         * math/libm-test.inc (cos_test): Add more tests and enable more
63181         tests for long double.
63182         (sin_test): Likewise.
63183         (sincos_test): Likewise.
63184         * sysdeps/i386/fpu/libm-test-ulps: Update.
63185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63187 2012-03-16  David S. Miller  <davem@davemloft.net>
63189         * sysdeps/sparc/fpu/math_private.h: New file.
63191 2012-03-15  David S. Miller  <davem@davemloft.net>
63193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
63194         file.
63195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
63196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
63197         file.
63198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
63199         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
63200         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
63201         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
63202         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
63203         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
63204         sysdep routines.
63205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63207         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
63208         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
63210         * sysdeps/sparc/sparc-ifunc.h: New file.
63211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
63212         sparc-ifunc.h
63213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
63214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
63215         Likewise.
63216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
63217         Likewise.
63218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
63219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
63220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
63222         Likewise.
63223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
63225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
63227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
63228         Likewise.
63229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
63230         Likewise.
63231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
63233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
63234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
63235         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
63236         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
63237         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
63238         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
63239         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
63240         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
63241         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
63242         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
63243         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
63244         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
63245         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
63246         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
63247         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
63248         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
63249         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
63250         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
63251         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
63252         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
63253         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
63254         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
63256 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
63258         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
63259         scaling.
63260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63262 2012-03-15  Andreas Jaeger  <aj@suse.de>
63264         [BZ #13852]
63265         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
63266         ieee754/flt-32 implementation for sin, cos and sincos.
63267         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
63268         * sysdeps/i386/fpu/s_cosf.S: Likewise.
63269         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
63270         * sysdeps/i386/fpu/s_sinf.S: Likewise.
63271         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
63272         ieee754/flt-32 implementation for tan.
63274         * math/libm-test.inc (cos_test): Enable some large input tests for
63275         float as well
63276         (sin_test): Likewise.
63277         (sincos_test): Likewise.
63278         (tan_test): Add tests for large input.
63280         * sysdeps/i386/fpu/libm-test-ulps: Update.
63282 2012-03-15  Andreas Jaeger  <aj@suse.de>
63284         [BZ #13658]
63285         * math/libm-test.inc (cos_test): Add more test cases.
63286         (sin_test): Likewise.
63287         (sincos_test): Likewise.
63289 2012-03-15  Andreas Jaeger  <aj@suse.de>
63291         [BZ #13837]
63292         * math/libm-test.inc (cos_test): Add a test case for large input
63293         value.
63294         (sin_test): Likewise.
63295         (sincos_test): Likewise.
63297 2012-03-15  Andreas Jaeger  <aj@suse.de>
63298             Joseph Myers  <joseph@codesourcery.com>
63300         [BZ #13658]
63301         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
63302         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
63303         * sysdeps/i386/fpu/branred.c: Likewise.
63304         * sysdeps/i386/fpu/dosincos.c: Likewise.
63305         * sysdeps/i386/fpu/mpa.c: Likewise.
63306         * sysdeps/i386/fpu/s_cos.S: Likewise.
63307         * sysdeps/i386/fpu/s_sin.S: Likewise.
63308         * sysdeps/i386/fpu/s_sincos.S: Likewise.
63309         * sysdeps/i386/fpu/sincos32.c: Likewise.
63311         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
63312         Define.
63313         (libc_feupdateenv_53bit): Define.
63314         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
63315         Define.
63316         (libc_feupdateenv_53bit): Define.
63318         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
63319         53 bit (without extend i386 double precision).
63321         * math/libm-test.inc (sincos_test): Add tests for large input.
63322         (sin): Likewise.
63323         (cos): Likewise.
63325         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
63327 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
63329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63331 2012-03-15  David S. Miller  <davem@davemloft.net>
63333         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
63334         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
63335         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
63336         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
63337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
63338         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
63339         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
63340         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
63341         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
63342         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
63343         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
63344         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
63345         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
63346         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
63347         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
63348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
63349         file.
63350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
63351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
63352         file.
63353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
63354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
63355         file.
63356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
63357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
63358         file.
63359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
63360         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
63361         fmin/fmax sysdep routines.
63362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
63364 2012-03-14  David S. Miller  <davem@davemloft.net>
63366         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
63367         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
63368         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
63369         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
63370         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
63371         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
63372         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
63373         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
63374         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
63375         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
63376         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
63377         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
63378         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
63379         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
63380         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
63381         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
63382         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
63383         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
63384         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
63385         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
63386         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
63387         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
63388         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
63389         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
63390         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
63391         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
63392         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
63393         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
63394         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
63395         routines.
63396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
63397         file.
63398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
63399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
63400         file.
63401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
63402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
63403         file.
63404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
63405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
63406         file.
63407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
63408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
63409         file.
63410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
63411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
63412         file.
63413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
63414         file.
63415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
63416         file.
63417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
63418         file.
63419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
63420         New file.
63421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
63422         file.
63423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
63424         file.
63425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
63426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
63427         file.
63428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
63429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
63430         file.
63431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
63432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
63433         file.
63434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
63435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
63436         VIS3 routines.
63438         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
63439         New file.
63441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63443         * sysdeps/sparc/configure.in: New file.
63444         * sysdeps/sparc/configure: Generate.
63445         * configure.in (libc_cv_sparc_as_vis3): Substitute.
63446         * configure: Regenerate.
63447         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
63448         * config.make.in (have-as-vis3): New.
63449         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
63450         available use -Av9d instead of -Av9a.
63451         * sysdeps/sparc/sparc64/Makefile: Likewise.
63452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
63453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
63454         New file.
63455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
63456         file.
63457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
63458         New file.
63459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
63460         file.
63461         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
63462         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
63463         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
63464         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
63465         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
63467         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
63468         fzeros/fnegs to load 0x80000000 into a float register instead of
63469         using the stack.
63470         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
63472 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
63474         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63475         bits/syscall.h.
63476         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
63477         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
63478         ($(inst_includedir)/bits/syscall.h): Remove rule.
63479         ($(objpfx)bits/syscall.d): Include instead of
63480         $(objpfx)syscall-list.d.
63481         (generated): Change syscall-list.h and syscall-list.d to
63482         bits/syscall.h and bits/syscall.d.
63484 2012-03-14  Roland McGrath  <roland@hack.frob.com>
63486         [BZ #13846]
63487         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
63489 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
63491         [BZ #13841]
63492         * math/s_csqrt.c: Include <float.h>.
63493         (__csqrt): Scale large or subnormal inputs.
63494         * math/s_csqrtf.c: Likewise.
63495         * math/s_csqrtl.c: Likewise.
63496         * math/libm-test.inc (csqrt_test): Add more tests.
63497         * sysdeps/i386/fpu/libm-test-ulps: Update.
63498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63500         [BZ #13840]
63501         * math/libm-test.inc (hypot_test): Add more tests.
63503 2012-03-13  David S. Miller  <davem@davemloft.net>
63505         [BZ #13840]
63506         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
63507         double-precision for the calculation instead of scaling.
63509 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
63511         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
63512         manipulate bits before adding and subtracting TWO52[sx].
63513         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
63514         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
63515         Likewise.
63516         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
63518 2012-03-13  David S. Miller  <davem@davemloft.net>
63520         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
63521         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
63522         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
63523         rtld-global-offsets.h
63524         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63526         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
63527         large parameters.
63529         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
63531         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
63532         'err' in the ifdef scope in which it is actually used.
63534         * nss/nss_db/db-init.c: Include string.h
63536 2012-03-12  David S. Miller  <davem@davemloft.net>
63538         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
63539         masking out of the most significant byte of random value used.
63540         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63541         Fix coding style in previous change.
63543         * sysdeps/unix/sysv/linux/kernel-features.h
63544         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
63545         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
63546         expression.
63547         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
63548         later.
63550 2012-03-11  David S. Miller  <davem@davemloft.net>
63552         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63553         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
63554         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
63555         for 'resultvar' otherwise things get truncated on 64-bit.
63557         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
63558         Fix masking out of the most significant byte of random value used.
63560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63562 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
63564         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63566 2012-03-09  David S. Miller  <davem@davemloft.net>
63568         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
63569         variables with appropriate CPP guards.
63570         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
63571         from the frame pointer, not the stack pointer.  Correct layout
63572         comments.  Fix test on resulting framesize and the management of
63573         the outregs buffer for pltexit.  Preserve floating point return
63574         values across _dl_call_pltexit call.
63575         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
63576         framesize and the management of the outregs buffer for pltexit.
63577         Preserve floating point return values across _dl_call_pltexit
63578         call.
63579         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
63580         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
63581         (la_sparc64_gnu_pltexit): New functions.
63582         (print_exit): Fix format string for return register value.
63584 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
63586         * sunrpc/Makefile (others): Add rpcgen.
63587         ($(objpfx)rpcgen): Remove special build rule and dependency on
63588         libc.
63589         * sunrpc/rpcgen.c: New file.
63591 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
63593         [BZ #13673]
63594         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
63595         * stdio-common/bug-vfprintf-nargs.c: Likewise.
63596         * sysdeps/i386/crti.S: Likewise.
63597         * sysdeps/i386/crtn.S: Likewise.
63598         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
63599         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
63600         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
63601         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
63602         * sysdeps/sh/crti.S: Likewise.
63603         * sysdeps/sh/crtn.S: Likewise.
63604         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63606         [BZ #13673]
63607         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
63608         with URL.
63609         * locale/programs/locfile-kw.gperf: Likewise.
63610         * locale/programs/charmap-kw.h: Regenerated.
63611         * locale/programs/locfile-kw.h: Likewise.
63613         [BZ #13673]
63614         * intl/plural.y: Replace FSF snail mail address with URL.
63615         * intl/plural.c: Regenerated.
63617 2012-03-09  Richard Henderson  <rth@twiddle.net>
63619         * include/math_private.h: Remove file.
63620         * math/math_private.h: Move file ...
63621         * sysdeps/generic/math_private.h: ... here.
63623         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
63624         * sysdeps/powerpc/fpu/math_private.h: Likewise.
63625         * sysdeps/x86_64/fpu/math_private.h: Likewise.
63627         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
63628         and <math_private.h>.
63629         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
63630         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
63631         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
63632         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
63633         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
63634         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
63635         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
63636         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
63637         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
63638         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
63639         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
63640         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
63641         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
63642         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
63643         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
63644         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
63645         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
63646         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63647         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
63648         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
63649         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
63650         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
63651         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
63652         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
63653         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
63654         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
63655         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
63656         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
63657         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
63658         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
63659         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
63660         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
63661         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
63662         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
63663         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
63664         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63665         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63666         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
63667         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
63668         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
63669         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
63670         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
63671         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
63672         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
63673         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
63674         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
63675         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
63676         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
63677         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63678         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
63679         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
63680         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
63681         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
63682         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
63683         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
63684         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
63685         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
63686         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
63687         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
63688         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
63689         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
63690         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
63691         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
63692         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
63693         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
63694         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
63695         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
63696         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
63697         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
63698         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
63699         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
63700         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
63701         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
63702         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
63703         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
63704         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
63705         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
63706         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
63707         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
63708         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
63709         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
63710         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
63711         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
63712         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
63713         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
63714         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
63715         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
63716         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
63717         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
63718         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
63719         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
63720         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
63721         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
63722         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
63723         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
63724         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
63725         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
63726         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
63727         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
63728         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
63729         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
63730         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
63731         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
63732         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
63733         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
63734         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
63735         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
63736         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
63737         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
63738         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
63739         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
63740         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
63741         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
63742         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
63743         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
63744         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
63745         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
63746         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
63747         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
63748         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
63749         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
63750         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
63751         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
63752         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
63753         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
63754         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
63755         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
63756         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
63757         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
63758         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
63759         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
63760         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
63761         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
63762         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
63763         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
63764         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
63765         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
63766         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
63767         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
63768         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
63769         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
63770         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
63771         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
63772         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
63773         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
63774         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
63775         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
63776         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
63777         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
63778         * sysdeps/ieee754/k_standard.c: Likewise.
63779         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
63780         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
63781         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
63782         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
63783         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
63784         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
63785         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
63786         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
63787         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
63788         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
63789         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
63790         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
63791         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
63792         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
63793         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
63794         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
63795         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
63796         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
63797         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
63798         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
63799         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
63800         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
63801         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
63802         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
63803         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
63804         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
63805         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
63806         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
63807         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
63808         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
63809         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
63810         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
63811         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
63812         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
63813         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
63814         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
63815         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
63816         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
63817         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
63818         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
63819         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
63820         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
63821         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
63822         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
63823         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
63824         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
63825         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
63826         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
63827         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
63828         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
63829         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
63830         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
63831         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
63832         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
63833         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
63834         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
63835         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
63836         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
63837         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
63838         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
63839         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
63840         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
63841         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
63842         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
63843         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
63844         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
63845         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
63846         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
63847         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
63848         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
63849         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
63850         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
63851         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
63852         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
63853         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
63854         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
63855         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
63856         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
63857         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
63858         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
63859         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
63860         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
63861         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
63862         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
63863         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
63864         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
63865         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
63866         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
63867         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
63868         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
63869         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
63870         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
63871         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
63872         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
63873         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
63874         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
63875         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
63876         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
63877         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
63878         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
63879         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
63880         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
63881         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
63882         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
63883         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
63884         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
63885         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
63886         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
63887         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
63888         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
63889         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
63890         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
63891         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
63892         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
63893         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
63894         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
63895         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
63896         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
63897         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
63898         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
63899         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
63900         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
63901         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
63902         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
63903         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
63904         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
63905         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
63906         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
63907         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
63908         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
63909         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
63910         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
63911         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
63912         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
63913         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
63914         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
63915         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
63916         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
63917         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
63918         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
63919         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
63920         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
63921         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
63922         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
63923         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
63924         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
63925         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
63926         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
63927         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
63928         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
63929         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
63930         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
63931         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
63932         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
63933         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
63934         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
63935         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
63936         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
63937         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
63938         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
63939         * sysdeps/ieee754/s_lib_version.c: Likewise.
63940         * sysdeps/ieee754/s_matherr.c: Likewise.
63941         * sysdeps/ieee754/s_signgam.c: Likewise.
63942         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
63943         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
63944         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
63945         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
63946         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
63947         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63948         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
63949         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
63950         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
63951         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
63952         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
63953         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
63954         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
63955         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
63956         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
63957         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
63958         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
63959         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
63960         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
63961         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
63962         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
63964 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
63966         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
63967         * sunrpc/rpc_main.c: Likewise.
63968         * sunrpc/rpc_svcout.c: Likewise.
63970 2012-03-09  David S. Miller  <davem@davemloft.net>
63972         * include/math_private.h: New file.
63974 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
63976         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
63977         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
63978         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
63979         from <bits/socket_type.h>.
63980         (enum __socket_type): Don't define here.
63981         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
63982         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63983         bits/socket_type.h.
63985         [BZ #13566]
63986         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
63987         checking __USE_GNU.
63989         * Makerules ($(inst_includedir)/%.h): New rule.
63990         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
63991         (install-others): Remove variable setting.
63992         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
63994 2012-03-08  Richard Henderson  <rth@twiddle.net>
63996         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
63997         from macro to inline function; merge with the
63998         !__LIBC_INTERNAL_MATH_INLINES version.
63999         (__ieee754_sqrtf): Likewise.
64001         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
64002         to inline function.
64003         (__rintf, __floor, __floorf): Likewise.
64005         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
64006         macro to inline function.
64007         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
64009         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
64010         not <math/math_private.h>.
64012 2012-03-08  David S. Miller  <davem@davemloft.net>
64014         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
64015         copyright year.
64016         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
64018 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
64020         * resolv/gai_misc.c (handle_requests): Fix struct timespec
64021         normalization.
64022         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
64023         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
64025 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
64027         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
64028         be defined individually, they must be defined as a block.  Define
64029         S for printing a string instead of hidint the different by using a
64030         macro for adding the 'l'.
64031         * stdio-common/tst-fphex-wide.c: Adjust.
64033 2012-03-07  Marek Polacek  <polacek@redhat.com>
64035         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
64037 2012-03-08  Marek Polacek  <polacek@redhat.com>
64039         [BZ #13806]
64040         * stdio-common/Makefile (tests): Add tst-fphex-wide.
64041         * stdio-common/tst-fphex.c: Define a few macros to make the
64042         test reusable.  Use them.
64043         * stdio-common/tst-fphex-wide.c: New file.
64045 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
64047         [BZ #6911]
64048         * manual/macros.texi (gnusystems): New macro.
64049         (nongnusystems): Likewise.
64050         (gnulinuxhurdsystems): Likewise.
64051         (gnuhurdsystems): Likewise..
64052         (gnulinuxsystems): Likewise.
64053         * manual/charset.texi: Use new macros or @theglibc{} to refer to
64054         variants of the GNU system, not "GNU system".
64055         * manual/conf.texi: Likewise.
64056         * manual/errno.texi: Likewise.  Update example of errno macro
64057         expansion.
64058         * manual/filesys.texi: Likewise.
64059         (getumask): Document as specific to GNU/Hurd.
64060         * manual/install.texi: Likewise.  Reword some references to
64061         GNU/Linux.
64062         * manual/intro.texi: Likewise.
64063         * manual/io.texi: Likewise.
64064         (File Name Portability): Detail which constraints are inapplicable
64065         to all GNU systems and which are only inapplicable to GNU/Hurd.
64066         * manual/job.texi: Likewise.
64067         * manual/llio.texi: Likewise.
64068         (O_NOCTTY): Document as present on GNU/Linux.
64069         * manual/maint.texi: Likewise.
64070         * manual/memory.texi: Likewise.
64071         * manual/pattern.texi: Likewise.
64072         * manual/pipe.texi: Likewise.
64073         * manual/process.texi: Likewise.
64074         * manual/resource.texi: Likewise.
64075         (RUSAGE_CHILDREN): Remove statement about specifying a particular
64076         child on GNU/Hurd.
64077         * manual/setjmp.texi: Likewise.
64078         * manual/signal.texi: Likewise.
64079         * manual/startup.texi: Likewise.
64080         * manual/stdio.texi: Likewise.
64081         * manual/terminal.texi: Likewise.
64082         (ONLCR): Document as POSIX.
64083         (OXTABS): Document availability on GNU/Linux as XTABS.
64084         (ONOEOT): Document availability separately from other bits.
64085         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
64086         * manual/time.texi: Likewise.
64087         * manual/users.texi: Likewise.
64088         * INSTALL: Regenerated.
64089         * sysdeps/gnu/errlist.c: Regenerated.
64091         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
64092         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
64093         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
64094         puts.
64095         * configure: Regenerated.
64097 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
64099         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
64100         default includes instead of AC_HEADER_CHECK.
64101         * sysdeps/i386/configure: Regenerated.
64103         [BZ #10716]
64104         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
64105         * math/s_cacoshf.c (__cacoshf): Likewise.
64106         * math/s_cacoshl.c (__cacoshl): Likewise.
64107         * math/s_casinh.c (__casinh): Set signs of result from argument.
64108         * math/s_casinhf.c (__casinhf): Likewise.
64109         * math/s_casinhl.c (__casinhl): Likewise.
64110         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
64111         (casinh_test): Add more tests.
64112         * sysdeps/i386/fpu/libm-test-ulps: Update.
64113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64115 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
64117         * po/zh_TW.po: Update from translation team.
64119         * login/Makefile (distribute): Remove variable.
64120         * catgets/Makefile: Likewise.
64121         * mach/Makefile: Likewise.
64122         * malloc/Makefile: Likewise.
64123         * misc/Makefile: Likewise.
64124         * iconv/Makefile: Likewise.
64125         * nscd/Makefile: Likewise.
64126         * hurd/Makefile: Likewise.
64127         * manual/Makefile: Likewise.
64128         * locale/Makefile: Likewise.
64129         * intl/Makefile: Likewise.
64130         * conform/Makefile: Likewise.
64131         * nss/Makefile: Likewise.
64132         * time/Makefile: Likewise.
64133         * soft-fp/Makefile: Likewise.
64134         * dirent/Makefile: Likewise.
64135         * gmon/Makefile: Likewise.
64136         * po/Makefile: Likewise.
64137         * rt/Makefile: Likewise.
64138         * socket/Makefile: Likewise.
64139         * math/Makefile: Likewise.
64140         * signal/Makefile: Likewise.
64141         * debug/Makefile: Likewise.
64142         * elf/Makefile: Likewise.
64143         * timezone/Makefile: Likewise.
64144         * stdlib/Makefile: Likewise.
64145         * iconvdata/Makefile: Likewise.
64146         * sunrpc/Makefile: Likewise.
64147         * io/Makefile: Likewise.
64148         * argp/Makefile: Likewise.
64149         * inet/Makefile: Likewise.
64150         * hesiod/Makefile: Likewise.
64151         * grp/Makefile: Likewise.
64152         * csu/Makefile: Likewise.
64153         * wctype/Makefile: Likewise.
64154         * crypt/Makefile: Likewise.
64155         * libio/Makefile: Likewise.
64156         * string/Makefile: Likewise.
64157         * nis/Makefile: Likewise.
64158         * resolv/Makefile: Likewise.
64159         * stdio-common/Makefile: Likewise.
64160         * wcsmbs/Makefile: Likewise.
64161         * dlfcn/Makefile: Likewise.
64162         * posix/Makefile: Likewise.
64164         [BZ #6959]
64165         * timezone/Makefile: Don't install timezone files, just the programs
64166         and scripts.
64168 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
64170         * nss/databases.def: Add missing gshadow entry.
64172         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
64174 2012-03-06  Marek Polacek  <polacek@redhat.com>
64176         [BZ #13726]
64177         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
64178         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
64179         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
64180         * stdio-common/tst-long-dbl-fphex.c: New file.
64182 2012-03-06  David S. Miller  <davem@davemloft.net>
64184         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64185         (set_obp_int): New function.
64186         (get_obp_int): New function.
64187         (__get_clockfreq_via_dev_openprom): Likewise.
64188         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
64189         Avoid unused variable warnings on 'val' and use builtin_expect.
64190         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
64191         __builtin_expect.
64192         (INLINE_CLONE_SYSCALL): Likewise.
64194 2012-03-05  David S. Miller  <davem@davemloft.net>
64196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64198 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
64200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64202         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
64203         only for |x| >= 40.
64204         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
64206 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
64208         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
64209         Replace gettimeofday with __vdso_gettimeofday.
64211         * sysdeps/unix/sysv/linux/x86_64/init-first.c
64212         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
64213         __vdso_clock_gettime and __vdso_getcpu.
64215         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
64216         time with __vdso_time.
64218 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
64220         * manual/lang.texi (size_t): Note types to which size_t may be
64221         equivalent with the GNU C Library, but do not describe when
64222         differences between them are significant.
64224 2012-03-05  Andreas Jaeger  <aj@suse.de>
64226         * sysdeps/i386/fpu/libm-test-ulps: Update.
64228 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
64230         [BZ #3976]
64231         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
64232         (__ieee754_pow): Save and restore rounding mode and use
64233         round-to-nearest for main computations.
64234         * math/libm-test.inc (pow_test_tonearest): New function.
64235         (pow_test_towardzero): Likewise.
64236         (pow_test_downward): Likewise.
64237         (pow_test_upward): Likewise.
64238         (main): Call the new functions.
64239         * sysdeps/i386/fpu/libm-test-ulps: Update.
64240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64242         [BZ #3976]
64243         * math/libm-test.inc (cosh_test_tonearest): New function.
64244         (cosh_test_towardzero): Likewise.
64245         (cosh_test_downward): Likewise.
64246         (cosh_test_upward): Likewise.
64247         (sinh_test_tonearest): Likewise.
64248         (sinh_test_towardzero): Likewise.
64249         (sinh_test_downward): Likewise.
64250         (sinh_test_upward): Likewise.
64251         (main): Call the new functions.
64252         * sysdeps/i386/fpu/libm-test-ulps: Update.
64253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64255 2012-03-05  Tom de Vries  <tom@codesourcery.com>
64257         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
64258         default stack guard is set in last bytes.
64259         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
64261 2012-03-05  Kees Cook  <keescook@chromium.org>
64263         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
64265         [BZ #13656]
64266         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
64267         possibly allocate from heap instead of stack.
64268         * stdio-common/bug-vfprintf-nargs.c: New file.
64269         * stdio-common/Makefile (tests): Add nargs overflow test.
64271 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
64273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64275 2012-03-03  Marek Polacek  <polacek@redhat.com>
64277         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
64278         * math/math_private.h: Likewise.
64279         * stdlib/tst-strtod.c: Likewise.
64280         * sysdeps/i386/i486/bits/atomic.h: Likewise.
64281         * sysdeps/x86_64/bits/atomic.h: Likewise.
64283 2012-03-02  David S. Miller  <davem@davemloft.net>
64285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
64286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
64287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
64288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
64289         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
64290         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
64291         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
64292         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
64294 2012-03-02  Roland McGrath  <roland@hack.frob.com>
64296         [BZ #13792]
64297         * manual/examples/README: New file, says the example source files
64298         can be used under GPL>=2.
64299         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
64300         line containing just "*/".
64301         * manual/examples/add.c: Add copyright header (GPL>=2).
64302         * manual/examples/argp-ex1.c: Likewise.
64303         * manual/examples/argp-ex2.c: Likewise.
64304         * manual/examples/argp-ex3.c: Likewise.
64305         * manual/examples/argp-ex4.c: Likewise.
64306         * manual/examples/atexit.c: Likewise.
64307         * manual/examples/db.c: Likewise.
64308         * manual/examples/dir.c: Likewise.
64309         * manual/examples/dir2.c: Likewise.
64310         * manual/examples/execinfo.c: Likewise.
64311         * manual/examples/filecli.c: Likewise.
64312         * manual/examples/filesrv.c: Likewise.
64313         * manual/examples/fmtmsgexpl.c: Likewise.
64314         * manual/examples/genpass.c: Likewise.
64315         * manual/examples/inetcli.c: Likewise.
64316         * manual/examples/inetsrv.c: Likewise.
64317         * manual/examples/isockad.c: Likewise.
64318         * manual/examples/longopt.c: Likewise.
64319         * manual/examples/memopen.c: Likewise.
64320         * manual/examples/memstrm.c: Likewise.
64321         * manual/examples/mkfsock.c: Likewise.
64322         * manual/examples/mkisock.c: Likewise.
64323         * manual/examples/mygetpass.c: Likewise.
64324         * manual/examples/pipe.c: Likewise.
64325         * manual/examples/popen.c: Likewise.
64326         * manual/examples/rprintf.c: Likewise.
64327         * manual/examples/search.c: Likewise.
64328         * manual/examples/select.c: Likewise.
64329         * manual/examples/setjmp.c: Likewise.
64330         * manual/examples/sigh1.c: Likewise.
64331         * manual/examples/sigusr.c: Likewise.
64332         * manual/examples/stpcpy.c: Likewise.
64333         * manual/examples/strdupa.c: Likewise.
64334         * manual/examples/strftim.c: Likewise.
64335         * manual/examples/strncat.c: Likewise.
64336         * manual/examples/subopt.c: Likewise.
64337         * manual/examples/swapcontext.c: Likewise.
64338         * manual/examples/termios.c: Likewise.
64339         * manual/examples/testopt.c: Likewise.
64340         * manual/examples/testpass.c: Likewise.
64341         * manual/examples/timeval_subtract.c: Likewise.
64343         [BZ #13792]
64344         * manual/time.texi (Elapsed Time): Move timeval_subtract example
64345         function to ...
64346         * manual/timeval_subtract.c.texi: ... here, new file.
64348 2012-03-02  David S. Miller  <davem@davemloft.net>
64350         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
64352 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
64354         [BZ #3976]
64355         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
64356         (__sin): Save and restore rounding mode and use round-to-nearest
64357         for all computations.
64358         (__cos): Save and restore rounding mode and use round-to-nearest
64359         for all computations.
64360         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
64361         <fenv.h>.
64362         (tan): Save and restore rounding mode and use round-to-nearest for
64363         all computations.
64364         * math/libm-test.inc (cos_test_tonearest): New function.
64365         (cos_test_towardzero): Likewise.
64366         (cos_test_downward): Likewise.
64367         (cos_test_upward): Likewise.
64368         (sin_test_tonearest): Likewise.
64369         (sin_test_towardzero): Likewise.
64370         (sin_test_downward): Likewise.
64371         (sin_test_upward): Likewise.
64372         (tan_test_tonearest): Likewise.
64373         (tan_test_towardzero): Likewise.
64374         (tan_test_downward): Likewise.
64375         (tan_test_upward): Likewise.
64376         (main): Call the new functions.
64377         * sysdeps/i386/fpu/libm-test-ulps: Update.
64378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64380         [BZ #10135]
64381         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
64382         small n, then large n, before computing and testing k+n.
64383         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
64384         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
64385         Likewise.
64386         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
64387         Likewise.
64388         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
64389         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
64390         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
64391         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
64392         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
64393         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
64394         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
64395         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
64396         * math/libm-test.inc (scalbn_test): Add more tests.
64397         (scalbln_test): Likewise.
64399         * manual/filesys.texi (mode_t): Describe constraints on size and
64400         signedness, not exact equivalence to a particular type.
64401         (ino_t): Likewise.
64402         (ino64_t): Likewise.
64403         (dev_t): Likewise.
64404         (nlink_t): Likewise.
64405         (blkcnt_t): Likewise.
64406         (blkcnt64_t): Likewise.
64407         * manual/llio.texi (off_t): Likewise.
64409         [BZ #3976]
64410         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
64411         (__ieee754_exp): Save and restore rounding mode and use
64412         round-to-nearest for all computations.
64413         * math/libm-test.inc (exp_test_tonearest): New function.
64414         (exp_test_towardzero): Likewise.
64415         (exp_test_downward): Likewise.
64416         (exp_test_upward): Likewise.
64417         (main): Call the new functions.
64418         * sysdeps/i386/fpu/libm-test-ulps: Update.
64419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64421 2012-03-01  Chris Demetriou  <cgd@google.com>
64423         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
64424         have predictable order.
64426 2012-03-01  David S. Miller  <davem@davemloft.net>
64428         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
64430         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
64431         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
64432         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
64433         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
64435         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
64436         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
64437         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
64438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
64439         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
64440         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
64441         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
64442         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
64443         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
64445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64447         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
64448         * sysdeps/sparc/fpu/libm-test-ulps: to here.
64449         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
64451         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
64452         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
64453         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
64454         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
64455         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
64456         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
64457         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
64458         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
64459         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
64460         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
64461         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
64462         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
64463         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
64464         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
64465         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
64466         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
64467         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
64468         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
64469         * sysdeps/sparc/elf/configure: Regenerated.
64471 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
64473         * configure.in (AS, LD): Require binutils 2.20 or later.
64474         * configure: Regenerated.
64475         * manual/install.texi (Tools for Compilation): Give binutils 2.20
64476         as required minimum version.
64477         * INSTALL: Regenerated.
64479         [BZ #2541]
64480         [BZ #4108]
64481         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
64482         before squaring exponent.
64483         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
64484         bottom long double and 27 bits of top long double before squaring
64485         exponent.
64486         * math/libm-test.inc (erfc_test): Add more tests.
64487         * sysdeps/i386/fpu/libm-test-ulps: Update.
64488         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64491 2012-03-01  Kai Tietz  <ktietz@redhat.com>
64493         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
64494         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
64495         containing bit-fields.
64496         * soft-fp/extended.h (_FP_UNION_E): Likewise.
64497         * soft-fp/single.h (_FP_UNION_S): Likewise.
64498         * soft-fp/double.h (_FP_UNION_D): Likewise.
64500 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
64502         [BZ #13786]
64503         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
64504         not include ../strcmp.S.
64505         [USE_AS_STRNCASECMP_L]: Likewise.
64506         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
64507         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
64508         * sysdeps/i386/i686/multiarch/strncase_l-c.c
64509         (__strncasecmp_l_ia32): Define as alias to
64510         __strncasecmp_l_nonascii.
64512         [BZ #5794]
64513         * math/libm-test.inc (expm1_test): Add test for bug 5794.
64514         * sysdeps/i386/fpu/libm-test-ulps: Update.
64515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64517         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
64518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64520 2012-02-29  Jeff Law  <law@redhat.com>
64522         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
64523         out of bounds read.
64525 2012-02-29  Marek Polacek  <polacek@redhat.com>
64527         [BZ #13706]
64528         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
64529         * elf/Makefile: Add rules to run tst-unused-dep.out.
64531 2012-02-28  David S. Miller  <davem@davemloft.net>
64533         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
64534         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
64535         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
64536         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
64537         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
64538         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
64540 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
64542         * math/libm-test.inc (llround_test): Move one test from
64543         lround_test.  Use TEST_f_L in moved test.
64544         (lround_test): Move misplaced test to llround_test.  Add testcase
64545         from bug 2561.
64547 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
64549         * sysdeps/x86_64/fpu/e_expf.S: New file.
64550         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
64552 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
64554         [BZ #13637]
64555         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
64556         of remain_len that may cause incomplete multi-byte character and
64557         false match.
64558         * posix/bug-regex33.c: New file.
64559         * posix/Makefile (tests): Add bug-regex33.
64561 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
64563         * manual/macros.texi: New file.
64564         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
64565         * manual/libc.texinfo: Include macros.texi.
64566         * manual/creatute.texi: Likewise.
64567         * manual/install.texi: Likewise.
64568         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
64569         @glibcadj{} in references to the GNU C Library.
64570         * manual/charset.texi: Likewise.
64571         * manual/conf.texi: Likewise.
64572         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
64573         when not using those macros.
64574         * manual/creature.texi: Likewise.
64575         * manual/crypt.texi: Likewise.
64576         * manual/errno.texi: Likewise.
64577         * manual/filesys.texi: Likewise.
64578         * manual/header.texi: Likewise.
64579         * manual/install.texi: Likewise.
64580         * manual/intro.texi: Likewise.
64581         * manual/io.texi: Likewise.
64582         * manual/job.texi: Likewise.
64583         * manual/lang.texi: Likewise.
64584         * manual/libc.texiinfo: Likewise.
64585         * manual/llio.texi: Likewise.
64586         * manual/locale.texi: Likewise.
64587         * manual/maint.texi: Likewise.
64588         * manual/math.texi: Likewise.
64589         * manual/memory.texi: Likewise.
64590         * manual/message.texi: Likewise.
64591         * manual/nss.texi: Likewise.
64592         * manual/pattern.texi: Likewise.
64593         * manual/process.texi: Likewise.
64594         * manual/resource.texi: Likewise.
64595         * manual/search.texi: Likewise.
64596         * manual/setjmp.texi: Likewise.
64597         * manual/signal.texi: Likewise.
64598         * manual/socket.texi: Likewise.
64599         * manual/startup.texi: Likewise.
64600         * manual/stdio.texi: Likewise.
64601         * manual/string.texi: Likewise.
64602         * manual/sysinfo.texi: Likewise.
64603         * manual/syslog.texi: Likewise.
64604         * manual/terminal.texi: Likewise.
64605         * manual/time.texi: Likewise.
64606         * manual/users.texi: Likewise.
64607         * INSTALL: Regenerated.
64608         * NOTES: Regenerated.
64609         * sysdeps/gnu/errlist.c: Regenerated.
64611 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
64613         * include/dirent.h: Include <dirstream.h> before
64614         <dirent/dirent.h>.
64616 2012-02-28  David S. Miller  <davem@davemloft.net>
64618         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
64619         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
64620         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
64621         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
64623 2012-02-27  David S. Miller  <davem@davemloft.net>
64625         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
64626         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
64627         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
64628         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
64630         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
64631         frame pointer instead of stack pointer relative arg slot.
64632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64633         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64634         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64636 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
64638         [BZ #3992]
64639         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
64641 2012-02-27  David S. Miller  <davem@davemloft.net>
64643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
64644         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
64645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
64646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
64647         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
64648         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
64649         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
64650         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
64652 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64654         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
64655         later.  Allow versions 5-9.
64656         * configure: Regenerated.
64657         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
64658         required minimum version and 4.6 as recommended version.  Do not
64659         mention bugs in GCC 2.7 and 2.8.
64660         * INSTALL: Regenerated.
64662 2012-02-27  David S. Miller  <davem@davemloft.net>
64664         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
64665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
64666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
64667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
64668         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
64669         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
64670         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
64671         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
64673         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
64674         manipulate bits before adding and subtracting TWO112[sx].
64675         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
64677 2012-02-27  Roland McGrath  <roland@hack.frob.com>
64679         [BZ #13775]
64680         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
64681         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
64682         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
64683         being in POSIX, because they are in 1003.1-2008.
64685         * rt/tst-aio.c: Include <fcntl.h>.
64686         * rt/tst-aio7.c: Likewise.
64687         * rt/tst-aio64.c: Likewise.
64689         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
64691 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
64693         * manual/install.texi (--with-headers): Describe headers as
64694         interface headers, not private headers.
64695         (Specific advice for GNU/Linux systems): Describe use of headers
64696         from "make headers_install", not private headers from older
64697         kernels.
64698         * INSTALL: Regenerated.
64699         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
64700         Change to 2.6.19.
64701         * sysdeps/unix/sysv/linux/configure: Regenerated.
64703         * manual/llio.texi (fclean): Remove documentation.
64705         * manual/Makefile (libc-texi-generated): New variable.  Include
64706         version.texi.
64707         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
64708         $(libc-texi-generated), not duplicated list of files.
64709         (version.texi, stamp-version): New rules.
64710         (realclean): Remove $(libc-texi-generated), not individual files
64711         from that list.  Do not remove dir-add.texinfo.
64712         * manual/libc.texinfo: Comment out uses of edition numbers and
64713         references to printed manual.  Remove last-updated dates.
64714         (EDITION): Comment out.
64715         (ISBN): Likewise.
64716         (VERSION, UPDATED): Remove.
64717         (version.texi): Include.
64719 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
64721         * sysdeps/posix/spawni.c: Include <signal.h>.
64722         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
64723         * sysdeps/pthread/aio_fsync.c: Likewise.
64725 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
64727         * conform/Makefile (tests): Run only when not cross-compiling and
64728         when fast-check is not defined.
64730         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
64731         * conform/data/limits.h-data: Fixes for POSIX2008.
64732         * conform/run-conformtest.sh: Run all tests.
64733         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
64734         headers.
64735         * include/bits/dlfcn.h: Likewise.
64736         * include/langinfo.h: Likewise.
64737         * include/monetary.h: Likewise.
64738         * include/sys/poll.h: Likewise.
64740         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
64741         for __USE_GNU.
64742         * posix/spawn.h: Define __need_sigset_t.
64743         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
64744         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
64745         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
64746         to get sigevent_t only.
64747         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
64748         only for __USE_GNU.
64749         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
64750         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
64751         process_vm_writev only for __USE_GNU.
64752         * termios/termios.h: Declare tcgetsid also for POSIX2008.
64754         * conform/Makefile: For now ignore errors from run-conformtest.
64755         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
64756         POSIX to avoid namespace pollution.  Don't prepend headers.
64757         * conform/data/aio.h-data: Fixes for POSIX testing.
64758         * conform/data/fcntl.h-data: Likewise.
64759         * conform/data/glob.h-data: Likewise.
64760         * conform/data/grp.h-data: Likewise.
64761         * conform/data/pthread.h-data: Likewise.
64762         * conform/data/pwd.h-data: Likewise.
64763         * conform/data/signal.h-data: Likewise.
64764         * conform/data/spawn.h-data: Likewise.
64765         * conform/data/stdio.h-data: Likewise.
64766         * conform/data/stdlib.h-data: Likewise.
64767         * conform/data/stropts.h-data: Likewise.
64768         * conform/data/sys/mman.h-data: Likewise.
64769         * conform/data/sys/stat.h-data: Likewise.
64770         * conform/data/sys/types.h-data: Likewise.
64771         * conform/data/sys/wait.h-data: Likewise.
64772         * conform/data/time.h-data: Likewise.
64773         * conform/data/unistd.h-data: Likewise.
64774         * conform/data/utime.h-data: Likewise.
64776         * io/sys/stat.h: fchmod was always in POSIX.
64777         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
64778         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
64779         * rt/aio.h: Define __need_timespec before including <time.h>.
64780         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
64781         struct.  Add forward declaration of pthread_attr_t and use it in
64782         sigevent.
64783         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
64784         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64785         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
64786         always remove CLK_TCK definition.
64788 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
64790         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
64792 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
64794         * conform/run-conformtest.sh: New file.
64795         * conform/Makefile: Run run-conformtest for tests.
64796         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
64797         support.
64799         * conform/data/uchar.h-data: New file.
64800         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
64801         * conform/data/arpa/inet.h-data: Likewise.
64802         * conform/data/assert.h-data: Likewise.
64803         * conform/data/complex.h-data: Likewise.
64804         * conform/data/cpio.h-data: Likewise.
64805         * conform/data/ctype.h-data: Likewise.
64806         * conform/data/dirent.h-data: Likewise.
64807         * conform/data/dlfcn.h-data: Likewise.
64808         * conform/data/errno.h-data: Likewise.
64809         * conform/data/fcntl.h-data: Likewise.
64810         * conform/data/float.h-data: Likewise.
64811         * conform/data/fmtmsg.h-data: Likewise.
64812         * conform/data/fnmatch.h-data: Likewise.
64813         * conform/data/ftw.h-data: Likewise.
64814         * conform/data/glob.h-data: Likewise.
64815         * conform/data/grp.h-data: Likewise.
64816         * conform/data/iconv.h-data: Likewise.
64817         * conform/data/inttypes.h-data: Likewise.
64818         * conform/data/langinfo.h-data: Likewise.
64819         * conform/data/libgen.h-data: Likewise.
64820         * conform/data/limits.h-data: Likewise.
64821         * conform/data/locale.h-data: Likewise.
64822         * conform/data/math.h-data: Likewise.
64823         * conform/data/monetary.h-data: Likewise.
64824         * conform/data/mqueue.h-data: Likewise.
64825         * conform/data/ndbm.h-data: Likewise.
64826         * conform/data/net/if.h-data: Likewise.
64827         * conform/data/netdb.h-data: Likewise.
64828         * conform/data/netinet/in.h-data: Likewise.
64829         * conform/data/nl_types.h-data: Likewise.
64830         * conform/data/poll.h-data: Likewise.
64831         * conform/data/pthread.h-data: Likewise.
64832         * conform/data/pwd.h-data: Likewise.
64833         * conform/data/regex.h-data: Likewise.
64834         * conform/data/sched.h-data: Likewise.
64835         * conform/data/search.h-data: Likewise.
64836         * conform/data/semaphore.h-data: Likewise.
64837         * conform/data/setjmp.h-data: Likewise.
64838         * conform/data/signal.h-data: Likewise.
64839         * conform/data/spawn.h-data: Likewise.
64840         * conform/data/stdarg.h-data: Likewise.
64841         * conform/data/stdio.h-data: Likewise.
64842         * conform/data/stdlib.h-data: Likewise.
64843         * conform/data/string.h-data: Likewise.
64844         * conform/data/strings.h-data: Likewise.
64845         * conform/data/stropts.h-data: Likewise.
64846         * conform/data/sys/ipc.h-data: Likewise.
64847         * conform/data/sys/mman.h-data: Likewise.
64848         * conform/data/sys/msg.h-data: Likewise.
64849         * conform/data/sys/resource.h-data: Likewise.
64850         * conform/data/sys/select.h-data: Likewise.
64851         * conform/data/sys/sem.h-data: Likewise.
64852         * conform/data/sys/shm.h-data: Likewise.
64853         * conform/data/sys/socket.h-data: Likewise.
64854         * conform/data/sys/stat.h-data: Likewise.
64855         * conform/data/sys/statvfs.h-data: Likewise.
64856         * conform/data/sys/time.h-data: Likewise.
64857         * conform/data/sys/timeb.h-data: Likewise.
64858         * conform/data/sys/times.h-data: Likewise.
64859         * conform/data/sys/types.h-data: Likewise.
64860         * conform/data/sys/uio.h-data: Likewise.
64861         * conform/data/sys/un.h-data: Likewise.
64862         * conform/data/sys/utsname.h-data: Likewise.
64863         * conform/data/sys/wait.h-data: Likewise.
64864         * conform/data/syslog.h-data: Likewise.
64865         * conform/data/tar.h-data: Likewise.
64866         * conform/data/termios.h-data: Likewise.
64867         * conform/data/utime.h-data: Likewise.
64868         * conform/data/utmpx.h-data: Likewise.
64869         * conform/data/varargs.h-data: Likewise.
64870         * conform/data/wchar.h-data: Likewise.
64871         * conform/data/wctype.h-data: Likewise.
64872         * conform/data/wordexp.h-data: Likewise.
64874         * include/stropts.h: New file.
64875         * include/uchar.h: New file.
64876         * include/aio.h: Changes to allow conformtest.pl to use the headers.
64877         * include/assert.h: Likewise.
64878         * include/ctype.h: Likewise.
64879         * include/dirent.h: Likewise.
64880         * include/dlfcn.h: Likewise.
64881         * include/fcntl.h: Likewise.
64882         * include/fnmatch.h: Likewise.
64883         * include/glob.h: Likewise.
64884         * include/grp.h: Likewise.
64885         * include/libio.h: Likewise.
64886         * include/locale.h: Likewise.
64887         * include/math.h: Likewise.
64888         * include/net/if.h: Likewise.
64889         * include/netdb.h: Likewise.
64890         * include/netinet/in.h: Likewise.
64891         * include/pthread.h: Likewise.
64892         * include/pwd.h: Likewise.
64893         * include/regex.h: Likewise.
64894         * include/sched.h: Likewise.
64895         * include/search.h: Likewise.
64896         * include/setjmp.h: Likewise.
64897         * include/signal.h: Likewise.
64898         * include/stdio.h: Likewise.
64899         * include/stdlib.h: Likewise.
64900         * include/string.h: Likewise.
64901         * include/sys/cdefs.h: Likewise.
64902         * include/sys/mman.h: Likewise.
64903         * include/sys/msg.h: Likewise.
64904         * include/sys/resource.h: Likewise.
64905         * include/sys/select.h: Likewise.
64906         * include/sys/socket.h: Likewise.
64907         * include/sys/stat.h: Likewise.
64908         * include/sys/statvfs.h: Likewise.
64909         * include/sys/time.h: Likewise.
64910         * include/sys/times.h: Likewise.
64911         * include/sys/uio.h: Likewise.
64912         * include/sys/utsname.h: Likewise.
64913         * include/sys/wait.h: Likewise.
64914         * include/termios.h: Likewise.
64915         * include/time.h: Likewise.
64916         * include/ulimit.h: Likewise.
64917         * include/unistd.h: Likewise.
64918         * include/utime.h: Likewise.
64919         * include/wchar.h: Likewise.
64920         * include/wctype.h: Likewise.
64921         * include/wordexp.h: Likewise.
64923         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
64925         * time/time.h: TIME_UTC must be a macro.
64926         Make timespec_get available for ISO C11 only as well.
64928 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
64930         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
64931         Reported by Peng Haitao <penght@cn.fujitsu.com>.
64933 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64935         * configure.in: Use -o not -a in test for unsupported multi-arch.
64937 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64939         * manual/texinfo.tex: Update to version 2012-01-19.16.
64941 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
64943         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
64945 2012-02-24  Roland McGrath  <roland@hack.frob.com>
64947         [BZ #13738]
64948         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
64949         * manual/fdl-1.3.texi: New file.
64950         * manual/fdl-1.1.texi: File removed.
64952         [BZ #13738]
64953         * manual/libc.texinfo (FDL_VERSION): New @set.
64954         Use it for mention of FDL in cover text.
64955         (Documentation License): Use it in @include file name.
64957 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64958             Roland McGrath  <roland@hack.frob.com>
64960         [BZ #5461]
64961         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
64962         (not LONG_LONG_MAX and LONG_LONG_MIN.
64963         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
64964         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
64965         name.
64966         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
64968 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64970         [BZ #2547]
64971         [BZ #11365]
64972         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
64973         manipulate bits before adding and subtracting TWO23[sx].
64974         * math/libm-test.inc (nearbyint_test): Add more tests.
64976 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64978         [BZ #2548]
64979         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
64980         bits before adding and subtracting TWO23[sx].
64981         * math/libm-test.inc (rint_test): Add more tests.
64982         (rint_test_tonearest): Likewise.
64983         (rint_test_towardzero): Likewise.
64984         (rint_test_downward): Likewise.
64985         (rint_test_upward: Likewise.
64987 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64989         [BZ #10110]
64990         * include/stdc-predef.h: New file.  Extracted from features.h.
64991         * include/features.h: Include stdc-predef.h.
64992         * Makefile (headers): Add stdc-predef.h.
64993         * CONFORMANCE (Compiler limitations): Update.
64995 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
64997         * manual/libc.texinfo (VERSION, UPDATED): Revert.
64999 2012-02-21  David S. Miller  <davem@davemloft.net>
65001         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
65002         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65004 2012-02-20  David S. Miller  <davem@davemloft.net>
65006         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
65007         using a normal save/restore sequence, rather than allocating a
65008         dummy stack frame just to store a frame pointer and restore.
65009         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65011 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65013         * manual/install.texi: Fix stray word in line-wrapped comment.
65015 2012-02-20  David S. Miller  <davem@davemloft.net>
65017         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
65018         both binutils and gcc support GOTDATA.
65020         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
65021         "rd %pc" in the PIC register setup sequences.
65023         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
65024         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
65025         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
65026         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
65027         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
65028         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
65029         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65030         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
65031         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
65032         (SYSCALL_ERROR_HANDLER): Likewise.
65033         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
65034         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65035         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
65036         (SYSCALL_ERROR_HANDLER): Likewise.
65038         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
65039         (HAVE_GCC_GOTDATA): New.
65040         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
65041         relocation support in both binutils and gcc.
65042         * sysdeps/sparc/elf/configure: Regenerate.
65044         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
65045         * sysdeps/sparc/sparc32/elf/configure: Delete.
65046         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
65047         * sysdeps/sparc/sparc64/elf/configure: Delete.
65048         * sysdeps/sparc/elf/configure.in: New file.
65049         * sysdeps/sparc/elf/configure: Generate.
65051         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
65052         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
65053         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
65054         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
65055         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
65057 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65059         * manual/install.texi: Do not mention specific glibc version
65060         numbers.
65061         * manual/libc.texinfo (VERSION, UPDATED): Update.
65062         (@copying): Use @copyright{} and range of years.
65064 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
65066         [BZ #13695]
65067         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
65068         [crti.S not in sysdirs] (generated): Do not append.
65069         [crti.S not in sysdirs] (omit-deps): Likewise.
65070         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
65071         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
65072         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
65073         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
65074         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
65075         Likewise.
65076         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
65077         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
65078         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
65079         * csu/defs.awk: Remove file.
65080         * sysdeps/generic/initfini.c: Likewise.
65081         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
65082         variable.
65083         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
65084         Likewise.
65086 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65088         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
65089         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
65090         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
65091         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
65092         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
65093         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
65094         <bits/epoll.h>.
65095         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
65096         (__EPOLL_PACKED): Define to empty if not defined by
65097         <bits/epoll.h>.
65098         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
65099         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65100         bits/epoll.h.
65102 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65104         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
65105         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
65106         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
65107         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
65108         <bits/timerfd.h>.
65109         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
65110         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65111         bits/timerfd.h.
65113 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
65115         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
65116         in C locale.
65117         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65118         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65119         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
65120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65122 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
65124         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65125         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
65127 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
65129         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
65130         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
65131         defined.
65132         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
65133         Likewise.
65134         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
65135         entry for 2.16.
65137 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
65139         * math/w_acos.c: Use non-signaling floating-point comparisons.
65140         * math/w_acosf.c: Likewise.
65141         * math/w_acosh.c: Likewise.
65142         * math/w_acoshf.c: Likewise.
65143         * math/w_acoshl.c: Likewise.
65144         * math/w_acosl.c: Likewise.
65145         * math/w_asin.c: Likewise.
65146         * math/w_asinf.c: Likewise.
65147         * math/w_asinl.c: Likewise.
65148         * math/w_atanh.c: Likewise.
65149         * math/w_atanhf.c: Likewise.
65150         * math/w_atanhl.c: Likewise.
65151         * math/w_exp2.c: Likewise.
65152         * math/w_exp2f.c: Likewise.
65153         * math/w_exp2l.c: Likewise.
65154         * math/w_j0.c: Likewise.
65155         * math/w_j0f.c: Likewise.
65156         * math/w_j0l.c: Likewise.
65157         * math/w_j1.c: Likewise.
65158         * math/w_j1f.c: Likewise.
65159         * math/w_j1l.c: Likewise.
65160         * math/w_jn.c: Likewise.
65161         * math/w_jnf.c: Likewise.
65162         * math/w_log.c: Likewise.
65163         * math/w_log10.c: Likewise.
65164         * math/w_log10f.c: Likewise.
65165         * math/w_log10l.c: Likewise.
65166         * math/w_log2.c: Likewise.
65167         * math/w_log2f.c: Likewise.
65168         * math/w_log2l.c: Likewise.
65169         * math/w_logf.c: Likewise.
65170         * math/w_logl.c: Likewise.
65171         * math/w_sqrt.c: Likewise.
65172         * math/w_sqrtf.c: Likewise.
65173         * math/w_sqrtl.c: Likewise.
65174         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
65175         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
65176         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
65177         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
65178         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
65180 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65182         [BZ #9739]
65183         * manual/string.texi (strnlen): Use correct parameter name in
65184         equivalent expression.
65186 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65188         [BZ #11174]
65189         * manual/users.texi (seteuid): Consistently use neweuid for
65190         argument name.
65192 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
65194         [BZ #13704]
65195         * manual/nss.texi (Services in the NSS configuration): Correct
65196         list of services in example configuration file.
65198 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
65200         [BZ #11322]
65201         * manual/arith.texi: Remove statements about negative zero
65202         behaving identically to zero.
65204 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
65206         [BZ #5993]
65207         * manual/install.texi: Do not document upgrading from libc5.
65209 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
65211         [BZ #4596]
65212         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
65214 2012-02-18  David S. Miller  <davem@davemloft.net>
65216         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
65217         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
65218         %o7 across the call.
65219         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
65220         instead.
65221         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
65222         SETUP_PIC_REG_LEAF.
65223         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
65224         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
65225         * sysdeps/sparc/crtn.S: Likewise.
65227 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
65229         * aout/Makefile: Remove.
65231 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
65233         [BZ #13058]
65234         * manual/examples/argp-ex1.c (main): Format definition in GNU
65235         style.
65236         * manual/examples/argp-ex2.c (main): Likewise.
65237         * manual/examples/argp-ex3.c (main): Likewise.
65238         * manual/examples/argp-ex4.c (main): Likewise.
65239         * manual/examples/longopt.c (main): Use new-style prototype
65240         definition.
65241         * manual/examples/strncat.c (main): Specify return type and use
65242         (void) for arguments.
65243         * manual/examples/subopt.c (main): Use char **argv argument.
65245 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65247         [BZ #5077]
65248         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
65249         rounding modes.
65251 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
65253         [BZ #6907]
65254         * manual/string.texi (strchr): Change when strchrnul is
65255         recommended.
65257 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
65259         [BZ #174]
65260         * manual/locale.texi (setlocale): Document LOCPATH.
65262 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65264         [BZ #10210]
65265         * manual/process.texi (execle): Move @dots{} before last argument.
65267 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
65269         [BZ #12047]
65270         * manual/charset.texi (Generic Charset Conversion): Fix typo
65271         (LC_TYPE -> LC_CTYPE).
65273 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
65275         [BZ #5805]
65276         * manual/arith.texi (scalbn): Use @var{} on parameter names.
65277         (scalbnf): Likewise.
65278         (scalbnl): Likewise.
65279         (scalbln): Likewise.
65280         (scalblnf): Likewise.
65281         (scalblnl): Likewise.
65282         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
65283         (vwarnx): Likewise.
65284         (verr): Likewise.
65285         (verrx): Likewise.
65286         * manual/filesys.texi (telldir): Use braces around return type.
65287         * manual/llio.texi (mmap): Add space after comma.
65288         (mmap64): Likewise.
65289         * manual/math.texi (jn): Use @var{} on parameter names.
65290         (jnf): Likewise.
65291         (jnl): Likewise.
65292         (yn): Likewise.
65293         (ynf): Likewise.
65294         (ynl): Likewise.
65295         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
65296         line.
65297         * manual/resource.texi (ulimit): Use @dots{} instead of literal
65298         "...".
65299         (sched_get_priority_min): Remove semicolon on @deftypefun line.
65300         (sched_get_priority_max): Likewise.
65301         * manual/signal.texi (sigvec): Add space after comma.
65302         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
65303         names.
65304         (if_indextoname): Likewise.
65305         (if_freenameindex): Likewise.
65306         (sendto): Use ',' instead of '.' in prototype.
65307         * manual/startup.texi (syscall): Use @dots{} instead of literal
65308         "...".
65309         * manual/stdio.texi (__fpending): Separate initial words of
65310         paragraph from @deftypefun line.
65311         * manual/syslog.texi (syslog): Use @dots{} instead of literal
65312         "...".
65313         (vsyslog): Use @var{} on parameter names.
65314         * manual/terminal.texi (stty): Use @var{} on parameter names.
65315         * manual/users.texi (getutmp): Use @var{} on parameter names.
65316         (getutmpx): Likewise.
65318 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65320         [BZ #6884]
65321         * manual/stdio.texi (fopen): Fix typos in description of
65322         ",ccs=STRING".
65324 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
65326         [BZ #4026]
65327         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
65328         get clock_id definition.
65330 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
65332         [BZ #4822]
65333         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
65334         (madvise): Cast every argument to void on its own.
65336 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65338         [BZ #9902]
65339         * manual/startup.texi (Exit Status): Fix typo.
65341 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
65343         [BZ #10140]
65344         * manual/examples/argp-ex1.c: Include <stdlib.h>.
65345         * manual/examples/argp-ex2.c: Likewise.
65346         * manual/examples/argp-ex3.c: Likewise.
65348 2012-02-16  Richard Henderson  <rth@redhat.com>
65350         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
65351         * sysdeps/s390/s390-32/initfini.c: Remove.
65352         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
65353         * sysdeps/s390/s390-64/initfini.c: Remove.
65355 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65357         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
65358         compiler output for sysdeps/generic/initfini.c.
65359         * sysdeps/sh/elf/initfini.c: Remove file.
65361 2012-02-16  David S. Miller  <davem@davemloft.net>
65363         [BZ #11494]
65364         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
65366         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
65367         * sysdeps/sparc/crti.S: New file.
65368         * sysdeps/sparc/crtn.S: New file.
65369         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
65370         * sysdeps/sparc/sparc64/Makefile: Likewise.
65372 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
65374         [BZ #3335]
65375         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
65377 2012-02-15  Roland McGrath  <roland@hack.frob.com>
65379         [BZ #4822]
65380         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
65382         * mach/devstream.c (cookie_io_functions_t): Macro removed.
65383         (write, read, close): Likewise.
65384         Patch by Aurelien Jarno <aurelien@aurel32.net>.
65386 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
65388         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
65389         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
65390         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
65391         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
65392         <bits/signalfd.h>.
65393         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
65394         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65395         bits/signalfd.h.
65397 2012-02-14  Marek Polacek  <polacek@redhat.com>
65399         * sysdeps/x86_64/crti.S: New file.
65400         * sysdeps/x86_64/crtn.S: New file.
65401         * sysdeps/x86_64/elf/initfini.c: Remove file.
65403 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
65405         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
65406         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
65407         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
65408         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
65409         <bits/inotify.h>.
65410         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
65411         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65412         bits/inotify.h.
65414 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
65416         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
65417         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
65418         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
65419         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
65420         <bits/eventfd.h>.
65421         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
65422         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65423         bits/eventfd.h.
65425 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
65427         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
65428         __feraiseexcept instead of feraiseexcept.
65430         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
65431         nanosleep invocations.
65432         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
65433         strings, and add error checking for a nanosleep invocations.
65435 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
65437         Replace FSF snail mail address with URLs, as per GNU coding standards.
65438         Most of the snail mail addresses were wrong anyway, and omitting
65439         them makes the source code easier to maintain.  Almost all of the
65440         changes are to license notices and to locale LC_IDENTIFICATION
65441         addresses, except for this one:
65442         * manual/libc.texinfo: In "Published by", give the FSF's URL,
65443         not its snail mail address.
65445 2012-02-09  Richard Henderson  <rth@twiddle.net>
65447         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
65448         of kernel-features.h.
65450         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
65452 2012-02-08  Marek Polacek  <polacek@redhat.com>
65454         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
65455         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
65456         * sysdeps/gnu/_G_config.h: Likewise.
65457         * sysdeps/generic/_G_config.h: Likewise.
65459 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
65461         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
65462         tests.
65463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65465         * sysdeps/powerpc/powerpc32/crti.S: New file.
65466         * sysdeps/powerpc/powerpc32/crtn.S: New file.
65467         * sysdeps/powerpc/powerpc64/crti.S: New file.
65468         * sysdeps/powerpc/powerpc64/crtn.S: New file.
65470         * Makeconfig (have-initfini): Don't set.
65471         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
65472         * configure.in (nopic_initfini): Don't substitute.
65473         * config.h.in (HAVE_INITFINI): Don't #undef.
65474         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
65475         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
65477 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
65479         Support crti.S and crtn.S provided directly by architectures.
65480         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
65481         [crti.S in sysdirs] (omit-deps): Likewise.
65482         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
65483         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
65484         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
65485         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
65486         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
65487         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
65488         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
65489         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
65490         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
65491         compiler output for sysdeps/generic/initfini.c.
65492         * sysdeps/i386/elf/Makefile: Remove file.
65493         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
65495 2012-02-07  Marek Polacek  <polacek@redhat.com>
65497         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
65498         * sysdeps/gnu/_G_config.h: Likewise.
65499         * sysdeps/mach/hurd/_G_config.h: Likewise.
65501 2012-02-07  Marek Polacek  <polacek@redhat.com>
65503         * math/Makefile (tests): Add tst-CMPLX2.
65504         * math/tst-CMPLX2.c: New file.
65506 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
65508         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
65510         * math/libm-test.inc (jn_test): Add missing L suffix.
65512 2012-02-06  Marek Polacek  <polacek@redhat.com>
65514         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
65515         * sysdeps/i386/fpu/e_powf.S: Likewise.
65516         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65517         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65518         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65519         * sysdeps/i386/fpu/e_pow.S: Likewise.
65520         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65521         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65522         * sysdeps/i386/fpu/s_expm1.S: Likewise.
65523         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65524         * sysdeps/i386/fpu/e_log2.S: Likewise.
65525         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65526         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65527         * sysdeps/i386/fpu/e_powl.S: Likewise.
65528         * sysdeps/i386/fpu/s_log1p.S: Likewise.
65529         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65530         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65531         * sysdeps/i386/fpu/e_logl.S: Likewise.
65532         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65533         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
65534         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65535         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65536         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65537         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65538         * sysdeps/i386/fpu/e_log.S: Likewise.
65539         * sysdeps/i386/fpu/s_cexp.S: Likewise.
65540         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65541         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
65542         * sysdeps/i386/fpu/e_logf.S: Likewise.
65543         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65544         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65545         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
65546         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65547         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65548         * sysdeps/i386/fpu/e_log10.S: Likewise.
65549         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65550         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65551         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65552         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65553         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65554         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65555         * sysdeps/i386/asm-syntax.h: Likewise.
65556         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65557         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65558         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65559         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
65560         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
65561         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65562         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65563         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65564         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65565         * sysdeps/powerpc/sysdep.h: Likewise.
65566         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
65567         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
65569 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
65571         [BZ #411]
65572         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
65574 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
65576         * sysdeps/i386/sysdep.h: Include <features.h>.
65577         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
65578         version.
65580 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
65582         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
65583         Define.
65584         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
65585         LOAD_PIC_REG_STR.
65587 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65589         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
65590         (SETUP_PIC_REG): Use GET_PC_THUNK.
65591         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
65592         macro.
65594 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65596         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
65597         for non-PIC compilation.
65598         (SETUP_PIC_REG): Add .p2align directive.
65599         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
65600         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
65601         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65602         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65603         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
65604         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65605         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
65606         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
65607         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65608         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65609         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65610         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65611         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65612         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65613         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65614         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
65615         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
65616         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65617         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65618         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65619         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65620         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
65621         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65622         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65623         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
65624         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
65625         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65626         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
65627         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65628         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65629         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65630         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65631         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65632         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65633         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65634         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65635         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65636         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65637         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65638         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65639         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65641 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
65643         * math/tst-CMPLX.c: Include <stdio.h>.
65645 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
65647         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
65648         float.
65649         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65650         * sysdeps/sparc/bits/mathdef.h: Likewise.
65652 2012-01-31  Marek Polacek  <polacek@redhat.com>
65654         * libio/libio.h: Don't define _PARAMS.
65655         * locale/programs/config.h: Don't define PARAMS.
65656         * stdlib/strtol_l.c: Likewise.
65657         (__strtol_l): Remove PARAMS from the prototype.
65659 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
65661         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
65662         names.  Just use the correct names.  Remove unnecessary wrapper
65663         functions.
65664         * malloc/arena.c: Likewise.
65665         * malloc/hooks.c: Likewise.
65667         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
65668         ARENA_TEST says not to.  Simplify test for creation of a new arena.
65669         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
65671 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
65673         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
65674         into tail calls.
65675         (update_get_addr): New function.
65676         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
65677         GET_ADDR_MODULE parameter.
65679 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65681         * crypt/cert.c: Remove __STDC__ conditionals.
65682         * crypt/crypt-entry.c: Likewise.
65683         * crypt/crypt_util.c: Likewise.
65684         * libio/filedoalloc.c: Likewise.
65685         * libio/fileops.c: Likewise.
65686         * libio/genops.c: Likewise.
65687         * libio/iofclose.c: Likewise.
65688         * libio/iofdopen.c: Likewise.
65689         * libio/iofopen.c: Likewise.
65690         * libio/iofopen64.c: Likewise.
65691         * libio/iogetdelim.c: Likewise.
65692         * libio/iopopen.c: Likewise.
65693         * libio/obprintf.c: Likewise.
65694         * libio/oldfileops.c: Likewise.
65695         * libio/oldiofclose.c: Likewise.
65696         * libio/oldiofdopen.c: Likewise.
65697         * libio/oldiofopen.c: Likewise.
65698         * libio/oldiopopen.c: Likewise.
65699         * libio/wfiledoalloc.c: Likewise.
65700         * libio/wgenops.c: Likewise.
65701         * locale/programs/xmalloc.c: Likewise.
65702         * misc/syslog.c: Likewise.
65703         * stdio-common/xbug.c: Likewise.
65704         * string/memchr.c: Likewise.
65705         * string/memcmp.c: Likewise.
65706         * string/memrchr.c: Likewise.
65707         * string/rawmemchr.c: Likewise.
65708         * sysdeps/posix/getcwd.c: Likewise.
65709         * time/strftime_l.c: Likewise.
65711 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
65713         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
65714         * config.make.in (config-cflags-sse2avx): Define.
65715         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
65716         Fix typo.
65718 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
65720         * scripts/config.guess: Update from upstream config git repository.
65721         * scripts/config.sub: Likewise.
65723 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
65725         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
65726         (EM_NUM): Update.
65727         (R_TILEPRO_*, R_TILEGX_*): New macros.
65729         * scripts/firstversions.awk: Fix bug in version range handling.
65731         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
65733         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
65735         * include/sys/epoll.h: New file.
65736         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
65737         libc_hidden_def.
65739 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
65741         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
65742         Avoid unnecessary __WORDSIZE == 64 test.
65743         (fmaxf): Use VEX format if possible.
65744         (fmax): Likewise.
65745         (fminf): Likewise.
65746         (fmin): Likewise.
65748         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
65749         * math/math_private.h: Remove libc_fegetround* and
65750         libc_fesetround*.
65751         * sysdeps/i386/configure.in: Check for -msse2avx.
65752         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
65753         also if SSE2AVX is defined.
65754         Remove libc_fegetround* and libc_fesetround*.
65755         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
65756         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
65757         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
65758         of HAS_YMM_USABLE.
65759         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65760         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65761         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65762         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65763         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65765         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
65767 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65769         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
65770         size is not set.
65771         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65773 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
65775         [BZ #13618]
65776         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
65777         relocation.
65778         * Makeconfig (libm): Define.
65779         * elf/Makefile: Add rules to build and run tst-relsort1.
65780         * elf/tst-relsort1.c: New file.
65781         * elf/tst-relsort1mod1.c: New file.
65782         * elf/tst-relsort1mod2.c: New file.
65784 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
65786         * math/s_ldexp.c: Remove __STDC__ conditionals.
65787         * math/s_ldexpf.c: Likewise.
65788         * math/s_ldexpl.c: Likewise.
65789         * math/s_nextafter.c: Likewise.
65790         * math/s_nexttowardf.c: Likewise.
65791         * math/s_significand.c: Likewise.
65792         * math/s_significandf.c: Likewise.
65793         * math/s_significandl.c: Likewise.
65794         * math/w_jnl.c: Likewise.
65795         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65796         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65797         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65798         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65799         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65800         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65801         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
65802         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
65803         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
65804         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
65805         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
65806         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
65807         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
65808         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
65809         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
65810         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
65811         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
65812         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
65813         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
65814         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
65815         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
65816         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65817         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65818         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65819         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65820         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65821         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65822         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65823         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
65824         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65825         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65826         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
65827         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65828         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
65829         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
65830         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65831         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
65832         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
65833         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
65834         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
65835         * sysdeps/ieee754/k_standard.c: Likewise.
65836         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
65837         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65838         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
65839         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
65840         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
65841         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
65842         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65843         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
65844         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
65845         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
65846         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
65847         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
65848         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
65849         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
65850         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
65851         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
65852         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
65853         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65854         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65855         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
65856         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65857         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65858         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
65859         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
65860         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65861         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
65862         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
65863         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
65864         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
65865         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
65866         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
65867         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
65868         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
65869         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
65870         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
65871         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
65872         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
65873         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
65874         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
65875         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
65876         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
65877         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
65878         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
65879         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
65880         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
65881         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
65882         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65883         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65884         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
65885         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
65886         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
65887         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65888         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65889         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
65890         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
65891         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
65892         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
65893         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
65894         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
65895         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
65896         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
65897         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
65898         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
65899         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65900         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
65901         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
65902         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
65903         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
65904         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
65905         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
65906         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
65907         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
65908         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
65909         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
65910         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
65911         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
65912         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
65913         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
65914         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
65915         * sysdeps/ieee754/s_matherr.c: Likewise.
65916         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
65917         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
65918         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65919         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65921 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
65923         * crypt/md5.h: Remove __STDC__ conditionals.
65924         * libio/libioP.h: Likewise.
65925         * locale/programs/config.h: Likewise.
65926         * sysdeps/generic/sysdep.h: Likewise.
65927         * sysdeps/i386/asm-syntax.h: Likewise.
65928         * sysdeps/s390/asm-syntax.h: Likewise.
65929         * sysdeps/unix/sysdep.h: Likewise.
65930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
65931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
65933 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
65935         * libio/libio.h: Remove __STDC__ conditionals.
65936         * malloc/obstack.h: Likewise.
65937         * math/complex.h: Likewise.
65938         * math/math.h: Likewise.
65939         * sysdeps/generic/_G_config.h: Likewise.
65940         * sysdeps/gnu/_G_config.h: Likewise.
65941         * sysdeps/mach/hurd/_G_config.h: Likewise.
65942         * sysdeps/powerpc/bits/mathdef.h: Likewise.
65943         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
65944         * sysdeps/sparc/bits/mathdef.h: Likewise.
65946 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
65948         [BZ #13583]
65949         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
65950         Clean up HAS_* macros.
65951         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
65952         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
65953         possible.
65954         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
65955         HAS_AVX.
65956         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
65957         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
65958         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
65959         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
65960         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
65962 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
65964         * elf/tst-unique3.cc (gets): Remove declaration.
65965         * elf/tst-unique3lib.cc (gets): Likewise.
65966         * elf/tst-unique3lib2.cc (gets): Likewise.
65967         * elf/tst-unique4.cc (gets): Likewise.
65969 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
65971         * include/stdio.h: Add C++ protection.  Add gets declarations and
65972         definitions.
65973         * debug/tst-chk1.c: Don't declare gets here.
65974         * stdio-common/tst-gets.c: Likewise.
65976 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
65978         * posix/glob: Remove directory.
65980 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
65982         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
65984 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
65986         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
65987         of the non-standard EPFNOSUPPORT.
65989 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65991         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
65992         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
65993         ANYWHERE set to 1 only on KERN_NO_SPACE error.
65995 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
65997         * wcsmbs/uchar.h: Test __STDC_VERSION__.
65999 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
66001         * nscd/aicache.c (addhstaiX): Do not cache negative results of
66002         transient errors.
66003         * nscd/grpcache.c (cache_addgr): Likewise.
66004         * nscd/hstcache.c (cache_addhst): Likewise.
66005         * nscd/initgrcache.c (addinitgroupsX): Likewise.
66006         * nscd/pwdcache.c (cache_addpw): Likewise.
66007         * nscd/servicescache.c (cache_addserv): Likewise.
66009 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
66011         * malloc/malloc.c: Various cleanups.
66012         * malloc/hooks.c: Likewise.
66014         * stdlib/Makefile (tests): Add bug-fmtmsg1.
66015         * stdlib/bug-fmtmsg1.c: New file.
66017         * stdlib/fmtmsg.c (init): Add missing unlock.
66018         Patch by Peng Haitao <penght@cn.fujitsu.com>.
66020 2012-01-12  Marek Polacek  <polacek@redhat.com>
66022         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
66023         and _GNU_SOURCE.
66025 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
66027         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
66028         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
66029         macro to ensure uniqueness of label name.
66030         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66031         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66033 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
66035         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
66037         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
66038         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66039         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66040         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
66042 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
66044         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
66046         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
66047         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66048         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66050         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
66052         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
66053         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66054         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66055         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
66057         * math/bits/math-finite.h: Add ldexp support.
66059 2012-01-10  Marek Polacek  <polacek@redhat.com>
66061         * locale/programs/localedef.h (show_archive_content): Add noreturn
66062         attribute.
66064 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
66066         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
66068 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66070         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
66072         * io/Makefile (headers): Add bits/poll2.h.
66074 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
66076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
66077         typo #include statement.
66079 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66081         * include/sys/cdefs.h: Define __attribute_alloc_size.
66082         * catgets/gencat.c: Add alloc_size attribute and apply consistently
66083         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
66084         * elf/pldd.c: Likewise.
66085         * iconv/iconv_charmap.c: Likewise.
66086         * iconv/iconvconfig.c: Likewise.
66087         * iconv/strtab.c: Likewise.
66088         * locale/programs/locale.c: Likewise.
66089         * locale/programs/localedef.h: Likewise.
66090         * locale/programs/simple-hash.c: Likewise.
66091         * nscd/nscd.h: Likewise.
66092         * nss/makedb.c: Likewise.
66093         * sysdeps/generic/ldconfig.h: Likewise.
66094         * locale/programs/localedef.c: Remove xmalloc prototype.
66095         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
66097 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66099         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
66100         appropriate.
66102 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
66104         * math/Makefile (tests): Add tst-CMPLX.
66105         * math/tst-CMPLX.c: New file.
66107         * math/complex.h (CMPLXL): Fix typo.
66109         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
66110         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
66111         GLIBC_2.16.
66112         * debug/tst-chk1.c: Add poll and ppoll tests.
66113         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
66114         * include/sys/poll.h: Add hidden proto for ppoll.
66115         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
66116         * sysdeps/mach/hurd/ppoll.c: Likewise.
66117         * io/ppoll.c: Likewise.
66118         * debug/poll_chk.c: New file.
66119         * debug/ppoll_chk.c: New file.
66120         * include/bits/poll2.h: New file.
66121         * io/bits/poll2.h: New file.
66123         [BZ #1350]
66124         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
66126         * configure.in: static is always set to yes.  Remove.
66127         * config.make.in: Don't set build-static.
66128         * Makeconfig: Remove use of build-static.
66129         * dlfcn/Makefile: Likewise.
66130         * elf/Makefile: Likewise.
66131         * math/Makefile: Likewise.
66132         * misc/Makefile: Likewise.
66133         * nptl/Makefile: Likewise.
66134         * sysdeps/mach/hurd/Makefile: Likewise.
66136         * configure.in: PWD_P is not used anymore.
66137         * config.make.in: Remove PWD_P entry.
66139         * configure.in: Remove last remnants of RANLIB.
66140         No need to check for signed size_t anymore.
66141         Don't set libc_commonpagesize and libc_relro_required here for Alpha
66142         and IA-64.
66143         Remove __builtin_expect test because we require at least gcc 3.4.
66144         * aclocal.m4: Likewise.
66146         * wcsmbs/mbrtoc16.c: Implement using towc function.
66147         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
66148         * wcsmbs/wcsmbsload.c: Likewise.
66149         * iconv/gconv_simple.c: Likewise.
66150         * iconv/gconv_int.h: Likewise.
66151         * iconv/gconv_builtin.h: Likewise.
66152         * iconv/iconv_prog.c: Remove CHAR16 handling.
66154         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
66156         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
66158         * configure.in: Remove --with-elf and --enable-bounded options.
66159         Dont set base_machine for ia64.  More non-ELF conditions removed.
66160         Remove testing and setting of leading underscore information.
66161         * config.make.in (build-bounded): Set to no.
66162         * config.h.in: Remove NO_UNDERSCORES entry.
66163         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
66164         them.
66165         * csu/start.c: Remove !NO_UNDERSCORE code.
66166         * locale/localeinfo.h: Likewise.
66167         * sysdeps/generic/machine-gmon.h: Likewise.
66168         * sysdeps/generic/sysdep.h: Likewise.
66169         * sysdeps/i386/sysdep.h: Likewise.
66170         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66171         * sysdeps/mach/sysdep.h: Likewise.
66172         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66173         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66174         * sysdeps/sh/sysdep.h: Likewise.
66175         * sysdeps/sparc/sparc32/alloca.S: Likewise.
66176         * sysdeps/unix/i386/sysdep.S: Likewise.
66177         * sysdeps/unix/sparc/start.c: Likewise.
66178         * sysdeps/unix/sparc/sysdep.S: Likewise.
66179         * sysdeps/unix/sparc/sysdep.h: Likewise.
66180         * sysdeps/unix/start.c: Likewise.
66181         * sysdeps/unix/x86_64/sysdep.S: Likewise.
66182         * sysdeps/x86_64/sysdep.h: Likewise.
66184 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
66186         [BZ #13553]
66187         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
66188         for non-gcc.
66189         * argp/argp-fmtstream.h: Use const instead __const.
66190         * argp/argp.h: Likewise.
66191         * assert/assert.h: Likewise.
66192         * bits/fenv.h: Likewise.
66193         * bits/sched.h: Likewise.
66194         * bits/sigset.h: Likewise.
66195         * bits/sigthread.h: Likewise.
66196         * catgets/nl_types.h: Likewise.
66197         * conform/data/pthread.h-data: Likewise.
66198         * crypt/crypt-private.h: Likewise.
66199         * crypt/crypt.h: Likewise.
66200         * crypt/crypt_util.c: Likewise.
66201         * ctype/ctype.h: Likewise.
66202         * debug/execinfo.h: Likewise.
66203         * debug/mbsnrtowcs_chk.c: Likewise.
66204         * debug/mbsrtowcs_chk.c: Likewise.
66205         * debug/wcsnrtombs_chk.c: Likewise.
66206         * debug/wcsrtombs_chk.c: Likewise.
66207         * debug/wcstombs_chk.c: Likewise.
66208         * dirent/dirent.h: Likewise.
66209         * dlfcn/dlfcn.h: Likewise.
66210         * elf/neededtest4.c: Likewise.
66211         * grp/grp.h: Likewise.
66212         * gshadow/gshadow.h: Likewise.
66213         * iconv/gconv.h: Likewise.
66214         * iconv/gconv_int.h: Likewise.
66215         * iconv/gconv_simple.c: Likewise.
66216         * iconv/iconv.h: Likewise.
66217         * iconv/loop.c: Likewise.
66218         * iconv/skeleton.c: Likewise.
66219         * include/aio.h: Likewise.
66220         * include/aliases.h: Likewise.
66221         * include/argz.h: Likewise.
66222         * include/arpa/inet.h: Likewise.
66223         * include/assert.h: Likewise.
66224         * include/dirent.h: Likewise.
66225         * include/dlfcn.h: Likewise.
66226         * include/execinfo.h: Likewise.
66227         * include/fcntl.h: Likewise.
66228         * include/fenv.h: Likewise.
66229         * include/glob.h: Likewise.
66230         * include/grp.h: Likewise.
66231         * include/libintl.h: Likewise.
66232         * include/mntent.h: Likewise.
66233         * include/netdb.h: Likewise.
66234         * include/pwd.h: Likewise.
66235         * include/rpc/netdb.h: Likewise.
66236         * include/sched.h: Likewise.
66237         * include/search.h: Likewise.
66238         * include/shadow.h: Likewise.
66239         * include/signal.h: Likewise.
66240         * include/stdio.h: Likewise.
66241         * include/stdlib.h: Likewise.
66242         * include/string.h: Likewise.
66243         * include/sys/socket.h: Likewise.
66244         * include/sys/stat.h: Likewise.
66245         * include/sys/statfs.h: Likewise.
66246         * include/sys/statvfs.h: Likewise.
66247         * include/sys/syslog.h: Likewise.
66248         * include/sys/time.h: Likewise.
66249         * include/sys/uio.h: Likewise.
66250         * include/time.h: Likewise.
66251         * include/unistd.h: Likewise.
66252         * include/utmp.h: Likewise.
66253         * include/wchar.h: Likewise.
66254         * include/wctype.h: Likewise.
66255         * inet/aliases.h: Likewise.
66256         * inet/arpa/inet.h: Likewise.
66257         * inet/netinet/ether.h: Likewise.
66258         * inet/netinet/in.h: Likewise.
66259         * intl/libintl.h: Likewise.
66260         * io/bits/fcntl2.h: Likewise.
66261         * io/fcntl.h: Likewise.
66262         * io/ftw.h: Likewise.
66263         * io/sys/poll.h: Likewise.
66264         * io/sys/stat.h: Likewise.
66265         * io/sys/statfs.h: Likewise.
66266         * io/sys/statvfs.h: Likewise.
66267         * io/utime.h: Likewise.
66268         * libio/bits/stdio.h: Likewise.
66269         * libio/bits/stdio2.h: Likewise.
66270         * libio/libio.h: Likewise.
66271         * libio/libioP.h: Likewise.
66272         * libio/stdio.h: Likewise.
66273         * locale/lc-ctype.c: Likewise.
66274         * locale/locale.h: Likewise.
66275         * login/utmp.h: Likewise.
66276         * malloc/arena.c: Likewise.
66277         * malloc/malloc.c: Likewise.
66278         * malloc/malloc.h: Likewise.
66279         * malloc/mcheck.c: Likewise.
66280         * malloc/mtrace.c: Likewise.
66281         * math/bits/mathcalls.h: Likewise.
66282         * math/fenv.h: Likewise.
66283         * math/math_private.h: Likewise.
66284         * misc/bits/error.h: Likewise.
66285         * misc/bits/syslog.h: Likewise.
66286         * misc/err.h: Likewise.
66287         * misc/error.h: Likewise.
66288         * misc/fstab.h: Likewise.
66289         * misc/mntent.h: Likewise.
66290         * misc/regexp.h: Likewise.
66291         * misc/search.h: Likewise.
66292         * misc/sgtty.h: Likewise.
66293         * misc/sys/mman.h: Likewise.
66294         * misc/sys/syslog.h: Likewise.
66295         * misc/sys/uio.h: Likewise.
66296         * misc/sys/xattr.h: Likewise.
66297         * misc/ttyent.h: Likewise.
66298         * nis/rpcsvc/ypclnt.h: Likewise.
66299         * nss/nss.h: Likewise.
66300         * posix/bits/unistd.h: Likewise.
66301         * posix/fnmatch.h: Likewise.
66302         * posix/glob.h: Likewise.
66303         * posix/sched.h: Likewise.
66304         * posix/spawn.h: Likewise.
66305         * posix/sys/wait.h: Likewise.
66306         * posix/unistd.h: Likewise.
66307         * posix/wordexp.h: Likewise.
66308         * pwd/pwd.h: Likewise.
66309         * resolv/netdb.h: Likewise.
66310         * resource/sys/resource.h: Likewise.
66311         * rt/aio.h: Likewise.
66312         * rt/bits/mqueue2.h: Likewise.
66313         * rt/mqueue.h: Likewise.
66314         * shadow/shadow.h: Likewise.
66315         * signal/signal.h: Likewise.
66316         * socket/send.c: Likewise.
66317         * socket/sendto.c: Likewise.
66318         * socket/sys/socket.h: Likewise.
66319         * stdio-common/printf.h: Likewise.
66320         * stdlib/bits/stdlib.h: Likewise.
66321         * stdlib/fmtmsg.h: Likewise.
66322         * stdlib/monetary.h: Likewise.
66323         * stdlib/stdlib.h: Likewise.
66324         * stdlib/ucontext.h: Likewise.
66325         * streams/stropts.h: Likewise.
66326         * string/argz.h: Likewise.
66327         * string/bits/string2.h: Likewise.
66328         * string/string.h: Likewise.
66329         * string/strings.h: Likewise.
66330         * sunrpc/rpc/auth.h: Likewise.
66331         * sunrpc/rpc/auth_des.h: Likewise.
66332         * sunrpc/rpc/clnt.h: Likewise.
66333         * sunrpc/rpc/netdb.h: Likewise.
66334         * sunrpc/rpc/pmap_clnt.h: Likewise.
66335         * sunrpc/rpc/xdr.h: Likewise.
66336         * sysdeps/generic/inttypes.h: Likewise.
66337         * sysdeps/generic/net/if.h: Likewise.
66338         * sysdeps/generic/sys/swap.h: Likewise.
66339         * sysdeps/gnu/net/if.h: Likewise.
66340         * sysdeps/gnu/utmpx.h: Likewise.
66341         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
66342         * sysdeps/i386/i486/bits/string.h: Likewise.
66343         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
66344         * sysdeps/s390/bits/string.h: Likewise.
66345         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
66346         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
66347         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
66348         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
66349         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
66350         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
66351         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
66352         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
66353         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
66354         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
66355         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
66356         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
66357         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
66358         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
66359         * sysdeps/unix/sysv/linux/readv.c: Likewise.
66360         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
66361         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
66362         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
66363         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
66364         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
66365         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66366         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
66367         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
66368         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
66369         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
66370         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
66371         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
66372         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66373         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
66374         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
66375         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
66376         * sysvipc/sys/ipc.h: Likewise.
66377         * sysvipc/sys/msg.h: Likewise.
66378         * sysvipc/sys/sem.h: Likewise.
66379         * sysvipc/sys/shm.h: Likewise.
66380         * termios/termios.h: Likewise.
66381         * time/sys/time.h: Likewise.
66382         * time/time.h: Likewise.
66383         * wcsmbs/bits/wchar2.h: Likewise.
66384         * wcsmbs/uchar.h: Likewise.
66385         * wcsmbs/wchar.h: Likewise.
66386         * wctype/wctype.h: Likewise.
66388         [BZ #13551]
66389         * Makeconfig: Remove all but ELF support including AIX support.
66390         * Makerules: Likewise.
66391         * config.h.in: Likewise.
66392         * config.make.in: Likewise.
66393         * configure: Likewise.
66394         * configure.in: Likewise.
66395         * csu/Makefile: Likewise.
66396         * csu/version.c: Likewise.
66397         * debug/Makefile: Likewise.
66398         * dlfcn/Makefile: Likewise.
66399         * elf/Makefile: Likewise.
66400         * extra-lib.mk: Likewise.
66401         * iconv/Makefile: Likewise.
66402         * include/libc-symbols.h: Likewise.
66403         * include/shlib-compat.h: Likewise.
66404         * resolv/Makefile: Likewise.
66405         * resolv/res_libc.c: Likewise.
66406         * rt/Makefile: Likewise.
66407         * sysdeps/i386/asm-syntax.h: Likewise.
66408         * sysdeps/i386/sysdep.h: Likewise.
66409         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
66410         * sysdeps/mach/sysdep.h: Likewise.
66411         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
66412         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
66413         * sysdeps/s390/asm-syntax.h: Likewise.
66414         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66415         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66416         * sysdeps/sh/sysdep.h: Likewise.
66417         * sysdeps/unix/sparc/sysdep.h: Likewise.
66418         * sysdeps/wordsize-32/divdi3.c: Likewise.
66419         * sysdeps/x86_64/sysdep.h: Likewise.
66421         * argp/Versions: Remove _argp_unlock_xxx.
66423         [BZ #13559]
66424         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
66425         * abilist/libBrokenLocale.abilist: Likewise.
66426         * abilist/libanl.abilist: Likewise.
66427         * abilist/libc.abilist: Likewise.
66428         * abilist/libcrypt.abilist: Likewise.
66429         * abilist/libdl.abilist: Likewise.
66430         * abilist/libm.abilist: Likewise.
66431         * abilist/libnsl.abilist: Likewise.
66432         * abilist/libpthread.abilist: Likewise.
66433         * abilist/libresolv.abilist: Likewise.
66434         * abilist/librt.abilist: Likewise.
66435         * abilist/libthread_db.abilist: Likewise.
66436         * abilist/libutil.abilist: Likewise.
66437         * abilist/libnss_db.abilist: New file.
66439         * scripts/abilist.awk: Add support for indirect functions.
66441         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
66443         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
66445         * shlib-versions: Remove entries for ports architectures.
66447         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
66448         files in ports.
66449         * elf/stackguard-macros.h: Remove support for IA-64.
66450         * elf/tst-auditmod1.c: Likewise.
66451         * sysdeps/generic/ldsodefs.h: Likewise.
66453         * sysdeps/unix/sysv/linux/configure.in: Ports should define
66454         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
66455         configure files.
66457         [BZ #13552]
66458         * configure.in: Remove --enable-omitfp support.
66459         * FAQ.in: Adjust.
66460         * config.make.in: Likewise.
66461         * Makeconfig: Likewise.
66462         * manual/install.texi: Likewise.
66464         In case anyone cares, the IA-64 architecture could move to ports.
66465         * sysdeps/ia64/*: Removed.
66466         * sysdeps/unix/sysv/linux/ia64/*: Removed.
66467         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
66469         [BZ #13555]
66470         * configure.in: Remove entries for unsupported architectures.
66472         [BZ #13533]
66473         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
66474         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
66475         routines.
66476         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
66477         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
66478         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
66479         fall back to using wcrtomb.
66480         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
66481         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
66482         renaming.
66483         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
66484         * wcsmbs/tst-c16c32-1.c: New file.
66486         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
66487         local variable.
66489         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
66491         * elf/tst-unique3.cc: Add explicit declaration of gets.
66492         * elf/tst-unique3lib.cc: Likewise.
66493         * elf/tst-unique3lib2.cc: Likewise.
66494         * elf/tst-unique4.cc: Likewise.
66496         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
66498 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
66500         [BZ #13566]
66501         * assert/assert.h (static_assert): Don't define for C++.
66502         * libio/stdio.h (gets): Do declare for C++ <= C++11.
66503         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
66505 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
66507         * iconv/loop.c (single loop): Fix assertion in storing of
66508         remaining bytes.
66510         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
66512 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
66514         * posix/getconf.c: Update copyright year.
66515         * nss/getent.c: Likewise.
66516         * nss/makedb.c: Likewise.
66517         * iconv/iconvconfig.c: Likewise.
66518         * iconv/iconv_prog.c: Likewise.
66519         * elf/ldconfig.c: Likewise.
66520         * elf/pldd.c: Likewise.
66521         * elf/sotruss.ksh: Likewise.
66522         * catgets/gencat.c: Likewise.
66523         * csu/version.c: Likewise.
66524         * elf/ldd.bash.in: Likewise.
66525         * elf/sprof.c (print_version): Likewise.
66526         * locale/programs/locale.c: Likewise.
66527         * locale/programs/localedef.c: Likewise.
66528         * login/programs/pt_chown.c: Likewise.
66529         * nscd/nscd.c (print_version): Likewise.
66530         * debug/xtrace.sh: Likewise.
66531         * malloc/memusage.sh: Likewise.
66532         * malloc/mtrace.pl: Likewise.
66533         * debug/catchsegv.sh: Likewise.
66535 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
66537         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
66538         pure attribute.
66540 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
66542         [BZ #13533]
66543         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
66544         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
66545         transformations.
66546         * iconv/gconv_int.h: Likewise.
66547         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
66548         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
66549         from libc for GLIBC_2.16.
66550         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
66551         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
66552         * wcsmbs/uchar.h: Really define mbstate_t.
66553         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
66554         * wcsmbs/c16rtomb.c: New file.
66555         * wcsmbs/mbrtoc16.c: New file.
66556         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
66557         for C/POSIX locale.
66558         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
66559         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
66561         * wcsmbs/wchar.h: Add missing __restrict.
66563 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
66565         [BZ #13532]
66566         * time/Makefile (routines): Add timespec_get.
66567         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
66568         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
66569         timespec for ISO C11.
66570         * time/timespec_get.c: New file.
66571         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
66572         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
66574         [BZ #13531]
66575         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
66576         * stdlib/stdlib.h: Declare aligned_alloc.
66577         * Versions.def: Add GLIBC_2.16 for libc.
66578         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
66580         [BZ 13527]
66581         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
66582         ISO C11.
66584         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
66585         code.
66587         [BZ #13528]
66588         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
66590         [BZ #13529]
66591         * assert/assert.h (static_assert): Define.
66593         * version.h: Update for 2.16 development version.
66595         [BZ #13526]
66596         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
66597         _ISOC11_SOURCE.
66599         * version.h (RELEASE): Bump for 2.15 release.
66600         * include/features.h (__GLIBC_MINOR__): Bump to 15.
66602         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
66603         Patch by Marek Polacek <mpolacek@redhat.com>.
66605         * bits/byteswap.h: Protect long long constants with __extension__.
66606         * sysdeps/i386/bits/byteswap.h: Likewise.
66607         * sysdeps/ia64/bits/byteswap.h: Likewise.
66608         * sysdeps/s390/bits/byteswap.h: Likewise.
66609         * sysdeps/x86_64/bits/byteswap.h: Likewise.
66611 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66613         [BZ #13540]
66614         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
66615         destination buffer.
66616         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
66618 2011-12-23  Marek Polacek  <polacek@redhat.com>
66620         * elf/dl-addr.c (determine_info): Add inline keyword.
66621         * elf/tst-auditmod4b.c (check_avx): Likewise.
66622         * elf/tst-auditmod6b.c (check_avx): Likewise.
66623         * elf/tst-auditmod6c.c (check_avx): Likewise.
66624         * elf/tst-auditmod7b.c (check_avx): Likewise.
66626 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
66628         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
66629         !__SSE_MATH__.
66631 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66633         [BZ #13540]
66634         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
66635         processing for last bytes.
66637 2011-08-06  Bruno Haible  <bruno@clisp.org>
66639         [BZ #13061]
66640         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
66641         U+0385, not to U+1FEE.
66643         [BZ #13062]
66644         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
66645         entry for U+00A5 U+0301.
66647 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66649         [BZ #13166]
66650         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
66651         buffer for the output is too small.
66653         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
66654         optimization.
66656         [BZ #13185]
66657         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
66658         SSE flags if possible.
66660 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66662         [BZ #13540]
66663         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
66664         processing for last bytes.
66666 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
66668         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
66669         (syscall-list-default-options, syscall-list-default-condition)
66670         (syscall-list-includes): Define.
66671         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
66672         list of ABIs and options and #if conditions for each ABI.  Do not
66673         handle common syscalls between ABIs specially.
66674         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
66675         Remove.
66676         (syscall-list-variants, syscall-list-32bit-options)
66677         (syscall-list-32bit-condition, syscall-list-64bit-options)
66678         (syscall-list-64bit-condition): Define.
66679         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
66680         (syscall-list-variants, syscall-list-32bit-options)
66681         (syscall-list-32bit-condition, syscall-list-64bit-options)
66682         (syscall-list-64bit-condition): Define.
66683         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
66684         Remove.
66685         (syscall-list-variants, syscall-list-32bit-options)
66686         (syscall-list-32bit-condition, syscall-list-64bit-options)
66687         (syscall-list-64bit-condition): Define.
66688         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
66689         Remove.
66690         (syscall-list-variants, syscall-list-32bit-options)
66691         (syscall-list-32bit-condition, syscall-list-64bit-options)
66692         (syscall-list-64bit-condition): Define.
66694 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
66696         * locale/iso-639.def: Add brx entry.
66698         [BZ #13328]
66699         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
66700         Proposed by Mariusz_Cukr <marcukr@op.pl>.
66702         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
66703         __feraiseexcept_renamed.
66705 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
66707         [BZ #13538]
66708         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
66709         EPOLLET with unsigned values.
66710         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
66711         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
66713         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
66714         to large cancellation.
66715         * math/s_cacoshf.c: Likewise.
66716         * math/s_cacoshl.c: Likewise.
66718 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
66720         [BZ #13305]
66721         [BZ #12786]
66722         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
66723         * math/s_cacoshf.c: Likewise.
66724         * math/s_cacoshl.c: Likewise.
66726 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
66728         [BZ #13439]
66729         * iconv/gconv.h: Define __GCONV_SWAP.
66730         * iconvdata/unicode.c: The swap bit must be stored in __flags.
66731         * iconvdata/utf-16.c: Likewise.
66732         * iconvdata/utf-32.c: Likewise.
66734 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
66736         [BZ #13524]
66737         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
66738         numerator after shifting it by one limb.
66740 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
66742         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
66743         under [__USE_EXTERN_INLINES].
66745 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
66747         [BZ #13446]
66748         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
66750 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66752         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
66753         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
66754         optimized code.
66755         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
66756         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
66757         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
66758         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
66759         for strncasecmp/strncasecmp_l compilation.
66760         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
66761         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
66763 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
66765         [BZ #13484]
66766         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
66767         of __asm__.
66769 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
66771         [BZ #13506]
66772         * time/tzfile.c (__tzfile_read): Check values from file header.
66774 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
66776         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
66777         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
66778         * powerpc/powerpc32/dl-start.S: Likewise.
66779         * powerpc/powerpc32/elf/start.S: Likewise.
66780         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
66781         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
66782         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
66783         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
66784         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
66785         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
66786         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
66787         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
66788         * powerpc/powerpc32/fpu/s_round.S: Likewise.
66789         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
66790         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
66791         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
66792         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
66793         * powerpc/powerpc32/memset.S: Likewise.
66794         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
66795         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
66796         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
66797         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
66798         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
66799         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
66800         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
66801         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
66802         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
66803         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
66804         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
66805         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
66806         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
66808 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66810         * math/libm-test.inc: Added more nearbyint tests.
66811         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
66812         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
66813         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
66814         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
66816 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
66818         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
66819         FD_CLOEXEC.
66821 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66823         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
66824         Add wcscpy-ssse3 wcscpy-c.
66825         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
66826         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
66827         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
66828         * sysdeps/x86_64/wcschr.S: New file.
66829         * sysdeps/x86_64/wcsrchr.S: New file.
66830         * string/test-strcmp.c: Remove checking of wcscmp function for
66831         wrong alignments.
66832         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
66833         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
66834         wcsrchr-sse2 wcsrchr-c.
66835         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
66836         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
66837         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
66838         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
66839         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
66840         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
66841         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
66842         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
66843         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
66844         * wcsmbc/wcschr.c (WCSCHR): New macro.
66846 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66848         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
66849         * wcsmbs/test-wcsrchr.c: New file.
66850         * string/test-strrchr.c: Add wcsrchr support.
66851         (WIDE): New macro.
66852         * wcsmbs/test-wcscpy.c: New file.
66853         * string/test-strcpy.c: Add wcscpy support.
66854         (WIDE): New macro.
66856 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
66858         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
66859         the inner loop.
66861 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
66863         [BZ #13472]
66864         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
66866 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
66868         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
66869         Minor optimizations.
66871         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
66872         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
66873         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
66875 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
66877         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
66878         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
66879         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
66880         for gcc to avoid warnings.
66881         * inet/Makefile (tests): Add tst-checks.
66882         * inet/tst-checks.c: New file.
66884         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
66885         warning.
66887         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
66888         __wmemcmp_sse2.
66890         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
66891         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
66893         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
66895 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
66897         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
66898         problem.
66900         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
66902 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
66904         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
66905         conditional on GCC version.
66906         (__arch_compare_and_exchange_val_8_acq)
66907         (__arch_compare_and_exchange_val_16_acq)
66908         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
66909         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
66910         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
66912 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
66914         * sysdeps/sh/backtrace.c: New file.
66916 2011-12-02  Andreas Schwab  <schwab@redhat.com>
66918         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
66919         parenthesis.
66921 2011-12-01  Andreas Schwab  <schwab@redhat.com>
66923         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
66924         falling back to utime.
66926 2011-11-30  Andreas Schwab  <schwab@redhat.com>
66928         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
66929         expectations for float.
66931 2011-11-29  Andreas Schwab  <schwab@redhat.com>
66933         * locale/weight.h (findidx): Add parameter len.
66934         * locale/weightwc.h (findidx): Likewise.
66935         * posix/fnmatch_loop.c (FCT): Adjust caller.
66936         * posix/regcomp.c (build_equiv_class): Likewise.
66937         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
66938         * posix/regexec.c (check_node_accept_bytes): Likewise.
66939         * string/strcoll_l.c (STRCOLL): Likewise.
66940         * string/strxfrm_l.c (STRXFRM): Likewise.
66942 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
66944         * Makefile.in: Remove CVSOPT handling.
66945         * configure.in: Remove use of AC_REVISION.
66946         * iconvdata/Makefile (distribute): No need to filter out CVS.
66947         * scripts/list-sources.sh: Remove CVS, subversion and monotone
66948         handling.
66950 2011-11-16  Andreas Schwab  <schwab@redhat.com>
66952         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
66953         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
66954         [USE_AS_STRNCASECMP_L]: Likewise.
66955         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
66956         NO_TLS_DIRECT_SEG_REFS.
66957         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
66958         Fix argument offsets for non-PIC.
66959         [USE_AS_STRNCASECMP_L]: Likewise.
66960         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
66961         NO_TLS_DIRECT_SEG_REFS.
66963 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
66965         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
66966         O_CLOEXEC.
66967         * locale/loadlocale.c (_nl_load_locale): Likewise.
66969 2011-11-15  Andreas Schwab  <schwab@redhat.com>
66971         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
66972         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
66973         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
66974         (SYSCALL_GETTIME): Set errno on error.
66976         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
66977         count references to noai6ai_cached.
66979 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
66981         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
66983         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
66984         FD_CLOEXEC for /proc/self/maps.
66986         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
66987         FD_CLOEXEC for /proc/meminfo.
66989         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
66990         gai.conf.
66992         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
66993         FD_CLOEXEC for given file.
66995         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
66997         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
66998         FD_CLOEXEC for /etc/hosts.
66999         (_gethtent): Likewise.
67001         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
67003         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
67004         cancellation and set FD_CLOEXEC for /etc/netgroup.
67006         * nss/nss_files/files-key.c (search): Don't allow cancellation when
67007         reading /etc/publickey.
67009         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
67010         allow cancellation when reading /etc/group.
67012         * nss/nss_files/files-alias.c (internal_setent): Don't allow
67013         cancellation.
67014         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
67016         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
67017         when using data file.
67019         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
67021         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
67022         (write_nis_obj): Use "c" and "e" in fopen.
67024         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
67026         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
67028         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
67030         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
67032         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
67033         locale.alias.
67035         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
67037         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
67039         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
67041         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
67042         file parsing and set FD_CLOEXEC.
67044 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
67046         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
67048 2011-11-14  Andreas Schwab  <schwab@redhat.com>
67050         * malloc/arena.c (arena_get2): Don't call reused_arena when
67051         _int_new_arena failed.
67053 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
67055         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
67056         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
67057         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
67058         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67059         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67060         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
67061         to compile strcasecmp and strncasecmp.
67062         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
67063         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
67065         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
67067 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
67069         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
67070         locale-defines.sym to gen-as-const-headers.
67071         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
67072         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
67073         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
67074         to compile strcasecmp and strncasecmp.
67075         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
67076         strcasecmp_l and strncasecmp_l.
67077         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
67078         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
67079         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
67080         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
67081         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
67082         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
67083         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
67084         * sysdeps/i386/i686/multiarch/strncase.S: New file.
67085         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
67086         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
67087         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
67089 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
67091         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
67092         result of SYSDEP_GETTIME_CPU to retval.
67093         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
67094         parameter list to macro.  Remove trailing semicolon.  Adjust users.
67096         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
67097         variable.
67099         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
67100         mantissa words.
67101         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
67103         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
67104         from unused variable.
67106         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
67107         DWARF definitions.
67108         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
67109         for assembling.
67111         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
67112         over namespaces.
67114         * sunrpc/rpc_prot.c (rejected): Fix case value.
67116         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
67117         unsigned long long int to avoid warnings in shift.
67119         * posix/regex_internal.c (re_string_reconstruct): Actually use result
67120         of use of trans.
67121         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
67122         variable tmp.
67124         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
67125         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
67126         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
67128         * nis/nis_table.c (nis_list): Use variable of correct type for
67129         result of __follow_path call.
67131 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67133         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
67134         of math functions ceil, trunc, floor, round, and sqrt, when
67135         avaliable on the platform.
67136         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
67137         name clash.
67138         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67139         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
67140         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
67142 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
67144         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
67145         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
67147 2011-11-11  Roland McGrath  <roland@hack.frob.com>
67149         * include/unistd.h: Fix __readlink return type.
67150         Reported by Chris Metcalf <cmetcalf@tilera.com>.
67152 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
67154         * stdlib/ucontext.h: Undo last change for makecontext.
67156 2011-11-11  Andreas Schwab  <schwab@redhat.com>
67158         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
67160         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
67161         * setjmp/setjmp.h: Mark functions as non-leaf.
67162         * setjmp/bits/setjmp2.h: Likewise.
67163         * stdlib/ucontext.h: Likewise.
67165 2011-11-10  Andreas Schwab  <schwab@redhat.com>
67167         * malloc/arena.c (_int_new_arena): Don't increment narenas.
67168         (reused_arena): Don't check arena limit.
67169         (arena_get2): Atomically check arena limit.
67171 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
67173         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
67174         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
67176         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
67177         instructions.
67179 2011-11-07  Andreas Schwab  <schwab@redhat.com>
67181         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
67182         handler when locking.
67184         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
67185         Fix size of allocated buffer.
67187 2011-11-04  Andreas Schwab  <schwab@redhat.com>
67189         [BZ #10103]
67190         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
67191         declarations for long double functions.
67192         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
67194         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
67196 2011-11-03  Andreas Schwab  <schwab@redhat.com>
67198         * nscd/nscd.c (main): Don't start AVC thread until credentials are
67199         installed.
67201         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
67202         is disabled.
67204 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67206         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
67208 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
67210         * include/alloca.h (stackinfo_alloca_round): Define.
67211         (extend_alloca): Use it.
67212         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
67213         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
67214         here.
67216         * scripts/check-local-headers.sh: Ignore libaudit.h.
67218         * nscd/Makefile (extra-objs): Make recursively expanded.
67220 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
67222         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
67223         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
67225         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
67226         * posix/tst-rfc3484-2.c: Likewise.
67227         * posix/tst-rfc3484-3.c: Likewise.
67229         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67230         process_vm_writev.
67231         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
67232         process_vm_writev.
67233         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
67234         process_vm_writev from libc using GLIBC_2.15 version.
67236         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
67238 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
67240         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
67241         stack usage.
67243 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
67245         [BZ #13367]
67246         * nss/getent.c (initgroups_keys): Show error message in case no group
67247         names are given.
67249         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
67250         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
67251         __bump_nl_timestamp.
67252         * nscd/connections (nscd_init): When host database is served open
67253         netlink socket and request notification about configuration changes.
67254         (main_loop_poll): Track netlink file descriptor and bump timestamp
67255         in case data becomes available.
67256         (main_loop_epoll): Likewise.
67257         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
67258         (database_pers_head): Add extra_data fileds.
67259         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
67260         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
67261         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
67262         Adjust caller.
67263         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
67264         in6ai data, call __free_in6ai.
67265         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
67266         Add -DHAVE_NETLINK.
67267         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
67268         interface information.  Reuse previous data if netlink timestamp
67269         is not changed.
67270         (__bump_nl_timestamp): New function.
67271         (__free_in6ai): New function.
67273 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
67275         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
67276         close_not_cancel_no_status here.
67277         (__check_pf): Reorganize code a bit to not call close twice if OOM.
67279 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
67281         [BZ #13276]
67282         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
67283         return value.
67285         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
67286         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
67287         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
67289 2011-07-03  Andreas Jaeger  <aj@suse.de>
67291         [BZ #10709]
67292         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
67293         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
67294         * math/libm-test.inc (sin_test): Add test case.
67296 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
67298         [BZ #13337]
67299         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
67300         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67302         * elf/chroot_canon.c (chroot_canon): Cleanups.
67304         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
67306         [BZ #13335]
67307         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
67308         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
67310         * string/test-strchr.c: Make usable for strchrnul testing.
67311         * string/test-strchrnul.c: New file.
67312         * string/Makefile (strop-tests): Add strchrnul.
67314         * po/it.po: Update from translation team.
67315         * po/es.po: Likewise.
67317 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
67319         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
67320         the three constants needed as parameters.  Drop the others.
67321         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
67322         __m128i_strloadu_tolower.
67323         Create and initialize variable zero and use it in all the places
67324         where _mm_setzero_si128 was used.
67326         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
67327         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
67328         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
67329         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
67330         anymore.
67331         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
67332         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
67333         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
67334         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
67335         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
67336         __mpranred, __mptan.
67337         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
67338         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
67339         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
67340         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
67341         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
67342         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
67343         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
67344         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
67345         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
67347 2011-10-28  Andreas Schwab  <schwab@redhat.com>
67349         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
67350         redefine if SHARED.
67351         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
67353         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
67354         wide char related routines to wcsmbs subdir.
67356 2011-10-27  Andreas Schwab  <schwab@redhat.com>
67358         [BZ #13344]
67359         * misc/sys/cdefs.h (__THROWNL): Define.
67360         * posix/unistd.h: Use __THREADNL instead of __THREAD
67361         for memory synchronization functions.
67363 2011-10-26  Roland McGrath  <roland@hack.frob.com>
67365         [BZ #13349]
67366         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
67367         doesn't exist.
67368         * manual/stdio.texi (Obstack Streams): Node removed.
67370 2011-10-26  Andreas Schwab  <schwab@redhat.com>
67372         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
67373         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67374         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67376         * math/math_private.h (math_force_eval): Allow non-addressable
67377         arguments.
67378         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
67380 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67382         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
67383         file is not needed.
67385         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
67386         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
67387         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
67388         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
67389         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
67390         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
67391         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
67392         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
67393         Add AVX variants.
67394         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
67395         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
67396         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
67397         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
67398         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
67399         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
67400         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
67401         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
67402         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
67403         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
67404         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
67405         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
67406         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
67407         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
67408         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
67409         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
67410         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
67411         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
67412         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
67414         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
67415         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
67417         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
67418         place.  Use VEX encoding when compiling for AVX.
67420 2011-10-25  Andreas Schwab  <schwab@redhat.com>
67422         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
67423         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
67425         * string/test-strchr.c (do_test): Don't generate NUL bytes.
67427 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67429         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
67430         useless if() expression.
67431         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
67432         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
67433         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
67434         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67435         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
67436         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
67437         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67438         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67439         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67440         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67441         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
67442         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67443         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
67444         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67445         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
67446         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
67447         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
67448         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
67449         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
67451         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
67453 2011-10-25  Andreas Schwab  <schwab@redhat.com>
67455         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
67456         condition.
67457         * elf/dl-fini.c (_dl_sort_fini): Likewise.
67459 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
67461         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
67462         .text section.  Avoid duplicate constants.
67463         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
67464         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67465         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
67466         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67467         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67468         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67469         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67470         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67471         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
67472         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
67473         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
67474         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
67475         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
67476         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
67477         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
67478         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
67479         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
67480         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
67481         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
67482         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67483         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
67484         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
67485         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
67486         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
67487         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
67488         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
67489         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
67490         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
67491         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
67492         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
67493         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
67494         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
67495         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
67496         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
67497         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
67498         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
67499         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
67500         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
67501         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
67502         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
67503         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
67504         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
67505         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
67506         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
67507         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
67509 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
67511         * sysdeps/x86_64/dla.h: Move to ...
67512         * sysdeps/x86_64/fpu/dla.h: ...here.
67513         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
67514         situations.  Use __builtin_fma only for gcc 4.6 and up.
67516         * config.make.in: Add have-mfma4 entry.
67517         * configure.in: Substitute libc_cv_cc_fma4.
67518         * math/Makefile (dbl-only-routines): Add sincostab.
67519         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
67520         Use __sincostab not sincos.
67521         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
67522         name is a macro.
67523         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67524         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67525         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67526         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
67527         using __copysign.
67528         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
67529         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
67530         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
67531         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
67532         and __inv.
67533         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
67534         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
67535         __copysign.
67536         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
67537         define aliases when function name is a macro.
67538         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
67539         sysdeps/ieee754/dbl-64/sincos.tbl.
67540         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
67541         fma4-enabled routines.
67542         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
67543         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
67544         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
67545         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
67546         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
67547         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
67548         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
67549         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
67550         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
67551         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
67552         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
67553         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
67554         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
67555         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
67556         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
67557         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
67558         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
67559         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
67560         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
67561         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
67562         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
67563         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
67564         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
67565         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
67566         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
67567         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
67568         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
67569         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
67570         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
67571         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
67573         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
67574         rename.
67575         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67576         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67577         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67578         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67579         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67580         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67581         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67582         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67584 2011-10-24  Andreas Schwab  <schwab@redhat.com>
67586         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
67588 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67590         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
67592         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
67593         prediction.
67594         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
67596         * string/strnlen.c: Don't define STRNLEN, reverse logic.
67597         Remove unused variable magic_bits.
67598         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
67600         * string/strnlen.c: Define and use STRNLEN macro.
67601         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
67602         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
67603         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
67604         * wcsmbs/wcslen.c: Define and use WCSLEN.
67605         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
67606         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
67607         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
67608         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
67609         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
67610         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
67611         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
67613 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67615         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
67616         strnlen-sse2-no-bsf.
67617         Rename strlen-no-bsf to strlen-sse2-no-bsf.
67618         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
67619         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
67620         Add strnlen support.
67621         (USE_AS_STRNLEN): New macro.
67622         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
67623         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
67624         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
67625         * sysdeps/x86_64/wcslen.S: New file.
67627 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
67629         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67630         XMM-moves are used for copying on small sizes.
67632 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67634         * wcsmbs/Makefile (strop-tests): Add wcschr.
67635         * wcsmbs/test-wcschr.c: New file.
67636         * string/test-strchr.c: Update.
67637         Add wcschr support.
67638         (WIDE): New macro.
67640 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67642         * wcsmbs/Makefile (strop-tests): Add wcslen.
67643         * wcsmbs/test-wcslen.c: New file.
67644         * string/test-strlen.c: Update.
67645         Add wcslen support.
67646         (WIDE): New macro.
67648 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67650         * po/it.po: Update from translation team.
67652 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67654         * sysdeps/x86_64/wcscmp.S: Update.
67655         Fix wrong comparison semantics.
67656         wcscmp shall use signed comparison not unsigned.
67657         Don't use substraction to avoid overflow bug.
67658         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
67659         * wcsmbc/wcscmp.c: Likewise.
67660         * string/test-strcmp.c: Likewise.
67661         Add new tests to check cases with negative values.
67663 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
67665         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
67666         * sysdeps/x86_64/dla.h: ...here.  New file.
67667         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
67668         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67669         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67670         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67671         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67672         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
67673         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67674         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67675         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67677 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
67679         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
67680         __ynl_finite aliases.
67682 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67684         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67686         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
67687         define DLA_FMA.
67688         [DLA_FMA] (EMULV): Use DLA_FMA.
67689         [DLA_FMA] (MUL12): Use EMULV.
67690         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
67691         that are not needed.
67692         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
67693         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
67694         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
67695         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
67696         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
67697         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
67698         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
67700 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
67702         * math/s_nan.c: Undef __nan.
67703         * math/s_nanf.c: Undef __nanf.
67704         * math/s_nanl.c: Undef __nanl.
67705         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
67706         "math_private.h".
67708 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
67710         * math/s_catan.c: Add branch predictions.
67711         * math/s_catanf.c: Likewise.
67712         * math/s_catanh.c: Likewise.
67713         * math/s_catanhf.c: Likewise.
67714         * math/s_catanhl.c: Likewise.
67715         * math/s_catanl.c: Likewise.
67716         * math/s_cexp.c: Likewise.
67717         * math/s_cexpf.c: Likewise.
67718         * math/s_cexpl.c: Likewise.
67719         * math/s_clog.c: Likewise.
67720         * math/s_clog10.c: Likewise.
67721         * math/s_clog10f.c: Likewise.
67722         * math/s_clog10l.c: Likewise.
67723         * math/s_clogf.c: Likewise.
67724         * math/s_clogl.c: Likewise.
67725         * math/s_csqrt.c: Likewise.
67726         * math/s_csqrtf.c: Likewise.
67727         * math/s_csqrtl.c: Likewise.
67728         * math/s_ctanf.c: Likewise.
67729         * math/s_ctanh.c: Likewise.
67730         * math/s_ctanhf.c: Likewise.
67731         * math/s_ctanhl.c: Likewise.
67732         * math/s_ctanl.c: Likewise.
67734         * math/math_private.h: Define __nan, __nanf, __nanl.
67735         * math/s_cacosh.c: Include <math_private.h>.
67736         * math/s_cacoshl.c: Likewise.
67737         * math/s_casinh.c: Likewise.
67738         * math/s_casinhf.c: Likewise.
67739         * math/s_casinhl.c: Likewise.
67740         * math/s_ccos.c: Rely entire on ccosh.
67741         * math/s_ccosf.c: Rely entire on ccoshf.
67742         * math/s_ccosl.c: Rely entirely on ccoshl.
67743         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
67744         Remove tests for FE_INVALID.
67745         * math/s_ccoshf.c: Likewise.
67746         * math/s_ccoshl.c: Likewise.
67747         * math/s_csin.c: Likewise.
67748         * math/s_csinf.c: Likewise.
67749         * math/s_csinh.c Likewise.
67750         * math/s_csinhf.c: Likewise.
67751         * math/s_csinhl.c: Likewise.
67752         * math/s_csinl.c: Likewise.
67753         * math/s_ctan.c: Likewise.
67754         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
67755         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
67756         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
67758 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
67760         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
67761         compilation problems.
67763         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
67764         __builtin_expect.
67766 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
67768         * sysdeps/i386/configure.in: Test for -mfma4 option.
67769         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
67770         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
67771         COMMON_CPUID_INDEX_80000001.
67772         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
67773         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
67774         use it if FMA3 is not supported.
67775         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
67777         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
67778         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
67780 2011-10-20  Andreas Schwab  <schwab@redhat.com>
67782         [BZ #12892]
67783         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
67784         it would create a cycle with a link time dependency.
67786 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
67788         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
67789         instruction.
67790         * string/Makefile (strop-tests): Add rawmemchr.
67791         * string/test-rawmemchr.c: New file.
67793         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
67794         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
67795         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
67796         when compiling str{,n}casecmp and when AVX is available.  Hook up
67797         new optimized code in initializers.
67799 2011-10-19  Andreas Schwab  <schwab@redhat.com>
67801         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
67802         __feraiseexcept instead of feraiseexcept.
67804 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
67806         * math/math_private.h: Define defaults for libc_fetestexcept and
67807         libc_feupdateenv.
67808         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
67809         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
67810         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
67811         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67812         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
67813         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67814         libc_fetestexcept and libc_feupdateenv.
67816         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
67817         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
67818         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
67819         * sysdeps/x86_64/fpu/math_private.h: Define special version of
67820         libc_feholdexcept_setround.
67822         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
67823         Add s_nearbyint-c and s_nearbyintf-c.
67824         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
67825         nearbyintf inlines.
67826         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
67827         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
67828         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
67829         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
67831         * math/math_private.h: Define defaults for libc_fegetround,
67832         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
67833         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
67834         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
67835         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
67836         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
67837         standard functions.
67838         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
67839         Remove comments and hacks for old compiler versions.
67840         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
67841         libc_fegetround, libc_fesetround, libc_feholdexcept, and
67842         libc_feholdexceptl.
67844 2011-10-18  Andreas Schwab  <schwab@redhat.com>
67846         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
67847         (__feraiseexcept_renamed): Add __NTH.
67848         (feraiseexcept): Add __NTH.  Rename local variables to fix
67849         namespace violations.
67851 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
67853         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
67855         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
67857         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
67858         recently added interfaces.
67859         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
67861         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
67862         about macro parameter expansion.
67864         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
67865         __NO_MATH_INLINES is defined.  Cleanups.
67867         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
67868         and __floorf is target has SSE4.1.
67869         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
67870         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
67871         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
67872         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
67874         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
67875         name.
67876         (floorf): Likewise.
67878         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
67880 2011-10-17  Andreas Schwab  <schwab@redhat.com>
67882         * misc/sys/cdefs.h: Fix last change.
67884         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
67885         database lookup.
67887 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
67889         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
67891         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
67892         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
67893         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
67894         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
67895         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67896         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
67897         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
67898         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
67899         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
67900         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
67901         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
67902         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
67903         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
67904         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
67905         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
67906         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
67907         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
67908         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
67909         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
67910         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
67911         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
67912         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
67914         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
67915         ceil, ceilf, floor, floorf.
67917         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
67918         Perform IRELATIVE relocations last.
67920         * elf/do-rel.h: Add another parameter nrelative, replacing the
67921         local variable with the same name.  Change name of the function
67922         to end in Rel or Rela (uppercase).
67923         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
67924         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
67925         elf_dynamic_do_##reloc function.
67927 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
67929         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
67930         is sufficient, at least on modern CPUs.
67932         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
67934         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
67935         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
67937         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
67938         __expl_finite.
67939         * math/bits/math-finite.h: Add entries for exp.
67940         * math/e_expl.c: Add __*_finite alias.
67941         * sysdeps/i386/fpu/e_exp.S: Likewise.
67942         * sysdeps/i386/fpu/e_expf.S: Likewise.
67943         * sysdeps/i386/fpu/e_expl.c: Likewise.
67944         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
67945         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
67946         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
67947         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
67948         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
67949         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
67950         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
67952         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
67953         is sufficient, at least on modern CPUs.
67955         * ctype/ctype-info.c (__ctype_init): Define.
67956         * include/ctype.h (__ctype_init): Declare.
67957         (__ctype_b_loc): The variable is always initialized.
67958         (__ctype_toupper_loc): Likewise.
67959         (__ctype_tolower_loc): Likewise.
67960         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
67961         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
67963 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
67965         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
67967         * configure.in: Also look in $cxxmachine/include for C++ system
67968         headers.
67970 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67972         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
67973         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
67974         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
67975         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
67976         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
67977         (USE_AS_WMEMCMP): New macro.
67978         Fixing indents.
67979         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
67980         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
67981         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
67982         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
67983         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
67984         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
67985         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
67986         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
67987         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
67988         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
67989         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
67990         (USE_AS_WMEMCMP): New macro.
67991         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
67992         * sysdeps/string/test-memcmp.c: Update.
67993         Fix simple_wmemcmp.
67994         Add new tests.
67995         * wcsmbs/wmemcmp.c: Update.
67996         (WMEMCMP): New macro.
67997         Fix overflow bug.
67999 2011-10-12  Andreas Jaeger  <aj@suse.de>
68001         [BZ #13268]
68002         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
68004 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
68006         * libio/iofwide.c (do_length): Avoid warning.
68008         * ctype/ctype.h (__isctype_f): Add missing __THROW.
68010 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
68012         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
68014         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
68015         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
68016         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
68017         * sysdeps/i386/i686/fpu/e_log.S: New file.
68018         * sysdeps/i386/i686/fpu/e_logf.S: New file.
68019         * sysdeps/i386/i686/fpu/e_logl.S: New file.
68021         * ctype/ctype.h: Add support for inlined isXXX functions when
68022         compiling C++ code.
68024 2011-10-14  Andreas Schwab  <schwab@redhat.com>
68026         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68028         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
68030 2011-10-13  Roland McGrath  <roland@hack.frob.com>
68032         [BZ #13291]
68033         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
68035 2011-10-13  Andreas Schwab  <schwab@redhat.com>
68037         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
68038         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
68039         feraiseexcept.
68041         * sysdeps/x86_64/memrchr.S: Check for zero size.
68043         * string/stratcliff.c: Add memrchr tests.
68045 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68047         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
68048         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
68049         rawmemchr-sse2 rawmemchr-sse2-bsf.
68050         * sysdeps/i386/i686/multiarch/memchr.S: New file.
68051         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
68052         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
68053         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
68054         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
68055         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
68056         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
68057         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
68058         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
68059         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
68060         * string/memrchr.c (MEMRCHR): New macro.
68062 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
68064         Add integration with gcc's -ffinite-math-only and optimize wrapper
68065         functions in libm.
68066         * Versions.def: Define GLIBC_2.15 version for libm.
68067         * math/Makefile (headers): Add bits/math-finite.h.
68068         * math/bits/math-finite.h: New file.
68069         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
68070         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
68071         * math/e_acoshl.c: Add __*_finite alias.
68072         * math/e_acosl.c: Likewise.
68073         * math/e_asinl.c: Likewise.
68074         * math/e_atan2l.c: Likewise.
68075         * math/e_atanhl.c: Likewise.
68076         * math/e_coshl.c: Likewise.
68077         * math/e_exp10.c: Likewise.
68078         * math/e_exp10f.c: Likewise.
68079         * math/e_exp10l.c: Likewise.
68080         * math/e_exp2l.c: Likewise.
68081         * math/e_fmodl.c: Likewise.
68082         * math/e_gammal_r.c: Likewise.
68083         * math/e_hypotl.c: Likewise.
68084         * math/e_j0l.c: Likewise.
68085         * math/e_j1l.c: Likewise.
68086         * math/e_jnl.c: Likewise.
68087         * math/e_lgammal_r.c: Likewise.
68088         * math/e_log10l.c: Likewise.
68089         * math/e_log2l.c: Likewise.
68090         * math/e_logl.c: Likewise.
68091         * math/e_powl.c: Likewise.
68092         * math/e_sinhl.c: Likewise.
68093         * math/e_sqrtl.c: Likewise.
68094         * math/e_scalb.c: Completely rewritten and optimized.
68095         * math/e_scalbf.c: Likewise.
68096         * math/e_scalbl.c: Likewise.
68097         * math/w_acos.c: Likewise.
68098         * math/w_acosf.c: Likewise.
68099         * math/w_acosl.c: Likewise.
68100         * math/w_acosh.c: Likewise.
68101         * math/w_acoshf.c: Likewise.
68102         * math/w_acoshl.c: Likewise.
68103         * math/w_asin.c: Likewise.
68104         * math/w_asinf.c: Likewise.
68105         * math/w_asinl.c: Likewise.
68106         * math/w_atan2.c: Likewise.
68107         * math/w_atan2f.c: Likewise.
68108         * math/w_atan2l.c: Likewise.
68109         * math/w_atanh.c: Likewise.
68110         * math/w_atanhf.c: Likewise.
68111         * math/w_atanhl.c: Likewise.
68112         * math/w_exp10.c: Likewise.
68113         * math/w_exp10f.c: Likewise.
68114         * math/w_exp10l.c: Likewise.
68115         * math/w_fmod.c: Likewise.
68116         * math/w_fmodf.c: Likewise.
68117         * math/w_fmodl.c: Likewise.
68118         * math/w_j0.c: Likewise.
68119         * math/w_j0f.c: Likewise.
68120         * math/w_j0l.c: Likewise.
68121         * math/w_j1.c: Likewise.
68122         * math/w_j1f.c: Likewise.
68123         * math/w_j1l.c: Likewise.
68124         * math/w_jn.c: Likewise.
68125         * math/w_jnf.c: Likewise.
68126         * math/w_log.c: Likewise.
68127         * math/w_logf.c: Likewise.
68128         * math/w_logl.c: Likewise.
68129         * math/w_log10.c: Likewise.
68130         * math/w_log10f.c: Likewise.
68131         * math/w_log10l.c: Likewise.
68132         * math/w_log2.c: Likewise.
68133         * math/w_log2f.c: Likewise.
68134         * math/w_log2l.c: Likewise.
68135         * math/w_pow.c: Likewise.
68136         * math/w_powf.c: Likewise.
68137         * math/w_powl.c: Likewise.
68138         * math/w_remainder.c: Likewise.
68139         * math/w_remainderf.c: Likewise.
68140         * math/w_remainderl.c: Likewise.
68141         * math/w_scalb.c: Likewise.
68142         * math/w_scalbf.c: Likewise.
68143         * math/w_scalbl.c: Likewise.
68144         * math/w_sqrt.c: Likewise.
68145         * math/w_sqrtf.c: Likewise.
68146         * math/w_sqrtl.c: Likewise.
68147         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
68148         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
68149         used.
68150         * math/math_private.h: Declare __kernel_standard_f.
68151         * math/w_cosh.c: Remove cruft and optimize a bit.
68152         * math/w_coshf.c: Likewise.
68153         * math/w_coshl.c: Likewise.
68154         * math/w_exp2.c: Likewise.
68155         * math/w_exp2f.c: Likewise.
68156         * math/w_exp2l.c: Likewise.
68157         * math/w_hypot.c: Likewise.
68158         * math/w_hypotf.c: Likewise.
68159         * math/w_hypotl.c: Likewise.
68160         * math/w_lgamma.c: Likewise.
68161         * math/w_lgamma_r.c: Likewise.
68162         * math/w_lgammaf.c: Likewise.
68163         * math/w_lgammaf_r.c: Likewise.
68164         * math/w_lgammal.c: Likewise.
68165         * math/w_lgammal_r.c: Likewise.
68166         * math/w_sinh.c: Likewise.
68167         * math/w_sinhf.c: Likewise.
68168         * math/w_sinhl.c: Likewise.
68169         * math/w_tgamma.c: Likewise.
68170         * math/w_tgammaf.c: Likewise.
68171         * math/w_tgammal.c: Likewise.
68172         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
68173         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
68174         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
68175         Minor optimizations.  Pretty printing.  Remove cruft.
68176         * sysdeps/i386/fpu/e_acosf.S: Likewise.
68177         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68178         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68179         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68180         * sysdeps/i386/fpu/e_acosl.c: Likewise.
68181         * sysdeps/i386/fpu/e_asin.S: Likewise.
68182         * sysdeps/i386/fpu/e_asinf.S: Likewise.
68183         * sysdeps/i386/fpu/e_atan2.S: Likewise.
68184         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
68185         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
68186         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68187         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68188         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68189         * sysdeps/i386/fpu/e_exp10.S: Likewise.
68190         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
68191         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
68192         * sysdeps/i386/fpu/e_exp2.S: Likewise.
68193         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
68194         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
68195         * sysdeps/i386/fpu/e_fmod.S: Likewise.
68196         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
68197         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
68198         * sysdeps/i386/fpu/e_hypot.S: Likewise.
68199         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
68200         * sysdeps/i386/fpu/e_log.S: Likewise.
68201         * sysdeps/i386/fpu/e_log10.S: Likewise.
68202         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68203         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68204         * sysdeps/i386/fpu/e_log2.S: Likewise.
68205         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68206         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68207         * sysdeps/i386/fpu/e_logf.S: Likewise.
68208         * sysdeps/i386/fpu/e_logl.S: Likewise.
68209         * sysdeps/i386/fpu/e_pow.S: Likewise.
68210         * sysdeps/i386/fpu/e_powf.S: Likewise.
68211         * sysdeps/i386/fpu/e_powl.S: Likewise.
68212         * sysdeps/i386/fpu/e_remainder.S: Likewise.
68213         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
68214         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
68215         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68216         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68217         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68218         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
68219         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
68220         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
68221         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
68222         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
68223         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
68224         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
68225         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
68226         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
68227         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
68228         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
68229         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
68230         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
68231         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
68232         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
68233         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
68234         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
68235         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
68236         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
68237         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
68238         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
68239         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
68240         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
68241         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
68242         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
68243         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68244         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68245         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
68246         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
68247         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
68248         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
68249         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
68250         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
68251         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
68252         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
68253         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
68254         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
68255         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
68256         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
68257         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
68258         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
68259         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
68260         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
68261         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
68262         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
68263         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
68264         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
68265         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68266         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
68267         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
68268         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
68269         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
68270         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
68271         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
68272         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
68273         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
68274         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
68275         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
68276         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
68277         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
68278         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
68279         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
68280         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
68281         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
68282         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
68283         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68284         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68285         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
68286         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
68287         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
68288         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
68289         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
68290         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
68291         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
68292         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
68293         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
68294         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
68295         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
68296         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
68297         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
68298         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
68299         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68300         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
68301         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
68302         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
68303         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
68304         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68305         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
68306         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
68307         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
68308         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
68309         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
68310         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
68311         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68312         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
68313         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68314         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
68315         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
68316         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
68317         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
68318         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
68319         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
68320         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
68321         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
68322         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
68323         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
68324         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
68325         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68326         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68327         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68328         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68329         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
68330         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68331         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
68332         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
68333         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
68334         (__isnanf): Likewise.
68335         (__isinf_ns): Likewise.
68336         (__isinf_nsf): Likewise.
68337         (__finite): Likewise.
68338         (__finitef): Likewise.
68339         (__ieee754_sqrt): Define as macro.
68340         (__ieee754_sqrtf): Define as macro.
68341         (__ieee754_sqrtl): Define as macro.
68342         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
68343         inlined copy.
68344         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
68345         __FINITE_MATH_ONLY__ consistent.
68346         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
68348 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
68350         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
68351         of rawmemchr.
68353         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
68355 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
68357         * po/ja.po: Update from translation team.
68359 2011-10-08  Roland McGrath  <roland@hack.frob.com>
68361         * locale/programs/locarchive.c (prepare_address_space): New function.
68362         (create_archive, enlarge_archive, open_archive): Use it.
68364         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
68365         inside [SHARED], where it is used.
68367         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
68369         * nss/getent.c (netgroup_keys): Remove unused variable.
68370         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
68372 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
68374         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
68375         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
68376         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
68377         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
68378         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
68379         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
68380         * math/Makefile (libm-calls): Add s_isinf_ns.
68381         * math/divtc3.c: Use __isinf_nsl instead of isinf.
68382         * math/multc3.c: Likewise.
68383         * math/s_casin.c: Likewise.
68384         * math/s_casinf.c: Likewise.
68385         * math/s_casinl.c: Likewise.
68386         * math/s_ccos.c: Likewise.
68387         * math/s_ccosf.c: Likewise.
68388         * math/s_ccosl.c: Likewise.
68389         * math/s_ctan.c: Likewise.
68390         * math/s_ctanf.c: Likewise.
68391         * math/s_ctanh.c: Likewise.
68392         * math/s_ctanhf.c: Likewise.
68393         * math/s_ctanhl.c: Likewise.
68394         * math/s_ctanl.c: Likewise.
68395         * math/w_fmod.c: Likewise.
68396         * math/w_fmodf.c: Likewise.
68397         * math/w_fmodl.c: Likewise.
68398         * math/w_remainder.c: Likewise.
68399         * math/w_remainderf.c: Likewise.
68400         * math/w_remainderl.c: Likewise.
68401         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
68402         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
68403         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
68404         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
68405         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
68406         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
68407         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
68408         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
68410         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
68411         of the number.
68412         * stdio-common/printf_fphex.c: Likewise.
68413         * stdio-common/printf_size.c: Likewise.
68415         * math/e_exp10.c: Include math_private.h using <...> not "...".
68416         * math/e_exp10f.c: Likewise.
68417         * math/e_exp10l.c: Likewise.
68418         * math/e_exp2l.c: Likewise.
68419         * math/e_j0l.c: Likewise.
68420         * math/e_j1l.c: Likewise.
68421         * math/e_jnl.c: Likewise.
68422         * math/e_lgammal_r.c: Likewise.
68423         * math/e_rem_pio2l.c: Likewise.
68424         * math/e_scalb.c: Likewise.
68425         * math/e_scalbf.c: Likewise.
68426         * math/e_scalbl.c: Likewise.
68427         * math/k_cosl.c: Likewise.
68428         * math/k_sinl.c: Likewise.
68429         * math/k_tanl.c: Likewise.
68430         * math/s_cacoshf.c: Likewise.
68431         * math/s_catan.c: Likewise.
68432         * math/s_catanf.c: Likewise.
68433         * math/s_catanh.c: Likewise.
68434         * math/s_catanhf.c: Likewise.
68435         * math/s_catanhl.c: Likewise.
68436         * math/s_catanl.c: Likewise.
68437         * math/s_ccosh.c: Likewise.
68438         * math/s_ccoshf.c: Likewise.
68439         * math/s_ccoshl.c: Likewise.
68440         * math/s_cexp.c: Likewise.
68441         * math/s_cexpf.c: Likewise.
68442         * math/s_cexpl.c: Likewise.
68443         * math/s_clog.c: Likewise.
68444         * math/s_clog10.c: Likewise.
68445         * math/s_clog10f.c: Likewise.
68446         * math/s_clog10l.c: Likewise.
68447         * math/s_clogf.c: Likewise.
68448         * math/s_clogl.c: Likewise.
68449         * math/s_csin.c: Likewise.
68450         * math/s_csinf.c: Likewise.
68451         * math/s_csinh.c: Likewise.
68452         * math/s_csinhf.c: Likewise.
68453         * math/s_csinhl.c: Likewise.
68454         * math/s_csinl.c: Likewise.
68455         * math/s_csqrt.c: Likewise.
68456         * math/s_csqrtf.c: Likewise.
68457         * math/s_csqrtl.c: Likewise.
68458         * math/s_ctan.c: Likewise.
68459         * math/s_ctanf.c: Likewise.
68460         * math/s_ctanh.c: Likewise.
68461         * math/s_ctanhf.c: Likewise.
68462         * math/s_ctanhl.c: Likewise.
68463         * math/s_ctanl.c: Likewise.
68464         * math/s_ldexp.c: Likewise.
68465         * math/s_ldexpf.c: Likewise.
68466         * math/s_ldexpl.c: Likewise.
68467         * math/s_significand.c: Likewise.
68468         * math/s_significandf.c: Likewise.
68469         * math/s_significandl.c: Likewise.
68470         * math/w_acos.c: Likewise.
68471         * math/w_acosf.c: Likewise.
68472         * math/w_acosh.c: Likewise.
68473         * math/w_acoshf.c: Likewise.
68474         * math/w_acoshl.c: Likewise.
68475         * math/w_acosl.c: Likewise.
68476         * math/w_asin.c: Likewise.
68477         * math/w_asinf.c: Likewise.
68478         * math/w_asinl.c: Likewise.
68479         * math/w_atan2.c: Likewise.
68480         * math/w_atan2f.c: Likewise.
68481         * math/w_atan2l.c: Likewise.
68482         * math/w_atanh.c: Likewise.
68483         * math/w_atanhf.c: Likewise.
68484         * math/w_atanhl.c: Likewise.
68485         * math/w_cosh.c: Likewise.
68486         * math/w_coshf.c: Likewise.
68487         * math/w_coshl.c: Likewise.
68488         * math/w_dremf.c: Likewise.
68489         * math/w_exp10.c: Likewise.
68490         * math/w_exp10f.c: Likewise.
68491         * math/w_exp10l.c: Likewise.
68492         * math/w_exp2.c: Likewise.
68493         * math/w_exp2f.c: Likewise.
68494         * math/w_fmod.c: Likewise.
68495         * math/w_fmodf.c: Likewise.
68496         * math/w_fmodl.c: Likewise.
68497         * math/w_hypot.c: Likewise.
68498         * math/w_hypotf.c: Likewise.
68499         * math/w_hypotl.c: Likewise.
68500         * math/w_j0.c: Likewise.
68501         * math/w_j0f.c: Likewise.
68502         * math/w_j0l.c: Likewise.
68503         * math/w_j1.c: Likewise.
68504         * math/w_j1f.c: Likewise.
68505         * math/w_j1l.c: Likewise.
68506         * math/w_jn.c: Likewise.
68507         * math/w_jnf.c: Likewise.
68508         * math/w_jnl.c: Likewise.
68509         * math/w_lgamma.c: Likewise.
68510         * math/w_lgamma_r.c: Likewise.
68511         * math/w_lgammaf.c: Likewise.
68512         * math/w_lgammaf_r.c: Likewise.
68513         * math/w_lgammal.c: Likewise.
68514         * math/w_lgammal_r.c: Likewise.
68515         * math/w_log.c: Likewise.
68516         * math/w_log10.c: Likewise.
68517         * math/w_log10f.c: Likewise.
68518         * math/w_log10l.c: Likewise.
68519         * math/w_log2.c: Likewise.
68520         * math/w_log2f.c: Likewise.
68521         * math/w_log2l.c: Likewise.
68522         * math/w_logf.c: Likewise.
68523         * math/w_logl.c: Likewise.
68524         * math/w_pow.c: Likewise.
68525         * math/w_powf.c: Likewise.
68526         * math/w_powl.c: Likewise.
68527         * math/w_remainder.c: Likewise.
68528         * math/w_remainderf.c: Likewise.
68529         * math/w_remainderl.c: Likewise.
68530         * math/w_scalb.c: Likewise.
68531         * math/w_scalbf.c: Likewise.
68532         * math/w_scalbl.c: Likewise.
68533         * math/w_sinh.c: Likewise.
68534         * math/w_sinhf.c: Likewise.
68535         * math/w_sinhl.c: Likewise.
68536         * math/w_sqrt.c: Likewise.
68537         * math/w_sqrtf.c: Likewise.
68538         * math/w_sqrtl.c: Likewise.
68539         * math/w_tgamma.c: Likewise.
68540         * math/w_tgammaf.c: Likewise.
68541         * math/w_tgammal.c: Likewise.
68543         * po/ja.po: Update from translation team.
68545 2011-09-29  Andreas Jaeger  <aj@suse.de>
68547         [BZ #13179]
68548         * sunrpc/netname.c (netname2host): Fix logic.
68550         [BZ #6779]
68551         [BZ #6783]
68552         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
68553         correctly.
68554         * math/w_remainder.c (__remainder): Likewise.
68555         * math/w_remainderf.c (__remainderf): Likewise.
68556         * math/libm-test.inc (remainder_test): Add test cases.
68558 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68560         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
68561         sdiv_qrnnd.
68563 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
68565         * string/test-memcmp.c: Avoid unncessary #defines.
68566         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
68568 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68570         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
68571         Use new sse2 version for core i3 - i7 as it's faster
68572         than sse42 version.
68573         (bit_Prefer_PMINUB_for_stringop): New.
68574         * sysdeps/x86_64/rawmemchr.S: Update.
68575         Replace with faster SSE2 version.
68576         * sysdeps/x86_64/memrchr.S: New file.
68577         * sysdeps/x86_64/memchr.S: Update.
68578         Replace with faster SSE2 version.
68580 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
68582         * elf/dl-load.c (lose): Add cast to avoid warning.
68584 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
68586         * po/ca.po: Update from translation team.
68588         * inet/getnetgrent_r.c: Hook up nscd.
68589         * nscd/Makefile (routines): Add nscd_netgroup.
68590         (nscd-modules): Add netgroupcache.
68591         (CFLAGS-netgroupcache.c): Define.
68592         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
68593         (cache_search): Add const to second parameter.
68594         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
68595         INNETGR.
68596         (dbs): Add netgrdb entry.
68597         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
68598         (verify_persistent_db): Handle netgrdb.
68599         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
68600         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
68601         GETFDNETGR.
68602         (netgroup_response_header): Define.
68603         (innetgroup_response_header): Define.
68604         (datahead): Add netgroup_response_header and innetgroup_response_header
68605         elements.
68606         * nscd/nscd.conf: Add entries for netgroup cache.
68607         * nscd/nscd.h (dbtype): Add netgrdb.
68608         (_PATH_NSCD_NETGROUP_DB): Define.
68609         (netgroup_iov_disabled): Declare.
68610         (xmalloc, xcalloc, xrealloc): Move declarations here.
68611         (cache_search): Adjust prototype.
68612         Add netgroup-related prototypes.
68613         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
68614         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
68615         (__nscd_innetgr): Declare.
68616         * nscd/selinux.c (perms): Use access_vector_t as element type and
68617         add netgroup-related initializers.
68618         * nscd/netgroupcache.c: New file.
68619         * nscd/nscd_netgroup.c: New file.
68620         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
68621         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
68622         For four parameters use innetgr.
68623         * nss/nss_files/files-init.c: Add definition and callback for netgr.
68624         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
68625         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
68626         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
68628         * nscd/connections.c (register_traced_file): Don't register file
68629         for disabled databases.
68631 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
68633         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
68635         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
68636         from tree and freeing node.
68638 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
68640         * nss/nsswitch.c (__nss_database_lookup): Handle
68641         nss_parse_service_list out of memory case.
68643 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
68645         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
68646         out of memory case.
68648 2011-10-04  Andreas Schwab  <schwab@redhat.com>
68650         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
68651         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
68652         pass it down.
68653         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
68654         elf_machine_rela, elf_machine_lazy_rel.
68655         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
68656         (ELF_DYNAMIC_DO_REL): Likewise.
68657         (ELF_DYNAMIC_DO_RELA): Likewise.
68658         (ELF_DYNAMIC_RELOCATE): Likewise.
68659         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
68660         to ELF_DYNAMIC_DO_REL.
68661         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
68662         (dl_main): In trace mode always set __RTLD_NOIFUNC.
68663         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
68664         elf_machine_rela.
68665         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
68666         skip_ifunc, don't call ifunc function if non-zero.
68667         (elf_machine_rela): Likewise.
68668         (elf_machine_lazy_rel): Likewise.
68669         (elf_machine_lazy_rela): Likewise.
68670         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
68671         (elf_machine_lazy_rel): Likewise.
68672         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
68673         Likewise.
68674         (elf_machine_lazy_rel): Likewise.
68675         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68676         Likewise.
68677         (elf_machine_lazy_rel): Likewise.
68678         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
68679         (elf_machine_lazy_rel): Likewise.
68680         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
68681         (elf_machine_lazy_rel): Likewise.
68682         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
68683         (elf_machine_lazy_rel): Likewise.
68684         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
68685         (elf_machine_lazy_rel): Likewise.
68686         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
68687         (elf_machine_lazy_rel): Likewise.
68688         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
68689         (elf_machine_lazy_rel): Likewise.
68691 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
68693         * nss/nss_files/files-init.c (_nss_files_init): Use static
68694         initialization for all the *_traced_file variables.
68696 2011-09-28  Andreas Schwab  <schwab@redhat.com>
68698         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68700 2011-09-27  Roland McGrath  <roland@hack.frob.com>
68702         [BZ #13226]
68703         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
68705 2011-09-27  Andreas Schwab  <schwab@redhat.com>
68707         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
68708         Reread the line before reparsing it.
68710 2011-09-26  Andreas Schwab  <schwab@redhat.com>
68712         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
68714 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
68715             Maxim Kuvyrkov  <maxim@codesourcery.com>
68716             Joseph Myers  <joseph@codesourcery.com>
68718         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
68719         if needed for __stack_chk_guard.
68721 2011-09-19  Roland McGrath  <roland@hack.frob.com>
68723         * sysdeps/posix/spawni.c (script_execute): Always define it.
68724         It will be optimized away if unused.
68725         (maybe_script_execute): New function.
68726         (__spawni): Call it.
68728         * Makerules: Don't include tls.make.
68729         (config-tls): Always set to thread.
68730         * tls.make.c: File removed.
68732 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
68734         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
68735         * config.make.in (CPPFLAGS-config): New substituted variable.
68737 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
68739         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
68741         [BZ #13192]
68742         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
68743         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
68745 2011-09-15  Roland McGrath  <roland@hack.frob.com>
68747         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
68748         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
68749         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
68750         (CALL_FAIL): Likewise.
68751         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
68752         (CALL_FAIL): Macro removed.
68753         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
68755 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
68757         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
68758         for __FINITE_MATH_ONLY__ == 1.
68760 2011-09-15  Andreas Schwab  <schwab@redhat.com>
68762         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
68763         __ieee754_sqrt instead of sqrt.
68764         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
68765         __ieee754_sqrtf instead of sqrtf.
68766         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
68767         __floorf instead of floorf.
68768         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
68769         __floorf, __truncf instead of floorf, truncf.
68771 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
68773         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
68775         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
68776         __extern_always_inline.
68777         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
68778         32-bit.
68780 2011-09-14  Andreas Schwab  <schwab@redhat.com>
68782         * elf/rtld.c (dl_main): Also relocate in dependency order when
68783         doing symbol dependency testing.
68785 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
68787         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
68788         Always define `refsym'.
68790 2011-09-13  Andreas Schwab  <schwab@redhat.com>
68792         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
68793         (__FD_ELT): Renamed from __FDELT.
68794         * misc/bits/select2.h (__FD_ELT): Likewise.
68795         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
68796         __FD_MASK instead of __FDELT, __FDMASK.
68797         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68798         Likewise.
68799         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
68800         Likewise.
68802         * elf/Makefile (gen-ldd): Fix pattern.
68804         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
68805         (init_tls): Likewise.
68807 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
68809         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
68811 2011-09-12  Andreas Schwab  <schwab@redhat.com>
68813         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
68814         `struct cmsghdr *' instead of `void *'.
68815         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
68816         Likewise.
68818 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
68820         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
68821         if non-absolute.
68822         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
68823         ldd_rewrite_script.
68825 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
68827         * configure.in: Remove --with-tls option.
68828         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
68829         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
68830         out in case it is missing.
68831         * sysdeps/ia64/elf/configure.in: Likewise.
68832         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
68833         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
68834         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
68835         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
68836         * sysdeps/sh/elf/configure.in: Likewise.
68837         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
68838         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
68839         * sysdeps/x86_64/elf/configure.in: Likewise.
68840         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
68841         * sysdeps/mach/hurd/tls.h: Likewise.
68843         [BZ #13067]
68844         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
68846         [BZ #13090]
68847         * configure.in: Fix use of AC_INIT.
68849         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
68851 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
68853         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
68854         __set_errno.
68855         * malloc/hooks.c: Likewise.
68857         [BZ #11929]
68858         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
68859         variables statically.
68860         (narenas): Initialize.
68861         (list_lock): Initialize.
68862         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
68863         initializtion of main_arena and list_lock.  Small cleanups.
68864         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
68865         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
68866         Add initializers to main_arena and mp_.
68867         (malloc_state): Remove pagesize member.  Change all users to use
68868         GLRO(dl_pagesize).
68870         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
68871         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
68872         is always initialized.
68874         * malloc/malloc.c: Removed unused configurations and dead code.
68875         * malloc/arena.c: Likewise.
68876         * malloc/hooks.c: Likewise.
68877         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
68879         * include/tls.h: Removed.  USE___THREAD must always be defined.
68880         * bits/libc-tsd.h: Don't handle !USE___THREAD.
68881         * elf/dl-libc.c: Likewise.
68882         * elf/dl-tsd.c: Likewise.
68883         * include/errno.h: Likewise.
68884         * include/netdb.h: Likewise.
68885         * include/resolv.h: Likewise.
68886         * inet/herrno-loc.c: Likewise.
68887         * inet/herrno.c: Likewise.
68888         * malloc/arena.c: Likewise.
68889         * malloc/hooks.c: Likewise.
68890         * malloc/malloc.c: Likewise.
68891         * resolv/res-state.c: Likewise.
68892         * resolv/res_libc.c: Likewise.
68893         * sysdeps/i386/dl-machine.h: Likewise.
68894         * sysdeps/ia64/dl-machine.h: Likewise.
68895         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
68896         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
68897         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
68898         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
68899         * sysdeps/sh/dl-machine.h: Likewise.
68900         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
68901         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
68902         * sysdeps/unix/i386/sysdep.S: Likewise.
68903         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
68904         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
68905         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
68906         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
68907         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
68908         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
68909         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
68910         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
68911         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
68912         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
68913         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68914         * sysdeps/x86_64/dl-machine.h: Likewise.
68915         * tls.make.c: Likewise.
68917         * configure.in: Remove --with-__thread option.  Make tests for
68918         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
68919         tls_model attribute fail if no support is available.  Remove
68920         USE_IN_LIBIO.
68921         * Makeconfig: Adjust for dropped configure option.  All features are
68922         now mandatory.
68923         * Makerules: Likewise.
68924         * Versions.def: Likewise.
68925         * argp/argp-fmtstream.c: Likewise.
68926         * argp/argp-fmtstream.h: Likewise.
68927         * argp/argp-help.c: Likewise.
68928         * assert/assert.c: Likewise.
68929         * config.h.in: Likewise.
68930         * config.make.in: Likewise.
68931         * configure: Likewise.
68932         * configure.in: Likewise.
68933         * csu/Versions: Likewise.
68934         * csu/init.c: Likewise.
68935         * elf/tst-audit2.c: Likewise.
68936         * elf/tst-tls10.c: Likewise.
68937         * elf/tst-tls10.h: Likewise.
68938         * elf/tst-tls11.c: Likewise.
68939         * elf/tst-tls12.c: Likewise.
68940         * elf/tst-tls14.c: Likewise.
68941         * elf/tst-tlsmod11.c: Likewise.
68942         * elf/tst-tlsmod12.c: Likewise.
68943         * elf/tst-tlsmod13.c: Likewise.
68944         * elf/tst-tlsmod13a.c: Likewise.
68945         * elf/tst-tlsmod14a.c: Likewise.
68946         * elf/tst-tlsmod15b.c: Likewise.
68947         * elf/tst-tlsmod16a.c: Likewise.
68948         * elf/tst-tlsmod16b.c: Likewise.
68949         * elf/tst-tlsmod7.c: Likewise.
68950         * elf/tst-tlsmod8.c: Likewise.
68951         * elf/tst-tlsmod9.c: Likewise.
68952         * gmon/gmon.c: Likewise.
68953         * grp/fgetgrent_r.c: Likewise.
68954         * grp/putgrent.c: Likewise.
68955         * hurd/fopenport.c: Likewise.
68956         * include/libc-symbols.h: Likewise.
68957         * include/tls.h: Likewise.
68958         * intl/gettextP.h: Likewise.
68959         * intl/loadinfo.h: Likewise.
68960         * locale/global-locale.c: Likewise.
68961         * locale/localeinfo.h: Likewise.
68962         * mach/devstream.c: Likewise.
68963         * malloc/arena.c: Likewise.
68964         * malloc/set-freeres.c: Likewise.
68965         * misc/err.c: Likewise.
68966         * misc/getttyent.c: Likewise.
68967         * misc/mntent_r.c: Likewise.
68968         * posix/getopt.c: Likewise.
68969         * posix/wordexp.c: Likewise.
68970         * pwd/fgetpwent_r.c: Likewise.
68971         * resolv/Versions: Likewise.
68972         * resolv/res_hconf.c: Likewise.
68973         * shadow/fgetspent_r.c: Likewise.
68974         * shadow/putspent.c: Likewise.
68975         * stdio-common/printf_fphex.c: Likewise.
68976         * stdio-common/tmpfile.c: Likewise.
68977         * stdlib/abort.c: Likewise.
68978         * stdlib/fmtmsg.c: Likewise.
68979         * sunrpc/auth_unix.c: Likewise.
68980         * sunrpc/clnt_perr.c: Likewise.
68981         * sunrpc/clnt_tcp.c: Likewise.
68982         * sunrpc/clnt_udp.c: Likewise.
68983         * sunrpc/clnt_unix.c: Likewise.
68984         * sunrpc/openchild.c: Likewise.
68985         * sunrpc/svc_simple.c: Likewise.
68986         * sunrpc/svc_tcp.c: Likewise.
68987         * sunrpc/svc_udp.c: Likewise.
68988         * sunrpc/svc_unix.c: Likewise.
68989         * sunrpc/xdr.c: Likewise.
68990         * sunrpc/xdr_array.c: Likewise.
68991         * sunrpc/xdr_rec.c: Likewise.
68992         * sunrpc/xdr_ref.c: Likewise.
68993         * sunrpc/xdr_stdio.c: Likewise.
68995 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
68997         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
68999 2011-07-03  Andreas Jaeger  <aj@suse.de>
69001         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
69002         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
69003         regenerate with gen-libm-tests.pl.
69005 2010-05-12  Petr Baudis  <pasky@suse.cz>
69007         [BZ #11589]
69008         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
69009         around j0() zero points by switching to j1().
69010         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69011         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69012         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69013         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69015 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69017         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
69018         instead of 0.
69019         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
69020         instead of 0.
69021         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
69022         Patch in part by Pavel Roskin <proski@gnu.org>.
69024         [BZ #13138]
69025         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
69026         realloc.
69027         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
69028         Free memory block if necessary.
69030         [BZ #12847]
69031         * libio/genops.c (INTDEF): For string streams the _lock pointer can
69032         be NULL.  Don't lock in this case.
69034 2011-09-09  Roland McGrath  <roland@hack.frob.com>
69036         * elf/elf.h (ELFOSABI_GNU): New macro.
69037         (ELFOSABI_LINUX): Define to that.
69039 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
69041         * string/strncat.c (strncat): Undef the symbol in case it has been
69042         defined in bits/string.h.
69044 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
69046         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
69048         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
69049         link map.
69051 2011-08-17  Andreas Jaeger  <aj@suse.de>
69053         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
69055 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
69056             Ian Lance Taylor  <iant@google.com>
69058         * math/libm-test.inc (lround_test): New testcase.
69059         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
69061 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
69063         * Makefile: Remove support for automatic cvs check-ins.
69064         * Makerules: Likewise.
69065         * config.make.in: Likewise.
69066         * configure.in: Likewise.
69067         * intl/Makefile: Likewise.
69068         * locale/Makefile: Likewise.
69069         * po/Makefile: Likewise.
69070         * posix/Makefile: Likewise.
69071         * sysdeps/gnu/Makefile: Likewise.
69072         * sysdeps/mach/hurd/Makefile: Likewise.
69073         * sysdeps/sparc/sparc32/Makefile: Likewise.
69075         [BZ #13118]
69076         * posix/Makefile (bug-regex32-ENV): Define.
69077         Patch by John Stanley <jpsinthemix@verizon.net>.
69079         * misc/Makefile (headers): Add bits/select2.h.
69080         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
69081         * misc/bits/select2.h: New file.
69082         * include/bits/select2.h: New file.
69083         * debug/Makefile (routines): Add fdelt_chk.
69084         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
69085         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
69086         FD_ISSET.
69087         * debug/fdelt_chk.c: New file.
69089         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
69090         * wcsmbs/test-wmemcmp.c: Likewise.
69091         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
69092         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
69094 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69096         * string/Makefile (strop-tests): Add memcmp.
69097         * string/test-wmemcmp.c: New file.
69098         * string/test-memcmp.c: Add wmemcmp support.
69100 2011-09-08  Roland McGrath  <roland@hack.frob.com>
69102         [BZ #13153]
69103         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
69104         2011-07-19 change.
69106         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
69107         garbage value in a __mach_port_mod_refs call in the cases of the
69108         task-self and thread-self ports.
69110 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69112         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
69114 2011-09-08  Andreas Schwab  <schwab@redhat.com>
69116         * elf/dl-load.c (lose): Check for non-null L.
69118 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
69120         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
69122         * elf/dl-libc.c (dlerror_run): Pass back error code from
69123         dl_catch_error.
69125         [BZ #13123]
69126         * elf/dl-load.c (lose): Free l_origin if it is valid.
69128         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
69129         names.
69130         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
69131         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69132         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69133         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69134         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
69135         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
69137 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69139         * sysdeps/powerpc/fpu/e_hypot.c: New file.
69140         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
69141         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
69142         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
69143         * sysdeps/powerpc/fpu/k_cosf.c: New file.
69144         * sysdeps/powerpc/fpu/k_sinf.c: New file.
69145         * sysdeps/powerpc/fpu/s_cosf.c: New file.
69146         * sysdeps/powerpc/fpu/s_sinf.c: New file.
69147         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
69148         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
69150 2011-08-15  Alan Modra  <amodra@gmail.com>
69152         [BZ #13092]
69153         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
69154         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
69155         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
69156         ppc_mcount to static-only-routines.
69157         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
69158         __mcount_internal.
69159         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
69160         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
69162 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
69164         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
69165         for finite and infinity parameters.
69167 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
69169         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
69170         and add nop instructions for throughput optimization.
69171         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69173 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
69175         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
69176         aligned copy for power7 with vector-scalar instructions.
69177         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
69179 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
69181         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
69182         AVX check.
69184 2011-09-07  Andreas Schwab  <schwab@redhat.com>
69186         [BZ #13144]
69187         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
69188         last change.
69190 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
69192         * sysdeps/unix/sysv/linux/x86_64/init-first.c
69193         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
69194         syscall wrapper around clock_gettime in __vdso_clock_gettime.
69195         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
69196         clock_gettime.
69198 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
69200         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
69201         Forgot to demangle the pointer.
69203         * sysdeps/i386/sysdep.h: Define atom_text_section.
69204         * sysdeps/x86_64/sysdep.h: Likewise.
69205         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
69206         section with atom_text_section.
69207         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
69208         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
69209         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
69210         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69211         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
69213         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
69214         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
69215         already be defined.  Change to take two parameters and don't assign
69216         result to variable.  Adjust all users.
69217         Define INTERNAL_GETTIME if not already defined.
69218         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
69219         call.
69220         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
69221         HAVE_CLOCK_GETTIME_VSYSCALL.
69222         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
69224         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
69225         gettimeofday vsyscall, just use time.
69227 2011-09-06  Andreas Schwab  <schwab@redhat.com>
69229         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
69230         <errno.h>.
69232 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
69234         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
69235         syscall on x86-64.
69236         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
69237         syscall.
69238         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
69239         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
69240         syscall if possible.
69242 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69244         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
69245         e_ident.  Don't pass to find_mapsXX.
69246         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
69248 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69250         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69251         strchr-sse2-no-bsf strrchr-sse2-no-bsf
69252         * sysdeps/x86_64/multiarch/strchr.S: Update.
69253         Check bit_slow_BSF bit.
69254         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
69255         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
69256         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
69258 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69260         [BZ #13134]
69261         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
69262         before glibc 2.15.
69263         (tryshell): Define.
69264         (__spawni): Change last parameter to be flag.  Test
69265         SPAWN_XFLAGS_USE_PATH flag to use path or not.
69266         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
69267         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
69268         * posix/spawni.c: Likewise.
69269         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
69270         * posix/spawnp.c: Likewise.  Change normal version to use
69271         SPAWN_XFLAGS_USE_PATH.
69272         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
69273         SPAWN_XFLAGS_TRY_SHELL.
69275         [BZ #13150]
69276         * posix/glob.h: Remove gcc 1.x support.
69278         [BZ #13068]
69279         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
69281 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69283         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69284         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
69285         strrchr-sse2-bsf
69286         * sysdeps/i386/i686/multiarch/strchr.S: New file.
69287         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
69288         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
69289         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
69290         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
69291         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
69293 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69295         * sysdeps/x86_64/wcscmp.S: New file.
69297         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
69298         wcscmp-c wcscmp-sse2
69299         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
69300         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
69301         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
69302         * wcsmbs/wcscmp.c: Allow renaming.
69304 2011-09-05  David S. Miller  <davem@davemloft.net>
69306         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
69307         stack slot, rather than the struct return pointer slot.
69308         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
69309         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
69310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
69311         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
69313 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
69315         * po/ja.po: Update from translation team.
69317         [BZ #13144]
69318         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
69319         kernel in 64-bit binaries.
69321 2011-09-01  David S. Miller  <davem@davemloft.net>
69323         * elf/elf.h (HWCAP_SPARC_*): Move to..
69324         * sysdeps/sparc/sysdep.h: this new file and add new values.
69325         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
69326         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
69327         _DL_HWCAP_COUNT to 24.
69328         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
69329         entries.
69330         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
69331         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
69332         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
69333         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
69334         instead of magic constants.
69335         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69337 2011-08-31  David S. Miller  <davem@davemloft.net>
69339         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
69340         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
69341         Reimplement to do errno handling inline.
69342         (SYSCALL_ERROR_HANDLER): New macro.
69343         (__SYSCALL_STRING): Do not do errno handling in asm.
69344         (__CLONE_SYSCALL_STRING): Delete.
69345         (__INTERNAL_SYSCALL_STRING): Delete.
69346         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
69347         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
69348         (PSEUDO): Reimplement to do errno handling inline.
69349         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
69350         (SYSCALL_ERROR_HANDLER): New macro.
69351         (__SYSCALL_STRING): Do not do errno handling in asm.
69352         (__CLONE_SYSCALL_STRING): Delete.
69353         (__INTERNAL_SYSCALL_STRING): Delete.
69354         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
69355         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
69356         i386.
69357         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
69358         (inline_syscall*): Add 'err' argument.
69359         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
69360         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
69361         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
69362         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
69364         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
69365         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
69367 2011-08-30  Andreas Schwab  <schwab@redhat.com>
69369         * elf/rtld.c (dl_main): Relocate objects in dependency order.
69371 2011-08-29  Jiri Olsa <jolsa@redhat.com>
69373         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
69374         directive.
69376 2011-08-24  David S. Miller  <davem@davemloft.net>
69378         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
69380 2011-08-24  Andreas Schwab  <schwab@redhat.com>
69382         * elf/Makefile: Add rules to build and run unload8 test.
69383         * elf/unload8.c: New file.
69384         * elf/unload8mod1.c: New file.
69385         * elf/unload8mod1x.c: New file.
69386         * elf/unload8mod2.c: New file.
69387         * elf/unload8mod3.c: New file.
69389         * elf/dl-close.c (_dl_close_worker): Reset private search list if
69390         it wasn't used.
69392 2011-08-23  David S. Miller  <davem@davemloft.net>
69394         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
69395         subtract stack bias.
69396         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
69397         %sp not %fp in calculations.
69398         (_JMPBUF_UNWINDS_ADJ): Likewise.
69400         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
69401         (aio_suspend): Call it to force an exception region around the
69402         AIO_MISC_WAIT() invocation.
69404 2011-08-23  Andreas Schwab  <schwab@redhat.com>
69406         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
69407         backslash.
69409 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
69411         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
69412         protection macro.
69413         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
69414         and <dl-machine.h>.
69415         (Elf64_FuncDesc): Remove.
69417 2011-08-22  David S. Miller  <davem@davemloft.net>
69419         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
69420         sigaltstack check, add missing cfi directives.
69421         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
69422         missing cfi directives, and sigaltstack handling.
69424 2011-08-16  Andreas Schwab  <schwab@redhat.com>
69426         [BZ #11724]
69427         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
69428         object is seen twice.
69429         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69431         * elf/Makefile (distribute): Add tst-initorder2.c.
69432         (tests): Add tst-initorder2.
69433         (modules-names): Add tst-initorder2a tst-initorder2b
69434         tst-initorder2c tst-initorder2d.  Add rules to build them.
69435         ($(objpfx)tst-initorder2.out): New rule.
69436         * elf/tst-initorder2.c: New file.
69437         * elf/tst-initorder2.exp: New file.
69439 2011-08-22  Andreas Schwab  <schwab@redhat.com>
69441         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
69443         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
69444         dependencies back to end of function.
69446         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
69447         $(elfobjdir)/ld.so.
69449 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
69451         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
69452         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
69453         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
69454         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
69455         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
69456         of __vdso_gettimeofday.
69457         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
69458         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
69459         attribute_hidden.
69460         (_libc_vdso_platform_setup): Remove initialization of
69461         __vdso_gettimeofday and __vdso_time.
69463 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
69465         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
69466         and fgetc_unlocked.
69467         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
69468         getc_unlocked.
69470         * elf/dl-open.c (add_to_global): Report additions to the global scope
69471         for LD_DEBUG=scopes.
69472         (dl_open_worker): Also print scope of newly loaded dependencies.
69473         (_dl_show_scope): Indicate if there is no scope.
69475         [BZ #13114]
69476         * stdio-common/Makefile (tests): Add bug24.
69477         * stdio-common/bug24.c: New file.
69479 2011-08-19  Andreas Jaeger  <aj@suse.de>
69481         [BZ #13114]
69482         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
69483         non-existant file when using close-on-exec mode.
69485 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
69487         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
69488         the very first instruction.
69490         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
69491         the CFI state in the end.
69492         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
69493         inclusion of dl-trampoline.h.
69494         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
69496 2011-08-19  Andreas Schwab  <schwab@redhat.com>
69498         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
69499         expectations for long double.
69501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
69502         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
69504 2011-08-14  David S. Miller  <davem@davemloft.net>
69506         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
69507         artificual limit depends upon the system page size.
69509 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
69511         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
69512         * resolv/Makefile: Define CFLAGS-libresolv.
69514 2011-08-17  Andreas Schwab  <schwab@redhat.com>
69516         * nss/makedb.c (compute_tables): Make variables used in nested
69517         function static.
69519 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
69521         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
69522         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
69523         if buffer was too small.
69525         * elf/pldd.c (main): Attach to all threads in the process.
69526         Rewrite /proc handling to use *at functions.
69528 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
69530         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
69531         specifies first scope to show.
69532         (dl_open_worker): Update callers.  Move printing scope of new
69533         object to before the relocation.
69534         * elf/rtld.c (dl_main): Update _dl_show_scope call.
69535         * sysdeps/generic/ldsodefs.h: Update declaration.
69537         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
69538         string for the scope number.
69540 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
69542         * nscd/servicescache.c (cache_addserv): Make sure written is always
69543         initialized.
69545 2011-08-14  Roland McGrath  <roland@hack.frob.com>
69547         * sysdeps/i386/i486/bits/atomic.h
69548         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
69549         statement expression, so as to suppress "set but not used" warning.
69550         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
69552         * string/strncat.c (STRNCAT): Use prototype definition.
69554         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
69555         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
69556         -Iprograms here.
69557         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
69558         (localedef-modules): Add localedef.
69559         (locale-modules): Add locale.
69561         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
69562         * elf/rtld.c (dl_main): Invert order of assignment in last change,
69563         to avoid a warning.
69565 2011-08-14  David S. Miller  <davem@davemloft.net>
69567         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
69568         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
69570 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
69572         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
69573         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
69574         * elf/rtld.c (dl_main): Set l_name of vDSO.
69575         Call _dl_show_scope when DL_DEBUG_SCOPES.
69576         (process_dl_debug): Recognize scopes flag and also set it for all.
69577         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
69578         Declare _dl_show_scope.
69580         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
69581         (do_dlopen): Pass caller_dlopen to dl_open.
69582         (__libc_dlopen_mode): Initialize caller_dlopen.
69584         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
69585         of libc.  Make tolower call locale-independent.  Optimize a bit by
69586         using isdigit instead of isalnum.
69587         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
69589 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
69591         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
69592         was a dependency or dynamically loaded.
69594 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
69596         * intl/l10nflist.c: Allow architecture-specific pop function.
69597         * sysdeps/x86_64/l10nflist.c: New file.
69599         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
69600         classification.
69602 2011-08-10  Andreas Schwab  <schwab@redhat.com>
69604         * include/dirent.h: Add libc_hidden_proto for scandirat and
69605         scandirat64.  Don't declare __scandirat64.
69606         * dirent/scandirat.c: Add libc_hidden_def.
69607         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
69608         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
69610 2011-08-10  David S. Miller  <davem@davemloft.net>
69612         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
69613         enum.
69614         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69615         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69616         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69618 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
69620         * Versions.def [libc]: Add GLIBC_2.15.
69621         * dirent/Makefile (routines): Add scandirat and scandirat64.
69622         * dirent/Versions [libc]: Export scandirat and scandirat64 for
69623         GLIBC_2.15.
69624         * dirent/dirent.h: Declare scandirat and scandirat64.
69625         * dirent/scandirat.c: New file.
69626         * dirent/scandirat64.c: New file.
69627         * sysdeps/wordsize-64/scandirat.c: New file.
69628         * sysdeps/wordsize-64/scandirat64.c: New file.
69629         * dirent/opendir.c: Define opendirat.
69630         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
69631         using scandirat.
69632         * dirent/scandir64.c: Adjust for scandir.c change.
69633         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
69634         __scandirat64, and __scandir_cancel_handler.
69635         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
69636         additional parameter and use openat instead of open (outside of ld.so).
69637         Add new __opendir as wrapper around __opendirat.
69638         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
69639         here without requiring old scandirat implementation.
69641 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
69643         * dirent/scandir.c (cancel_handler): Renamed to
69644         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
69645         defined.  Adjust users.
69646         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
69647         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
69649 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
69651         * string/test-string.h (IMPL): Use __STRING to expand name and then
69652         stringify it.
69654         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
69655         of cleanups.
69657 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69659         * string/Makefile: Update.
69660         (strop-tests): Append strncat.
69661         * string/test-wcscmp.c: New file.
69662         New comprehensive test for wcscmp.
69663         * string/test-strcmp.c: Update.
69664         (WIDE): New define.
69666 2011-07-22  Andreas Schwab  <schwab@redhat.com>
69668         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
69669         line.
69671 2011-07-26  Andreas Schwab  <schwab@redhat.com>
69673         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
69674         encoding to ACE if AI_IDN.
69676 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
69678         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
69679         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
69681 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69683         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
69684         Fix overflow bug in strncat.
69685         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
69687         * string/test-strncat.c: Update.
69688         Add new tests for checking overflow bugs.
69690 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69692         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
69693         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
69694         * sysdeps/i386/i686/multiarch/strcat.S: New file.
69695         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
69696         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
69697         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
69698         * sysdeps/i386/i686/multiarch/strncat.S: New file.
69699         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
69700         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
69702         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
69703         (USE_AS_STRCAT): Define.
69704         Add strcat and strncat support.
69705         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
69707 2011-07-25  Andreas Schwab  <schwab@redhat.com>
69709         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
69710         __n bigger than INT_MAX+1.
69711         (__strncmp_g): Likewise.
69713 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
69715         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
69716         * libio/stido.h: Likewise.
69718         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
69719         (AF_NFC): Define.
69720         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
69721         (AF_NFC): Define.
69723         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
69724         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
69725         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
69726         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
69727         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
69729         [BZ #13021]
69730         * scripts/test-installation.pl: Don't expect libnss_test1 to be
69731         installed.
69733         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
69734         typo.
69735         (_dl_x86_64_save_sse): Likewise.
69737 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
69739         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
69740         OSXSAVE.
69741         (_dl_x86_64_save_sse): Likewise.
69743         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
69745         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
69747 2011-07-21  Andreas Schwab  <schwab@redhat.com>
69749         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
69750         change.
69751         (_dl_x86_64_save_sse): Use correct AVX check.
69753 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69755         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
69756         bug in strncpy/strncat.
69757         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
69759 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
69761         * string/tester.c (test_strcat): Add tests for different alignments
69762         of source and destination.
69763         (test_strncat): Likewise.
69765 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
69767         [BZ #12852]
69768         * posix/glob.c (glob): Check passed in values before using them in
69769         expressions to avoid some overflows.
69770         (glob_in_dir): Likewise.
69772         [BZ #13007]
69773         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
69774         check for AVX enablement so that we don't crash with old kernels and
69775         new hardware.
69776         * elf/tst-audit4.c: Add same checks here.
69777         * elf/tst-audit6.c: Likewise.
69779         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
69781 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
69783         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
69785 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
69787         * po/cs.po: Update from translation team.
69788         * po/bg.po: Likewise.
69790 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
69792         * misc/sys/cdefs.h: Add support for const attribute.
69793         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
69794         to gnu_dev_{major,minor,makedev} functions.
69796 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
69798         * intl/dcigettext.c (get_output_charset): Add missing bracket.
69800 2011-07-20  Andreas Schwab  <schwab@redhat.com>
69802         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
69803         strlen results.
69805 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69807         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
69808         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
69809         register in order to avoid conflicts with the soft frame pointer
69810         being held in r11 when necessary.
69811         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
69812         (INTERNAL_VSYSCALL_NCS): Likewise.
69814 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
69816         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
69817         * elf/dl-fini.c (_dl_fini): Adjust caller.
69818         * elf/dl-close.c (_dl_close_worker): Likewise.
69819         * sysdeps/generic/ldsodefs.h: Adjust declaration.
69821 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
69823         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
69824         "aux_cache->nlibs < 0".
69826         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
69827         in the reload-count case.
69829 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
69831         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69832         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
69833         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
69834         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
69835         * sysdeps/x86_64/multiarch/strcat.S: New file.
69836         * sysdeps/x86_64/multiarch/strncat.S: New file.
69837         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
69838         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
69839         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
69840         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
69841         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
69842         (USE_AS_STRCAT): Define.
69843         Add strcat and strncat support.
69844         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
69845         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
69846         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
69847         * string/strncat.c: Update.
69848         (USE_AS_STRNCAT): Define.
69849         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69850         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
69851         and i7.
69852         * sysdeps/x86_64/multiarch/init-arch.h
69853         (bit_Prefer_PMINUB_for_stringop): New.
69854         (index_Prefer_PMINUB_for_stringop): Likewise.
69855         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
69856         bit_Prefer_PMINUB_for_stringop.
69858 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
69860         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
69861         buffer64.
69862         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
69863         of casting of buffer.
69864         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
69865         buffer32 and buffer64.
69866         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
69867         writes instead of casting of buffer.
69868         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
69869         buffer32.
69870         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
69871         casting of buffer.
69873 2011-07-19  Andreas Schwab  <schwab@redhat.com>
69875         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
69877 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
69879         * nscd/nscd.c (termination_handler): Don't do anything for a database
69880         if it has not yet been initialized.
69882 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
69884         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69886 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
69888         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
69890 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
69892         * po/nl.po: Update from translation team.
69893         * po/sv.po: Likewise.
69895 2011-07-16  Roland McGrath  <roland@hack.frob.com>
69897         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
69898         now disallowed by GCC.
69900         * configure.in (use-default-link): Default to yes if a test -shared
69901         link meets our qualifications.
69902         * configure: Regenerated.
69904         * config.make.in (output-format): New variable.
69905         * configure.in: Check for ld --print-output-format support.
69906         * configure: Regenerated.
69907         * Makerules ($(common-objpfx)format.lds)
69908         [$(output-format) != unknown]: Just use $(output-format),
69909         instead of the linker-script munging.
69911 2011-07-14  Roland McGrath  <roland@hack.frob.com>
69913         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
69914         of $(common-objpfx)shlib.lds.
69915         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
69917         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
69918         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
69920         * configure.in (-z relro check): Adjust test code to add a large
69921         writable data section after it.
69922         * configure: Regenerated.
69924 2011-07-11  Roland McGrath  <roland@hack.frob.com>
69926         * configure.in (-z relro check): Fix test code to make the variable
69927         truly const.
69928         * configure: Regenerated.
69930 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
69932         * nscd/nscd.h (struct traced_file): Define.
69933         (struct database_dyn): Remove inotify_descr, reset_res, and filename
69934         elements.  Add traced_files.
69935         (inotify_fd): Declare.
69936         (register_traced_file): Declare.
69937         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
69938         (inotify_fd): Export.
69939         (resolv_conf_descr): Remove.
69940         (nscd_init): Move inotify descriptor creation to main.
69941         Don't register files for notification here.
69942         (register_traced_file): New function.
69943         (invalidate_cache): Don't use reset_res to determine whether to call
69944         res_init, go through the list of registered files.
69945         (main_loop_poll): The inotify descriptors are now stored in the
69946         structures for the traced files.
69947         (main_loop_epoll): Likewise.
69948         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
69949         to __nss_disable_nscd.
69950         * nscd/cache.c (prune_cache): There is no single inotify descriptor
69951         for a database anymore.  Check the records for all the registered
69952         files instead.
69953         * nss/Makefile (libnss_files-routines): Add files-init.
69954         (libnss_db-routines): Add db-init.
69955         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
69956         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
69957         * nss/nss_db/db-init.c: New file.
69958         * nss/nss_files/files-init.c: New file.
69959         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
69960         __nss_lookup_function.
69961         (__nss_lookup_function): Call nss_load_library.
69962         (nss_load_all_libraries): New function.
69963         (__nss_disable_nscd): Take parameter with callback function for files
69964         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
69965         used for the cached services.
69966         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
69967         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
69968         options for features to all the files in nscd.
69970         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
69972 2011-07-10  Roland McGrath  <roland@hack.frob.com>
69974         * csu/elf-init.c (__libc_csu_init): Comment typo.
69976 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
69978         * po/pl.po: Update from translation team.
69979         * po/ja.po: Likewise.
69980         * po/ru.po: Likewise.
69981         * po/ko.po: Likewise.
69982         * po/fr.po: Likewise.
69984 2011-07-09  Roland McGrath  <roland@hack.frob.com>
69986         * configure.in (.ctors/.dtors header and trailer check):
69987         Use an empirical test on a built program.
69988         * configure: Regenerated.
69990         * configure.in (-z relro check): Use an empirical test on a built DSO.
69991         Detect, but do not require, on ia64.
69992         * configure: Regenerated.
69994         * configure.in (READELF): Find it with AC_CHECK_TOOL.
69995         Update tests that use readelf to use $READELF instead.
69996         * configure: Regenerated.
69998 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
70000         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
70001         if the result is not used.
70003 2011-07-05  Andreas Jaeger  <aj@suse.de>
70005         [BZ#9696]
70006         * stdlib/tst-strtod.c: Add testcase.
70008 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
70010         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
70011         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
70012         The latter has a higher limit.  Take additional parameter to pass to
70013         the new function.
70014         (__pathconf): Pass file to __statfs_link_max.
70015         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
70016         __statfs_link_max.
70017         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
70018         __statfs_link_max.
70020         [BZ #12868]
70021         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
70022         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70023         Handle Lustre.
70024         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
70025         (__statfs_filesize_max): Likewise.
70026         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
70028 2011-07-05  Andreas Jaeger  <aj@suse.de>
70030         * resolv/res_comp.c (dn_skipname): Remove unused variable.
70032 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
70034         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
70035         `status' variable.
70036         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
70037         Likewise.
70039 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
70041         * Makefile (strop-tests): Add strncat.
70042         * string/test-strncat.c: New file.
70044 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
70046         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
70048 2011-06-21  Andreas Jaeger  <aj@suse.de>
70050         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
70051         Copy rule from iconvdata/Makefile.
70053 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
70055         [BZ #12922]
70056         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
70057         but no long options are defined, just return 'W'.
70059 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
70061         [BZ #9696]
70062         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
70064 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
70066         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
70067         netgroups to read.
70068         (innetgr): Likewise.
70070 2011-07-05  Roland McGrath  <roland@hack.frob.com>
70072         * config.make.in (install_root): Default to $(DESTDIR).
70074 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
70076         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
70078 2011-07-02  Roland McGrath  <roland@hack.frob.com>
70080         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
70082         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
70083         containing directory rather than embedding absolute directory names.
70085         * scripts/check-local-headers.sh: Rewritten using awk.
70086         Match by word, not by line.  Print error messages for matches.
70087         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
70089         * Makerules [shlib-lds-flags empty]:
70090         ($(common-objpfx)libc_pic.opts): New target.
70091         ($(common-objpfx)libc_pic.os.clean): New target.
70092         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
70094         * config.make.in (OBJCOPY): New variable.
70095         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
70096         * configure: Regenerated.
70098         * config.make.in (use-default-link): New variable.
70099         * configure.in (use_default_link): Grok --with-default-link to set it.
70100         * configure: Regenerated.
70101         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
70102         (shlib-lds, shlib-lds-flags): Define to empty.
70104         * Makerules (shlib-lds): New variable.
70105         (shlib-lds-flags): New variable.
70106         (build-shlib, build-moduile, build-module-asneeded): Use it.
70107         ($(common-objpfx)libc.so): Use $(shlib-lds).
70108         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
70109         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
70111         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
70112         DT_FLAGS/DT_FLAGS_1 with zero flags.
70114         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
70115         linker script munging.
70117 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
70119         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
70120         as 128-bit value.
70121         * crypt/sha512.c (sha512_process_block): Perform total addition using
70122         128-bit if possible.
70123         (__sha512_finish_ctx): Likewise.
70124         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
70125         as 64-bit value.
70126         * crypt/sha256.c (SWAP64): Define.
70127         (sha256_process_block): Perform total addition using 64-bit if
70128         possible.
70129         (__sha256_finish_ctx): Likewise.
70131 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
70133         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
70134         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70135         * nscd/hstcache.c (cache_addhst): Likewise.
70136         * nscd/grpcache.c (cache_addgr): Likewise.
70137         * nscd/aicache.c (addhstaiX): Likewise.
70138         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
70140 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
70142         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
70143         * nscd/initgrcache.c (addinitgroupsX): Likewise.
70144         * nscd/hstcache.c (cache_addhst): Likewise.
70145         * nscd/grpcache.c (cache_addgr): Likewise.
70146         * nscd/aicache.c (addhstaiX): Likewise.
70148 2011-07-01  Andreas Schwab  <schwab@redhat.com>
70150         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
70151         domain only when needed.
70153 2011-06-30  Andreas Schwab  <schwab@redhat.com>
70155         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
70156         is always restored.
70158 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
70160         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
70161         are re-adding the entry.
70162         * nscd/servicescache.c (cache_addserv): Likewise.
70164 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
70166         * sysdeps/generic/dl-irel.h: fix protection against multiple
70167         inclusions.
70168         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
70170 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
70172         [BZ #12935]
70173         * malloc/memusage.sh: Fix quoting in message.
70174         * debug/xtrace.sh: Likewise.
70176         * configure.in: Remove support for --experimental-malloc option, make
70177         it the default.
70178         * config.make.in: Likewise.
70179         * malloc/Makefile: Likewise.
70181 2011-06-27  Andreas Schwab  <schwab@redhat.com>
70183         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
70184         two-byte characters.
70186 2011-06-27  Roland McGrath  <roland@hack.frob.com>
70188         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
70189         AC_CACHE_CHECK invocation.
70190         * configure: Regenerated.
70192         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
70194 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
70196         [BZ #12350]
70197         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
70198         bit from old_res_options.
70200         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
70202         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
70203         value type for setfct.
70205 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
70207         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70208         __gettimeofday instead of gettimeofday.
70210 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
70212         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
70214 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
70216         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
70218         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
70219         info.
70221 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
70223         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
70224         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70225         strcpy-sse2-unaligned strncpy-sse2-unaligned
70226         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
70227         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
70228         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
70229         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
70230         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
70231         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
70232         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
70233         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
70234         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
70235         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
70236         (STRCPY): Support SSE2 and SSSE3 versions.
70238 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
70240         [BZ #12874]
70241         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
70242         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
70243         kernels which artificially limit size of requests.
70245 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
70247         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70248         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
70249         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
70250         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
70251         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
70252         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
70253         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
70254         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
70255         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
70256         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
70257         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
70258         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
70259         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
70260         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
70261         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
70262         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70263         Enable unaligned load optimization for Intel Core i3, i5 and i7
70264         processors.
70265         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
70266         Define.
70267         (index_Fast_Unaligned_Load): Define.
70268         (HAS_FAST_UNALIGNED_LOAD): Define.
70270 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
70272         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
70274 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
70276         [BZ #12907]
70277         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
70278         until it is clear that the information is realy needed.
70279         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
70281 2011-06-22  Andreas Schwab  <schwab@redhat.com>
70283         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
70285 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
70287         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
70288         /sys/devices/system/cpu/online if it is usable.
70290         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
70291         reading the information from the /proc filesystem to once a second.
70293 2011-06-21  Andreas Jaeger  <aj@suse.de>
70295         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
70296         NULL after inclusion of kernel headers.
70298 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
70300         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
70301         calls to internal_setent.
70303         [BZ #12885]
70304         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
70305         addresses using gethostbyname4_r ignore IPv4 addresses.
70307         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
70308         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
70310         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
70312 2011-06-20  David S. Miller  <davem@davemloft.net>
70314         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
70315         inclusions.
70316         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
70318         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
70319         (elf_irel): Use it.
70320         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
70321         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
70322         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
70323         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
70324         * sysdeps/x86_64/dl-irel.h: Likewise.
70326         * elf/dl-runtime.c: Use elf_ifunc_invoke.
70327         * elf/dl-sym.c: Likewise.
70329 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
70331         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
70332         need to dereference resplen2.
70334 2011-06-14  Andreas Schwab  <schwab@redhat.com>
70336         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
70338 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
70340         * Makeconfig: Define vardbdir and inst_vardbdir.
70341         * nss/Makefile: Add rules to install db-Makefile.
70343         * nss/nss_db/db-XXX.c: Cleanup.
70345         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
70346         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
70347         GLIBC_PRIVATE.
70348         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
70349         * nss/makedb.c: Implement -g option to specify that value strings
70350         are generated and should not be added to table iterated over for
70351         get*ent calls.
70352         * nss/nss_db/db-initgroups.c: New file.
70354         * nss/getent.c: Add support for initgroups lookups through getgrouplist
70355         interface.
70357         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
70358         (internal_getgrouplist): Adjust to name change.
70359         Update use_initgroups_entry if this is not the first call.
70360         * nss/databases.def: Add initgroups entry.
70362         * nss/makedb.c (compute_tables): Check result of multiple hash table
70363         sizes to minimize maximum chain length.
70365 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
70367         * Versions.def: Add entry for libnss_db.
70368         * shlib-versions: Likewise.
70369         * nss/Makefile: Add rules to build libnss_db.
70370         * nss/Versions: Add libnss_db information.  Organize libnss_files
70371         entries better.
70372         * nss/db-Makefile: Add gshadow support.  Change rules for the new
70373         makedb progra.  Some minor improvements to generate smaller files.
70374         * nss/nss_db/nss_db.h: Move NSS database header data structures to
70375         here from...
70376         * nss/makedb.c: ...here.
70377         Improve database format to be smaller and require less memory at
70378         runtime.
70379         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
70380         db anymore.
70381         * nss/nss_db/db-netgrp.c: Likewise.
70382         * nss/nss_db/db-open.c: Likewise.
70383         * nss/nss_files/flies-XXX.x: Adjust comments.
70384         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
70385         * nss/nss_files/files-grp.c: Likewise.
70386         * nss/nss_files/files-hosts.c: Likewise.
70387         * nss/nss_files/files-network.c: Likewise.
70388         * nss/nss_files/files-proto.c: Likewise.
70389         * nss/nss_files/files-pwd.c: Likewise.
70390         * nss/nss_files/files-rpc.c: Likewise.
70391         * nss/nss_files/files-service.c: Likewise.
70392         * nss/nss_files/files-sgrp.c: Likewise.
70393         * nss/nss_files/files-spwd.c: Likewise.
70394         * nss/nss_db/db-alias.c: Removed.
70395         * nss/nss_db/dummy-db.h: Removed.
70397 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
70399         * nss/makedb.c: Rewritten to not use database library.
70400         * nss/Makefile: Update to build new makedb program.
70402 2011-06-14  Andreas Jaeger  <aj@suse.de>
70404         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
70405         memset declaration.
70407 2011-06-10  Andreas Schwab  <schwab@redhat.com>
70409         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
70410         tmpbuf.
70412 2011-06-10  Roland McGrath  <roland@hack.frob.com>
70414         * Makerules (shlib.lds): Fail if the linker script comes out empty.
70415         * elf/Makefile ($(objpfx)ld.so): Likewise.
70417         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
70418         Don't list ld.so twice in dependencies.
70420         * posix/bug-regex31.c: Include <stdlib.h>.
70422         * nscd/hstcache.c (cache_addhst): Remove unused variable.
70424         * nis/nss_compat/compat-spwd.c
70425         (getspent_next_nss_netgr): Remove unused variable.
70426         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
70428         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
70429         nonmembers" output to use the right array.
70431         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
70433         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
70435         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
70436         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
70437         * catgets/gencat.c (read_input_file): Likewise.
70438         * locale/programs/locarchive.c (enlarge_archive): Likewise.
70440         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
70441         variable definition inside #if's controlling its use.
70443         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
70445         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
70447         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
70449         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
70450         unreachable code.
70452         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
70454         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
70455         * configure: Regenerated.
70457         * Makerules: Revert last change.
70458         * elf/Makefile: Likewise.
70460 2011-06-09  Roland McGrath  <roland@hack.frob.com>
70462         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
70463         * elf/Makefile ($(objpfx)librtld.os): Likewise.
70464         (reloc-link): Likewise.
70466 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
70468         * elf/Makefile: Add rules to build pldd.
70469         * elf/pldd.c: New file.
70470         * elf/pldd-xx.c: New file.
70472 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
70474         * version.h: Update for 2.15 development version.
70476 2011-06-07  David S. Miller  <davem@davemloft.net>
70478         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
70479         ifuncs.
70480         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
70481         elf_machine_lazy_rel): Likewise.
70482         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
70483         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
70484         elf_machine_lazy_rel): Likewise.
70485         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
70486         dl_hwcap via passed in argument.
70487         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
70488         Likewise.
70490 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70492         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
70494 2011-06-06  Roland McGrath  <roland@hack.frob.com>
70496         [BZ #12849]
70497         * manual/fdl-1.1.texi: New file, verbatim from:
70498         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
70499         * manual/lgpl-2.1.texi: New file, verbatim from:
70500         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
70501         * manual/Makefile (licenses): New variable, list those new file names.
70502         (texis): Use it.
70503         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
70505         * manual/fdl.texi: File removed.
70506         * manual/lesser.texi: File removed.
70507         * manual/libc.texinfo (Copying, Documentation License):
70508         Use new @include file names, put @appendix directive before @include.
70510 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
70512         [BZ #12841]
70513         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
70514         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
70515         (mq_open): Add __NTH.
70517 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
70519         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70520         Assume Intel Core i3/i5/i7 processor if AVX is available.
70522 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
70524         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
70525         typo.
70527 2011-05-31  Andreas Schwab  <schwab@redhat.com>
70529         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
70530         memory.  Use alloca_account.  Fix memory leak when retrying.
70532 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
70534         * version.h (RELEASE): Bump for 2.14 release.
70535         * include/features.h (__GLIBC_MINOR__): Bump to 14.
70537         * config.make.in (RANLIB): Remove entry.
70539 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
70541         * po/Makefile (po-sed-cmd): Add ksh to extensions.
70542         (libc.pot): Work around missing support for .ksh extension in xgettext.
70544         [BZ #12684]
70545         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
70546         if both request failed.
70547         (send_dg): In case of server errors clear resplen or *resplen2.
70549         [BZ #12454]
70550         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
70551         when there are multiple maps.
70552         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
70553         (_dl_fini): Remove test here.
70555         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
70557 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
70559         [BZ #12350]
70560         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
70561         bit from old_res_options.
70562         (gaih_inet): Likewise.
70564         [BZ #11099]
70565         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
70566         as signed.
70568         * resolv/res_init.c (res_setoptions): Make the code more compact.
70570         [BZ #11558]
70571         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
70572         set RES_USEVC.
70574         [BZ #11634]
70575         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
70577         * malloc/malloc.h: Mark malloc hook variables as deprecated.
70579         [BZ #11781]
70580         * malloc/malloc.h: Declare malloc hook variables as volatile.
70582         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
70583         in last patch.
70585         [BZ #11799]
70586         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
70587         raise in the comment.
70588         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70589         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70590         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
70592 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
70594         [BZ #12811]
70595         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
70596         grow the buffers more if it already has to be sufficient.
70597         (build_wcs_upper_buffer): Likewise.
70598         * posix/regexec.c (check_matching): Likewise.
70599         (clean_state_log_if_needed): Likewise.
70600         (extend_buffers): Don't enlarge buffers beyond size of the input
70601         buffer.
70602         Patches mostly by Emil Wojak <emil@wojak.eu>.
70603         * posix/bug-regex32.c: New file.
70604         * posix/Makefile (tests): Add bug-regex32.
70606         * locale/findlocale.c (_nl_find_locale): Return right away if
70607         _nl_explode_name failed.
70608         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
70610         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
70612         * debug/xtrace.sh: Unify messages.
70613         * malloc/memusage.sh: Likewise.
70615         [BZ #12813]
70616         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
70617         time symbol from vDSO.  Substitute with vsyscall if not available.
70618         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
70619         __vdso_time.
70621         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
70622         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
70623         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
70624         Add sendmmsg and internal_sendmmsg.
70625         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
70626         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
70627         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
70629         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
70630         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
70631         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
70633 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
70635         [BZ #12813]
70636         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
70637         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
70638         available.
70639         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
70640         __vdso_getcpu.
70642         [BZ #12814]
70643         * iconvdata/Makefile (tests): Add bug-iconv9.
70644         * iconvdata/bug-iconv9.c: New file.
70646 2011-05-27  Andreas Schwab  <schwab@redhat.com>
70648         [BZ #12814]
70649         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
70651 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
70653         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70654         (struct user_regs_struct): Change intcs field back to cs.
70656 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
70658         * po/ja.po: Update from translation team.
70660 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
70662         [BZ #12795]
70663         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
70664         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
70666 2011-05-20  Andreas Schwab  <schwab@redhat.com>
70668         * stdlib/longlong.h: Update from GCC.
70670 2011-05-23  Andreas Schwab  <schwab@redhat.com>
70672         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
70673         parameter name.
70674         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
70675         Add parameter name.
70676         (__sysconf): Pass it down.
70678 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
70680         [BZ #12671]
70681         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
70682         some situations.
70683         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
70684         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
70685         add in in __libc_use_alloca calls.  Adjust callers.
70686         (glob): Use malloc in some situations.
70688         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
70689         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
70690         pltexit.
70692 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
70694         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
70695         and CLOCK_BOOTTIME_ALARM.
70697         [BZ #12782]
70698         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
70699         is returned.
70701         * string/_strerror.c (__strerror_r): Print negative errors as signed
70702         numbers.
70704         [BZ #12777]
70705         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
70706         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
70707         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
70709         * configure.in: Fix typo in redirection and correct removal of test
70710         files in two cases.
70712         [BZ #12788]
70713         * locale/setlocale.c (new_composite_name): Fix test to check for
70714         identical name of all categories.
70716         [BZ #12792]
70717         * libio/filedoalloc.c (local_isatty): New function.
70718         (_IO_file_doallocate): Use local_isatty.
70719         * stdio-common/perror.c (perror): In case a new stream is used
70720         forward the stream error.
70721         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
70722         error flag.
70724 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
70726         [BZ #11884]
70727         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
70728         alloca.
70729         * include/alloca.h (extend_alloca_account): Define.
70731         [BZ #11857]
70732         * posix/regex.h: Fix comments with documentation of user-accessible
70733         fields after compilation and describe correct free'ing of pattern
70734         after re_compile_pattern.
70735         Patch by Reuben Thomas <rrt@sc3d.org>.
70737 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
70739         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
70740         and -mno-altivec to prevent the compiler from using Altivec and/or
70741         VSX instructions when the corresponding registers are not available.
70743 2011-05-19  Andreas Schwab  <schwab@redhat.com>
70745         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
70747 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
70749         * libio/freopen.c (freopen): Use __dup2, not dup2.
70750         * libio/freopen64.c (freopen64): Likewise.
70752 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
70754         [BZ #12775]
70755         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
70756         * math/Makefile (tests): Add test-powl.
70757         (CFLAGS-test-powl.c): Define.
70758         * math/test-powl.c: New file.
70760 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
70762         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
70764 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
70766         [BZ #11837]
70767         * iconvdata/gb18030.c: Update to GB18020-2005.
70769 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
70771         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
70772         RE_SYNTAX_POSIX_AWK): Update to match recent development.
70773         Patch by Aharon Robbins <arnold@skeeve.com>.
70775         [BZ #11892]
70776         * stdlib/putenv.c (putenv): Don't always create copy of the variable
70777         on the stack.
70779         [BZ #11895]
70780         * misc/pselect.c (__pselect): Handle timeout value errors hidden
70781         through underflows.
70783         [BZ #12766]
70784         * misc/error.c (error_at_line): Ensure file_name and old_file_name
70785         point to strings before performing equality test for error_one_per_line
70786         mode.
70788         [BZ #11697]
70789         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
70791         [BZ #11820]
70792         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
70793         (struct user_fpregs_struct): Avoid __uint*_t types.
70795         [BZ #6420]
70796         * malloc/mtrace.c (tr_where): Add additional parameter to point to
70797         symbol info.  Use it instead of calling _dl_addr locally.
70798         (lock_and_info): New function.
70799         (tr_freehook): Call lock_and_info and pass symbol info as additional
70800         parameter to tr_where.
70801         (tr_mallochook): Likewise.
70802         (tr_reallochook): Likewise.
70803         (tr_memalignhook): Likewise.
70805         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
70806         used and couldn't be at all thread-safe.
70808 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
70810         * libio/freopen.c (freopen): Don't close old file descriptor
70811         before the new one is opened.  Instead dup the new file descriptor
70812         to the old one after the new stream is created.
70813         * libio/freopen64.c (freopen64): Likewise.
70814         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
70815         * libio/fileops.c (_IO_new_file_close_it): Handle new
70816         _IO_FLAGS2_NOCLOSE flag.
70817         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
70818         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
70819         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
70820         _IO_FLAGS2_NOCLOSE flag.
70821         * include/unistd.h: Add hidden_proto for dup3.
70822         Define __have_dup3.
70823         * io/dup3.c: Define hidden symbol.
70824         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
70826         [BZ #7101]
70827         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
70828         when an incomplete long option is used.
70829         * posix/tst-getopt_long1.c: New file.
70830         * posix/Makefile (tests): Add tst-getopt_long1.
70832         [BZ #10138]
70833         * scripts/config.guess: Update from autoconf-2.68.
70834         * scripts/config.sub: Likewise.
70836         [BZ #10157]
70837         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
70838         tests into ...
70839         (has_cpuclock): ...this.  New function.
70840         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
70841         macro here based on has_cpuclock code.
70843         [BZ #10149]
70844         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70845         First byte (not low byte) is now always NUL.
70846         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
70848         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
70849         Use non-cancelable interfaces.
70851         [BZ #9809]
70852         * locale/iso-639.def: Add entry for Sorani.
70854         [BZ #11901]
70855         * include/stdlib.h: Move include protection to the right place.
70856         Define abort_msg_s.  Declare __abort_msg with it.
70857         * stdlib/abort.c (__abort_msg): Adjust type.
70858         * assert/assert.c (__assert_fail_base): New function.  Majority
70859         of code from __assert_fail.  Allocate memory for __abort_msg with
70860         mmap.
70861         (__assert_fail): Now call __assert_fail_base.
70862         * assert/assert-perr.c: Remove bulk of implementation.  Use
70863         __assert_fail_base.
70864         * include/assert.hL Declare __assert_fail_base.
70865         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
70866         mmap.
70867         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
70869 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
70871         [BZ #11952]
70872         [BZ #12453]
70873         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
70874         until all modules are registered in the DTV.
70875         * elf/Makefile: Add rules to build and run tst-tls19.
70876         * elf/tst-tls19.c: New file.
70877         * elf/tst-tls19mod1.c: New file.
70878         * elf/tst-tls19mod2.c: New file.
70879         * elf/tst-tls19mod3.c: New file.
70880         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
70882         [BZ #12083]
70883         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
70884         correctly.
70886         [BZ #12601]
70887         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
70888         two-byte sequence errors.
70889         * iconvdata/Makefile (tests): Add bug-iconv8.
70890         * iconvdata/bug-iconv8.c: New file.
70892         [BZ #12626]
70893         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
70894         buf2 definition.
70896         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
70898         [BZ #12432]
70899         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
70900         (dummy_getcfa): New function.
70901         (init): Get _Unwind_GetCFA address, use dummy if not found.
70902         (backtrace_helper): In recursion check, also check whether CFA changes.
70903         (__backtrace): Completely initialize arg.
70905         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
70906         storing incomplete byte sequence in state object.  Avoid testing for
70907         guaranteed too small input if we know there is enough data available.
70909 2011-05-11  Andreas Schwab  <schwab@redhat.com>
70911         * Makeconfig (+link-pie): Indent.
70912         * Rules (binaries-pie): Define if $(have-fpie) and
70913         $(build-shared).
70914         (binaries-shared): Also filter out $(binaries-pie).
70915         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
70916         * nscd/Makefile (others-pie): Add nscd.
70917         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
70918         ($(objpfx)nscd): Remove command override.
70919         * login/Makefile (others-pie): Add pt_chown.
70920         ($(objpfx)pt_chown): Remove command override.
70921         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
70922         remove command overrides.
70924 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
70926         * libio/tst_putwc.c: Fix error messages.
70928         [BZ #12724]
70929         * libio/fileops.c (_IO_new_file_close_it): Always flush when
70930         currently writing and seek to current position when not.
70931         * libio/Makefile (tests): Add bug-fclose1.
70932         * libio/bug-fclose1.c: New file.
70934 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
70936         [BZ #12511]
70937         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
70938         don't set DF_1_NODELETE here.
70939         (do_lookup_x): When entering new entry test for copy relocation
70940         and if necessary set DF_1_NODELETE flag.
70941         * elf/tst-unique4.cc: New file.
70942         * elf/tst-unique4.h: New file.
70943         * elf/tst-unique4lib.cc: New file.
70944         * elf/Makefile: Add rules to build and run tst-unique4.
70945         Patch by Piotr Bury <pbury@goahead.com>.
70947 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
70949         [BZ #12052]
70950         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
70952         [BZ #12625]
70953         * misc/mntent_r.c (addmntent): Flush the stream after the output
70955         [BZ #12393]
70956         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
70957         (is_trusted_path_normalize): Skip initial colon.  Append slash
70958         to empty buffer.  Duplicate is_trusted_path code but allow
70959         constructed patch to be prefix.
70960         (is_dst): Allow $ORIGIN followed by /.
70961         (_dl_dst_substitute): Correct clearing of check_for_trusted.
70962         Correct testing of result of is_trusted_path_normalize
70963         (decompose_rpath): Fix warning.
70965 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
70967         [BZ #11257]
70968         * grp/initgroups.c (internal_getgrouplist): When we found the service
70969         list through the initgroups entry in nsswitch.conf do not always
70970         continue on a successful lookup.  Don't always use the
70971         __nss_group_database value if it is set.
70972         * nss/nsswitch.conf (initgroups): Change action for successful db
70973         lookup to continue for compatibility.
70975 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
70977         [BZ #11532]
70978         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
70979         and CP774 modules.
70980         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
70981         and CP774 modules.
70982         * iconvdata/tst-tables.sh: Likewise.
70983         * iconvdata/cp770.c: New file.
70984         * iconvdata/cp771.c: New file.
70985         * iconvdata/cp772.c: New file.
70986         * iconvdata/cp773.c: New file.
70987         * iconvdata/cp774.c: New file.
70988         * iconvdata/testdata/CP770: New file.
70989         * iconvdata/testdata/CP770..UTF8: New file.
70990         * iconvdata/testdata/CP771: New file.
70991         * iconvdata/testdata/CP771..UTF8: New file.
70992         * iconvdata/testdata/CP772: New file.
70993         * iconvdata/testdata/CP772..UTF8: New file.
70994         * iconvdata/testdata/CP773: New file.
70995         * iconvdata/testdata/CP773..UTF8: New file.
70996         * iconvdata/testdata/CP774: New file.
70997         * iconvdata/testdata/CP774..UTF8: New file.
70999         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
71000         END CHARMAP line.
71001         * iconvdata/gen-8bit-gap.sh: Likewise.
71002         * iconvdata/gen-8bit.sh: Likewise.
71004         * locale/iso-639.def: Add ary entry.
71006         [BZ #11258]
71007         * locale/C-translit.h.in: Add U20A1 transliteration.
71009         [BZ #12178]
71010         * locale/iso-639.def: Add wae entry.
71011         Patch by Kevin Bortis <bortis@translate-wae.ch>.
71013         [BZ #12545]
71014         * locale/programs/localedef.c (construct_output_path): Use ssize_t
71015         for n.
71017         [BZ #12711]
71018         * locale/C-translit.h.in: Add entry for U20B9.
71019         Patch by pravin.d.s@gmail.com.
71021 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
71023         [BZ #12713]
71024         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
71025         ENAMETOOLONG use generic getcwd.
71026         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
71027         in rtld.  Use *stat64.
71028         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
71029         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
71030         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
71031         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
71032         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
71033         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
71034         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
71035         __fstatat64 macros.
71036         * include/dirent.h: Add libc_hidden_proto for rewinddir.
71037         * dirent/rewinddir.c: Add libc_hidden_def.
71038         * sysdeps/mach/hurd/rewinddir.c: Likewise.
71039         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
71041         * include/dirent.h (__alloc_dir): Add flags parameter.
71042         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
71043         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
71044         __alloc_dir.
71045         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
71046         from fdopendir if O_CLOEXEC is already set.
71048 2011-03-15  Alan Modra  <amodra@gmail.com>
71050         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
71051         l_tls_firstbyte_offset non-zero.  Save padding offset in
71052         l_tls_firstbyte_offset for later use.
71053         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
71054         freeing static tls block.
71056 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
71058         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
71059         where #ifdef was intended.  The intent is to prevent ARG_MAX from
71060         being defined by the kernel headers.
71062 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
71064         [BZ #12734]
71065         * resolv/resolv.h: Define RES_NOTLDQUERY.
71066         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
71067         no-tld-query and set RES_NOTLDQUERY.
71068         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
71069         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
71070         modern BIND to search name as TLD unless forbidden.
71072 2011-05-07  Petr Baudis  <pasky@suse.cz>
71073             Ulrich Drepper  <drepper@gmail.com>
71075         [BZ #12393]
71076         * elf/dl-load.c (fillin_rpath): Move trusted path check...
71077         (is_trusted_path): ...to here.
71078         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
71079         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
71080         using is_trusted_path_normalize() in setuid scripts.
71082 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
71084         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
71085         __BEGIN/__END_DECLS.
71087 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
71089         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
71090         NSS_STATUS_NOTFOUND if no record was found.
71092 2011-05-05  Andreas Schwab  <schwab@redhat.com>
71094         * sunrpc/Makefile (headers): Add rpc/netdb.h.
71095         (headers-not-in-tirpc): Remove rpc/netdb.h
71096         * resolv/netdb.h: Revert last change.
71098 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
71100         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
71101         circular dependency between libgcc.a and libc.a.
71103 2011-05-05  Andreas Schwab  <schwab@redhat.com>
71105         * resolv/netdb.h: Don't include <rpc/netdb.h>.
71106         * nis/Makefile: Don't install rpcsvc/*.
71107         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
71108         instead of <rpc/types.h>.
71109         (MAXHOSTNAMELEN): Define.
71111 2011-05-03  Andreas Schwab  <schwab@redhat.com>
71113         * elf/ldconfig.c (add_dir): Don't crash on empty path.
71115 2011-04-28  Maciej Babinski  <mbabinski@google.com>
71117         [BZ #12714]
71118         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
71119         gethostbyname4_r when IPv6 results are possible.
71121 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
71123         [BZ #12723]
71124         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
71125         _PC_PIPE_BUF handling.
71127 2011-04-30  Bruno Haible  <bruno@clisp.org>
71129         [BZ #12717]
71130         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
71131         * resolv/netdb.h (getnameinfo): Change type of flags parameter
71132         to 'int'.
71133         * inet/getnameinfo.c (getnameinfo): Likewise.
71135 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
71137         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
71138         to groups setting in database lookup.
71139         * nss/nsswitch.conf: Add initgroups entry.
71141 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
71143         [BZ #12685]
71144         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
71145         mode string.
71146         Patch by Eric Blake <eblake@redhat.com>.
71148 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
71150         * sunrpc/Makefile (need-export-routines): Add svc_run.
71151         (routines): Remove svc_run.
71152         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
71153         * sunrpc/clnt_perr.c (clnt_perrno): Export.
71154         * sunrpc/svc_run.c (svc_run): Likewise.
71155         * sunrpc/svc_udp.c (svcudp_create): Likewise.
71157 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
71159         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
71160         problem in reallocation in last patch.
71162 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
71164         * sunrpc/Makefile: Move inclusion of Rules.
71166 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
71168         * nss/nss_files/files-initgroups.c: New file.
71169         * nss/Makefile (libnss_files-routines): Add files-initgroups.
71170         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
71171         _nss_files_initgroups_dyn.
71173 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
71175         * elf/elf.h (R_ARM_IRELATIVE): Define.
71177 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
71179         * po/ru.po: Update from translation team.
71181 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
71183         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
71184         dependencies.
71186 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
71188         [BZ #12653]
71189         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
71190         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
71191         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71192         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
71193         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
71195 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
71197         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
71198         differing bytes.
71199         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
71200         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
71201         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71203 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
71205         [BZ #12420]
71206         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
71207         storing it.
71208         * stdlib/bug-getcontext.c: New file.
71209         * stdlib/Makefile: Add rules to build and run bug-getcontext.
71211 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71213         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
71214         instructions into .machine "z9-109".
71215         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
71216         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
71218 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71220         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
71221         between environment variables and auxiliary vector.
71223 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
71225         * Makefile: Add rules to build linkobj/libc.so.
71226         * include/libc-symbols.h: Define libc_hidden_nolink.
71227         * include/rpc/auth.h: Mark functions which are to be hidden.
71228         * include/rpc/auth_des.h: Likewise.
71229         * include/rpc/auth_unix.h: Likewise.
71230         * include/rpc/clnt.h: Likewise.
71231         * include/rpc/des_crypt.h: Likewise.
71232         * include/rpc/key_prot.h: Likewise.
71233         * include/rpc/pmap_clnt.h: Likewise.
71234         * include/rpc/pmap_prot.h: Likewise.
71235         * include/rpc/pmap_rmt.h: Likewise.
71236         * include/rpc/rpc_msg.h: Likewise.
71237         * include/rpc/svc.h: Likewise.
71238         * include/rpc/svc_auth.h: Likewise.
71239         * include/rpc/xdr.h: Likewise.
71240         * nis/Makefile: Link all DSOs against linkobj/libc.so.
71241         * nss/Makefile: Likewise.
71242         * sunrpc/Makefile: Don't install headers.  Build library with normal
71243         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
71244         * sunrpc/auth_des.c: Hide exported symbols by default, export some
71245         for the compat linking library.  Remove use of INTDEF/INTUSE.
71246         * sunrpc/auth_none.c: Likewise.
71247         * sunrpc/auth_unix.c: Likewise.
71248         * sunrpc/authdes_prot.c: Likewise.
71249         * sunrpc/authuxprot.c: Likewise.
71250         * sunrpc/clnt_gen.c: Likewise.
71251         * sunrpc/clnt_perr.c: Likewise.
71252         * sunrpc/clnt_raw.c: Likewise.
71253         * sunrpc/clnt_simp.c: Likewise.
71254         * sunrpc/clnt_tcp.c: Likewise.
71255         * sunrpc/clnt_udp.c: Likewise.
71256         * sunrpc/clnt_unix.c: Likewise.
71257         * sunrpc/des_crypt.c: Likewise.
71258         * sunrpc/des_soft.c: Likewise.
71259         * sunrpc/get_myaddr.c: Likewise.
71260         * sunrpc/key_call.c: Likewise.
71261         * sunrpc/key_prot.c: Likewise.
71262         * sunrpc/netname.c: Likewise.
71263         * sunrpc/pm_getmaps.c: Likewise.
71264         * sunrpc/pm_getport.c: Likewise.
71265         * sunrpc/pmap_clnt.c: Likewise.
71266         * sunrpc/pmap_prot.c: Likewise.
71267         * sunrpc/pmap_prot2.c: Likewise.
71268         * sunrpc/pmap_rmt.c: Likewise.
71269         * sunrpc/publickey.c: Likewise.
71270         * sunrpc/rpc_cmsg.c: Likewise.
71271         * sunrpc/rpc_common.c: Likewise.
71272         * sunrpc/rpc_dtable.c: Likewise.
71273         * sunrpc/rpc_prot.c: Likewise.
71274         * sunrpc/rpc_thread.c: Likewise.
71275         * sunrpc/rtime.c: Likewise.
71276         * sunrpc/svc.c: Likewise.
71277         * sunrpc/svc_auth.c: Likewise.
71278         * sunrpc/svc_authux.c: Likewise.
71279         * sunrpc/svc_raw.c: Likewise.
71280         * sunrpc/svc_run.c: Likewise.
71281         * sunrpc/svc_simple.c: Likewise.
71282         * sunrpc/svc_tcp.c: Likewise.
71283         * sunrpc/svc_udp.c: Likewise.
71284         * sunrpc/svc_unix.c: Likewise.
71285         * sunrpc/svcauth_des.c: Likewise.
71286         * sunrpc/xcrypt.c: Likewise.
71287         * sunrpc/xdr.c: Likewise.
71288         * sunrpc/xdr_array.c: Likewise.
71289         * sunrpc/xdr_float.c: Likewise.
71290         * sunrpc/xdr_intXX_t.c: Likewise.
71291         * sunrpc/xdr_mem.c: Likewise.
71292         * sunrpc/xdr_rec.c: Likewise.
71293         * sunrpc/xdr_ref.c: Likewise.
71294         * sunrpc/xdr_sizeof.c: Likewise.
71295         * sunrpc/xdr_stdio.c: Likewise.
71297 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
71299         [BZ #12650]
71300         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
71301         * sysdeps/ia64/dl-tls.h: Likewise.
71302         * sysdeps/powerpc/dl-tls.h: Likewise.
71303         * sysdeps/s390/dl-tls.h: Likewise.
71304         * sysdeps/sh/dl-tls.h: Likewise.
71305         * sysdeps/sparc/dl-tls.h: Likewise.
71306         * sysdeps/x86_64/dl-tls.h: Likewise.
71307         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
71309 2011-03-14  Andreas Schwab  <schwab@redhat.com>
71311         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
71312         rpath element also skip the following colon.
71313         (expand_dynamic_string_token): Add is_path parameter and pass
71314         down to DL_DST_REQUIRED and _dl_dst_substitute.
71315         (decompose_rpath): Call expand_dynamic_string_token with
71316         non-zero is_path.  Ignore empty rpaths.
71317         (_dl_map_object_from_fd): Call expand_dynamic_string_token
71318         with zero is_path.
71320 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
71322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
71323         Make cancelable.
71325 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
71327         [BZ #12655]
71328         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
71329         Patch by Filipe David Manana <fdmanana@apache.org>.
71331 2011-04-07  Andreas Schwab  <schwab@redhat.com>
71333         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
71334         Maintain aligned stack.
71335         (CHECK_RSP): Remove unused macro.
71337 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
71339         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
71340         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
71342 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
71344         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
71346         * include/features.h: Mention __USE_XOPEN2K8 in comment.
71348 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
71350         [BZ #12518]
71351         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
71352         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
71353         * sysdeps/x86_64/memmove.c: New file.
71354         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
71355         (memcpy): Renamed to ...
71356         (__new_memcpy): This.
71357         (memcpy): Provide GLIBC_2_14 memcpy.
71358         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
71359         (memcpy): Provide GLIBC_2_2_5 memcpy.
71361 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71363         [BZ #12631]
71364         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
71366 2011-03-30  Andreas Schwab  <schwab@redhat.com>
71368         * misc/syncfs.c: New file.
71369         * misc/Makefile (routines): Add syncfs.
71370         * posix/unistd.h: Declare syncfs.
71371         * sysdeps/unix/syscalls.list: Add syncfs.
71373 2011-04-01  Andreas Schwab  <schwab@redhat.com>
71375         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
71376         open_by_handle_at.
71377         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
71378         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71379         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71380         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71381         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71382         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
71383         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71385 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71387         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
71388         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71389         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
71390         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71391         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71392         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71393         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71395         * io/Makefile: Compile fallocate.c, fallocate64.c, and
71396         sync_file_range.c with -fexceptions.
71397         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
71398         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
71399         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
71400         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
71401         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
71402         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
71403         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
71404         sync_file_range as cancellation point
71405         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
71406         now a wrapper around __call_sync_file_range with cancellation handling.
71407         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
71408         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
71409         function name to __call_sync_file_range.
71410         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
71411         Add call_sync_file_range.
71413 2011-04-01  Andreas Schwab  <schwab@redhat.com>
71415         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71416         bits/timex.h.
71418 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
71420         * iconv/iconv.h: Fix typo in comment.
71421         * io/fcntl.h: Likewise.
71422         * libio/stdio.h: Likewise.
71423         * posix/spawn.h: Likewise.
71424         * posix/unistd.h: Likewise.
71425         * stdlib/stdlib.h: Likewise.
71426         * time/time.h: Likewise.
71427         * wcsmbs/wchar.h: Likewise.
71429         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
71430         open_by_handle): Add.
71431         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
71432         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
71433         Augment a few comments.
71434         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
71435         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
71436         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
71437         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
71438         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
71439         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
71440         open_by_handle.
71442         * io/fcntl.h (AT_EMPTY_PATH): Define.
71444 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
71446         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
71447         * sysdeps/unix/sysv/linux/bits/time.h: New file.
71448         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
71449         to...
71450         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
71451         * Versions.def: Add GLIBC_2.14.
71452         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
71453         Export.
71455 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
71457         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
71458         round counter.
71459         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71461 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71463         [BZ #12597]
71464         * string/test-strncmp.c (do_page_test): New function.
71465         (check2): Likewise.
71466         (test_main): Call check2.
71467         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
71469 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
71471         [BZ #12587]
71472         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
71473         Handle cache information in CPU leaf 4.
71474         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
71476 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
71478         [BZ #12583]
71479         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
71480         character representation.
71481         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
71483 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
71485         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
71486         END(__isnan) to END(__isnanf) to match function entry point/label
71487         EALIGN(__isnanf,...).
71489 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
71491         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
71493 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
71495         [BZ #12510]
71496         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
71497         copy from the symbol referenced in the relocation to initialize the
71498         used variable.
71499         Patch by Piotr Bury <pbury@goahead.com>.
71500         * elf/Makefile: Add rules to build and tst-unique3.
71501         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
71502         * elf/tst-unique3.cc: New file.
71503         * elf/tst-unique3.h: New file.
71504         * elf/tst-unique3lib.cc: New file.
71505         * elf/tst-unique3lib2.cc: New file.
71507         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
71509 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
71511         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
71512         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
71513         to _start.
71515 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
71517         * elf/dl-load.c (_dl_map_object): If we are looking for the first
71518         to-be-loaded object along a path to loader is ld.so.
71520 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
71521             Ulrich Drepper  <drepper@gmail.com>
71523         * sysdeps/x86_64/memset.S: After aligning destination, code
71524         branches to different locations depending on the value of
71525         misalignment, when multiarch is enabled. Fix this.
71527 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
71529         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
71530         Set _x86_64_preferred_memory_instruction for AMD processsors.
71531         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71532         Set bit_Prefer_SSE_for_memop for AMD processors.
71534 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
71536         * libio/fmemopen.c (fmemopen): Optimize a bit.
71538 2011-03-03  Andreas Schwab  <schwab@redhat.com>
71540         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
71542 2011-03-03  Roland McGrath  <roland@redhat.com>
71544         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
71546 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
71548         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
71549         __bzero_ultra1 instead of __memset_ultra1.
71551 2011-02-23  Andreas Schwab  <schwab@redhat.com>
71552             Ulrich Drepper  <drepper@gmail.com>
71554         [BZ #12509]
71555         * include/link.h (struct link_map): Add l_orig_initfini.
71556         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
71557         returning unsuccessfully.
71558         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
71559         close of a file loaded at startup, restore the original l_initfini
71560         list.
71561         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
71562         list, store the pointer.
71563         * elf/Makefile ($(objpfx)noload-mem): New rule.
71564         (noload-ENV): Define.
71565         (tests): Add $(objpfx)noload-mem.
71566         * elf/noload.c: Include <memcheck.h>.
71567         (main): Call mtrace.  Close all opened handles.
71569 2011-02-17  Andreas Schwab  <schwab@redhat.com>
71571         [BZ #12454]
71572         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
71573         dependencies are missing.
71575 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71577         Fix __if_freereq crash: Unlike the generic version which uses free,
71578         Hurd needs munmap.
71579         * sysdeps/mach/hurd/ifreq.h: New file.
71581 2011-01-27  Petr Baudis  <pasky@suse.cz>
71582             Ulrich Drepper  <drepper@gmail.com>
71584         [BZ 12445]#
71585         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
71586         to extend_alloca().
71587         * stdio-common/bug23.c: New file.
71588         * stdio-common/Makefile (tests): Add bug23.
71590 2010-09-28  Andreas Schwab  <schwab@redhat.com>
71591             Ulrich Drepper  <drepper@gmail.com>
71593         [BZ #12489]
71594         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
71595         before performing relro protection.  At old place add assertion
71596         to make sure nothing changed.
71598 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
71599             Glauber de Oliveira Costa  <glommer@gmail.com>
71601         * elf/elf.h: Add new ARM TLS relocs.
71603 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
71605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
71606         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
71607         cast from r3.
71608         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
71609         'tests' variable.
71610         * sysdeps/wordsize-64/tst-writev.c: New file.
71612 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
71614         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
71615         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
71616         insns in _dl_start to prevent a TOC reference before relocs are
71617         resolved.
71619 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
71621         [BZ #12469]
71622         * Makeconfig: Remove RANLIB definition.
71623         * Makerules: Don't use RANLIB.
71624         * aclocal.m4: Remove ranlib test.
71625         * configure.in: No need to check for ranlib.
71626         * elf/rtld-Rules: Don't use RANLIB.
71628 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71630         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
71631         protection macro.
71632         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
71633         inclusion protection macro.
71635         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
71636         SIGRTMIN and SIGRTMAX and print information in that case only when
71637         SIGRTMIN is defined.
71639 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
71641         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
71642         arginfo fn returning -1.
71644         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
71645         and thousands string is zero terminated.
71647 2011-02-03  Andreas Schwab  <schwab@redhat.com>
71649         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
71650         sysdeps/unix/sysv/linux/bits/socket.h.
71652 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71654         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
71655         (__CPU_COUNT): Remove old macros.
71656         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
71657         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
71658         (__CPU_ALLOC, __CPU_FREE): Add macros.
71659         (__sched_cpualloc, __sched_cpufree): Add declarations.
71661 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
71663         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
71664         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
71665         * nscd/aicache.c (addhstaiX): Return timeout of added value.
71666         (readdhstai): Return value of addhstaiX call.
71667         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
71668         (addgrbyX): Return value returned by cache_addgr.
71669         (readdgrbyname): Return value returned by addgrbyX.
71670         (readdgrbygid): Likewise.
71671         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
71672         (addpwbyX): Return value returned by cache_addpw.
71673         (readdpwbyname): Return value returned by addhstbyX.
71674         (readdpwbyuid): Likewise.
71675         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
71676         (addservbyX): Return value returned by cache_addserv.
71677         (readdservbyname): Return value returned by addservbyX:
71678         (readdservbyport): Likewise.
71679         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
71680         (addhstbyX): Return value returned by cache_addhst.
71681         (readdhstbyname): Return value returned by addhstbyX.
71682         (readdhstbyaddr): Likewise.
71683         (readdhstbynamev6): Likewise.
71684         (readdhstbyaddrv6): Likewise.
71685         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
71686         (readdinitgroups): Return value returned by addinitgroupsX.
71687         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
71688         (prune_cache): Keep track of timeout value of re-added entries.
71689         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
71690         * nscd/nscd.h: Adjust prototypes of readd* functions.
71692 2011-02-04  Roland McGrath  <roland@redhat.com>
71694         * nis/nis_server.c (nis_servstate): Use the right name for 0.
71695         (nis_stats): Likewise.
71696         * nis/nis_modify.c (nis_modify): Likewise.
71697         * nis/nis_remove.c (nis_remove): Likewise.
71698         * nis/nis_add.c (nis_add): Likewise.
71700         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
71702         * posix/fnmatch_loop.c: Add some consts.
71704         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
71706 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
71708         [BZ #12460]
71709         * config.make.in (config-cflags-novzeroupper): Define.
71710         * configure.in: Substitute libc_cv_cc_novzeroupper.
71711         * elf/Makefile (AVX-CFLAGS): Define.
71712         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
71713         (CFLAGS-tst-auditmod4a.c): Likewise.
71714         (CFLAGS-tst-auditmod4b.c): Likewise.
71715         (CFLAGS-tst-auditmod6b.c): Likewise.
71716         (CFLAGS-tst-auditmod6c.c): Likewise.
71717         (CFLAGS-tst-auditmod7b.c): Likewise.
71718         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
71720 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
71722         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
71723         function to the callback.
71724         Patch partly by Jiri Olsa <jolsa@redhat.com>.
71726 2011-02-02  Andreas Schwab  <schwab@redhat.com>
71728         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
71729         of errno.
71731 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
71733         [BZ #11724]
71734         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
71735         of constructors.
71736         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
71737         of destructors.
71738         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
71740         [BZ #11724]
71741         * elf/Makefile: Add rules to build and run new test.
71742         * elf/tst-initorder.c: New file.
71743         * elf/tst-initorder.exp: New file.
71744         * elf/tst-initordera1.c: New file.
71745         * elf/tst-initordera2.c: New file.
71746         * elf/tst-initordera3.c: New file.
71747         * elf/tst-initordera4.c: New file.
71748         * elf/tst-initorderb1.c: New file.
71749         * elf/tst-initorderb2.c: New file.
71750         * elf/tst-order-a1.c: New file.
71751         * elf/tst-order-a2.c: New file.
71752         * elf/tst-order-a3.c: New file.
71753         * elf/tst-order-a4.c: New file.
71754         * elf/tst-order-b1.c: New file.
71755         * elf/tst-order-b2.c: New file.
71756         * elf/tst-order-main.c: New file.
71757         New test case by George Gensure <werkt0@gmail.com>.
71759 2010-10-01  Andreas Schwab  <schwab@redhat.com>
71761         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
71762         decoding ACE if AI_CANONIDN.
71764 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
71766         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
71768 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
71770         * version.h (RELEASE): Bump for 2.13 release.
71771         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
71773         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
71775         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
71776         MADV_NOHUGEPAGE.
71777         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
71778         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
71779         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
71780         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
71781         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
71782         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
71784         * posix/getconf.c: Update copyright year.
71785         * catgets/gencat.c: Likewise.
71786         * csu/version.c: Likewise.
71787         * debug/catchsegv.sh: Likewise.
71788         * debug/xtrace.sh: Likewise.
71789         * elf/ldconfig.c: Likewise.
71790         * elf/ldd.bash.in: Likewise.
71791         * elf/sprof.c (print_version): Likewise.
71792         * iconv/iconv_prog.c: Likewise.
71793         * iconv/iconvconfig.c: Likewise.
71794         * locale/programs/locale.c: Likewise.
71795         * locale/programs/localedef.c: Likewise.
71796         * malloc/memusage.sh: Likewise.
71797         * malloc/mtrace.pl: Likewise.
71798         * nscd/nscd.c (print_version): Likewise.
71799         * nss/getent.c: Likewise.
71801         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
71802         PF_CAIF, and PF_ALG.
71803         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71805 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
71807         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
71808         (modules-names): Use them.
71809         (ifunc-test-modules, ifunc-pie-tests): Define.
71810         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
71811         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
71812         (test-extras): Likewise.
71813         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
71814         $(compile-command.c).
71815         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
71816         (all-built-dso): Define.
71817         (check-textrel.out, check-execstack.out): Depend on it.
71819         * configure.in: Don't override --enable-multi-arch.
71821 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
71823         [BZ #6812]
71824         * nscd/hstcache.c (tryagain): Define.
71825         (cache_addhst): Return tryagain not notfound for temporary errors.
71826         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
71827         failed.
71829 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
71831         [BZ #10563]
71832         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
71833         to make the syscall.
71834         * sysdeps/unix/sysv/linux/setgroups.c: New file.
71836         [BZ #12378]
71837         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
71838         and fall back to matching as normal character if the string ends before
71839         the matching ']' is found.  This is what POSIX requires.
71840         * posix/testfnm.c: Adjust test result.
71841         * posix/globtest.sh: Adjust test result.  Add new test.
71842         * posix/tst-fnmatch.input: Likewise.
71843         * posix/tst-fnmatch2.c: Add new test.
71845 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
71847         * elf/Makefile (check-execstack): Revert last change.  Depend on
71848         check-execstack.h.
71849         (check-execstack.h): New target.
71850         (generated): Add check-execstack.h.
71851         * elf/check-execstack.c: Include "check-execstack.h".
71852         (main): Revert last change.
71853         (handle_file): Return zero if GNU_STACK is absent and
71854         DEFAULT_STACK_PERMS doesn't include PF_X.
71856 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
71858         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
71859         in child fails because the descriptor is already closed.
71860         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
71861         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
71862         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
71864         [BZ #12397]
71865         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
71866         syscall.
71868         [BZ #10484]
71869         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
71870         temporary buffer used to handle multi lookups locally.
71871         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
71873 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
71875         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
71876         loader is ld.so.
71878 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
71880         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
71881         alignment for SSE2.
71883 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
71885         [BZ #12394]
71886         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
71887         characters.  When rounding increased number of integer digits recompute
71888         number of groups.
71889         * stdio-common/tst-grouping.c: New file.
71890         * stdio-common/Makefile: Add rules to build and run tst-grouping.
71892 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
71894         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
71895         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
71897         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
71898         void.
71899         * bits/select.h: Likewise.
71901 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
71903         * po/ja.po: Update from translation team.
71905 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
71907         [BZ #11155]
71908         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
71909         implementation just like for lxstat, fxstatat, et al.
71911 2010-12-27  Jim Meyering  <meyering@redhat.com>
71913         [BZ #12348]
71914         * posix/regexec.c (build_trtable): Return failure indication upon
71915         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
71917 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
71919         [BZ #12201]
71920         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
71921         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
71922         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
71923         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
71925         [BZ #12207]
71926         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
71928         [BZ #12204]
71929         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
71930         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
71932 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
71934         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
71935         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
71936         script has SORT_BY_INIT_PRIORITY.
71937         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
71938         NO_CTORS_DTORS_SECTIONS is defined.
71939         * elf/soinit.c: Likewise.
71940         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
71941         NO_CTORS_DTORS_SECTIONS is defined.
71942         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
71943         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
71944         * sysdeps/sh/init-first.c: Likewise.
71945         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
71947 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
71949         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
71950         always use the slow path.
71952 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
71954         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
71955         similar rule which adds the sysdep directories to the header search in
71956         order to pick up the correct platform stackinfo.h.
71957         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
71958         perform test if it is, otherwise return successfully without testing.
71959         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
71960         DEFAULT_STACK_PERMS define in stackinfo.h.
71961         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
71962         defined in stackinfo.h.
71963         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
71964         DEFAULT_STACK_PERMS defined in stackinfo.h.
71965         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
71966         * sysdeps/ia64/stackinfo.h: Likewise.
71967         * sysdeps/s390/stackinfo.h: Likewise.
71968         * sysdeps/sh/stackinfo.h: Likewise.
71969         * sysdeps/sparc/stackinfo.h: Likewise.
71970         * sysdeps/x86_64/stackinfo.h: Likewise.
71971         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
71972         PF_X for powerpc64.  Retain PF_X for powerpc32.
71974 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
71976         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
71977         accurately.
71978         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
71979         GETDENTS_64BIT_ALIGNED.
71981 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
71983         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
71985 2010-12-10  Andreas Schwab  <schwab@redhat.com>
71987         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
71988         _GNU_SOURCE.
71990         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
71991         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
71992         Remove __restrict.
71993         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
71994         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
71996 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
71998         [BZ #11655]
71999         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
72000         are initialized.
72002 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
72004         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
72006 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
72008         * po/it.po: Update from translation team.
72010 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
72012         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
72013         unused codes.
72015 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
72017         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
72019 2010-11-24  Andreas Schwab  <schwab@redhat.com>
72021         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
72022         specially.
72023         (gaih_getanswer_slice): Likewise.
72025 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
72027         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
72029 2010-05-31  Petr Baudis  <pasky@suse.cz>
72031         [BZ #11149]
72032         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
72033         silently even in the chroot mode.
72035 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
72037         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
72038         last patch a bit.  Pretty printing
72040 2010-05-31  Petr Baudis <pasky@suse.cz>
72042         [BZ #10085]
72043         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
72044         initialization of skip_initgroups_dyn.
72046 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
72048         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
72049         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
72051 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
72053         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
72055 2010-11-11  Andreas Schwab  <schwab@redhat.com>
72057         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
72058         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
72059         (tst-fnmatch-ENV): Set MALLOC_TRACE.
72060         ($(objpfx)tst-fnmatch-mem): New rule.
72061         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
72062         * posix/tst-fnmatch.c (main): Call mtrace.
72064 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
72066         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72067         Support Intel processor model 6 and model 0x2c.
72069 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
72071         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
72072           signed comparison.
72074 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
72076         [BZ #12205]
72077         * string/test-strncasecmp.c (check_result): New function.
72078         (do_one_test): Use it.
72079         (check1): New function.
72080         (test_main): Use it.
72081         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
72082         Support strcasecmp and strncasecmp.
72084 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
72086         [BZ #12194]
72087         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
72088         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72090 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
72092         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
72093         IFUNC support.
72094         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72095         memset-x86-64.
72096         * sysdeps/x86_64/multiarch/bzero.S: New file.
72097         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
72098         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
72099         * sysdeps/x86_64/multiarch/memset.S: New file.
72100         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
72101         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72102         Set bit_Prefer_SSE_for_memop for Intel processors.
72103         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
72104         Define.
72105         (index_Prefer_SSE_for_memop): Define.
72106         (HAS_PREFER_SSE_FOR_MEMOP): Define.
72108 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
72110         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
72111         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
72113 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
72115         [BZ #12191]
72116         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72117         (__x86_64_raw_data_cache_size_half): Likewise.
72118         (__x86_64_raw_shared_cache_size): Likewise.
72119         (__x86_64_raw_shared_cache_size_half): Likewise.
72121         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
72122         (__x86_64_raw_data_cache_size_half): Likewise.
72123         (__x86_64_raw_shared_cache_size): Likewise.
72124         (__x86_64_raw_shared_cache_size_half): Likewise.
72125         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
72126         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
72127         and __x86_64_raw_shared_cache_size_half.  Round
72128         __x86_64_data_cache_size_half, __x86_64_data_cache_size
72129         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
72130         to multiple of 256 bytes.
72132 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
72134         [BZ #12167]
72135         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
72136         of inacessible symlinks.  Verify result of symlink before returning it.
72137         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
72138         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
72140 2010-10-28  Erich Ritz  <erichritz@gmail.com>
72142         * math/math.h (isinf): Fix typo in comment.
72144 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
72146         * po/da.po: Update from translation team.
72148 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
72150         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
72151         is added to the list.
72153 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72154             Ulrich Drepper  <drepper@gmail.com>
72156         * elf/dl-object.c (_dl_new_object): Don't append the new object to
72157         the global list here.  Move code to...
72158         (_dl_add_to_namespace_list): ...here.  New function.
72159         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
72160         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
72161         * elf/dl-load.c (lose): Don't remove the element from the list.
72162         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
72163         (_dl_map_object): Likewise.
72165 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
72167         [BZ #12159]
72168         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
72169         into all bytes of SSE register.
72170         Patch by Richard Li <richardpku@gmail.com>.
72172 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
72174         [BZ #12140]
72175         * malloc/malloc.c (_int_free): Fill correct number of bytes when
72176         perturbing.
72178 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
72180         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
72181         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
72182         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
72183         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
72185         submachine.
72186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
72188 2010-10-22  Andreas Schwab  <schwab@redhat.com>
72190         * include/dlfcn.h (__RTLD_SECURE): Define.
72191         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
72192         mode & __RTLD_SECURE instead.
72193         (open_path): Rename preloaded parameter to secure.
72194         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
72195         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
72196         * elf/dl-deps.c (openaux): Likewise.
72197         * elf/rtld.c (struct map_args): Remove is_preloaded.
72198         (map_doit): Don't use it.
72199         (dl_main): Likewise.
72200         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
72201         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
72203 2010-09-09  Andreas Schwab  <schwab@redhat.com>
72205         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
72206         (sysd-rules-targets): Remove duplicates.
72207         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
72208         rtld-%.$o dependency.
72210 2010-10-18  Andreas Schwab  <schwab@redhat.com>
72212         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
72213         _dl_map_object do it.
72215 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
72217         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
72218         fast fma builtins, define the macros in the C99 standard.
72219         (FP_FAST_FMAF): Likewise.
72220         (FP_FAST_FMAL): Likewise.
72221         * sysdeps/x86_64/bits/mathdef.h: Likewise.
72223         * bits/mathdef.h: Update copyright year.
72224         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72226 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
72228         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
72229         builtins, define the macros in the C99 standard.
72230         (FP_FAST_FMAF): Likewise.
72231         (FP_FAST_FMAL): Likewise.
72232         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
72233         multiply/add.
72234         (FP_FAST_FMAF): Likewise.
72236 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
72238         [BZ #3268]
72239         * math/libm-test.inc (fma_test): Some new testcases.
72240         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
72241         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
72242         y and infinite z.  Do multiplication by C already in long double.
72243         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
72244         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
72245         y and infinite z.  Do bitwise or of inexact bit into u.d.
72246         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
72247         * sysdeps/i386/fpu/s_fmaf.S: Removed.
72248         * sysdeps/i386/fpu/s_fma.S: Removed.
72249         * sysdeps/i386/fpu/s_fmal.S: Removed.
72251 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
72253         [BZ #3268]
72254         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
72255         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
72256         computation is not scheduled after fetestexcept.  Fix value
72257         of minimum denormal long double.
72259 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
72261         [BZ #3268]
72262         * math/libm-test.inc (fma_test): Add some more tests.
72263         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
72264         correctly.
72266 2010-10-15  Andreas Schwab  <schwab@redhat.com>
72268         * scripts/data/localplt-s390-linux-gnu.data: New file.
72269         * scripts/data/localplt-s390x-linux-gnu.data: New file.
72271 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
72273         [BZ #3268]
72274         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
72275         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
72276         instead of dbl-64.
72277         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
72278         inlines.
72279         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
72280         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
72281         if one of x and y is very large and the other is subnormal.
72282         * sysdeps/s390/fpu/s_fmaf.c: New file.
72283         * sysdeps/s390/fpu/s_fma.c: New file.
72284         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
72285         * sysdeps/powerpc/fpu/s_fma.S: New file.
72286         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
72287         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
72288         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
72290 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
72292         [BZ #3268]
72293         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
72294         fma tests.
72295         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
72296         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
72297         * sysdeps/i386/i686/multiarch/s_fma.c: Include
72298         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
72299         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
72300         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
72301         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
72303 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
72305         [BZ #12078]
72306         * posix/regcomp.c (parse_branch): One more memory leak plugged.
72307         * posix/bug-regex31.input: Add test case.
72309 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
72311         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
72312         * posix/bug-regex31.input: New file.
72314         [BZ #12078]
72315         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
72316         (parse_sub_exp): Fix last change, use postorder.
72318         * posix/bug-regex31.c: New file.
72319         * posix/Makefile: Add rules to build and run bug-regex31.
72321         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
72323         [BZ #12078]
72324         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
72326         [BZ #12108]
72327         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
72328         to have entries in sys_siglist.
72330         [BZ #12093]
72331         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
72332         be NULL.
72334 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
72336         [BZ #3268]
72337         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
72338         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
72339         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
72340         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
72341         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
72342         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
72343         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
72344         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
72345         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
72346         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
72347         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
72348         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
72349         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
72350         * math/ftestexcept.c (fetestexcept): Likewise.
72351         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
72352         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
72353         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
72354         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
72355         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
72356         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
72357         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
72359 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
72361         [BZ #12107]
72362         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
72363         newline.
72365 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
72367         * string/bug-strstr1.c: New file.
72368         * string/Makefile: Add rules to build and run bug-strstr1.
72370 2010-10-05  Eric Blake  <eblake@redhat.com>
72372         [BZ #12092]
72373         * string/str-two-way.h (two_way_long_needle): Always clear memory
72374         when skipping input due to the shift table.
72376 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
72378         [BZ #12005]
72379         * malloc/mcheck.c: Handle large requests.
72381         [BZ #12077]
72382         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
72383         for strncmp and strncasecmp.
72384         * string/stratcliff.c: Add tests for strcmp and strncmp.
72385         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
72387 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
72389         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
72390         __set_fpscr.
72392 2010-09-30  Andreas Jaeger  <aj@suse.de>
72394         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
72395         (CGROUP_SUPER_MAGIC): Define.
72396         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72397         Handle btrfs and cgroup file systems.
72398         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
72399         Likewise.
72401 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
72403         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
72404         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
72406 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72408         [BZ #12067]
72409         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
72410         trying to locate the ELF header.
72412 2010-09-27  Andreas Schwab  <schwab@redhat.com>
72414         [BZ #11611]
72415         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
72416         Mask out sign-bit copies when constructing f_fsid.
72418 2010-09-24  Petr Baudis <pasky@suse.cz>
72420         * debug/stack_chk_fail_local.c: Add missing licence exception.
72421         * debug/warning-nop.c: Likewise.
72423 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
72425         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
72426         implementing getdents64 using getdents syscall, set d_type if
72427         __ASSUME_GETDENTS32_D_TYPE.
72429 2010-09-16  Andreas Schwab  <schwab@redhat.com>
72431         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
72432         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
72434 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
72436         [BZ #12037]
72437         * posix/unistd.h: Undo change of feature selection for ftruncate from
72438         2010-01-11.
72440 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
72442         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
72443         detection.
72445 2010-09-20  Andreas Schwab  <schwab@redhat.com>
72447         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
72448         fanotify_mark.
72449         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72451 2010-09-14  Andreas Schwab  <schwab@redhat.com>
72453         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
72454         variables after CHECK_SP call.
72455         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
72457 2010-09-13  Andreas Schwab  <schwab@redhat.com>
72458             Ulrich Drepper  <drepper@redhat.com>
72460         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
72461         re-relocationg ld.so.
72462         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
72463         _dl_init_paths call.
72464         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
72465         here anymore.
72467 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
72469         * resolv/res_init.c (__res_vinit): Count the default server we added.
72471 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
72472             Ulrich Drepper  <drepper@redhat.com>
72474         [BZ #11968]
72475         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
72476         (____longjmp_chk): Use %ebx for saving value across system call.
72477         Add unwind info.
72479 2010-09-06  Andreas Schwab  <schwab@redhat.com>
72481         * manual/Makefile: Don't mix pattern rules with normal rules.
72483 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
72485         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
72486         operation.
72487         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
72488         * libio/iofopncook.c (_IO_cookie_init): Likewise.
72489         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
72490         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
72491         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
72492         Likewise.
72494 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
72496         [BZ #11979]
72497         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
72498         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
72500 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
72502         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
72503         * sysdeps/x86_64/addmul_1.S: Likewise.
72504         * sysdeps/x86_64/lshift.S: Likewise.
72505         * sysdeps/x86_64/mul_1.S: Likewise.
72506         * sysdeps/x86_64/rshift.S: Likewise.
72507         * sysdeps/x86_64/sub_n.S: Likewise.
72508         * sysdeps/x86_64/submul_1.S: Likewise.
72510 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72512         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
72513         Define __sched_param instead of SCHED_* and sched_param when
72514         <bits/sched.h> is included with __need_schedparam defined.
72515         * bits/sched.h [__need_schedparam]
72516         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
72517         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
72518         (__defined_schedparam): Define to 1.
72519         (__sched_param): New structure, identical to sched_param.
72520         (__need_schedparam): Undefine.
72522 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
72524         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
72525         (epoll_create1): Declare.
72527         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
72529 2010-08-31  Andreas Schwab  <schwab@redhat.com>
72531         [BZ #7066]
72532         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
72533         shifting retval into place.
72535 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
72537         * nis/rpcsvc/nis.h: Update copyright notice.
72538         * nis/rpcsvc/nis.x: Likewise.
72539         * nis/rpcsvc/nis_callback.h: Likewise.
72540         * nis/rpcsvc/nis_callback.x: Likewise.
72541         * nis/rpcsvc/nis_object.x: Likewise.
72542         * nis/rpcsvc/nis_tags.h: Likewise.
72543         * nis/rpcsvc/yp.h: Likewise.
72544         * nis/rpcsvc/yp.x: Likewise.
72545         * nis/rpcsvc/ypupd.h: Likewise.
72546         * nis/yp_xdr.c: Likewise.
72547         * nis/ypupdate_xdr.c: Likewise.
72549         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
72550         mainly the body of pmap_getport.  Add parameters to specify timeouts.
72551         (pmap_getport): Use __libc_rpc_getport.
72552         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
72553         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
72554         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
72556 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
72558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
72559         fanotify_mark.
72561 2010-08-27  Roland McGrath  <roland@redhat.com>
72563         * sysdeps/i386/i686/multiarch/Makefile
72564         (CFLAGS-varshift.c): New variable.
72566 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
72568         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
72569         * sysdeps/i386/i686/multiarch/varshift.c: New file.
72571         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
72573         * sysdeps/x86_64/strlen.S: Minimal code improvement.
72575 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
72577         * sysdeps/x86_64/strlen.S: Unroll the loop.
72578         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72579         strlen-sse2 strlen-sse2-bsf.
72580         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
72581         __strlen_no_bsf if bit_Slow_BSF is set.
72582         (__strlen_sse42): Removed.
72583         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
72584         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
72586 2010-08-25  Roland McGrath  <roland@redhat.com>
72588         * sysdeps/x86_64/multiarch/varshift.S: File removed.
72589         * sysdeps/x86_64/multiarch/varshift.c: New file.
72590         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
72591         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
72592         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
72593         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
72595 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
72597         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72598         strlen-sse2 strlen-sse2-bsf.
72599         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
72600         __strlen_sse2_bsf if bit_Slow_BSF is unset.
72601         (__strlen_sse2): Removed.
72602         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
72603         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
72604         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
72605         bit_Slow_BSF for Atom.
72606         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
72607         (index_Slow_BSF): Define.
72608         (HAS_SLOW_BSF): Define.
72610 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
72612         [BZ #10851]
72613         * resolv/res_init.c (__res_vinit): When no server address at all
72614         is given default to loopback.
72616 2010-08-24  Roland McGrath  <roland@redhat.com>
72618         * configure.in: Remove config-name.h generation.
72619         * configure: Regenerated.
72620         * config-name.in: File removed.
72621         * scripts/config-uname.sh: New file.
72622         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
72623         ($(objdir)config-name.h): New target.
72625         * sunrpc/rpc_parse.h: Avoid nested comment.
72627 2010-08-24  Richard Henderson  <rth@redhat.com>
72628             Ulrich Drepper  <drepper@redhat.com>
72629             H.J. Lu  <hongjiu.lu@intel.com>
72631         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
72632         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
72633         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
72634         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
72635         _mm_alignr_epi8 with _mm_loadu_si128.
72636         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
72637         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
72638         (__m128i_shift_right): Removed.
72639         * sysdeps/i386/i686/multiarch/varshift.h: New file.
72640         * sysdeps/i386/i686/multiarch/varshift.S: New file.
72641         * sysdeps/x86_64/multiarch/varshift.h: New file.
72642         * sysdeps/x86_64/multiarch/varshift.S: New file.
72644 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
72646         * configure.in: Move assembler checks to before sysdep dir checking.
72648 2010-08-20  Petr Baudis  <pasky@suse.cz>
72650         * LICENSES: Sync the sunrpc license.
72652 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
72654         * sunrpc/auth_des.c: Update copyright notice once again.
72655         * sunrpc/auth_none.c: Likewise.
72656         * sunrpc/auth_unix.c: Likewise.
72657         * sunrpc/authdes_prot.c: Likewise.
72658         * sunrpc/authuxprot.c: Likewise.
72659         * sunrpc/bindrsvprt.c: Likewise.
72660         * sunrpc/clnt_gen.c: Likewise.
72661         * sunrpc/clnt_perr.c: Likewise.
72662         * sunrpc/clnt_raw.c: Likewise.
72663         * sunrpc/clnt_simp.c: Likewise.
72664         * sunrpc/clnt_tcp.c: Likewise.
72665         * sunrpc/clnt_udp.c: Likewise.
72666         * sunrpc/clnt_unix.c: Likewise.
72667         * sunrpc/des_crypt.c: Likewise.
72668         * sunrpc/des_soft.c: Likewise.
72669         * sunrpc/get_myaddr.c: Likewise.
72670         * sunrpc/getrpcport.c: Likewise.
72671         * sunrpc/key_call.c: Likewise.
72672         * sunrpc/key_prot.c: Likewise.
72673         * sunrpc/openchild.c: Likewise.
72674         * sunrpc/pm_getmaps.c: Likewise.
72675         * sunrpc/pm_getport.c: Likewise.
72676         * sunrpc/pmap_clnt.c: Likewise.
72677         * sunrpc/pmap_prot.c: Likewise.
72678         * sunrpc/pmap_prot2.c: Likewise.
72679         * sunrpc/pmap_rmt.c: Likewise.
72680         * sunrpc/rpc/auth.h: Likewise.
72681         * sunrpc/rpc/auth_unix.h: Likewise.
72682         * sunrpc/rpc/clnt.h: Likewise.
72683         * sunrpc/rpc/des_crypt.h: Likewise.
72684         * sunrpc/rpc/key_prot.h: Likewise.
72685         * sunrpc/rpc/netdb.h: Likewise.
72686         * sunrpc/rpc/pmap_clnt.h: Likewise.
72687         * sunrpc/rpc/pmap_prot.h: Likewise.
72688         * sunrpc/rpc/pmap_rmt.h: Likewise.
72689         * sunrpc/rpc/rpc.h: Likewise.
72690         * sunrpc/rpc/rpc_des.h: Likewise.
72691         * sunrpc/rpc/rpc_msg.h: Likewise.
72692         * sunrpc/rpc/svc.h: Likewise.
72693         * sunrpc/rpc/svc_auth.h: Likewise.
72694         * sunrpc/rpc/types.h: Likewise.
72695         * sunrpc/rpc/xdr.h: Likewise.
72696         * sunrpc/rpc_clntout.c: Likewise.
72697         * sunrpc/rpc_cmsg.c: Likewise.
72698         * sunrpc/rpc_common.c: Likewise.
72699         * sunrpc/rpc_cout.c: Likewise.
72700         * sunrpc/rpc_dtable.c: Likewise.
72701         * sunrpc/rpc_hout.c: Likewise.
72702         * sunrpc/rpc_main.c: Likewise.
72703         * sunrpc/rpc_parse.c: Likewise.
72704         * sunrpc/rpc_parse.h: Likewise.
72705         * sunrpc/rpc_prot.c: Likewise.
72706         * sunrpc/rpc_sample.c: Likewise.
72707         * sunrpc/rpc_scan.c: Likewise.
72708         * sunrpc/rpc_scan.h: Likewise.
72709         * sunrpc/rpc_svcout.c: Likewise.
72710         * sunrpc/rpc_tblout.c: Likewise.
72711         * sunrpc/rpc_util.c: Likewise.
72712         * sunrpc/rpc_util.h: Likewise.
72713         * sunrpc/rpcinfo.c: Likewise.
72714         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
72715         * sunrpc/rpcsvc/key_prot.x: Likewise.
72716         * sunrpc/rpcsvc/klm_prot.x: Likewise.
72717         * sunrpc/rpcsvc/mount.x: Likewise.
72718         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
72719         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
72720         * sunrpc/rpcsvc/rex.x: Likewise.
72721         * sunrpc/rpcsvc/rstat.x: Likewise.
72722         * sunrpc/rpcsvc/rusers.x: Likewise.
72723         * sunrpc/rpcsvc/sm_inter.x: Likewise.
72724         * sunrpc/rpcsvc/spray.x: Likewise.
72725         * sunrpc/rpcsvc/yppasswd.x: Likewise.
72726         * sunrpc/rtime.c: Likewise.
72727         * sunrpc/svc.c: Likewise.
72728         * sunrpc/svc_auth.c: Likewise.
72729         * sunrpc/svc_authux.c: Likewise.
72730         * sunrpc/svc_raw.c: Likewise.
72731         * sunrpc/svc_run.c: Likewise.
72732         * sunrpc/svc_simple.c: Likewise.
72733         * sunrpc/svc_tcp.c: Likewise.
72734         * sunrpc/svc_udp.c: Likewise.
72735         * sunrpc/svc_unix.c: Likewise.
72736         * sunrpc/svcauth_des.c: Likewise.
72737         * sunrpc/xcrypt.c: Likewise.
72738         * sunrpc/xdr.c: Likewise.
72739         * sunrpc/xdr_array.c: Likewise.
72740         * sunrpc/xdr_float.c: Likewise.
72741         * sunrpc/xdr_mem.c: Likewise.
72742         * sunrpc/xdr_rec.c: Likewise.
72743         * sunrpc/xdr_ref.c: Likewise.
72744         * sunrpc/xdr_sizeof.c: Likewise.
72745         * sunrpc/xdr_stdio.c: Likewise.
72747         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
72748         handling.
72750 2010-08-19  Andreas Schwab  <schwab@redhat.com>
72752         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
72754 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
72756         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
72757         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
72758         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
72759         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
72760         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
72761         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
72762         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
72763         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
72764         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
72765         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
72766         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
72767         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
72768         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
72769         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
72771 2010-07-26  Anton Blanchard  <anton@samba.org>
72773         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
72774         * malloc/arena.c (heap_trim): Likewise.
72776 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
72778         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
72779         here.  Not...
72780         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
72781         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
72783 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
72785         * sysdeps/i386/elf/Makefile: New file.
72787 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
72789         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
72790         from fanotify_init.
72791         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
72792         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72794 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
72796         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
72797         of strncasecmp_l.
72798         * sysdeps/multiarch/strcmp.S: Likewise.
72800 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
72802         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72803         strncase_l-nonascii.
72804         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72805         Add strncase_l-ssse3.
72806         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
72807         * sysdeps/x86_64/strcmp.S: Likewise.
72808         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
72809         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
72810         * sysdeps/x86_64/strncase.S: New file.
72811         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
72812         * sysdeps/x86_64/strncase_l.S: New file.
72813         * string/Makefile (strop-tests): Add strncasecmp.
72814         * string/test-strncasecmp.c: New file.
72816         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
72817         warning.
72819         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
72820         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
72822 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
72824         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
72826 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
72828         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
72829         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
72830         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
72832 2010-05-01  Alan Modra  <amodra@gmail.com>
72834         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
72835         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
72836         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
72837         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
72838         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
72839         tidying.  Don't tail-call __sigjmp_save for static lib.
72840         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
72841         save location.
72842         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
72843         (CALL_MCOUNT): Add eh info, and nop after bl.
72844         (TAIL_CALL_SYSCALL_ERROR): New macro.
72845         (PSEUDO_RET): Use it.
72846         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
72847         Correct save location of integer regs and cr.
72848         (_dl_profile_resolve): Correct cr save location.  Delete nops
72849         after bl when SHARED.  Reduce cfi size a little by better
72850         placement of cfi directives.
72851         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
72852         make a stack frame.  Instead use parm save area as a temp.
72853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
72854         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
72855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
72856         Don't make a stack frame for parent, use parm save area.
72857         Increase child stack frame to 112 bytes.  Don't save unused reg,
72858         and adjust reg usage.  Set up cfi on error recovery and
72859         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
72860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
72861         (__makecontext): Add dummy nop after jump to exit.
72862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
72863         Use correct parm save area and cr save, reduce stack frame.
72864         Correct cfi for possible PSEUDO_RET frame setup.
72865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
72866         Branch to local label emitted by PSEUDO_RET rather than
72867         __syscall_error.
72869 2010-08-12  Andreas Schwab  <schwab@redhat.com>
72871         [BZ #11904]
72872         * locale/programs/locale.c (print_assignment): New function.
72873         (show_locale_vars): Use it.
72875 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
72877         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
72878         field.
72879         (struct statfs64): Likewise.
72880         (_STATFS_F_FLAGS): Define.
72881         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
72882         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72883         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
72884         (ST_VALID): Define locally.
72885         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
72886         __statvfs_getflags, use the provided value.
72887         * sysdeps/unix/sysv/linux/kernel-features.h: Define
72888         __ASSUME_STATFS_F_FLAGS.
72890         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
72892         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
72893         Add sys/fanotify.h.
72894         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
72895         fanotify_mask for GLIBC_2.13.
72896         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
72897         fanotify_init and fanotify_mark.
72898         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
72899         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
72901         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
72902         Add prlimit.
72903         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
72904         prlimit64 for GLIBC_2.13.
72905         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
72906         prlimit64.
72907         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
72908         syscall.
72909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
72910         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
72911         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
72912         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
72913         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
72914         add prlimit alias.
72915         * sysdeps/unix/sysv/linux/prlimit.c: New file.
72917         [BZ #11903]
72918         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
72919         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
72921         * nss/Makefile: Add rules to build and run tst-nss-test1.
72922         * shlib-versions: Add entry for libnss_test1.
72923         * nss/nss_test1.c: New file.
72924         * nss/tst-nss-test1.c: New file.
72926         * nss/nsswitch.c (__nss_database_custom): Define new variable.
72927         (__nss_configure_lookup): Set appropriate entry in
72928         __nss_configure_lookup to true.
72929         * nss/nsswitch.h: Define enum with indeces of databases in
72930         databases and __nss_database_custom arrays.  Declare
72931         __nss_database_custom.
72932         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
72933         to avoid using nscd when custom rules are installed.
72934         * nss/getXXbyYY_r.c: Likewise.
72935         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
72937         * nss/nss_files/files-parse.c: Whitespace fixes.
72939 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
72941         [BZ #11883]
72942         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
72943         * posix/fnmatch_loop.c: Likewise.
72945 2010-07-17  Andi Kleen  <ak@linux.intel.com>
72947         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
72948         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
72949         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
72950         * Versions.def [GLIBC_2.13]: Add.
72952 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
72954         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
72955         Also fail if tpwd after pwuid call is NULL.
72957 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72959         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
72960         when converting to ms.
72962 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72964         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
72965         EOPNOTSUPP errors with ENOTTY.
72966         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
72967         EOPNOTSUPP errors with ENOTTY.
72969 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
72971         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
72972         Add strcasecmp_l-ssse3.
72973         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
72974         strcasecmp.
72975         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
72976         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
72977         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
72979 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
72981         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
72983         * string/Makefile (strop-tests): Add strcasecmp.
72984         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
72985         strcasecmp_l-nonascii.
72986         (gen-as-const-headers): Add locale-defines.sym.
72987         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
72988         * sysdeps/x86_64/strcasecmp.S: New file.
72989         * sysdeps/x86_64/strcasecmp_l.S: New file.
72990         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
72991         * sysdeps/x86_64/locale-defines.sym: New file.
72992         * string/test-strcasecmp.c: New file.
72994         * string/test-strcasestr.c: Test both ends of the range of characters.
72995         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
72997 2010-07-29  Roland McGrath  <roland@redhat.com>
72999         [BZ #11856]
73000         * manual/locale.texi (Yes-or-No Questions): Fix example code.
73002 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
73004         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
73005         for ld.so.
73007 2010-07-27  Andreas Schwab  <schwab@redhat.com>
73009         * manual/memory.texi (Malloc Tunable Parameters): Document
73010         M_PERTURB.
73012 2010-07-26  Roland McGrath  <roland@redhat.com>
73014         [BZ #11840]
73015         * configure.in (-fgnu89-inline check): Set and substitute
73016         gnu89_inline, not libc_cv_gnu89_inline.
73017         * configure: Regenerated.
73018         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
73020 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
73022         * string/test-strnlen.c: New file.
73023         * string/Makefile (strop-tests): Add strnlen.
73024         * string/tester.c (test_strnlen): Add a few more test cases.
73025         * string/tst-strlen.c: Better error reporting.
73027         * sysdeps/x86_64/strnlen.S: New file.
73029 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
73031         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
73032         lower-latency instructions.
73034 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
73036         * string/test-strcasestr.c: New file.
73037         * string/test-strstr.c: New file.
73038         * string/Makefile (strop-tests): Add strstr and strcasestr.
73039         * string/str-two-way.h: Don't undefine MAX.
73040         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
73042 2010-07-21  Andreas Schwab  <schwab@redhat.com>
73044         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73045         strcasestr-nonascii.
73046         (CFLAGS-strcasestr-nonascii.c): Define.
73047         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
73048         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
73049         Remove unused attribute.
73051 2010-07-20  Roland McGrath  <roland@redhat.com>
73053         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
73054         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
73055         ld.so.cache was broken.  With it, there is no way to disable dsocaps
73056         like LD_HWCAP_MASK can disable hwcaps.
73058 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
73060         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
73062 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
73064         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
73065         call in strcasestr.
73066         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
73067         __strcasestr_sse42_nonascii.
73068         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
73069         strcasestr-nonascii.c.
73070         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
73072 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
73074         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
73075         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
73076         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
73077         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
73079 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
73081         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
73082         fcntl.
73084 2010-07-06  Andreas Schwab  <schwab@redhat.com>
73086         [BZ #11577]
73087         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
73088         dl_signal_cerror.
73090 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
73092         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
73093         _PC_PIPE_BUF using F_GETPIPE_SZ.
73095 2010-07-05  Roland McGrath  <roland@redhat.com>
73097         * manual/arith.texi (Rounding Functions): Fix rint description
73098         implicit in round description.
73100 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
73102         * elf/Makefile: Fix linking for a few tests to make recent linker
73103         happy.
73105 2010-06-30  Andreas Schwab  <schwab@redhat.com>
73107         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
73108         $(common-objpfx)libc_nonshared.a.
73110 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
73112         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
73113         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
73114         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73115         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73116         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
73117         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
73118         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73119         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
73121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
73122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
73123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
73124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
73125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
73126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
73127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
73128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
73129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
73130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
73131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
73132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
73133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
73134         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
73135         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
73136         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
73137         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
73138         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
73139         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
73140         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
73141         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
73142         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
73143         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
73144         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
73145         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
73146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
73147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
73148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
73149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
73150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
73151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
73152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
73153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
73154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
73155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
73156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
73157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
73158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
73159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
73161 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
73163         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
73164         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
73165         * string/memmove.c (memmove): Renamed to ...
73166         (MEMMOVE): ...this.  Default to memmove.
73167         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
73168         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
73169         (END_CHK): Define.
73170         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73171         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
73172         mempcpy-ssse3-back memmove-ssse3-back.
73173         * sysdeps/x86_64/multiarch/bcopy.S: New file .
73174         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
73175         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
73176         * sysdeps/x86_64/multiarch/memcpy.S: New file.
73177         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
73178         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
73179         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
73180         * sysdeps/x86_64/multiarch/memmove.c: New file.
73181         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
73182         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
73183         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
73184         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
73185         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
73186         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
73187         Define.
73188         (index_Fast_Copy_Backward): Define.
73189         (HAS_ARCH_FEATURE): Define.
73190         (HAS_FAST_REP_STRING): Define.
73191         (HAS_FAST_COPY_BACKWARD): Define.
73193 2010-06-21  Andreas Schwab  <schwab@redhat.com>
73195         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
73196         Restore proper fallback handling.
73198 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
73200         [BZ #11701]
73201         * posix/group_member.c (__group_member): Correct checking loop.
73203         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
73204         OOM in getpwuid_r correctly.  Return error number when the caller
73205         should return, otherwise -1.
73206         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
73207         call returning > 0 value.
73208         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
73210 2010-06-07  Andreas Schwab  <schwab@redhat.com>
73212         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
73213         libc_nonshared.a from targets in modules-names.
73215 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
73217         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
73218         requires it.
73220 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
73222         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
73223         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
73224         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
73225         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
73227 2010-06-02  Andreas Schwab  <schwab@redhat.com>
73229         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
73231 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
73233         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
73234         and F_GETPIPE_SZ.
73235         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73236         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73237         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73238         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73239         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73240         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73242 2010-06-14  Roland McGrath  <roland@redhat.com>
73244         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
73246 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
73248         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
73249         __REDIRECT followed by __THROW.
73250         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
73251         * posix/getopt.h (getopt): Likewise.
73253 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
73255         * hurd/lookup-at.c (__file_name_lookup_at): Accept
73256         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
73257         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
73258         in AT_FLAGS.
73259         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
73260         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
73262 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
73264         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
73266 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
73268         [BZ #11640]
73269         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73270         Properly check family and model.
73272 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
73274         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
73276 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
73278         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
73280 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
73282         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
73283         symbol reference.
73285 2010-05-19  Andreas Schwab  <schwab@redhat.com>
73287         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
73288         symbol reference.
73290 2010-05-21  Andreas Schwab  <schwab@redhat.com>
73292         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
73293         and internal_recvmmsg.
73294         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
73295         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
73296         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
73297         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
73299         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
73300         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
73301         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
73303 2010-05-20  Andreas Schwab  <schwab@redhat.com>
73305         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
73307 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
73309         POWER7 optimizations.
73310         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
73311         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
73313 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
73315         * version.h: Update for 2.13 development version.
73317 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
73319         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
73320         exceptions.  Return 0.
73322 2010-05-07  Roland McGrath  <roland@redhat.com>
73324         * elf/ldconfig.c (main): Add a const.
73326 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
73328         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
73329         (args_options): Add no-idn option.
73330         (ahosts_keys_int): Add idn_flags to ai_flags.
73331         (parse_option): Handle 'i' option to clear idn_flags.
73333         * malloc/malloc.c (_int_free): Possible race in the most recently
73334         added check.  Only act on the data if no current modification
73335         happened.
73337 See ChangeLog.17 for earlier changes.